1162 Commits

Author SHA1 Message Date
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
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
56dcb1cb2e README: Use images hosted on gitjournal.io 2020-04-04 11:05:05 +02:00
f49d5d59e1 Remove android screenshots
Lets not host them in this repo, instead we can host them on our
website. These image files can get quite heavy
2020-04-04 10:54:28 +02:00
4c73840d43 NotesCache: Increase its size to 20
With the cards view, we see way more notes.
2020-04-04 10:36:08 +02:00
0524ce665f Update .gitignore 2020-04-03 19:40:09 +02:00
ceffa89eb2 Checklist: Add an extra assert 2020-04-03 19:39:03 +02:00
ea5667fcde Screenshots: Add another note 2020-04-03 19:38:33 +02:00
9de5f913ed Improve screenshot script
Which also acts as our integration test.
2020-04-03 19:38:33 +02:00
c6642bbb66 README: Add Community Links 2020-04-03 09:36:21 +02:00
ebd05bcefd Bump version 2020-04-02 19:39:39 +02:00
9e60a74c19 Allow opening relative links while are notes 2020-04-02 19:34:54 +02:00
cfc38b90b9 NoteTile: Implement Inkwell
It needs to be inside the Material to work.
2020-04-02 19:15:18 +02:00
2b6c5e69f1 NoteTile: Adjust border color 2020-04-02 18:45:25 +02:00