1374 Commits

Author SHA1 Message Date
1d4fd16cc7 PurchaseScreen: Add another advantage 2020-04-16 13:32:04 +02:00
0be484f9b3 PurchaseScreen: Log purchases 2020-04-16 13:31:43 +02:00
afe94da638 MarkdownEditor: Allow the default view to be configurable
Fixes #98
2020-04-16 13:16:40 +02:00
d03213178c Settings: Move Editor Settings to their own screen
It just has the default settings right now, but we need to expose some
settings in the Markdown Editor.
2020-04-16 13:06:11 +02:00
84a7812f0b Log Settings and AppState
Not as debug messages. This is very important when receiving a bug
report.
2020-04-16 11:50:18 +02:00
fd7ad7d92b Generate a random uuid for each user for Sentry
This way, we know if one particular user has lots of errors. Firebase
Crashlytics used to do this automatically, I think.
2020-04-16 11:49:20 +02:00
21a7798dc9 Note.load: lastModified can throw an exception
Fixes APP-V
2020-04-16 10:12:33 +02:00
bbaf5b4452 Wait for previous completion of loadNotes
Fixes APP-R
2020-04-16 09:35:18 +02:00
c14ffda409 App: Store the gitBasePath in the settings
This is the folder where the git repo should be stored.

By storing it, we can easily change it later. Also it allows us to
reduce of our custom platform code.
2020-04-15 14:25:40 +02:00
9a77afcbfd Do not allow / in the filename
Fixes #102
2020-04-15 14:02:36 +02:00
7b03e88847 Add another advantage to the purchase section 2020-04-15 09:05:06 +02:00
5bc6ed9d9e Bump version 2020-04-14 18:31:01 +02:00
dbeb1cdbe5 Remove hero from note_viewer
We now show the NoteEditor directly, so this hero doesn't really do
much.
2020-04-14 18:27:16 +02:00
0162d1e11a Only do a git push if one has commits to push
This is the first use of my pure Dart implementation of Git. Hurray!
Now hopefully, I can slowly get rid of git_bindings entirely.
2020-04-14 18:15:32 +02:00
2eda892285 Remember to dispose text controllers 2020-04-14 17:53:17 +02:00
90dcb72ccf NoteEditor: Fix debug variable 2020-04-14 17:53:02 +02:00
f53aa53683 Checklist: Maintain the case of 'x' 2020-04-14 17:46:24 +02:00
40d613b60c Revert "Remove unused variable"
This reverts commit e0e0d6d42f1fadaf47f55c880ade4d1ab393cbaa.

This is clearly used.
2020-04-14 17:09:19 +02:00
a0ea7397ee Remove unused variable 2020-04-14 16:47:47 +02:00
f79fc52a89 PurchaseScreen: Allow it to be scrolled
Maybe for really small screens?
2020-04-14 16:31:17 +02:00
e117c19add PurchaseScreen: Change status bar color
It looks strange when it's just white.
2020-04-14 16:20:00 +02:00
e426f5523c Do not report Flutter errors to Crashlytics
It's just extra noise. We're still initializing it as I want the
iOS/Android level errors.
2020-04-14 16:19:44 +02:00
7856748f5b Improve the purchase screen
It's still quite boring, but it's better than before.
2020-04-14 15:49:35 +02:00
fa63c98d6d Add a basic Purchase Thank you screen 2020-04-14 15:35:37 +02:00
22b32d9fc3 PurchaseScreen: Make it kinda work in the dev flavour
At least it appears and we don't get an error. This makes working on the
screen easier as I like to use the 'prod' flavour for my own notes /
journals.
2020-04-14 15:25:29 +02:00
e5e27e9a1d Add a bottom padding in the folderView
This way the FAB bar doesn't cover the last element.
2020-04-14 08:29:17 +02:00
e0e0d6d42f Remove unused variable 2020-04-14 08:29:09 +02:00
84ad9c2ec4 Remove LICENSE from README
GitJournal has been AGPL for sometime now.
2020-04-11 13:00:43 +02:00
e0f84eb093 CI: Fix dart path 2020-04-10 14:54:09 +02:00
6fab0ae0a4 FlattenedNotesFolder: Stop maintaining the index
This makes it slower, but since remove operations are much less frequent
it's okay to have them at O(n)
2020-04-10 13:54:03 +02:00
6922c1a2ae CI: Setup env before running tests
Some of the included files sometimes need the env file to exist
2020-04-10 13:48:35 +02:00
cb126c733a Add missing file 2020-04-10 13:46:49 +02:00
14d734bf08 Fix handling of Note renames
We often use the note's filePath as a unique identifier, however that
can change, and we need to update the caches accordingly.

Fixes #97
2020-04-10 13:45:19 +02:00
d16b4e9eb9 Update build instructions 2020-04-10 13:03:00 +02:00
0e05422f16 Stop tracking .env.dart file 2020-04-10 13:01:54 +02:00
d724dfb8ad Implement basic IAP support for Android
It's very ugly, but it works.
2020-04-10 12:58:21 +02:00
37909c84f8 Make sure widgets are mounted
Might solve some of the crashes
2020-04-10 12:12:17 +02:00
ed5e86cf83 Get Sentry DSN from env variable 2020-04-10 12:10:37 +02:00
20a5ad8043 AppDrawer: Only show Pro Mode button if we aren't in Pro Mode 2020-04-08 14:18:47 +02:00
b1683acbf3 Add a way to pass certain keys via env variables in the CI 2020-04-06 19:57:10 +02:00
49f4e334dc Add a very basic purchase screen
Along with a 'Go Pro' option in the sidebar. This is extremely ugly and
is therefore disabled by default right now.
2020-04-06 19:26:09 +02:00
9e2d7be716 Android: Add billing permission 2020-04-06 17:44:00 +02:00
531eb6f3ae Dismissable: Increase threshold to 60%
A number of users have complained that they currently land up deleting
note accidentally because of the swipe gesture.
2020-04-06 17:14:50 +02:00
0c53c9469c Add the legacy checklist format migrator
Ideally, I would love to just skip this, but it would break existing
checklist and we do have a decent number of users now.
2020-04-06 01:36:46 +02:00
1c869bc02b Checklist: Adapt other tests
This still doesn't fix all the tests
2020-04-06 01:29:49 +02:00
219e241deb Checklist: Add support for upper case 'X'
Requires an extra commit in markd
2020-04-06 01:14:36 +02:00
de2c82f4bd Try to support the proper checklist format
According the markdownguide.org, the checklist items are always inside a
list. It can any kind of list, but they are inside a list.

This commit breaks the old syntax and most of the tests. It also
requires a custom version of markd :/
2020-04-06 01:10:44 +02:00
7683064ba1 README: Add utm codes to installers
This way I should be able to track installs from GitHub.
2020-04-04 11:53:31 +02:00
de84d99c11 CardView: Fix top padding
It should be part of the list and go away when scrolling.
2020-04-04 11:51:10 +02:00
bb0e574495 Abstract out the logging
This way moving away from Fimber will be much easier.
2020-04-04 11:50:57 +02:00