1305 Commits

Author SHA1 Message Date
2a84962cb2 DebugScreen: Do not show microseconds
Way too much info
2020-05-17 19:49:51 +02:00
a324d0f755 Logging: Allow logging structured fields
Display this in the Debug Screen app. Additionally, add a reason why a
file was not loaded.
2020-05-17 19:47:11 +02:00
2339f50d89 DebugScreen: Make it prettier 2020-05-17 19:24:00 +02:00
804254cb2e Fix crash while parsing logs
So ironic
2020-05-16 20:59:11 +02:00
1b235fdf62 Update README.md 2020-05-16 15:26:40 +02:00
ca934f79d5 CloneRepo: Avoid creating a .gitignore file if not required
It's easier if there is always at least 1 commit in a repo. Creating a
commit with a .gitignore file was a simple way to ensure that. However,
we can also just check for the presence of any other file. This way, we
avoid the extra commit.
2020-05-15 15:31:16 +02:00
18db4899b2 GitHostSetup: Allow the user to choose between repos
This way they don't need to use a repo called 'journal'.
2020-05-15 15:28:44 +02:00
2cc1707ef7 Bump version 2020-05-14 17:07:56 +02:00
87393ac588 NoteCache: Avoid duplicates
This should ideally never happen, but it seems to be occasionally happening
for some reason.
2020-05-14 16:59:03 +02:00
89deac3770 Note toString: Print loadState
Makes it easier to debug
2020-05-14 16:58:45 +02:00
db37bfbf81 Note: Not all files end with a '.md'
This was only supposed to be done for new files
2020-05-14 16:58:16 +02:00
109b5f7d37 Update purchase screen with new pro features 2020-05-14 16:47:24 +02:00
f478d1c9ad Make Tags a pro feature 2020-05-14 16:22:15 +02:00
ef57e263ba ProSettingsOverlay -> ProOverlay
Also move it to its own file
2020-05-14 16:10:09 +02:00
5c04bf204e Add Tags sidebar
Fixes #114

This was there because I couldn't figure out how to configure Billing in
iOS, now that it is done, I can have the pro mode in iOS as well.
2020-05-14 16:09:22 +02:00
7ef9cfe60f Minor refactor 2020-05-14 13:03:12 +02:00
9b878bf2bb Remove useless method 2020-05-14 12:51:12 +02:00
79ece901a8 Editors: Implement didUpdateWidget
The parent sometimes changes the noteModified parameter. It's strange
for me that the stateless widgets aren't always rebuilt if their parent
widget's properties change.
2020-05-14 12:49:52 +02:00
c9b755862b Folder ListView: Reset the listeners
I clearly didn't understand the State lifecycle
2020-05-14 12:42:08 +02:00
a959101010 Make some strings translatable
Instead of hard-coding the strings.
2020-05-14 12:00:40 +02:00
867f6df14c [Android] Implement sharing images to GitJournal
Fixes #38
2020-05-13 18:30:33 +02:00
1d68d3a4a5 [Android] Implement sharing text to GitJournal
Related to #38
2020-05-13 17:40:23 +02:00
b3facb16de Minor refactor 2020-05-13 17:31:43 +02:00
6857047f36 Add App Shorcuts
I've added 3 app shortcuts -

* New Note
* New Checklist
* New Journal Entry

The icons for these shortcuts are horrible, and I cannot seem to make it
prettier, so this will have to do for now. It's also a bit slow as first
the home screen in built and then a NoteEditor is shown.

Fixes #134
2020-05-13 16:56:25 +02:00
0dfb86788e Minor refactor 2020-05-13 16:56:20 +02:00
132b3ddcb8 Sanitize the filename derived from the note's title
Not all characters are supported on all platforms. Additionally, we
don't want it to have the path seperator.

Fixes #132
2020-05-13 12:10:32 +02:00
31e3e8c806 Ensure Note's fileName always ends with a .md
We were missing it in some cases :(

Fixes #135
2020-05-13 12:03:04 +02:00
188740974f Firebase Analytics: Set onboarded property
This makes it easier to calculate the actual retention rate as some
40-50% of the users never land up setting up a git sync.
.
2020-05-13 11:56:36 +02:00
66eeaa552b Bump git_bindings and pass fresh version of gitAuthor/Email
This way the Settings change for git author is immediately reflected.

Fixes #130
2020-05-13 11:36:08 +02:00
2d62216b01 Settings: Only store the value if different that the default
This should result in faster save operations, and it will let us easily
change the defaults in the future.
2020-05-13 11:32:24 +02:00
132df379a7 Fix settings typo 2020-05-13 11:26:47 +02:00
d8cf323dce Bump yaml_serializer 2020-05-13 09:26:56 +02:00
08a0c4c21a Make editing of Tags a pro feature 2020-05-13 01:38:52 +02:00
b7124b37bb Note Tag Editor: Capture back button
This way the tags are even updated with the back button.
2020-05-13 01:37:06 +02:00
321d05664c TagEditor: Show the tags from all the notes
This could get a bit slow, but since we aren't doing it very often, it
should be fine.
2020-05-13 01:24:54 +02:00
4375d0cf6d Add const 2020-05-13 01:21:40 +02:00
a5ad172790 NoteTest: Remove datetime value
Causes the test to fail on the CI as Dart doesn't have proper timezone
support.
2020-05-13 01:12:37 +02:00
2847e3f60f Add basic tag support
This allows you to be modify the tags from the NoteEditor. Related to
 #114. We still need to add some way to filter the notes by tag. Also,
the current tag editor doesn't show the tags from the other notes.
2020-05-13 01:01:40 +02:00
52fd859990 Note: Make tags a set instead of a list
This way we don't need to check for duplicates
2020-05-12 23:33:57 +02:00
e7cae7b07a NoteEditor: Convert top drop-down menu to bottom menu
It's easier to access from the bottom right as the finger is closer.
2020-05-12 23:18:41 +02:00
86264a15fe NoteEditor: Convert addIcon to attach icon
It's more accurate.
2020-05-12 23:01:25 +02:00
59ab66844f Note: Allow tags to be read and serialized
This is just exposing the tags on the Note class. Not making it
available through any interface.
2020-05-12 22:59:45 +02:00
faf561f104 Allow configuring the Home Screen
It can either be the Folders view or the All Notes view.
2020-05-08 19:30:53 +02:00
cc45894a07 Simplify page transition code
This way each time we can just use pushNamed instead of having to
construct the MaterialPageRoute each time.
2020-05-08 17:53:59 +02:00
dea5ba3479 HomeScreen: Simplify code 2020-05-08 17:15:02 +02:00
5640aa48ea Bump other dependencies 2020-05-08 17:00:22 +02:00
cc8d7d24f9 Update flutter_email_sender 2020-05-08 16:56:07 +02:00
d86e8124e8 ListPreference: Make the dialog a bit prettier 2020-05-08 12:09:04 +02:00
6dbc372cac Analytics: Log every event 2020-05-08 12:08:10 +02:00
f28d548d9a Bump version 2020-05-08 10:55:00 +02:00