1051 Commits

Author SHA1 Message Date
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
7aea2611bf Allow the StandardFolderView to be customized
The customization screen is very ugly and this entire thing feels
extremely hacky with the abstractions leaking out everywhere. However,
it does work.

I'll clean it up another day.
2020-03-11 14:48:32 +01:00
d2b6b0eb08 Remove the Compact View
I need to merge it into the StandardView. The more I think about it, the
more this view doesn't make sense. Specially since I need to add the
same extra configuration options in both views.
2020-03-11 13:19:50 +01:00
627427a881 NotesFolder: Listen to the proper Note's signal 2020-03-11 13:07:45 +01:00
8b48650ad8 Note: Reload the file when it changes
We were comparing the file modification date incorrectly

Fixes #65
2020-03-11 12:55:07 +01:00
1e21f487b8 Save default folder view on change 2020-03-08 20:51:15 +01:00
c2c617753d Enable auto-correct
This actually makes a difference on iOS.
2020-03-08 20:37:47 +01:00
f0eeefe125 SortedNotesFolder: Avoid calling sort again and again
For long lists of notes this could get very very expensive.
2020-03-08 04:00:27 +01:00
9a65686f1e NotesFolder: Add more debug information when loading
This will help better diagnose why files don't sometimes show up
2020-03-08 00:42:19 +01:00
09ff8b2704 Fix sorting mode
First sort based on datetime, and then based on filename.
2020-03-08 00:41:20 +01:00
56d8f635eb Note class should not be sortable
There are various different methods of sorting an note.
2020-03-06 20:14:21 +01:00
d7265ec69b FolderViews: Never let a Row have a null widget
Otherwise we get an exception. This happens when a note has not loaded
and we're trying to render it. Ideally we should handle those cases with
some kind of animation instead of the current approach.
2020-03-06 19:25:00 +01:00
2f9f8b3e73 Add a Compact View
Fixes #66
2020-03-05 19:24:20 +01:00
9ff33f51ce Remove unused imports 2020-03-05 19:15:41 +01:00
8e9b23982c Add support for a simpler filename format
Also make this the default when one doesn't have a title.

This is important as now the filename is far more visible with the new
standard view.
2020-03-05 19:14:27 +01:00
c87e6c7884 Standard Folder View: Align the title with the time correctly
As suggested by the docs it's better to use a Row and align it based on
the baseline.
2020-03-05 19:03:05 +01:00
f31e42ecef StandardView: Add date to trailing widget
Patch adapted from Ivan's pull request
- https://github.com/GitJournal/GitJournal/pull/59

It had to be reverted earlier as it was breaking functionality. But now
it works perfectly.
2020-03-05 18:54:34 +01:00
702c97c9dd Add a JournalView and allow it to be switched 2020-03-05 18:47:12 +01:00
846dda252e Split the Standard Folder View
This way its code can more easily be shared
2020-03-05 18:23:33 +01:00
db901e51ea Bump version number 2020-03-05 02:12:56 +01:00
b25ed00830 Add the concept of a FolderView
For now we just have the StandardView which is the same as it was
previously.
2020-03-05 02:10:27 +01:00
6d3b093499 Rename JournalListingScreen to FolderView 2020-03-05 01:48:50 +01:00
e1d19fc8c2 Optimize building of the NotesCache 2020-03-05 01:36:58 +01:00
cdd214c102 Let the notesCache be toggleable
It might be the cause of a massive slowdown for one particular user. I'm
still leaving it enabled for now, but I want to be able to easily
disable it.
2020-03-05 01:02:16 +01:00
5682e8abf9 ios: Flip ITSAppUsesNonExemptEncryption 2020-03-05 00:49:21 +01:00
7aee2e34bc Make sure note modifications are stored
Also bump the version. This is a very important bug fix.
2020-03-03 14:45:56 +01:00
0fc40da55b JournalEditor: Avoid crashing if note has no creation date
In the future when we improve the git itegration that will never happen,
but for now, it's what we have.
2020-03-02 19:57:26 +01:00
3640176f8d Remove Android debuggable
Fails to build with it
2020-03-02 18:12:23 +01:00
c07c076a67 Bump version 2020-03-02 17:41:07 +01:00
3bbf8e3abc Android: Always mark it as debuggable
I see no downside of shipping it this way, and since this app is
currently targetted more towards developers, they can provide better bug
reports.
2020-03-02 17:38:29 +01:00
c65ec96da2 Fix bug when you have less than 10 notes
Fixes #73
2020-03-02 17:37:47 +01:00
de2553c31f Mark new notes as Loaded 2020-03-01 17:14:01 +01:00
5ec3af70a6 More comprehensive setup analytics 2020-03-01 15:28:56 +01:00
a0e3e50b4a HostSetup: Track if using GitHub/GitLab/other 2020-03-01 15:21:30 +01:00
44d916138d Bump version 2020-03-01 14:55:40 +01:00
31262e5f7d Add some debug messages 2020-03-01 14:53:11 +01:00