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
2606dd1a05
DrawerHeader: Use highlight color for header background
...
It's nearly the same color in a light theme, but in a dark theme it
looks way better.
2019-07-29 00:46:29 +02:00
c4d9837a05
Bump FirebaseAnalytics
...
It has a breaking change which doesn't affect us
2019-07-28 12:57:42 +02:00
183b0eaac7
Android: Build for arm 64 and 32
2019-07-28 12:57:03 +02:00
90a6df2239
CI: Store the AAB as an artifact
...
Instead of the apk which is no longer generated
2019-07-28 03:17:16 +02:00
0bfa839b88
Fix GitRepo.clone parameters
...
This is why it sucks to have 2 fields both of the same type and not have
some kind of automated testing for this part of the code.
2019-07-28 03:01:16 +02:00
e80a380a5f
Android: Improve logging
2019-07-28 03:01:06 +02:00
a59b35efec
Flutter upgrade
2019-07-27 04:20:45 +02:00
311d520fd5
GitHostSetup: Log the errors in firebase
2019-07-26 16:58:32 +02:00
1d5ad3c67a
Android: Do not call FlutterResult from any other thread
...
With Flutter 1.5 this is enforced and we get lots more crashes. It seems
like the docs have always said this was a bad idea, and I seem to have
missed it.
2019-07-23 18:30:54 +02:00
d05b052fe3
CI: Publish the android app bundle
2019-07-18 01:28:30 +02:00
2bfd05a532
Fix new flutter analyze problems
...
Flutter analyze seems to have gotten smarter
2019-07-18 01:13:39 +02:00
74d7bdd763
Use a proper logger - Fimber
...
It's time to start using a proper logger so we can control the number of
log messages, also - it helps to have a central configuration point for
the logs, specially since I would like to hook them up to Crashlytics in
the future.
2019-06-19 09:45:15 +02:00
3d26ba0beb
OnBoarding: Dynamically change the text size
...
This way it looks a bit better on smaller devices
2019-06-17 20:23:49 +02:00
d653663a47
Change Git dart API
...
Use a class instead of a many functions. This way we avoid passing the
same arguments again and again.
2019-06-17 19:38:56 +02:00
b9cd8696c2
AppDrawer Feedback: Add the Platform
...
This way we know if the feedback comes from ios or Android
2019-06-17 17:39:09 +02:00
9131b004e9
Add ios store to README
2019-06-17 16:24:18 +02:00
406c32c2b4
flutter upgrade
...
The dots_indicator package seems to have changed their API without
bumping the major version number :(
2019-06-16 17:34:24 +02:00
89e868ffdc
GitHostSetup: Abort on exception
...
Otherwise we land up accessing the 'cloneUrl' of a null object and get
another exception.
2019-06-16 04:24:05 +02:00
1892b727c5
ios: Lots of mini changes to get the build validated
...
* Set target to be 9.0 - libgit2 has been compiled with the target of
9.0, so for now lets support that. Later we can figure out how to target
8.0, if required.
* Set the BUILD_NUMBER and BUILD_VERSION correctly. In new flutter
projects these values are automatically set, but since I created this
project before those patches went it, we need to set it up.
* Do not target only arm64.
* Set the correct CFBundleName. It was set to 'journal' instead of
'GitJournal'.
2019-06-14 18:17:11 +02:00
df0d0ed169
ios: Check if running on a physcial device
...
Accordingly we switch off analytics.
2019-06-14 17:50:08 +02:00
89f7c10ba9
Analytics: Send events when the notes are loaded
...
I want to know why they failed to load.
2019-06-14 17:26:51 +02:00
8059efcc4e
Fix gitClone exception problem
...
e.message doesn't exist
2019-06-08 17:39:17 +02:00
9cf0b9ad48
ios: Fix setSshKeys
...
Forgot to write the private key to disk
2019-06-04 15:22:24 +02:00
c4e5cbc3ad
Update ios icon
2019-06-04 13:31:48 +02:00
7403721753
ios: Make oAuth callback urls work
...
I'm getting some exceptions in the middle, but it still seems to work.
2019-06-04 02:02:41 +02:00
1389fba579
ios: Move blocking operations to another thread
2019-06-03 18:59:32 +02:00
3e563c3d0e
Fix typo
2019-06-03 18:16:04 +02:00
747bccc994
ios: Do not throw an error if the directory already exists
2019-06-03 10:16:02 +02:00
603b639640
ios: setSshKeys: Create the directory
2019-06-03 10:14:04 +02:00
b56aad7a48
ios: Do not log the private key
2019-06-03 10:13:45 +02:00
6c4c0a9a0d
ios: Commit xcsharedsharedata
...
It should apparently be committed.
https://stackoverflow.com/a/53039267/147435
2019-06-03 00:25:29 +02:00