839 Commits

Author SHA1 Message Date
8c5720c34b Note Rename: Do not let it be renamed to a non markdown file
Otherwise it disappears from the listing as we only show files which end
with a '.md'.
2020-01-27 23:11:42 +01:00
f8e7773f16 NoteBrowser: Add a button to rename notes
Fixes #23
2020-01-27 23:09:11 +01:00
35f8559c74 Move RenameDialog to its own file
Also make it a bit more generic
2020-01-27 23:08:33 +01:00
93775ddca5 Ignore more git connection errors 2020-01-27 19:07:05 +01:00
06d1124c19 Sync: Retry if the remote has changed
This can happen if someone pushed between our pull and push. In this
case lets just try again.
2020-01-27 19:03:30 +01:00
a759ad4a23 Combine showSnackbar code
It's annoying to always have to remember to call it. We had forgotten in
one place and that resulted in a lot of noise.
2020-01-27 19:02:44 +01:00
bd0819c5be Settings: Disable the Git Remote Settings when no remote present 2020-01-27 19:01:47 +01:00
6e2a905f05 Cleanup ignored exceptions 2020-01-27 18:47:17 +01:00
21db481158 Bump version 2020-01-27 18:09:31 +01:00
fe1db3da90 Add accidentally deleted UriReceiever 2020-01-27 18:08:40 +01:00
8ba92f69bc Bump version 2020-01-26 03:01:39 +01:00
0da1a0783c analysis: Use curly_braces_in_flow_control_structures
One step closer to using dart:pedantic
2020-01-26 03:01:39 +01:00
44781733f8 Bump git_bindings 2020-01-25 14:36:04 +01:00
8587611b77 android: Fix bug where note contents disappear if app is switched
Workaround for bug https://github.com/flutter/flutter/issues/47628
2020-01-25 14:35:37 +01:00
e3e4fa0836 Update changelog 2020-01-25 13:56:47 +01:00
333b11de7d android: Remove keeping the screen on in debug mode 2020-01-25 13:56:47 +01:00
74b244d125 android: Print deprecated warnings 2020-01-25 13:56:47 +01:00
81be9c43ba Bump dependencies
They now explicitly depend on androidx.
2020-01-25 13:56:44 +01:00
e8b71eac4f CONTRIBUTING: Switch from "volunteer driven" to "open source" 2020-01-20 15:12:11 +01:00
1264e5d7b4 [Feat] add contributing and more build instructions
Also tune up build.gradle for handling non existing key.properties file:
Simplify local dev with no signing keys.
2020-01-18 11:50:04 +01:00
ec1bcb3e3a [Feat] add FAB for note saving
Resolves #52
2020-01-18 11:47:20 +01:00
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