18d9601dcd
Add Git rm support
2019-01-08 18:51:43 +01:00
fb3f3bfccf
Avoid using the path_provider plugin
...
We get the path ourselves as the 'git plugin' is using the
android 'getFilesDir()', instead of 'getDataDir()' which is what the
path_provider returns.
It's strange that it returns the latter as the Android docs clearly
state that one should not use this path and should use getFilesDir
instead.
2019-01-07 16:34:25 +01:00
967fce65b0
Minor refactor
2019-01-07 16:23:01 +01:00
3cdb454482
Git: Implement all the remaining operations
...
Many of these do not actually need an AsyncTask, but for now I'm just
following this pattern since I don't know if blocking on the receiever
thread will result in the app's UI being blocked.
2019-01-07 15:51:42 +01:00
9dc88455e9
Git Operations: Remove ssh code duplication
2019-01-07 15:27:09 +01:00
b7e2990e47
Add support for GitPull
2019-01-07 15:15:28 +01:00
84141b98aa
GitClone: Output progress to stdout
2019-01-07 15:14:54 +01:00
0ba4bf68d1
Git Clone: Cleanup code
2019-01-07 13:39:03 +01:00
ae6158a0a8
Git: Add a method to generate the SSH keys
2019-01-07 13:15:20 +01:00
0ae2dccda5
Add ios autogenerated files
...
I have no idea what these are for
2019-01-07 11:05:43 +01:00
917a0a38fc
Fix flutter tests
...
It seems like we need to explicitly mention the test package in the
dev dependencies. This is strange, since the documentation does not
reflect that.
2019-01-07 11:04:32 +01:00
9d9a89e834
Update pubspec
...
No idea, what is going on.
2019-01-07 10:52:55 +01:00
8f87c9ad32
Android JGit: Update the version
...
We want to use this specific version number as it is the only one that
supports `git clone` on Android. The others use a hard-link while
creating a lock file while trying to perform a 'git clone'.
The Android Internal Storage does not support hard links, and therefore
aborts. This will need to be fixed in the latest version of jgit.
2019-01-07 10:51:18 +01:00
1cb62b5db9
Update .gitignore for Android
2019-01-07 10:45:48 +01:00
c8e7ef1671
Add a new Git app for testing the git commands
2019-01-07 10:44:52 +01:00
f65b123a1f
Add a script to launch the a virtual Android instance
2019-01-07 10:10:03 +01:00
b70da22e1c
Android GitClone: Support SSH keys
...
Generate an SSH key if it doesn't exist and then use that one. This was
just supposed to be a PoC. Sadly, it doesn't really work. I keep
getting Auth Failures when cloning. Not really sure what the problem
is.
2018-10-18 23:31:41 +02:00
b3432ccc4f
Add a GitClone async task
...
Also add a lot of misc code which was there from a previous spike. We
need an AsyncTask as one cannot run network operations in the main
thread.
2018-10-15 23:37:47 +02:00
c0914ffe5f
YamlSerializer: refactor code into its own function
...
Just makes it easier to remove when we find a proper YAML serializer
2018-09-08 21:50:28 +02:00
f226df860c
Update pubspec lock
2018-09-08 21:46:11 +02:00
4c59471da1
tests: Update variable name
...
Easier to read
2018-09-08 21:45:40 +02:00
8676a1c437
Update .gitignore
2018-08-02 00:44:25 +02:00
104d54efc3
Fix tests
2018-06-03 20:19:20 +02:00
2082bea8ac
Move some classes into another folder
...
Just giving some more structure
2018-06-03 19:49:34 +02:00
9d19ee4c14
Make FileStorage a NoteRepository
2018-06-03 19:44:36 +02:00
69998c37f9
Add/Remove individual notes from disk
...
Instead of rewriting all of them on save.
2018-06-03 19:34:46 +02:00
fd98ef1048
Reverse sort the notes
...
This way the latest note is on top.
2018-06-03 19:34:28 +02:00
2c68865c46
FileStorage: Allow the note filename to be customizable
2018-06-03 19:34:14 +02:00
157fc425dc
FileStorage: Use the YAML Markdown serializer
...
Instead of saving stuff in json.
2018-06-03 19:14:25 +02:00
eb2c9eb33f
Note: Rename 'createdAt' to 'created'
...
My notes already use the key 'created', and I don't want to have to
change that.
2018-06-01 19:04:48 +02:00
fdf8c06c24
Add Note serializers
...
This way we don't only need to use json.
2018-06-01 18:57:53 +02:00
451ef6e39f
Try adding jgit as a dependency
2018-05-31 18:34:29 +02:00
b1b16cc3e2
Update flutter
2018-05-25 18:09:04 +02:00
c30ed0c9f4
Add a sample Drawer
2018-05-25 01:17:49 +02:00
0551cc0538
Note Deletion: Implement undo
2018-05-25 01:05:17 +02:00
69eb5f2ed5
JournalList: Only show the first 2 lines of the note
...
Instead of trying to guess how many characters one should show.
2018-05-25 00:47:35 +02:00
b588cdc66b
NoteBrowser: Allow browsing via swipes
...
This is the first prototype for swiping. It really needs a lot of work,
and it needs some kind of animation.
2018-05-25 00:46:17 +02:00
46c0abc525
NoteViewer: Implement the left/right buttons works
2018-05-25 00:09:22 +02:00
5197a84959
Give the NoteEditor a state
...
This way its creationDate will be accurate
2018-05-24 14:52:53 +02:00
be53a6c129
Android: Add a test MethodCall
...
This is just to test if the Android bridge is working correctly.
2018-05-24 14:42:36 +02:00
3eeb3ae54c
NoteEditor: Show a confirmation dialog if discarding a note
2018-05-24 14:17:38 +02:00
b6c38dde3c
Use an InheritedWidget instead of passing the callbacks
...
This simplifies the code quite a bit, at the cost of using this
strange flutter magic of an 'InheritedWidget'.
It basically make a class a global variable.
2018-05-24 12:33:46 +02:00
98ece86579
NoteViewer: Add a footer
2018-05-21 19:23:25 +02:00
a7b5afb817
NoteViewer: Align the header text properly
2018-05-21 18:47:44 +02:00
90c75439ce
JournalView: Add a header depicting the date + time
2018-05-21 18:22:49 +02:00
af81fd5a45
Move a widget into its own dir
2018-05-21 18:03:56 +02:00
71d1aca6b5
Implement note deletion
...
It looks quite ugly, but it works.
2018-05-21 17:16:21 +02:00
973f21a24c
Give each Note a unique id
...
Otherwise we're overwriting that one note.
2018-05-21 17:04:03 +02:00
0cb36b2981
Make the state global and connect the add note screen
...
This is a huge work in progress, but it finally seems to kinda work.
2018-05-21 16:51:29 +02:00
4fcc6d9120
Add a FileStorage class
...
With a test!
2018-05-21 15:31:34 +02:00