433 Commits

Author SHA1 Message Date
c5deb3e988 Allow the 'created' YAML metadata to be configured
Related to #206
2020-08-03 00:46:41 +02:00
a98b99dcb5 refactor: Move SortingOrderSelector into its own widget
Also translate it
2020-07-31 21:39:27 +02:00
e3f8cd9397 EditorSettings: Make all strings translatable 2020-07-31 21:25:30 +02:00
8ab7ec22c4 Always check if a Folder exists before accessing it
This kinds of bugs will be less frequent once we have non null by
default enabled in Flutter.

Fixes #164
2020-07-31 21:16:36 +02:00
8e8c11c5ef FolderView: Refactor NewNoteNavBar into its own widget 2020-07-31 20:47:18 +02:00
b85f9028fe Half implement Note selection in a FolderView
This allows you to long press on a note and select it, thereby allowing
you to perform actions on it, without opening the note.

This is disabled for note, as it isn't completely implemented. I'm not
sure how to pass down the informatin on which Note is selected.
2020-07-31 20:36:20 +02:00
1fcc4bc102 MetaData Setting: Set these strings as translatable 2020-07-29 16:43:59 +02:00
0780844c7b Metadata Settings: Show modified as well 2020-07-29 16:27:36 +02:00
9e8f89be38 Settings MetaData: Make the input and output clearer 2020-07-29 15:59:03 +02:00
41447027f2 Allow 'title' saving to be configured
We now allow it be to either saved as the H1 or in the YAML metadata.
I'm not sure what the default should be. Still deciding.

Fixes #112
2020-07-28 17:26:42 +02:00
73e3f7d5bc default editor should be updated without requiring a restart 2020-07-27 10:57:56 +02:00
04bd9e053e Add Zen Mode in pro features page 2020-07-27 09:52:29 +02:00
2396b34b75 Allow the FS view to be experimentaly enabled 2020-07-26 19:05:47 +02:00
92f4929042 Fix email regexp
Fixes #181
2020-07-26 17:39:30 +02:00
9ca00480c7 PurchaseScreen: Make the back button more clickable 2020-07-26 12:36:58 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
c24cca6395 PurchaseWidget: Use the correct scaffold 2020-07-14 20:59:50 +02:00
b14e094e59 Copy Note to clipboard when it cannot be saved
Also avoid showing the actual exception. It's not very useful to the
user, and we're logging the exception to Sentry anyway.

Related to #124
2020-07-13 17:27:39 +02:00
84fab89f48 Do not allow us to edit the Note Editor if the Note cannot be saved
In some rare cases the note just doesn't get saved on disk - in those
cases instead of silently failing we will refuse to exit the note
editor, forcing the user to copy the note and paste it somewhere else in
order to not lose the date.

This isn't the best solution, but it prevents data loss, in a few edge
cases which I cannot reproduce.

Fixes #124
2020-07-13 17:13:02 +02:00
fb9b69bb46 TagsFolder: Auto add relevant tag to new notes 2020-07-09 18:03:06 +02:00
51d79fdbf2 PurchaseScreen: Fix scrolling
Putting a column inside a SingleChildScrollView is way way too complex.
There are lots of different solutions, and not all seem to work for me.

Also adjust the loading screen.
2020-07-09 13:21:23 +02:00
4109563293 Move PurchaseWidget to its own file 2020-07-09 12:25:30 +02:00
e5d4965844 PurchaseScreen: Move to purchasing code to its own widget
All of this is way too complicated
2020-07-09 12:21:20 +02:00
bb8cb5e442 IAP: Always check
Disable the optimization of not checking for pro mode on boot. The
optimization fails and pro members cannot always get the pro features.
This is not good.

As a workaround, opening the but pro mode page also checks if already
purchased.
2020-07-05 20:38:06 +02:00
d8772e882a Allow backlinks preview to be disabled from the settings
This adds a new Experimental Settings page.
2020-07-04 19:51:59 +02:00
a18bb9c037 Purchases: Remove debug logs from RevenueCat
They aren't useful any more
2020-06-12 10:58:11 +02:00
509cf7d0a0 Add Note Backlinks in Purchase screen text 2020-06-10 16:28:02 +02:00
ae74e02fa7 Rename Note: Ensure markdown files end with .md
This broke when supporting txt files
2020-06-10 15:16:14 +02:00
8811f08b0e Debug screen: Cache the logs
Avoiding opening the file again and again
2020-06-10 13:34:36 +02:00
5714642e15 NoteEditing: Make sure we report exceptions on save
We don't want to silently ignore these.
2020-06-10 13:18:48 +02:00
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