4750488e0d
GitTest: Try to implement a git pull
...
So far it just does a `git fetch`. I cannot seem to figure out how to
handle merge conflicts or to actually move the HEAD to origin/HEAD.
2019-05-15 16:21:46 +02:00
59005e8d49
GitTest: Implement git push
2019-05-15 13:27:17 +02:00
aa45ab07a8
GitTest: Commit: Do not allow empty commits
2019-05-15 13:07:10 +02:00
6cca6a5c4a
GitTest: Simplify git commit code
2019-05-15 12:57:05 +02:00
36c265a72d
GitTest: Get cloning over ssh to work
...
Libgit2 is quite horrible. When passing it credentials, if the
credentials are invalid, it will just ask for the credentials again and
again and again, without giving any feedback that the credentials have
failed. This just sucks.
2019-05-15 12:43:24 +02:00
128e14d3df
GitIgnore: Add the android libs
2019-05-15 12:42:50 +02:00
69709a017f
GitTest: Try cloning over ssh
...
This still doesn't seem to work for me, but I think my local libgit2
might not be compiled with ssh support. Hurray for silent failures.
2019-05-15 12:42:46 +02:00
8c4b2e67aa
GitTest: Add clone support
...
For now it only supports http urls :(
2019-05-14 17:58:36 +02:00
957578e81a
GitTest: Allow a commit to not have any parents
...
This is the case when it is the first commit
2019-05-14 17:38:15 +02:00
43258f81d3
GitTest: Add a git commit implementation
...
Wow, the error handling in c is getting quite cumbersome
2019-05-14 17:33:36 +02:00
295734f4a0
GitTest: Add git init
2019-05-14 17:00:58 +02:00
59ed5e35ec
GitTest: Refactor the code
2019-05-14 16:51:56 +02:00
00b66149a1
GitTest: Try running 'git add' without android
...
It seems to work
2019-05-14 16:47:49 +02:00
1dbe829372
GitAdd: Use libgit2 instead of jgit
...
This doesn't seem to work properly, though. Not sure what I'm doing
wrong.
2019-05-14 16:38:18 +02:00
1e8f098e10
CMakeLists: Cleanup unused macro
2019-05-14 14:29:53 +02:00
5dddeed54d
Add a generateKeys JNI function
...
It goes via Dart -> Java -> JNI -> OurLib -> LibSSH. Also, it still
doesn't seem to work, and I'm not sure why. I kinda giveup for now.
2019-05-14 14:28:43 +02:00
668eae3562
Android: Move native code to its own class
2019-05-14 13:13:44 +02:00
cd68df9303
First integration of libgit2 in the Android App
...
This will allow us to remove the jgit dependency. JGit is annoying
because we have to use an old version in order to support older API
versions. Additionally, there are some subtle differences in their
implementation.
Finally, for iOS and desktop we will be using libgit2, so we may as well
use the same stack on Android.
2019-05-14 13:09:25 +02:00
ad2e4ac9b1
Rename markdownToPlainText -> stripMarkdownFormatting
...
It better reflects what the function actually does
2019-05-13 22:57:49 +02:00
4f939c662e
MarkdownToText: Add another test
...
Just for my own curiosity
2019-05-13 22:55:26 +02:00
cabd51456a
Bump version
2019-05-13 22:37:19 +02:00
f2af5c9c75
Improve markdown to text conversion
...
Use a proper markdown parser to convert the text. This way more of the
formatting is correctly removed.
2019-05-13 22:36:32 +02:00
06ade7b92e
Bump version
2019-05-13 22:01:08 +02:00
0e88479db2
JournalList: Remove #
...
They are jarring, as reported by a user.
2019-05-13 21:58:04 +02:00
589a61c3b2
Flutter upgrade
2019-05-13 18:21:12 +02:00
a065cd3ec8
Improve flutter_run script
...
* Display a longer message when reloading - It's easier to see
* Make flutter_run start the reload script and kill it automatically.
This is always the behaviour I want when running an app via flutter run.
2019-05-02 00:19:45 +02:00
6e5a6255a3
Move empty text inside the JournalList
2019-05-01 23:59:00 +02:00
954573bcce
NoteViewer: Render the markdown
2019-05-01 23:53:21 +02:00
7412eb0c07
Flutter upgrade
2019-04-29 15:44:51 +02:00
163ce9d5b6
Upgrade flutter
2019-04-05 11:52:18 +01:00
8e924a30ef
Remove deprecated analysis option
2019-03-06 00:01:52 +01:00
b32724021a
Fix const error
2019-03-05 23:56:47 +01:00
99450b9d5a
Flutter upgrade
2019-03-04 13:33:19 +01:00
180652a10b
GitAdd: All everything
...
It seems like there is a bug under which 'git add' hasn't been working.
I'm hoping this will just fix it and easily add all the old unadded
notes as well.
2019-02-23 15:30:33 +01:00
4029971a63
Fix null value
...
Text widget cannot accept a null value as the text value.
2019-02-23 02:11:43 +01:00
9f9c472255
DartLinter: Enable a few more options
2019-02-23 01:43:58 +01:00
9ce4e5b1b9
DartLinter: Add prefer_collection_literals
2019-02-23 01:36:32 +01:00
8ff5d02033
DartLinter: Add unnecessary_this
2019-02-23 01:33:34 +01:00
bad9aa2bd9
NoteViewer: Add a Share button
2019-02-23 01:24:38 +01:00
456b45c2d6
NoteHeader: Only show if note has a valid date
2019-02-16 19:59:00 +01:00
139f1bc5cd
JournalList: Show the fileName if the note has an invalid date
2019-02-16 19:57:20 +01:00
eb617eafa0
GitHostSetup: Remove unnecessary GlobalKey
...
It's not required as we can get the Scaffold from the BuildContext.
2019-02-16 19:37:08 +01:00
62f22ef18d
Give some widgets keys
...
This should result in a bit of a performance boost. I'm not sure if I
understand the concept of keys correctly, though.
2019-02-16 19:32:49 +01:00
0762bd98c3
NoteEditor: Improve cancel alert box
...
Better wording, and avoid a generic 'Yes' or 'No' in the buttons.
2019-02-16 18:32:48 +01:00
3c9a773e18
NoteViewer: Show a confirmation dialog before deleting
2019-02-16 18:29:44 +01:00
b8a6691327
Bump version
2019-02-16 16:58:09 +01:00
7fd5813f99
Update screenshots
2019-02-16 16:44:45 +01:00
8e75fc0b6f
Upgrade screenshot taking script to handle onboarding
2019-02-16 16:27:18 +01:00
7c9e5c00c8
Bump version number
2019-02-16 14:31:06 +01:00
28a430ecdb
OnBoarding: Center the text
2019-02-16 13:56:57 +01:00