306 Commits

Author SHA1 Message Date
9bf9193ec8 RepoSelector: Hilight selected text 2020-11-13 16:03:28 +01:00
5da69de515 Improve log message 2020-11-08 10:38:59 +01:00
ab1e8ad4af Emails: Add proMode and expiry date 2020-11-07 17:39:57 +01:00
071f15b067 Bug Report: Send logs for today and yesterday 2020-11-07 15:31:16 +01:00
699f79ae4c Add a few more log statements
ConfirmProPurchase doesn't seem to be working for everyone on iOS
2020-11-07 14:31:15 +01:00
aa805f80c5 SyncButton: Show a different icon on error 2020-10-23 15:35:46 +02:00
43206219da Merge AppState into Repository
The 'AppState' was more of a Repository state, and it's easier if it
lives inside the Repository class.
2020-10-23 02:01:45 +02:00
770394a8f9 Rename StateContainer to Respository 2020-10-23 01:38:47 +02:00
c3d61d25cd Fix translation key 2020-10-23 00:06:13 +02:00
bc06efc446 Create new note when clicking on non existing Wiki Link
Fixes #240
2020-10-22 23:57:53 +02:00
39339a23f1 PurchaseWidget: Simplify code 2020-10-22 22:51:30 +02:00
00c4a07d72 Note Backlinks is clearly not experimental anymore 2020-10-21 22:32:34 +02:00
fd74a86abf Remove the whole local/remoteConfigured settings
We now infer this by checking if the directory exists, and by reading
the git config. It's a bit slower, but it's a far better method. I can
add a cache later, if it turns out to be too slow.
2020-10-16 15:13:34 +02:00
9499cea164 Remove Settings global
Stop it being a singleton. This means it needs to be passed around a
lot. This sucks, but it's how it should be. I shouldn't be using a
global variable to get around this.

This is needed as Settings will soon become repo specific when we
support multiple repos.

This breaks saving the settings in a file, that feature was toggled off
anyway. It needs to be thought over again.
2020-10-09 00:59:19 +02:00
b3ea9c9565 Avoid using deprecated autovalidate 2020-10-02 16:17:05 +02:00
75d48fbfc6 Integration Test: Show the sorting settings and view Options
Also add far more existing notes for the screenshots.
2020-09-28 12:11:05 +02:00
43269bbe53 Add lots of listen: false when using Provider
Provider version 4 has an assert which fires if used incorrectly.
2020-09-28 00:09:14 +02:00
fe08834259 Split Settings into AppSettings and Settings
This way I can eventually change Settings into RepoSettings without
breaking anything.
2020-09-25 00:33:54 +02:00
f30c52f595 Move all persistent state from AppState to Settings
This way all the persistant state of the app is managed from the same
place. It makes everything much easier. Also, it's required for when
GitJournal supports multiple repositories.
2020-09-24 23:45:37 +02:00
f3715bd3c8 Markdown DarkTheme: Make the checkboxes lighter
This entire way of styling the markdown badly needs to be re-done from
scratch.
2020-09-23 02:18:47 +02:00
3e785cbc97 NoteViewer: Fix translation string lookup 2020-09-22 23:26:49 +02:00
3a7f730489 Fix blockquote background color
The entire theme of the markdown viewer really needs to be improved.
2020-09-15 00:35:57 +02:00
f7adeafe7d First iteration of the Graph View
I'm testing this with the Foam documentation. This has revealed a number
of bugs in our link resolver - most of which have now been fixed.

The graph layouting is not being done as this is so incredibly slow.

This has been added as an experimental feature.
2020-09-14 17:47:26 +02:00
2404475074 HighlightedText: Ensure max lines is being followed
This results in the highlighted text not always being visible. I'm not
sure how to fix that, it seems rather complex.
2020-09-14 12:36:48 +02:00
c94ff85804 Overhaul Link parsing
We were mixing up header links with wiki links and the alt text. It was
a bit messy. We currently do not support linking to a particular part of
a note. Nor do we support wiki links as link references.

Fixes APP-A0
2020-09-14 12:20:15 +02:00
984fc6864e Make all remaining strings translatable 2020-09-08 23:01:39 +02:00
461a887514 log completePurchase errors
This payment stuff is quite complicated!
2020-09-07 22:36:45 +02:00
1fff957c8b PurchaseWidget: Mark the strings as translatable
Also show a dialog to a user so they don't keep trying to click again
and again.
2020-09-07 21:46:03 +02:00
c229b7c2e8 PurchaseWidget: Log the exceptions 2020-09-07 21:43:40 +02:00
618ae071b9 PurchaseScreen: Center align the text
For smaller screens
2020-09-07 21:38:47 +02:00
35f76ebe4c StandardView/JournalView: Implement search highlighting
Fixes #14
2020-09-07 17:48:21 +02:00
d81b2ac3ab HighlightText: Show the actual term
Not what we are searching for.

This is going to get really messy when I implement proper searching
which takes accents and text normalization into account.
2020-09-07 17:40:42 +02:00
cbc75e45e9 NoteTile: Also Highlight the title if it matches
Related to #14
2020-09-07 17:38:37 +02:00
49dee11a26 Move Note Delete dialog to its own file
+ translate
2020-09-07 16:24:52 +02:00
fac2826800 Implement the scaffolding for search highlighting
Still need to implement the actual highlighting part
2020-09-05 16:14:16 +02:00
a2ffdaabc7 Search: Make string translatable 2020-09-05 16:10:07 +02:00
fa075c25e0 FolderView: Implement selecting a note
This is disabled for now, untill I expose the actions which should be
performed when selecting a note.
2020-09-05 15:53:26 +02:00
16fae264de PurchaseWidget: Make sure it is still mounted before calling callback
Fixes APP-B1
2020-09-05 12:50:31 +02:00
96bbef436b Add a dark mode switcher in the App Drawer
Inspired by Telegram, though our animation is not as fancy.

Related to #121
2020-09-04 02:21:22 +02:00
53b4d643fb Move ScrollViewWithoutAnimation to its own file 2020-09-03 21:50:23 +02:00
33e947a49e MarkdownToolbar: Add some FIXMEs 2020-09-03 19:47:19 +02:00
9db05bb7d8 PurchaseWidget: Handle when it fails to load options
Fixes APP-AY
2020-09-03 11:55:43 +02:00
40b5afdb7b IAP Verify Fail: Report it to Sentry
Not as analytics. This should typically never be happening.
2020-09-03 08:30:17 +02:00
9ec33842bc MarkdownToolbar: Remove old block tag
If a text starts with '# ' and we click on the '- ' button, it should
remove the old tag '#' and replace it with '- '. Before this it would
have done something like this '- #'
2020-09-02 00:00:53 +02:00
fefe354e83 MarkdownToolbar: Navigate across multiple lines properly 2020-09-01 23:32:14 +02:00
4596e11ab4 PurchaseScreen: Make all strings translatable 2020-09-01 10:48:05 +02:00
588f1db263 PurchaseScreen: Change the text
* Call it a Monthly Subscription - as that is exactly what it is
2020-09-01 10:38:19 +02:00
4c324a1194 IAP: Ignore user cancelled errors 2020-09-01 10:30:09 +02:00
b3bdb8657c Handle IAP of products
We were only handling subscriptions properly
2020-09-01 10:29:50 +02:00
822607ba18 Add extra logs 2020-09-01 09:18:16 +02:00