7f557d3d3e
Use Flushbar for Snackbars
...
The flutter default Snackbars are a major PITA to use as they require a
Scaffold, additionaly, they will not be shown if the parent Scaffold is
destroyed, which is the case when deleting a note and returning to the
main screen.
2019-10-09 00:12:58 +02:00
860a811568
Disable crashlytics until initialized
2019-10-08 23:36:29 +02:00
73715e3417
Crashlytics: Disable in debug builds
...
This way no matter what, a debug build will not report to crashlytics.
As it currently did.
2019-10-08 23:35:39 +02:00
0a858756c8
Analytics: Log the settings
...
This way we can adapt the settings in the future to use the most
commonly changed items first.
We're not logging the 'gitAuthor' or 'gitEmail' as that includes
personally identifyable info.
2019-10-08 23:10:37 +02:00
992e2042a7
Ignore another network message
2019-10-08 16:00:56 +02:00
d1a2fed734
gj_common: Avoid returning a NULL shorthand
...
It's not what we expect and was causing crashes on some repos.
2019-10-08 15:40:36 +02:00
678bf7b879
Fix warning
2019-10-08 14:55:00 +02:00
2238e8343f
Remove preferences dependency
...
It doesn't follow the Material Design spec, and usually required a
PreferencesService to be running. It is easier to just create our own
widgets.
2019-10-08 14:52:09 +02:00
e331e76c4f
Settings: Replace CheckboxPreference with BoolPreference
...
It's better to have our own small class for this as the one provided
with the library tries to contact the PreferencesService and that isn't
what we want.
2019-10-08 14:50:18 +02:00
d606e04ef0
NoteFileNameFormat: Improve the Settings
...
* Use a DialogBox instead of a drop-down - This conforms better to the
Material design spec.
* Make the enum into a class. It makes managing it much easier. And
avoids code duplication.
2019-10-08 14:37:57 +02:00
e0e90f3819
Settings: Change Theme dropDown to AlertBox
...
This follows the MaterialDesign guides and also looks way better
2019-10-08 14:22:38 +02:00
70cc57f89c
FontSize Dialog: Highlight the prev font size
2019-10-08 14:08:45 +02:00
e65053e437
NoteFontSize: Simplify the code
2019-10-08 13:57:34 +02:00
276a3bf976
Setting Font Size: Improve the choosing dialog
...
Now show how big the font will be in a dialog. This way the user can
make a more informed decission, instead of just choosing "Small" vs
"Normal" and not knowing how big that actually would be.
2019-10-07 21:10:21 +02:00
05fb3da7c2
Settings: Align Header with text
...
It was weird that the rest of the text did not have the same margin.
2019-10-07 20:36:23 +02:00
adf28a4e78
Add a RawEditing option
...
This way one can directly modify the YAML to add whatever tags they
want.
2019-10-07 20:21:59 +02:00
a60de98e8f
Settings: Rename section to 'Git Author'
...
Instead of 'Git Settings'
2019-10-07 19:33:23 +02:00
69003cf0ac
Rename package from journal -> gitjournal
...
It's about time.
2019-10-07 19:30:50 +02:00
b4e6786d9a
Improve the dark theme
...
Avoid the green color when in the dark theme. It was clashing quite a
bit. Lets just go with complete dark shades for now. It's still really
missing something, though I'm not sure what.
2019-10-07 19:28:10 +02:00
c2d7841b32
Move Themes to their own file
...
I'm just experimenting with having different components more neatly
separated.
2019-10-07 19:18:34 +02:00
1683d4af73
JournalList: Move IconDismissable to its own widget
2019-10-07 19:04:42 +02:00
a806013554
JournalList: Swipe actions show a delete icon
...
Also changed the color to Red to make it very clear that the note is
being deleted.
2019-10-07 16:31:03 +02:00
86c14a7b9d
Fix Test Driver
2019-10-06 13:00:59 +02:00
4ec035ae29
README: Add a section about Migrating from existing Apps
...
A nice user has written some conversion scripts for some apps,
additionally I wrote a Google Keep Converter.
2019-10-06 12:57:17 +02:00
d4718e9fc9
Search: Show a better message when not found
...
It used to show "Why don't you add a new note"
2019-10-06 12:46:06 +02:00
8d717cbaeb
Allow Analytics collection and Crash report collection to be disabled
...
As the developer I really don't want users to disable these, but as
a User, I always want the option, so I should include it.
2019-10-06 12:40:49 +02:00
6c21f82d3a
Note.load: Reload note if modified in the file system
2019-10-06 12:03:19 +02:00
674655b5a8
Ignore one more PlatformException
...
It's nice that we're logging all of these platform exceptions. It really
lets us see all the different errors people are having over time.
2019-10-06 11:46:16 +02:00
112122cfcf
ios: Add first iteration of Fastlane
2019-10-05 02:37:27 +02:00
232a148ead
ios: Update .gitignore
2019-10-04 05:10:18 +02:00
4267661fc1
ios: Update crashlytics
...
Also add it to the BuildPhase. Hopefully with this we will now get
proper crash reports.
2019-10-04 05:09:12 +02:00
c144f14816
Avoid saving hasJournalEntries
...
It can be a simple getter
2019-10-04 04:37:41 +02:00
3d8aa2ad70
AppState: Move loading/saving to where the data lies
2019-10-04 04:35:02 +02:00
4058428241
Bump version number
2019-10-04 04:18:50 +02:00
36bd074d84
install_latest_artifact: Make it work again
...
We now have 2 artifacts the aab and apk
2019-10-04 04:18:24 +02:00
6fe0886c36
Make sure all notes are loaded on startup
2019-10-04 04:18:05 +02:00
27bcbb32fb
CI: Fix artifact name
2019-10-02 22:34:43 +02:00
d5300f29ee
gj_common: Add git to Dockerfile
...
Makes debugging much easier
2019-10-02 16:14:03 +02:00
9c1b24c5b4
gj_commit: Allow the commit time to be specified
...
For now this has not been hooked up to android or ios.
2019-10-02 16:13:24 +02:00
dc746ac7c0
gj_common: Improve docker image
2019-10-02 16:00:07 +02:00
722d81e399
gj_common: git_repository_state_cleanup cannot be called with repo = 0
2019-10-02 15:46:15 +02:00
8e11282a62
gj_common: Do not hardcode the 'master' branch
2019-10-02 15:46:01 +02:00
5a7ce59fb4
gj_common: Improve build env
...
ubuntu:latest has changed and compiling libgit2 doesn't have us ssh
support. Cannot seem to figure it out, so lets just use a pre-compiled
version of libgit2, it's a little ahead of the version I'm using, but
that should be fine.
2019-10-02 08:34:14 +02:00
300acbd787
CI: Build the APK as well as the AAB
...
The APK is useful for debugging, as one cannot easily install the AAB
from the command line.
2019-10-02 07:14:18 +02:00
78b4a25c30
Note: Add a setter for body
...
Hides the 'NoteData' internals.
2019-09-27 01:12:47 +02:00
475251df61
Preserve the YAML sorting order
...
Also refactor this a bit so Note contains a NoteData. I'm really not
convinced about today's abstractions, and feel I might have made this
entire thing much much worse.
2019-09-26 18:52:01 +02:00
ead10ae087
Note: Do not reload if already loaded
2019-09-26 18:04:35 +02:00
890fd059d4
Remove unused base class
2019-09-26 17:27:29 +02:00
19df28cd61
Remove usused variable
2019-09-26 17:24:14 +02:00
186f6b0af3
Refactor: Remove FileStorage
...
With this, the application compiles again. And note editing is working
again. This is was the first of some small refactors in order to
implement both async note loading and a support for directories.
2019-09-26 17:22:52 +02:00