1325 Commits

Author SHA1 Message Date
e8343f1804 Add an RsaKeyPair class
It needs a bit more testing, but with this we should be able to drop the
dependency on openssh, and instead generate the key via dart.
2020-05-02 13:32:05 +02:00
096e9cb82c ios: Update Podfile.lock 2020-05-02 13:25:21 +02:00
793660e42f ChecklistEditor: Improve focus handling
It's still a bit of a mess. I seem to be hitting this bug -
https://github.com/flutter/flutter/issues/20706 which others are also
hitting, but it seems to be closed despite a clearly reproduce test
case.
2020-05-02 02:28:30 +02:00
441202af48 StripMarkdownFormatting: Support new checklist format 2020-05-02 01:29:43 +02:00
db8e9ef43b Fix logging of settings 2020-05-01 20:59:12 +02:00
97a097e031 Bump version 2020-05-01 18:58:31 +02:00
ca3f705e27 Disable JournalEditor custom Folder when pro mode not available
In iOS - I have no idea how to handle the tax stuff, so there is no paid
version. It would therefore we weird to show a paid banner, when the
user cannot actually purchase it on ios.
2020-05-01 18:53:06 +02:00
70ec10b7bc Checklist Parser: Make it a bit more robust
Allow the space after `[ ]` to be optional. Just like in Github.
2020-05-01 18:44:38 +02:00
01db30c613 Automatically migrate from old checklist format
This way people existing checklists do not disappear
2020-05-01 18:42:18 +02:00
b919f1f2ba Follow GitHub's Checklist format
Fixes #71

It's easier to not use the Markdown parser and just go line by line and
do it myself. This does make it a bit less extensible though.
2020-05-01 18:28:13 +02:00
1bae5c7a19 Merge branch 'checklist_Format2' 2020-05-01 16:54:43 +02:00
a995a88028 Allow sharing of notes 2020-05-01 12:20:55 +02:00
39d495a1a4 PurchaseScreen: Add a fake offering so we can work with this in dev 2020-05-01 12:17:25 +02:00
fd9c8a4a47 Journal Editor Settings: Changing the default Folder is a Pro feature 2020-05-01 12:16:57 +02:00
a12026a121 JournalEditor: Allow a default folder to be specified
This way all Journal Entries can go to that folder by default. It makes
adding a new journal entry easier.

Related to #118
2020-05-01 11:38:39 +02:00
64bfefa266 Do not allow DartGit's exception to escape
DartGit is still quite experimental.
2020-05-01 11:22:02 +02:00
8636021952 SyncButton: Show number of unpushed changes
Related to #123
2020-05-01 11:09:40 +02:00
1a52fb754d AppMenuButton: Remove badge for when git remote not configured
I cannot seem to get it to look nice with this new version of Badges and
now I'm reconsidering if it should be shown at all. The user doesn't
**need** to setup the git repo. This app can be used without it
perfectly fine.
2020-05-01 11:04:21 +02:00
49bf02bf15 logEvent: Parameters must be <String, String>{}
Not string, dynamic. Sentry wants strings.
2020-05-01 10:50:09 +02:00
9ee16ebe50 Editor: Show ✕ or ✓ in AppBar depending on if the note has been modified
Fixes #123
2020-05-01 10:14:18 +02:00
4e593d6c2f Fix crash 2020-05-01 09:38:49 +02:00
2494f3af8f ErrorReporting: Not all Errors are exceptions 2020-05-01 09:12:18 +02:00
9973408fe5 Update README.md 2020-04-26 11:39:38 +02:00
d2650713e7 README: Add Twitter and Reddit 2020-04-26 11:28:39 +02:00
29b002b0f0 MarkdownEditor: New notes should always be in edit mode
Fixes #119
2020-04-25 21:34:22 +02:00
bc32e5bbb3 Editors: Rename autofocus to isNewNote
It's more descriptive, and lets each edit decide how it wants to handle
new notes vs existing.
2020-04-25 21:33:42 +02:00
a0247e7c9e Ignore a few more git exceptions 2020-04-23 10:08:22 +02:00
ddc7ef1d85 Bump version 2020-04-22 23:35:16 +02:00
f67300cce7 PurchaseScreen: Only show monthly offerings 2020-04-22 23:31:19 +02:00
45a57da88a Only check if subscription is valid if it has expired
This way we avoid extra network access.
2020-04-22 23:30:50 +02:00
74df0f2bbc PurchaseScreen: Allow the user to select the price
We show a range of available prices. I'm hoping people will pay
according to how much they can afford.
2020-04-22 23:12:24 +02:00
d3aa78c39b Ananlytics: Initialize firebase properly 2020-04-22 22:39:06 +02:00
152a95d4e9 Record when an action is performed on a Note/Folder
This way I'll have statistics about how the app is used and more
importantly, figuring out crash reports will be easier as there will be
a rough trail of actions.
2020-04-22 01:31:48 +02:00
c0623d1c3c Sentry: Add error breadcrumbs
This way we will have some context as to why an error happened.
2020-04-22 01:31:32 +02:00
d511dab346 Abstract out the analytics class 2020-04-22 00:51:25 +02:00
1f78dc2dfe Update dart git dependency
Removes a dependency on ini
2020-04-22 00:44:57 +02:00
e5cd9ddec2 Email Regexp: Allow dashes 2020-04-21 20:49:26 +02:00
77e67fca11 Rename Folders properly
1. Actually rename the folder instead of calling rename with the oldPath
2. Inform the parentFolder that a sub-folder has been renamed so it can
accordingly update its mapping.

Fixes #108
2020-04-20 02:11:42 +02:00
5784399ac6 Remove NotesFolderFS::insert
The position of the note in the folder doesn't matter as Virtual folders
on top of this sort it according to how to how the user wants them to be
sorted.
2020-04-20 01:56:32 +02:00
3c3c49e099 Search: Check if filename matches
Fixes #95

We really need search highlighting to showcase why an item matched while
searching. Additionally, soon we may need to give the user control over
what all should be searched.
2020-04-20 00:37:48 +02:00
f84642207d Always check if not in pro mode
A person can install the app and be already in pro mode - for example if
they have cleared their cache. Ideally, we shouldn't be checking each
time on boot and instead just be checking when it expires.

Fixes #110
2020-04-20 00:28:24 +02:00
ff2ac647c5 Remove unused imports 2020-04-17 10:33:31 +02:00
25e5d3b8b7 Bump version 2020-04-17 10:32:53 +02:00
d81041802a MarkdownView: Use CachedNetworkImage
This is the simplest way I could find of showing a placeholder and
loading screen while the image was downloading. I'm not sure if I want
to cache the images locally.

Also, this adds lots of dependencies, which I'm not too comfortable
with.
2020-04-17 10:27:21 +02:00
6c47016c8b logException: Also log to Sentry 2020-04-17 09:42:19 +02:00
98b8e92437 PurchaseScreen: Show error as snackbar
We seem to be getting a PlatformException while listing the offerings.
2020-04-17 09:37:22 +02:00
b66d9e1a66 README: Add another screenshot 2020-04-16 17:59:39 +02:00
463bf7b4e6 README: Update screenshots 2020-04-16 17:55:01 +02:00
36aaabf582 TestDriver: Take some more screenshots
* Add some existing notes
* Screenshot the checklist edit
* Screenshot the folders view
2020-04-16 17:34:38 +02:00
db677f876b Fix settings crash 2020-04-16 17:20:19 +02:00