1086 Commits

Author SHA1 Message Date
8c89f8a1b0 Very basic sentry integration 2020-03-26 12:19:22 +01:00
4f02559849 Remove spaces from public key's comment
Apparently this breaks things in some systems

Fixes #87
2020-03-23 13:07:42 +01:00
d789a2f6f0 FlattenedNotesFolder: Improve test 2020-03-21 14:16:43 +01:00
1cc26ff160 Add a basic test for the FlattenedNotesFolder 2020-03-21 14:10:24 +01:00
403831ccd0 NotesFolderFS: Avoid multiple load operations in parallel 2020-03-21 01:32:24 +01:00
ea8703518b Ignore more git ssh errors 2020-03-21 01:32:09 +01:00
a99eca9131 Simplify code by using pathSpec 2020-03-21 00:52:54 +01:00
613afee32e Remove the extra verbose logs
They were just too much.
2020-03-21 00:46:03 +01:00
eb7d7dc2e7 Add a lock between all git operations
This way in between a git add + git commit, no other git operation will
run. This rarely occurs but it was a posibility depending on the speed
of the users actions.
2020-03-21 00:44:14 +01:00
86ae88bae0 AppDrawer: Highlight the current selected route 2020-03-21 00:27:26 +01:00
22c9d1208a FolderView: Show the correct title 2020-03-21 00:19:57 +01:00
610c4ea8a7 Allow the default folder for new notes to be configured
In the "All Notes" screen
2020-03-21 00:14:38 +01:00
51cc8b9881 SortedNotesFolder: Add another test 2020-03-20 23:49:04 +01:00
03ff93bfc9 SortedNotesFolder: Add another test 2020-03-20 23:47:56 +01:00
c5bcb09ec0 SortedNotesFolder: Add tests
This way it properly works. I shouldn't be coding so late in the night.
2020-03-20 16:51:16 +01:00
0c35400fc6 Bump git_bindings version 2020-03-20 00:53:18 +01:00
ea23c3be4e Bump version 2020-03-20 00:08:04 +01:00
f4c139a2b7 GitRemoteSettings: Pass the correct context
The scaffold doesn't exist in that context :(
2020-03-19 23:54:36 +01:00
5db269c826 NotesCache: Allow for json decoding errors
The file may have gotten corrupted.
2020-03-19 23:44:50 +01:00
1ff3075a1c MicroOptimization: Avoid rebuilding the regexp 2020-03-19 23:38:12 +01:00
e0ac655a2c SortedNotesFolder: Massive optimization
Use a binary search instead of sequential
2020-03-19 23:25:15 +01:00
cdd5d7aca0 For generated titles - prefer the provided title 2020-03-19 15:40:09 +01:00
2c361172c6 Avoid recreating DateFormats
They only need to be created once. This should result in a minor
performance gain while building the folder views.
2020-03-19 15:23:30 +01:00
d5484502df Ensure all ListTiles in FolderView are of the same height
It looks way neater this way.

https://github.com/flutter/flutter/issues/31134
2020-03-19 02:59:59 +01:00
3e38628102 Add a 'type' to each Note
This way we can load the appropirate editor according to the types
available.
2020-03-19 02:36:59 +01:00
a235048b2a Allow a note of a different 'type' to easily created
This adds a bottom bar, which hopefully doesn't make the app too
cluttered.
2020-03-19 01:46:51 +01:00
0a0e03a660 Fix reset bug 2020-03-16 19:40:08 +01:00
17d67823db Extend poc for generating ssh keys via dart
Still needs work
2020-03-16 01:22:11 +01:00
b2709f94f1 HostSetup: Allow keys to be regenerated even with a custom setup 2020-03-16 01:20:33 +01:00
4a6355d687 Setup: Fix validation of private keys
For #85
2020-03-16 01:13:27 +01:00
0901985a6f Add PoC for rsa key generation and encrypt/decryption using it
We want to stop relying on openssl in order to generate the keys. Using a
c library for this complicates the entire build process, and makes
everything so so much more complicated.
2020-03-15 18:45:11 +01:00
b252f037b3 Rename NotesFolder -> NotesFolderFS
And NotesFolderReadOnly to NotesFolder. It just makes more sense this
way as we're now getting more and more different "types" of
NotesFolders.
2020-03-15 02:01:07 +01:00
893fa3f90f Undo Snackbar: Remove the previous one before showing the new one 2020-03-15 01:03:55 +01:00
4a9e2f59d0 MdYamlDocLoader: Avoid starting the isolate multiple times
Man, there is a lot of locking that I hadn't even thought of while
writing all of this code.
2020-03-15 00:27:12 +01:00
d8464ff64f MdYamlDocLoader: Load the docs in another isolate
This will hopefully make opening the app a bit better as the yaml
parsing is now in another thread and frames would no longer be skipped.
2020-03-15 00:12:36 +01:00
b0cc615aae Move MdYamlDoc loading to its own class 2020-03-14 23:33:04 +01:00
d87d873962 Move to Apache to an AGPL license 2020-03-14 23:33:04 +01:00
b78acb73ff Allow the JournalEditor to be made the default 2020-03-14 23:33:00 +01:00
97cea0d8f9 CardView: Make it a bit prettier
It still has a long way to go to being usable. But I rather have in
integrated so I can slowly keep improving it, and for some users to try
it out. It is clearly marked as experimental.
2020-03-12 14:38:26 +01:00
e352f1f9c9 CardView: Render checklists better 2020-03-12 14:33:38 +01:00
00f3edbedf CardView: Remove extra new lines 2020-03-12 14:31:43 +01:00
063d0fda3a CardView: Show the title 2020-03-12 14:30:21 +01:00
f4dd4fd148 Add experimental card view
This notes are displayed as cards. This is meant to emulate a more
google keep style.
2020-03-12 14:23:15 +01:00
48f4d52c40 AppDrawer: Change header to "All Notes" 2020-03-12 01:40:55 +01:00
494d866686 Make the home screen show all the notes
It can show call the notes recursively, instead of showing just the root
folder. This makes it much easier to access a note recently modified.
2020-03-12 01:35:48 +01:00
93269f339b Fix changing the sorting mode 2020-03-12 00:18:31 +01:00
59658db045 StandardView: Show the date time based on the sorting mode
Just like in the journal view.
2020-03-12 00:13:42 +01:00
1df374df90 Bump version 2020-03-11 15:00:12 +01:00
65e3b2a9f4 Settings: Save folderViewHeaderType 2020-03-11 14:58:31 +01:00
645131b936 Settings: Save showNoteSummary 2020-03-11 14:53:15 +01:00