2759 Commits

Author SHA1 Message Date
c73bfa84e9 Android: Add release apk signing info 2019-01-14 16:20:59 +01:00
a1cf29e4a5 Add version number
New versions of flutter allow us to specify the version number in the
pubspec.yaml file.
2019-01-14 16:20:14 +01:00
361ee40868 Add crashanalytics 2019-01-14 14:35:05 +01:00
1cddeaec00 OnBoarding: Add all relevant analytics 2019-01-14 14:01:11 +01:00
94006c3d7d Analytics: Send an event for page changes
This is not perfect as we do not get an event for the first page.

https://github.com/flutter/flutter/issues/19249
2019-01-14 13:54:54 +01:00
1df6829aea Analytics: Mark when onboarding has been completed 2019-01-14 13:27:42 +01:00
ca1eac6f23 Journal Editor: Change FAB icon to Check
I think it looks nicer, and adds some variety in comparison to the +
icon, which was also in the previous screen.
2019-01-12 12:27:28 +01:00
9867d607db Fix app name in AppBar 2019-01-11 20:04:13 +01:00
55de42cba6 Change git author name and email 2019-01-11 20:01:37 +01:00
735698bfaa AppDrawer: Add the icon instead of my name + email
There doesn't seem to be any way to automatically get the name + email
of the user, so then there isn't anything to show. I'm adding the icon
as a placeholder. It's better than nothing.
2019-01-11 19:51:43 +01:00
8a35470ad1 JournalView: Do not mention the day twice in the header 2019-01-11 19:29:39 +01:00
89c878f1cd Remove half cloned git repos
It can fail to clone and leave some residual .git files
2019-01-11 19:29:34 +01:00
760d1bff9f Make the DeployKey page a bit prettier
It's still ugly as shit.
2019-01-11 19:04:36 +01:00
79e289bf7b OnBoardingScreen: Add more padding 2019-01-11 18:51:12 +01:00
19ae26cadc OnBoardingScreens: Do not call setState in the constructor
Even though it is called with a future, it seems to provoke an
exception. My flutter skills are not good enough to know why this is not
okay.
2019-01-11 18:48:51 +01:00
839da00307 OnBoardingScreens: Do not let us skip screens
This requires us to dynamically generate the screens based on if we have
completed the screen or not.
2019-01-11 18:42:26 +01:00
fe4f6effe7 Main OnBoading Screen: Add some padding
+ some color to the input box

I would have assumed that the background color would have come by
default.
2019-01-11 18:23:46 +01:00
f63439f6cc Update android icon
It has a horrible white circle around it, and I cannot seem to figure
out how to fix it.
2019-01-11 17:49:16 +01:00
ad2c53acf5 Add icon assets 2019-01-11 17:40:05 +01:00
d5eaefb849 Update secondary color to brown
It gives a nicer earthier feel to the app, instead of red, which is a
bit too strong.
2019-01-11 17:26:16 +01:00
1ad2a2cb62 Copy public key to clipboard 2019-01-10 18:33:12 +01:00
1c315836d3 OnBoarding: Simplify the code 2019-01-10 18:21:03 +01:00
62ecd016f7 Move the PageController into a state widget
Doesn't it have some state since it's fundamentally storing which page
we are one? Or where is that stored otherwise?
2019-01-10 18:18:14 +01:00
6ce38a32a5 OnBoarding InputURL: Allow the user to submit it from the keyboard 2019-01-10 18:09:25 +01:00
7ba58cdf14 GenerateSSHKey with a comment for GitJournal 2019-01-10 17:54:55 +01:00
31d19678e3 Onboarding: Add validation to SSH url 2019-01-10 17:54:39 +01:00
0b99f7f680 OnBoarding: Use the textStyle from the theme
This looks considerably worse, but I think overall, it would be better
for me to start with trying to just follow the Material Design
guidelines and then adapt the main these as necessary.
2019-01-10 17:15:09 +01:00
88a0c73fe3 OnBoardingScreens: Get the background color from the theme
Also reduce a lot of code duplication
2019-01-10 17:07:31 +01:00
fe84aab6b7 RemoveExistingClone if onboarding is not completed
This only happens when I manually delete the shared_prefs. It's
basically a way to make working on the onboarding much easier.
2019-01-10 13:32:03 +01:00
290ca293ae OnBoarding DeployKeyPhase: Remove the keyboard
It is no longer required.
2019-01-10 13:26:23 +01:00
eac9857c17 Persist onBoardingCompleted 2019-01-10 13:22:21 +01:00
a5830ccbc4 Load the journal list after onboarding 2019-01-10 13:03:00 +01:00
a4243768b1 Add a gitClone page on the onBoarding screens 2019-01-10 12:40:45 +01:00
38f7840113 Add some basic onboarding screens
They don't really work out since I don't quite understand how PageView
and the PageController are supposed to work.
2019-01-10 11:54:39 +01:00
4bb02b12d6 Hookup the Journal app to git
Now notes are saved in the git repo, and immediately synced. This is not
the best implementation, as the notes are being reloaded a lot, and
the error handling is terrible (I miss golang). But it's the first
working poc.
2019-01-09 12:55:53 +01:00
706f5bfacc Disable ssh logging
It's super verbose and no longer required
2019-01-09 12:52:57 +01:00
03645c298a GenerateSSHKey: Allow the comment to be customized 2019-01-09 11:54:10 +01:00
5a8217105e Android: Fix app label 2019-01-08 22:36:33 +01:00
c68d899ce4 Fix java directory structure 2019-01-08 22:30:34 +01:00
984d7da500 pubspec: Update description 2019-01-08 22:25:56 +01:00
126bf29bd6 Add a script to auto reload the app
This requires the app to be run with -

flutter run --pid-file /tmp/flutter.pid
2019-01-08 22:16:11 +01:00
2ebe2ff59c Add basic Firebase analytics 2019-01-08 22:14:11 +01:00
e91c82fd66 Rename to io.gitjournal.gitjournal
We now own the domain gitjournal.io
2019-01-08 19:22:35 +01:00
18d9601dcd Add Git rm support 2019-01-08 18:51:43 +01:00
fb3f3bfccf Avoid using the path_provider plugin
We get the path ourselves as the 'git plugin' is using the
android 'getFilesDir()', instead of 'getDataDir()' which is what the
path_provider returns.

It's strange that it returns the latter as the Android docs clearly
state that one should not use this path and should use getFilesDir
instead.
2019-01-07 16:34:25 +01:00
967fce65b0 Minor refactor 2019-01-07 16:23:01 +01:00
3cdb454482 Git: Implement all the remaining operations
Many of these do not actually need an AsyncTask, but for now I'm just
following this pattern since I don't know if blocking on the receiever
thread will result in the app's UI being blocked.
2019-01-07 15:51:42 +01:00
9dc88455e9 Git Operations: Remove ssh code duplication 2019-01-07 15:27:09 +01:00
b7e2990e47 Add support for GitPull 2019-01-07 15:15:28 +01:00
84141b98aa GitClone: Output progress to stdout 2019-01-07 15:14:54 +01:00