968 Commits

Author SHA1 Message Date
6f3643bbef Remove the BROWSE title
It's not required. Yes, stuff looks a little bit empty - but the title
over here really serves no purpose. Also, it's a bit confusing when
coming in from the hero animation for the List Tile's title to become
"BROWSE".

I do wish there was an easy way to inform the user that they can swipe
left/right in order to move between notes.
2020-01-08 00:04:20 +01:00
b6b49e84e4 Simplify the code
Now the Note's modified/created can never have a date with a year = 10
meaning a special thing.
2020-01-07 23:56:58 +01:00
4be91f92f0 Note FileName: Save them by default with the title
If that title already exists add an _Num at the end.

This won't change the default for existing users, as our settings system
saves the default value and will just load it the next time. This really
needs to be improved.
2020-01-07 23:54:44 +01:00
28f626719b Improve debug mode detection 2020-01-07 20:15:19 +01:00
9630afacff Bump version number
Had to do this for ios
2020-01-07 20:04:21 +01:00
71bf62ddbe Update Copyright year 2020-01-07 20:04:04 +01:00
6326e6f467 Explicitly update url_launcher 2020-01-06 15:21:03 +01:00
dce95af166 ios: Mark that we use encryption
We use SSH - which includes RSA
2020-01-06 14:52:43 +01:00
78bf26a4cd screenshots: Add more ios devices 2020-01-06 14:17:50 +01:00
85190b2716 Update screenshots.yaml for ios
It works so beautifully. Making screenshots was such a hassel before the
screenshot tool.
2020-01-06 13:33:56 +01:00
f4dad1520c ios: Add untracked file
Not sure what it's needed for
2020-01-06 13:27:51 +01:00
470fd2c705 ios: Fix clone url 2020-01-06 13:19:19 +01:00
b824eaae90 Update ios docs 2020-01-06 13:19:13 +01:00
022677f886 Update ios 2020-01-06 13:02:15 +01:00
91fc262b79 Bump version number 2020-01-05 18:28:57 +01:00
7e3cfb9e37 Allow the default yaml modified key to changed
Some people are using GitJournal to edit Hugo websites, this option is
for them as the Hugo front matter uses the 'lastmod' key to indicate
when the post was last modified.
2020-01-05 18:24:46 +01:00
442d9d2b4e Allows Notes to have a different modified yaml key
Possible Options - modified, mod, lastModified, lastMod, lastmodified or
lastmod. When read the the note we will figure out which one is being
used and accordingly write back that value.

This makes it easier to use GitJournal for editing Hugo websites as they
usually use the 'lastmod' field to indicate when the post was last modified.
2020-01-05 18:12:35 +01:00
a292896d5a Host Setup: Clear the clone error before starting a clone
One could have a clone that failed and then we're trying again with some
different values. The old error message is invalid.
2020-01-05 17:39:13 +01:00
6e05ce7f18 CloneUrlInput: All it to expand vertically
Ideally one should remove the code duplication of this form, but for now
duplicating the code is just so much simpler.
2020-01-05 17:38:25 +01:00
dccd58c5f1 prefer_const_constructors 2020-01-04 15:44:34 +01:00
6c4b6e4789 Bump version 2020-01-04 15:31:50 +01:00
e0afa27b06 Expose Git Remote Settings
This way you can regenerate the SSH Key (if needed) and/or copy it
again. In the future one can add methods to reconfigure the git remote
and add / remove remotes.
2020-01-04 15:31:28 +01:00
599c6b4e6e Remote Setup: Let the clone url text field expand 2020-01-04 15:02:53 +01:00
daa0940066 Remote Setup: Only generate the key if not already generated
This way one can go back and change the clone url if one wants to and
the ssh key would not have changed. There is an additional SSH Key
changing button if one needs to regenerate it for some reason.

This should fix #47. Well, it's not the best solution, but it is a
workaround.

For the Clone Url you must enter SSH-KEY-ID@clone-url-provided-by-aws.
In order to get the SSH KEY ID you must upload the public key provdied
to your AWS Credentials.
2020-01-04 15:01:03 +01:00
c21287e97f code cleanup 2020-01-04 14:38:55 +01:00
90f7fb6a48 Remote Setup: Add a button to regenerate the key 2020-01-04 14:38:09 +01:00
6986b314ff Fix logic of enabling analytics in test lab
We were only enabling analytics when running the device in the test lab.
No wonder all the metrics were so strange!
2020-01-04 14:30:54 +01:00
4149725017 Update qa doc 2020-01-02 18:50:19 +01:00
b76645a144 Add a .gitIgnore file if missing
This way we always have at least one commit, cause not having any
commits makes a lot of the git commands fail.
2020-01-02 18:47:55 +01:00
3285712acc Sort based on file last modified if 'modified' and 'created' not present 2020-01-02 12:08:17 +01:00
9a1edc4276 Bump version 2020-01-02 01:05:18 +01:00
72777b96a4 Allow git pulls to fail
They fail when there is nothing to pull because no commit exists on the
server.
2020-01-02 01:04:21 +01:00
4a322b6fc4 Note: The title should never be null
Too much of the code assumes that it will never be null. It'll be so
awesome when Dart allows you to enforce that a type is never null.
2020-01-01 19:51:26 +01:00
2821eb1f8b Note sorting: 'created' can now be null
Earlier it was always something
2020-01-01 19:50:52 +01:00
36d1ae43c3 Split NoteData and its serializer into its own file 2020-01-01 19:50:31 +01:00
14e7f344d1 Add an explicit serializer from Note -> NoteData
This is so that we can start configuring what the yaml metadata keys
should be called, and not have them hardcoded.

This also allows the note.created to be null. Earlier we were always
setting it to some value. That's doesn't seem right.
2020-01-01 19:29:57 +01:00
6d49f76b96 Rename NoteSerializer -> NoteDataSerializer 2020-01-01 18:49:54 +01:00
540d017db4 Add BUILD instructions
They are very basic and stupid, but it's atlesat something.

Fixes #9
2019-12-31 19:10:48 +01:00
717d64aaa8 Update deps
Removes some annoying deprecated warnings
2019-12-31 18:43:50 +01:00
a8b3021c0a Enable r8
Flutter keeps adding it. Lets just give in.
2019-12-31 18:36:17 +01:00
b35d5f4337 Use YAML serializer package
This code might be useful to someone else
2019-12-29 12:03:42 +01:00
58daf54fc6 Bump version 2019-12-28 01:14:37 +01:00
53839c9101 Surround the title by quotes before saving it to yaml
Otherwise people can put # or : or something else in the title and that
will result in invalid YAML.

Also escape any existing '. YAML is weird that the method of escaping a
' is by specifying it twice. It's sad that there is no dart YAML
serializer, and I'm surely missing some other edge cases. The YAML
specification is quite long.
2019-12-28 01:12:18 +01:00
011962db5d Fix flutter analyze 2019-12-27 13:44:20 +01:00
df9d4172d8 Bump version number 2019-12-27 13:29:41 +01:00
92f50ed397 MarkdownViewer: Allow links to be clicked 2019-12-27 13:18:58 +01:00
dfe2cf87ac Integrate 'screenshot' to automate the screenshot process
This even fires up the emulators.
2019-12-27 12:59:00 +01:00
72f1620e7e JournalListing: Use 'modified' date if 'created' is missing / invalid 2019-12-27 11:42:33 +01:00
2b09708793 JournalListing: Show the title
It's no longer a simple JournalListing and instead we also show the
title. The main problem is with what to do when the title is not there.
Just leaving it blank seems to feel weird, specially when the note is
too small.

Maybe it's time to change it such that each row size is not the same.
We're effectively wasting whitespace right now for very small notes.
2019-12-27 11:34:15 +01:00
5a79fa26ca Add a Fade transition when jumping from Viewing to Editing
It looks much better than the normal page transition.
2019-12-27 11:10:22 +01:00