2759 Commits

Author SHA1 Message Date
6452edae2f Readme: Add link to Google Play 2019-01-17 17:27:53 +01:00
6875fec1c9 Bump version number 2019-01-17 14:59:57 +01:00
a53df954ba Sync: Allow the git pull to fail
On a new repo, the git pull will fail as there isn't any content. We
really need to improve the overall error handling.
2019-01-17 14:56:46 +01:00
15bb98e852 Git: Slightly better exceptions 2019-01-17 14:56:33 +01:00
c6947b2ba6 Note: Make sure extraProperties is always initialized 2019-01-17 14:55:06 +01:00
3d48ef7419 GitPush: Push all branches
In new repos master doesn't exist.
2019-01-17 14:54:37 +01:00
708c3785a2 OnBoarding:: Do not show 'clone' button untill the key is generated 2019-01-17 14:37:49 +01:00
49e775203f OnBoarding: Fix deploy key page url 2019-01-17 14:37:40 +01:00
370cce523d Journal Entry Header: Show time with leading zeros 2019-01-17 14:16:18 +01:00
197211e490 Main Screen: Put the GitJournal text below the logo
It doesn't fit on my OnePlus5 otherwise, and the only other fix is
making the logo super small.

Though this information which I'm showing - the logo + text, is totally
just filler info. It isn't required, as the user knows which app they
launched.
2019-01-17 14:14:58 +01:00
fa5db149c8 NoteEditor: Increase padding
It feels much better typing when there is more free space, but this
might just be only on my mobile which is kinda big. How do I choose this
value in a screen independent manner?
2019-01-17 14:14:14 +01:00
334dd4b683 OnBoarding Git Url Page: Change the text
This feels much clearer.
2019-01-17 13:43:18 +01:00
aaeea1552c OnBoarding: Add a dots indicator at the bottom
This way we clearly know that we can go back in the onboarding process.
I hope. It definitely looks much better now.
2019-01-17 13:40:07 +01:00
6c07510c4d OnBoarding ssh key screen: Make it prettier
Also add a button for copying the public key. Ideally I would have liked
the text to be selectable but Flutter doesn't have a widget for that,
and it's much easier to just add a button instead -

https://github.com/flutter/flutter/issues/5422
2019-01-17 13:21:03 +01:00
e9da9a6ae8 Android: Improve error checking 2019-01-16 23:55:16 +01:00
f74229dbc7 Fix sshkey custom comment
Custom comments had been implemented but were not working.
2019-01-16 23:37:19 +01:00
4292555286 Pull to sync: Show a snackbar with an error message
The error message is quite basic right now -
"No Connection" or the full error returned to us by the java libraries.
But it's a start!
2019-01-16 23:20:07 +01:00
0aa2b1f4eb OnBoarding: Trim the gitClone url just in case 2019-01-16 22:55:11 +01:00
3d88ed9c05 OnBoarding: Move cloning logic to parent widget
There were a few cases when since we were calling an async function in
initState, which would then call setState, we would get an exception.

Also this way, the entire logic of the onboarding is in one place, and
the individual screens are far far simpler.
2019-01-16 22:47:30 +01:00
f7e67309bd Move onboarding git clone screen to its own file 2019-01-16 22:33:49 +01:00
297aef57f2 Fix the styling in the other onboarding screens 2019-01-16 22:30:24 +01:00
65480a2aa0 Reduce code duplication by introducing an OnBoardingButton 2019-01-16 22:24:48 +01:00
0a76ab58f8 OnBoarding Git Url: Make it prettier
And more consistent with the rest of the on-boarding
2019-01-16 22:16:57 +01:00
8c262e2a7d OnBoarding Git Url: Move to its own file
This onboarding file is getting too huge
2019-01-16 22:09:57 +01:00
a21c32ea85 OnBoarding: Remove keyboard
Sometimes when going back and forward, we want to keyboard to disappear.
2019-01-16 18:29:38 +01:00
1a070b2c41 OnBoarding: Launch the page for adding a deploy key
I'd added BitBucket, but bitbucket sucks as it doesn't have any way to
add an ssh key with write access.

With Gitlab I couldn't link to the exact point in the page, but oh well.
I'll try to file a bug with them.
2019-01-16 18:14:07 +01:00
2876abb05d MainOnBoardingPage: Increase the spacing in the logo
I don't like the fact that I'm arbitrarily chosing these numbers, but oh
well, lets just go with this for now.
2019-01-16 17:30:16 +01:00
7692f851f2 OnBoarding main screen: Use the custom Lato font for the heading
I'm not sure if I should use this font all over, or if just in this
place.
2019-01-16 17:27:57 +01:00
f7aa214002 Add a basic README 2019-01-16 17:22:56 +01:00
e596fbc478 Add fastlane to gitignore 2019-01-16 17:10:30 +01:00
a5ac547ecc Note: Allow extra yaml metadata to be set
This way if there is existing metadata, we aren't removing it when
writing the notes. The order isn't preserved, but meh, that's fine for
now.
2019-01-15 23:27:32 +01:00
4ba27e9b16 Fastlane: Publish to beta track from now on 2019-01-15 21:46:50 +01:00
33e705d7b4 Bump version number
It's needed since the flag overwriting via command line still doesn't
work, so my fastlane script won't work :(
2019-01-15 21:44:01 +01:00
d6c2d5d05a Note id: Default to created and do not save if not required
For this journaling app, even though we are treating journal entries as
notes, we don't really any 'id'. Just the filename is quite adequate. In
the future, we can figure out this 'id' nonsense, and if it is even
required given that we're always going to be built on top of a FS.
2019-01-15 21:41:39 +01:00
38218fd9a3 Only save and load .md files
For now I only want to deal with markdown. In the future, we can move
towards maybe accepting all .txt files as well? Not sure.
2019-01-15 21:23:26 +01:00
f5592a2fde OnBoarding: Hook up the new screens properly 2019-01-15 18:10:56 +01:00
1bad32d4bf Add some more landing pages
This totally breaks everything, but the commit is already too large, and
I want to save it.
2019-01-15 17:54:33 +01:00
6db080b5f4 GitMerge: For now just take THEIRS as the Merge Strategy
In the future, our strategy can be that we take whichever file has been
modified the latest. That's actually far more reasonable.
2019-01-15 15:39:17 +01:00
315414ae73 Fix datetime to string conversion 2019-01-15 15:35:41 +01:00
5a2b0f1f4b Allow the notes to be refreshed by pulling from the top 2019-01-15 15:26:15 +01:00
075d353447 Write the date time in iso8601 + timezone
This is not perfect as when parsing the datetime, we're ignoring the
timezone.
2019-01-15 15:10:43 +01:00
04b65fbf95 Filename: Use iso8601 string
This sucks balls. Overall, the datetime handling in Dart is really
really bad. It just has the concept of local time or utc time. There are
a few packages which attempt to solve this, but none which really solve
it in the way I would like.

All I want is someway to generate an iso8601 string with the timezone.
And that my DateTime should be aware of the timezone as an offset east
of UTC. Is that really so hard?
2019-01-15 14:41:51 +01:00
fc40e4cef1 JournalList: Use color from Theme
Also cleanup the code a bit
2019-01-15 14:14:29 +01:00
a29389d4bb Note Editing: Add the NoteHeader
It looks much prettier this way.
2019-01-15 13:59:58 +01:00
7e084ac0e9 Allow Journal Entries to be editted 2019-01-15 13:39:50 +01:00
eceae0abd4 Editor: Change title to New Journal Entry 2019-01-15 13:06:22 +01:00
72edf6e11c Fastlane: Add a lane to build + upload to playstore
In the alpha version for now. The --build-number flag fails right now,
this seems to be a regression in flutter which has been fixed, but the
new version has yet to be released.

So, when I put this into a proper CI, it's going to fail :(
2019-01-14 19:12:21 +01:00
0dcd051028 Add fastlane for Android
Just with the defaults
2019-01-14 18:43:57 +01:00
3711c81259 Add a LICENSE 2019-01-14 18:24:45 +01:00
6053d6064e Add a License 2019-01-14 18:24:15 +01:00