1578 Commits

Author SHA1 Message Date
7102a40403 [Android] Remove unused ic_launcher png files 2020-07-06 19:00:45 +02:00
b5f933637a Android QuickActions: Add images to the launcher
Add the svg images from FontAwesome. These look a bit ugly to be honest,
and maybe we should change them for conventional pngs.
2020-07-06 18:50:57 +02:00
801a753e3d Bump minor version 2020-07-06 17:57:55 +02:00
c31edc3b57 MarkdownEditor: Change default mode to "Last Used"
Add an extra option of Last Used, along with Edit / View.
2020-07-06 17:14:07 +02:00
a86843a2b5 Fix note link navigation
Fixes #173
2020-07-06 16:58:12 +02:00
6aeb6f7119 NoteBacklinksRenderer: Add debug logs
This renderer occasionally hangs, I'm not 100% sure why, and these logs
will help diagnose the issue.
2020-07-05 20:48:03 +02:00
a917f2452e Bump minor version 2020-07-05 20:39: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
4767f743d1 Bump version 2020-07-04 19:52:02 +02:00
1d1a4c6432 ios: Update podfile 2020-07-04 19:52:02 +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
1035bacc58 SubscriptionStatus: Avoid rechecking on start
Just check once and cache the value.
2020-07-03 22:32:34 +02:00
cc7d6e7e61 Pro Mode [Android]: Verify the purchase locally and without RevenueCat
We're using RevenueCat to manage the subscriptions. In my case in
Android, it gives me data saying I'm missing a subscription even though
I clearly have it (though in Trial mode).

The subscription token isn't really being verified right now. Ideally
this needs to be done on the server side. This is a good first start to
get rid of RevenueCat.

Related to #171
2020-07-03 22:15:03 +02:00
1d767f1f4d Remove flutter_runtime_env env
flutter_sentry provides the same feature. I prefer having the minimum
amount of external dependencies.
2020-06-20 07:56:32 +02:00
2651bff8bb Send Android/ios crash reports to Sentry
I'm not 100% sure this will work without the dart code, but I don't want
to replace my working implementation with flutter_sentry's
implementaiton which might not report all the errors.
2020-06-19 14:08:35 +02:00
c727b89eeb Bump device info 2020-06-19 13:18:20 +02:00
215f12d4d8 MarkdownStrip: Support all languages
We were only supporting English, and even if we use the regexp \w, that
seems to only work for English and not all languages.
2020-06-19 13:09:25 +02:00
a22f5ae758 Fix new imagebuilders arguments 2020-06-19 12:49:14 +02:00
4de7179819 Bump flutter markdown 2020-06-19 12:42:55 +02:00
421a30b016 Fix linking of relative links
This broke while trying to support the [[ ]] syntax.
2020-06-19 12:40:01 +02:00
3be7a7d350 Fix opening on relative notes when clicking on a link 2020-06-19 12:39:43 +02:00
ea04ae3598 Update README 2020-06-12 23:40:42 +02:00
5e557ef6c3 Rename MetaLinkSyntax to WikiLinkSyntax 2020-06-12 13:50:54 +02:00
ede78f6019 Change <hr> width
5px seems to much. It now looks similar to how GitHub renders it.

Fixes #167
2020-06-12 13:05:46 +02:00
a18bb9c037 Purchases: Remove debug logs from RevenueCat
They aren't useful any more
2020-06-12 10:58:11 +02:00
94af59fb84 IAP: Convert print to Log 2020-06-12 10:57:58 +02:00
509cf7d0a0 Add Note Backlinks in Purchase screen text 2020-06-10 16:28:02 +02:00
01006ddaa1 NoteBacklinks: Do not show pro overlay if no backlinks present 2020-06-10 16:24:22 +02:00
4fc7c18e98 Let the rendered markdown be selectable 2020-06-10 16:09:16 +02:00
45562a5d8d Bump Flutter markdown 2020-06-10 15:59:55 +02:00
e71ff5d2c0 Make NoteBacklinks a pro feature 2020-06-10 15:49:47 +02:00
b33a66a5fc BackLinks: Render the [[term]] in bold 2020-06-10 15:46:16 +02:00
3794bf8ac0 Backlinks: Add support for [[link]] type links 2020-06-10 15:19:07 +02:00
1cebc69759 Backlinks: Make the entire part tappable 2020-06-10 15:18:38 +02:00
c98d01415f NoteRename: Do it before trying to get the lock
Another operation coule be blocking git.
2020-06-10 15:16:22 +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
2502f4a79d Update ios podfile 2020-06-10 14:50:18 +02:00
06b9f27b1c Update changelog 2020-06-10 14:50:09 +02:00
695b0eaae0 Fix typo SO -> OS 2020-06-10 14:50:01 +02:00
8811f08b0e Debug screen: Cache the logs
Avoiding opening the file again and again
2020-06-10 13:34:36 +02:00
b3014d4186 Log GitPush/Pull fails as errors
Instead of debug
2020-06-10 13:28:35 +02:00
97812e1501 Convert more prints to logs
This way they will show up in the LogViewer
2020-06-10 13:25:22 +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
8a00fd1df6 ErrorReporting: Log the exceptions
Not only to Sentry, also to the log, so it appears when we look at the
logs.
2020-06-10 13:18:12 +02:00
51ececd150 Immediately save the note when changing
Earlier we would wait till we got the 'mutex' to make a change, however
with the way libgit2 works, during a git push/pull other git operations
such as add/rm/commit block.

So performing a save, while the push/pull is occuring - might have
resulted in a note being lost

Related to #124
2020-06-10 13:03:28 +02:00
5af4edda18 SyncButton: Always show the number of changes
Even when pulling/pushing
2020-06-10 12:57:53 +02:00
c7c77b1838 Revert "Fix build"
This reverts commit d6a288c085a3527309e4fa2947fb814885521a50.

Not sure what is going on.
2020-06-10 12:21:13 +02:00
cc63146da7 Update CHANGELOG
We no longer have the advantages of using flutter_web_auth, there are
just too many blockers, such as -

* ios8-10: https://github.com/LinusU/flutter_web_auth/issues/19
* Even on Android this doesn't work reliably as I quite often get a
  User Cancelled exception
2020-06-10 11:59:47 +02:00
66a76a0767 Revert "Use flutter_web_auth instead of our own OAuth mechanism"
This reverts commit 763cbf8493c610dec0e7e344bee40ad331e7a272.
This reverts commit ddad699b259bafe6c7ed630e7afc2eb38b7825e6.

This is causing way too many problems -

On Android with GitHub we occasionally get a User Cancelled exception.
On iOS this doesn't work < ios11

I prefer keeping my way till then. Even though it doesn't support
KeepAlive on Android.
2020-06-10 11:53:43 +02:00
783dbaa505 Bump version 2020-06-10 10:56:40 +02:00