564 Commits

Author SHA1 Message Date
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
2b43de6e93 Test out Note deletion 2019-09-26 16:46:41 +02:00
6f8a149d57 Refactor Note class
The loading/saving/deleting of the Note class is now inbuilt. It's not
offloaded to a NoteRepo. We're always going to be storing them on disk,
for now. It's also way easier to manage them this way.
2019-09-26 16:42:52 +02:00
ef2ad7466f Port Serializers to handle NoteData
This completely breaks the app, as it is part of a large refactor to
make Note loading asyncrhnous and not block. Additionally this removed
JSON serialization for Notes as that isn't something we care about any
more.
2019-09-26 15:51:16 +02:00
2059d81529 Crashlytics: Ignore another network error 2019-09-26 15:22:40 +02:00
076afb3303 Do not log "No address associated with hostname" exceptions
We log all exceptions to Firebase. It's time to start clearing out the
ones that do not matter.
2019-09-25 17:38:00 +02:00
f1732484d7 Simplify code by using List.where 2019-09-25 17:23:46 +02:00
784ce78a2d Search: Show all the notes by default 2019-09-25 17:02:50 +02:00
5c47eeac59 Implement the most basic search functionality 2019-09-25 17:00:06 +02:00
383acfeff9 Remove unused variable 2019-09-25 16:24:27 +02:00
957e493494 Add a basic dark theme
It's not that pretty, but this adds the scaffolding.
2019-09-25 15:54:37 +02:00
11a9023e99 Allow the Note FileName to be configured
This is super ugly, but it solves a real use case, and hopefully I'll
eventually get around to improving the UI of the Settings page.
2019-09-25 15:41:19 +02:00
1f88d4ddef SettingsUI: Allow the FontSize to be configured 2019-09-25 15:36:48 +02:00
356771fed1 Remove code duplication 2019-08-21 17:30:02 +02:00
e98262b5ba CI: Only publish as an Alpha Build
I no longer wish to publish apks in the beta channel as many users leave
reviews on this beta channel, which do not show up on the app's reviews
page.
2019-08-21 17:18:00 +02:00
2ecb1c1f6f Remove unused import 2019-08-21 14:21:09 +02:00
7c79c328bd Git: Call Firebase.logException on exceptions
We want to Git layer to always work. And ideally these exceptions should
never occur.
2019-08-21 08:44:26 +02:00
8bc9ac9170 Settings: Allow the fontSize of the viewer to be changed
No ui has been created for this so far.
2019-08-14 18:49:54 +02:00
ad3db26a5b Fix Android logging
This had broken everything!!!
2019-07-31 00:42:00 +02:00