402 Commits

Author SHA1 Message Date
2fbba91be6 HomeScreen: initializeDateFormatting
This seems to be required while using intl. Not doing it doesn't seem to
be a problem right now, but as I support more locales, I think it will
be required.

This entire intl this is a bit confusing.
2020-06-10 10:50:48 +02:00
267ecb7499 Implement a very basic file system view
This will show all the files and not just the "notes". This way the user
can easily figure out why a file isn't included in the list of notes.

It's currently disabled by default as it clearly needs a lot more work.
2020-06-10 00:54:15 +02:00
8ac24a7b86 Add a link to the Privacy Policy and Terms and Conditions
iOS requirement
2020-06-03 13:43:28 +02:00
d1677327c2 Do not show the Markdown Editor for txt files
Fixes #55
2020-06-02 00:33:36 +02:00
d288ed7ea7 PurchaseScreen: On error when fetching Purchases - abort
Fixes APP-2T
2020-05-31 02:01:39 +02:00
6e229aeebd Translate Git Remote Settings title/subtitle 2020-05-29 13:26:29 +02:00
cb8764f52d Translate NoteMetaData settings 2020-05-29 13:23:23 +02:00
9eaad3b5a4 Make Note metadata config a pro setting 2020-05-29 13:17:17 +02:00
633c8c4567 DebugLogLevel: Save the last used log level
This way it's easier to return back to see what's going wrong.
2020-05-29 12:44:46 +02:00
53ed91ff64 DebugScreen: Make the text selectable 2020-05-29 12:39:44 +02:00
d665981182 Allow Git remote host to be reset
This is quick and dirty way of fixing the problem. It doesn't migrate
the notes from the previous repo and just discards them, so you cannot
move your notes from one repo to another using GitJournal (for now), but
at least its better than having to re-install the app.

Related to #36
2020-05-26 23:53:14 +02:00
8b4fa886ba Add a CustomRouteObserver
This basically asserts if we move to a route without a name. This way
I'll always catch when a route doesn't have a name, and I can start
getting better analytics on which screens are used most frequently.
2020-05-26 13:43:41 +02:00
0155e70557 PurchaseScreen: Add an ugly back button on ios 2020-05-21 10:42:33 +02:00
b0354b5c3f DebugScreen: Translate the strings 2020-05-20 00:56:55 +02:00
7611794fd3 DebugScreen: Allow levels dialog to be dismissed 2020-05-20 00:51:57 +02:00
c935feaee0 DebugScreen: Level selector - Highlight all selected levels
When selecting 'Debug', it also selects all the levels which are more
important than it.
2020-05-20 00:50:44 +02:00
4c56ddc4df Allow the default Image location to be configured
Fixes #10
2020-05-20 00:32:13 +02:00
1bf91b9292 DebugScreen: Make it work with dark mode 2020-05-19 22:53:08 +02:00
59c2f866bc DebugScreen: Allow filtering the logs based on their level 2020-05-19 22:51:28 +02:00
c1d81da15d NewFolder: Fix mix up between Create and Discard
Fixes #139
2020-05-19 11:30:44 +02:00
e5cd707ac1 Editor: 'Discard Changes' -> Do not show confirmation dialog
It's annoying. This action is not easy to accidentally trigger.
2020-05-18 23:58:25 +02:00
07576bb624 Do not let the RootFolder be renamed 2020-05-18 00:31:55 +02:00
26ed82fdbc Make "Root Folder" translatable
It was earlier duplicated all over the place.
2020-05-18 00:26:00 +02:00
816cb0c3ed Reduce code duplication
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00
a2b72a1a81 DebugScreen: Add buttons to jump to top and bottom 2020-05-17 19:56:25 +02:00
2a84962cb2 DebugScreen: Do not show microseconds
Way too much info
2020-05-17 19:49:51 +02:00
a324d0f755 Logging: Allow logging structured fields
Display this in the Debug Screen app. Additionally, add a reason why a
file was not loaded.
2020-05-17 19:47:11 +02:00
2339f50d89 DebugScreen: Make it prettier 2020-05-17 19:24:00 +02:00
109b5f7d37 Update purchase screen with new pro features 2020-05-14 16:47:24 +02:00
f478d1c9ad Make Tags a pro feature 2020-05-14 16:22:15 +02:00
ef57e263ba ProSettingsOverlay -> ProOverlay
Also move it to its own file
2020-05-14 16:10:09 +02:00
5c04bf204e Add Tags sidebar
Fixes #114

This was there because I couldn't figure out how to configure Billing in
iOS, now that it is done, I can have the pro mode in iOS as well.
2020-05-14 16:09:22 +02:00
7ef9cfe60f Minor refactor 2020-05-14 13:03:12 +02:00
a959101010 Make some strings translatable
Instead of hard-coding the strings.
2020-05-14 12:00:40 +02:00
867f6df14c [Android] Implement sharing images to GitJournal
Fixes #38
2020-05-13 18:30:33 +02:00
1d68d3a4a5 [Android] Implement sharing text to GitJournal
Related to #38
2020-05-13 17:40:23 +02:00
0dfb86788e Minor refactor 2020-05-13 16:56:20 +02:00
321d05664c TagEditor: Show the tags from all the notes
This could get a bit slow, but since we aren't doing it very often, it
should be fine.
2020-05-13 01:24:54 +02:00
4375d0cf6d Add const 2020-05-13 01:21:40 +02:00
2847e3f60f Add basic tag support
This allows you to be modify the tags from the NoteEditor. Related to
 #114. We still need to add some way to filter the notes by tag. Also,
the current tag editor doesn't show the tags from the other notes.
2020-05-13 01:01:40 +02:00
faf561f104 Allow configuring the Home Screen
It can either be the Folders view or the All Notes view.
2020-05-08 19:30:53 +02:00
dea5ba3479 HomeScreen: Simplify code 2020-05-08 17:15:02 +02:00
d86e8124e8 ListPreference: Make the dialog a bit prettier 2020-05-08 12:09:04 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
6ebd44505c FolderView: Hide the scaffold of a previously deleted note
When moving to create a new note, it's confusing if when we return to
the FolderView there is still the scaffold of undo-ing the last deleted
note.
2020-05-08 10:29:16 +02:00
ea733aacb5 Add a very simple Debug screen
This will show all the debug messages, which include when a file is
being ignored and not loaded, and hopefully all the exceptions. So the
user should be able to better understand why a file has been ignored.

It's not an ideal solution, but it's a quick fix.

Fixes #122
2020-05-06 01:09:57 +02:00
99a3d6214f Settings: Make some of the strings translatable
Man, this is going to be exhausting. There are some 165 Text instances.
So this mean probably around 200+ strings.
2020-05-05 17:29:04 +02:00
efec0500f3 Add basic scaffolding for translations
I still need to go through all the public string and document them.
2020-05-05 17:16:07 +02:00
48b6fa21f7 NoteEditor: Build a bottom bar which shows the current folder
Also allow notes to be moved to a folder.
2020-05-05 10:00:14 +02:00
317f75799f Add Title + FileName sorting modes 2020-05-03 16:01:21 +02:00