1561 Commits

Author SHA1 Message Date
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
27c98b8b0a FolderViews: Minor refactor
Expose the noteTapped and noteLongPressed functions from all the views.
This will be required in the future as we support selecting a note (or
multiple notes) in order to perform some action on it.

Right now selecting a note means opening the Note Editor.
2020-07-31 19:38:26 +02:00
ad6cf615a3 List all the features and when they were released
This is so that I can show some kind of screen with the evolution of the
features, similar to WorkingCopy.
2020-07-31 19:13:22 +02:00
de9c4dfea2 Graph Visualization: Allow moving the nodes by dragging
It's not perfect as if the nodes are too small, then this doesn't seem
to work, but it's a start. This was just an experiment, anyway.
2020-07-30 17:24:29 +02:00
51c112101a Expirment: Try drawing a network graph with nodes and edges
This works okay, but the touchable libary doesn't seem to propogate the
touch events very well, especially the pan events.
2020-07-30 16:44:58 +02:00
1a0d85e62d Bump version correctly :/ 2020-07-30 12:18:52 +02:00
5c8fd07d3a Bump version 2020-07-30 12:07:20 +02:00
98e0bead90 Revert "Make sure local git repo always exists"
This reverts commit 42d755be1d3333a374b53274236eb75718c8d265.
2020-07-30 12:05:04 +02:00
db93d5ab27 Revert "Fix the case when the repo folder disappears"
This reverts commit 2ee25e0b8ff7d0715ce419e044649980ab6c6e31.
2020-07-30 12:04:00 +02:00
1fcc4bc102 MetaData Setting: Set these strings as translatable 2020-07-29 16:43:59 +02:00
2fa475e10a Add an extra test for txt files and the title
Just to make sure it's never parsed.
2020-07-29 16:29:27 +02:00
0780844c7b Metadata Settings: Show modified as well 2020-07-29 16:27:36 +02:00
2ef2ccdf23 Editors: Allow the title to be edited even when YAML is disabled 2020-07-29 16:27:15 +02:00
9374c35901 Note's title is no longer part of the metadata
So even if the YAML metadata is disabled, the title can be set.
2020-07-29 16:05:21 +02:00
9e8f89be38 Settings MetaData: Make the input and output clearer 2020-07-29 15:59:03 +02:00
30f9f86ad3 Fix all the broken tests because of title change 2020-07-29 15:58:43 +02:00
4a97d03bd8 Title Codec: Support empty starting lines in the body 2020-07-29 15:25:17 +02:00
417f0414f2 Setting: Note metadata change subtitle 2020-07-29 15:13:37 +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
15b978cacb Editors: Remove code duplication 2020-07-28 15:37:31 +02:00
1c7b0d09ef Bump version 2020-07-28 14:27:55 +02:00
0fe965a2d6 FocusMode: Show the elements when clicking on the top/bottom bar
Ideally clicking anywhere should show the UI, but that doesn't seem to
be working. With this at least clicking on the top/bottom bar will show
the UI.
2020-07-27 12:43:40 +02:00
b6e8f7a883 FocusMode: Do not accept inputs on the hidden elements
Setting the opacity to 0 doesn't meant we cannot interact with them.
2020-07-27 12:32:11 +02:00
73e3f7d5bc default editor should be updated without requiring a restart 2020-07-27 10:57:56 +02:00
606b3d8c24 Fork ChangeNotifier
The EditorStates are inheriting from State and using the ChangeNotifier
mixin. Both the ChangeNotifier and the State class have a dispose
function, which needs to be call.

Without this only the ChangeNotifier's dispose method was being called.
2020-07-27 10:17:17 +02:00
175bf85531 Save zenMode in settings
That way we don't need to toggle it each time.

Maybe it would be nice to have this exposed via the settings as well,
per editor. So I could enable it / disable it per editor.
2020-07-27 10:08:17 +02:00
9ca19077e7 Remove invalid assert
Not sure why I put this assert, it doesn't seem to make sense.
2020-07-27 10:03:25 +02:00
04bd9e053e Add Zen Mode in pro features page 2020-07-27 09:52:29 +02:00
3996a9163b Change Zen Mode text
Show 'Enable Zen Mode' or 'Disable Zen Mode' instead of just the toggle.
2020-07-27 09:49:24 +02:00
571c219711 Move EditorScaffold to its own file 2020-07-27 09:44:36 +02:00
e9cc050866 Implement a basic Zen Mode
This can be enabled in all the editors.
2020-07-27 09:39:31 +02:00
6d101ad5c4 Remove flutter crashlytics
Sentry is being used instead, and it's working out quite well.
2020-07-26 19:05:52 +02:00
2396b34b75 Allow the FS view to be experimentaly enabled 2020-07-26 19:05:47 +02:00
b0acadec6b ios: Fastfile upload to test_flight
This is the only command I could get to work using an app specific
password.
2020-07-26 18:04:00 +02:00
92f4929042 Fix email regexp
Fixes #181
2020-07-26 17:39:30 +02:00
7918676c7a ios: Commit empty swift file
Seems to be needed to get certain plugins to work which need some swift
code. Magic
2020-07-26 17:01:36 +02:00
e5ca0a7658 pubspec.lock: With flutter stable
Not flutter beta
2020-07-26 16:59:56 +02:00
e96893552b Settings: Remove unused change observer code 2020-07-26 16:59:37 +02:00
aebbe016c7 ios AppFile: Use special email for CI 2020-07-26 14:03:31 +02:00
9ca00480c7 PurchaseScreen: Make the back button more clickable 2020-07-26 12:36:58 +02:00
b9aeb430fd Handle case when we cannot get subscription status
This occurs in ios when the user is asked for their iTunes password and
they press cancel.

It seems with the current approach they will be asked for their password
once a month. It seems a bit annoying. How can this be made better?
2020-07-26 12:29:21 +02:00
4e40814825 ReceiptValidation: Send the psuedoID
Can be used to avoid duplication.
2020-07-26 12:20:16 +02:00
28d53242d8 Move away from RevenueCat
The iOS updates keep getting rejected, and I think it's because
RevenueCat is taking too long to respond. Additionally, revenueCat
doesn't really give us anything useful as its receipt validation isn't
perfect, and I've had to roll my own.

Plus from a privacy point of view, this is better as we are no longer
talking to any third party service.

This has so far only been tested on iOS
2020-07-26 12:20:09 +02:00
998da3e94c AppDrawer: Add hidden options to move between repos
This commit doesn't do anything, but it took me way way too long to
implement this basic UI. It's commented out for now.
2020-07-24 16:31:43 +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
5253c7bdd1 PurcahseWidget: Log the revenuecat errors
These shouldn't be happening.
2020-07-23 18:00:33 +02:00
33f34936fa PurchaseWidget: Show an error on the screen
Instead of via a scaffold
2020-07-23 17:59:44 +02:00