951 Commits

Author SHA1 Message Date
127faa39cf JournalEditor: Allow the markdown to be previewed
This is the first implementation of trying to combine the viewer and
editor. It isn't perfect and doesn't work well with the raw editor.
2020-01-28 16:23:00 +01:00
6d38377144 Split NoteViewer into its own file 2020-01-28 16:02:54 +01:00
9912f598df Using the same font when editing and viewing the note
Otherwise the transition seems a bit off. Also, we will soon be
combining both the editor and viewer, so it makes sense for them to look
identical.
2020-01-28 15:57:40 +01:00
58f7de3c81 Bump git_bindings again 2020-01-28 15:57:05 +01:00
5d0054fd7e Remove FontSize configuration
Ever since we had a proper markdown renderer, this option has been
broken as it only scales the body text and not the headers, and other
text in code-blocks. Additionally it only modifies the viewing text size
and not the editing text size. Fixing this feature is way too much work,
and barely any users are using this feature.

Maybe we will introduce it again in the future.
2020-01-28 15:56:59 +01:00
88e49dbf76 Bump git_bindings version
This includes automatic merge conflict resolution. It isn't very smart -
it just chooses the local changes, but at least this way we never reach
an inconsistent state.

Fixes #51
2020-01-28 15:17:59 +01:00
71e669cd81 Bump version 2020-01-28 00:01:50 +01:00
e61e407739 Theme: Overwrite the cursor color
This blue cursor color just doesn't go with the rest of the theme.
2020-01-27 23:57:53 +01:00
177a7c3d74 DarkMode: Improve markdown code blocks color
Flutter_markdown has hardcoded certain grey colors. This doesn't go well
with a dark theme. For now we're overwriting it.
2020-01-27 23:50:39 +01:00
645892a7dc NoteMetadata Settings: Fix colors for dark mode 2020-01-27 23:33:21 +01:00
ec959ebbed Add a helper file to resolve merge conflicts
I'm not sure how to integrate this into our merging code.
2020-01-27 23:28:13 +01:00
150543e065 RenameDialog: Do not accept a name that already exists 2020-01-27 23:27:45 +01:00
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