22b022be82
GitHost SSH Key: Make the message more informative
...
This way, the user will have more feedback about what step in the
process are they.
2019-02-14 10:32:00 +01:00
4690aa7d5c
GitHost AutoConfigure: Add some info before asking for OAuth access
...
This way the user knows what we will do with the permissions
granted, and the entire process will seem less scarier.
2019-02-14 10:25:03 +01:00
994b6f2ccd
GitHostSetup: Reduce code duplication
...
Make the ErrorPage into its own widget, instead of duplicating the code.
2019-02-14 10:13:46 +01:00
c819f49afe
Add a very basic onBoardingScreen
2019-02-14 01:44:57 +01:00
6fea27e0ca
Show +1 notification badge after user has made a journal entry
2019-02-14 01:11:35 +01:00
c9ddf67e46
GitSetup SSH: Make the 2nd instruction different for custom provider
2019-02-14 01:02:20 +01:00
28fcc65772
GitSetup: Add instructions on SSH Key page
2019-02-14 00:54:35 +01:00
b7c687eee5
GitSetup: Autofill the clone url with the last value
...
Makes it easier to fix typos
2019-02-14 00:53:29 +01:00
74d167e503
GitSetup SSH Keys: Show an explicit loading page
...
When the SSH Key is being generated, nothing can really be done. The
text can be read, but it cannot really be acted upon, and it's not super
clear that one is just supposed to wait.
2019-02-14 00:35:21 +01:00
eab5506fe2
GitHostSetup: Reduce code duplication
2019-02-14 00:30:45 +01:00
ce80e4d9f8
GitHostSetup: Move SSH Key page to its own file
2019-02-13 23:12:07 +01:00
a63950bd10
GitHostSetup: Show a different page for entering cloneUrl
...
In the case when they don't want to use OAuth, but are still going to
use Github or Gitlab.
2019-02-13 23:08:46 +01:00
52b844e6e8
GitHostSetup: Move the button to its own file
2019-02-13 22:49:42 +01:00
af8d30165f
GitHostSetup: Simplify the entire process
...
We are now no longer shown an option to choose between an existing repo
or creating a new one. We just directly jump into choosing a hosting
provider.
I'm trying to optimize the git host setup for the happy path.
2019-02-13 22:45:44 +01:00
c5c4d44431
GitHost: Improve error handling
...
In the case of OAuth errors which we get through the message
channel, throwing an exception doesn't help us as the init function
will not be aware about it.
So for now, I've moved the nodejs style error handling in this
particular case.
2019-02-13 22:43:34 +01:00
5452fc0a78
GitHostSetup: Automatically open the correct url
...
This is a behaviour that got lost during the refactor.
2019-02-13 21:02:33 +01:00
6a8f8f4044
Rename GitHostSetupUrl -> GitCloneUrlPage
2019-02-13 20:59:15 +01:00
22c457b0f1
GitHostSetup: Do not manually count the number of pages
...
It's error prone.
The '+ 2' seems cryptic - +1 is because the variable is a 'count' and
not 'index'. Another '+1' because we now have one more page.
2019-02-13 20:54:15 +01:00
0a6d6f63ee
launch_android: Assume that emulator is in the path
2019-02-13 20:42:04 +01:00
1cbcf1bfaa
GitHostSetup: Simplify the code drastically
...
Also add an extra screen where it asks if we should set it up
automatically. The code base is now in a much much more managable
state and I feel comfortable adding more pages.
2019-02-13 20:40:41 +01:00
2f9092305b
Bump version number
2019-02-13 15:36:17 +01:00
dc3f31eb92
Temporarily disable PoC JNI bindings
...
They are causing the release build to crash.
2019-02-13 15:35:42 +01:00
9452354a99
Fix onError types
2019-02-13 14:25:52 +01:00
cee81d7c4a
Add a helper script to get the latest artifact from CircleCI
2019-02-13 14:19:48 +01:00
1921a86100
CI: Store the apk as an artifact
2019-02-13 13:59:31 +01:00
9e0e9a336d
Integration Test: Minor refactor
2019-02-13 13:43:31 +01:00
eb1f35fd65
Add a script to run the integration test against emulated devices
...
This way, at least we know that the 'git clone' operation works on
different API versions.
2019-02-13 13:19:17 +01:00
acede95536
Dart: Add analysis_options
...
For now I've mostly tried to follow the same style guide as the flutter
repository, with many options disabled. Eventually, maybe it would make
sense to be far stricter.
2019-02-13 13:08:15 +01:00
ee34b60e53
CI: Fix filename
2019-02-12 22:26:21 +01:00
7be1f9a0f1
CI: Move build after env setup
...
We need the keys
2019-02-12 19:13:13 +01:00
8be06b5211
CircleCI: Move building to a separate step
...
I rather not couple the building of the APK to Fastlane.
2019-02-12 19:00:44 +01:00
b124212958
Bump TargetSDK Version
2019-02-12 18:52:47 +01:00
f7eb27dd52
Remove TravisCI
2019-02-12 17:50:27 +01:00
61dfdc7862
CI: The Android Licenses have already been accepted in the image
2019-02-12 17:46:04 +01:00
2ae15a84a5
CircleCI: Use our own Docker base image
...
This way we have complete control over the flutter version. The older
image had not been updated for quite a while.
2019-02-12 17:26:39 +01:00
34529f1d3f
CircleCI: Accept Android Licenses
2019-02-12 16:50:48 +01:00
bbc5f346d2
CircleCI: Automatically deploy to beta in the playStore
2019-02-12 14:10:38 +01:00
f27d9b4b23
Flutter Driver Test: Wait for element to be visible before tapping
2019-02-11 10:24:14 +01:00
dc29d523cc
GitSetup: Get the user's name + email from the GitHost
...
This way they aren't committing under the name of 'GitJournal'.
2019-02-09 16:47:53 +01:00
c7915d8feb
Settings Screen: Actually save the gitAuthor + email
...
There is too much code duplication over here, but - meh - I'll clean it
up later.
2019-02-09 16:30:12 +01:00
2793ae90ad
Update .gitignore
2019-02-09 15:51:36 +01:00
1845faded9
Add POC Android JNI integration
...
I want to stop using jgit and instead of libgit2 instead. I feel far
more confident with the latter, and I need to use it for ios anyway.
Currently I cannot use the latest version of jgit as that requires a
higher minSDKVersion, and I want to target older android devices as
well.
2019-02-09 01:36:42 +01:00
bd9ca896bf
Fix clone test
...
The keys were not formatted correctly.
2019-02-06 16:17:58 +01:00
38896ef9c8
Android: Keep screen on in debug mode
...
It makes working with the application far far easier. There doesn't seem
to be a simple way to do this without modifying the code.
2019-02-06 15:48:52 +01:00
66cdda213a
Fix gitClone from github
...
The test still fails, but via the app cloning seems to work. Progress!!
2019-02-06 15:34:57 +01:00
4de157e6b1
Add an automated test for testing git clone in github
...
It currently fails :(
2019-02-06 15:06:08 +01:00
cb020c00fe
Add the first integration test using the flutter driver
...
We need to test the git operations on all the devices.
2019-02-05 14:35:36 +01:00
e948a23c55
Add CircleCI config
2019-02-02 18:09:47 +01:00
21ab144b18
Fix assert
2019-02-02 12:39:12 +01:00
7f31b17012
Downgradge jgit version
...
This way we can target older android devices. I got the exact version
from - https://github.com/zeapo/Android-Password-Store
2019-02-02 12:38:26 +01:00