1578 Commits

Author SHA1 Message Date
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
2ee25e0b8f Fix the case when the repo folder disappears
In that case we should treat it as though the app is being freshly
launched.

Fixes APP-43
2020-07-23 17:31:58 +02:00
ecd36e9166 Bump version 2020-07-21 11:22:12 +02:00
42d755be1d Make sure local git repo always exists
There are some cases when upgrading from a really old version that the
journal_local no longer exists.
2020-07-21 11:19:27 +02:00
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
a6fba3d2e7 IAP: Do not check for pro mode on boot
If the user has freshly installed the app, they can click on the
Purchase Pro Mode button and that will put them in Pro mode if already
bought.

This is being done, because otherwise the experience in ios is shitty as
the moment the app is launched, the user is asked for their iTunes
password.
2020-07-21 10:37:01 +02:00
e7984f87f3 IAP: Validate the token on the server side
As recommended by Apple and Google.
2020-07-21 10:33:13 +02:00
1b49b7e2db Pubspec lock update 2020-07-15 16:22:20 +02:00
ed3bc380b7 Bump minor version number
Containd ios IAP fixes
2020-07-14 23:06:00 +02:00
96f3c5a7e7 Bump pubspec.lock 2020-07-14 23:05:47 +02:00
7c6a5b5d26 ios IAP: Select the latest purchase
We really should be using server side validation. This is incredibly
hacky.
2020-07-14 22:20:48 +02:00
85e1ec0e1f ios: pod update 2020-07-14 22:19:06 +02:00
dc671054f3 IAP: Confirm if isPro without RevenueCat on ios
Fixes #171
2020-07-14 21:27:45 +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
885edbffc1 Bump git_bindings 2020-07-10 20:36:44 +02:00
fb9b69bb46 TagsFolder: Auto add relevant tag to new notes 2020-07-09 18:03:06 +02:00
4e61c21088 NoteTagEditor: Add the tag when hitting Enter 2020-07-09 17:51:01 +02:00
27bcb09edf IAP: Log the expiry date 2020-07-09 17:11:48 +02:00
62e8886391 Bump version 2020-07-09 17:02:14 +02:00
e6d479d804 Increase the default price
It'll be nice experiment to see if this results in people paying more.
2020-07-09 16:52:17 +02:00
a861c16e8f PurchaseSlider: Add buttons to make chosing the price easier
This way we can more easily choose the value, as the slider is quite
buggy.
2020-07-09 16:50:27 +02:00
94730c7040 PurchaseWidget: Move slider to its own file
Also de-couple it from RevenueCat specific APIs.
2020-07-09 16:31:49 +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
309917d165 Move links parsing from the markdown string to another thread
This can be very expensive and the UI hands for a large number of notes,
otherwise.
2020-07-09 11:09:03 +02:00
915237285e Force last view to default to Edit 2020-07-09 10:02:08 +02:00
352879b965 Add support for rendering wiki links
This way clicking on a wiki link also opens the corresponding note, if
it exists.
2020-07-09 01:02:32 +02:00
ad535f3be7 Note Links: Considering anything which doesn't have a '://' as local
Only local notes are shown in the backlinks. Earlier our idea of local
links was notes which start with './', but now since we accept the
direct filename as well, we should support that in the backlinks as
well.
2020-07-08 00:49:45 +02:00
f94c119e9a Bump minor version number 2020-07-07 23:30:00 +02:00
7506e3990d Detect all kinds of local links
Not only links which start with ./

We also try to guess with the .md or .txt extension if the file is
present.

Fixes #173
2020-07-07 23:27:44 +02:00
23f259dc60 [Android] Make the quick-actions icons prettier
Use Android Studio's Asset manager to generate nice and pretty icons.
Using svg based icons made them look off on most platforms as they
weren't enclosed in the classical circle.

Also this way we have support for Adaptive Icons and all the new stuff.
2020-07-06 19:15:46 +02:00