861 Commits

Author SHA1 Message Date
841e2808db Bump version 2020-01-29 17:20:59 +01:00
ac7881ebeb Remove unused scripts 2020-01-29 17:09:01 +01:00
56fa627de7 moveNote: Do nothing if dest is the current folder 2020-01-29 17:05:21 +01:00
9e520e7e95 FolderSelectionDialog: Make it prettier
We don't need it to have such large icons.
2020-01-29 17:04:18 +01:00
43281bd2bb Add support for moving a Note to another folder
The Folder selection dialog needs a lot of work, but it's a start.
2020-01-29 16:51:57 +01:00
d48461a4cc Revert "android: Remove keeping the screen on in debug mode"
This reverts commit 333b11de7d4e67b0abd7269989609fe58c73c7ab.

We still have the "keep device from sleeping" permission. It seems we
will need to manually remove that permission. I rather have that
permission and have this super useful tool of keeping the screen on when
developing.
2020-01-29 15:30:08 +01:00
7e5c2ba4a3 MarkdownEditor: Open by default in edit mode
This way most notes can immediately be edited without clicking twice -
once to switch editors and once to focus.

In the future, we should preserve the state of the editor from the last
time so that people don't need to continously switch between notes.
2020-01-29 00:04:28 +01:00
db5d2c51e7 RawEditor: Add a FAB 2020-01-29 00:04:28 +01:00
047aac3553 MarkdownEditor: Show a FAB with a checkmark
Instead of a FAB to switch modes.
2020-01-29 00:04:28 +01:00
3f40a2992a Add the concept of Editors
* We no longer have a separate editing and browsing view - This does
mean we loose the ability to quick flip between notes by swiping.
However, this is more how a note editor would behave. I do later want to
add that capability back.

* We have 2 editors for now - Markdown and Raw. By default we use the
Markdown editor which can be toggled between Preview / Edit mode.

I later want to add a rich text editor and a todo editor as well.
2020-01-29 00:04:24 +01:00
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