47 Commits

Author SHA1 Message Date
b4302fe467 feat: Add support for YYYY-MM-DD in the YAML frontmatter
Fixes #972

This required regenerating the protobufs generated files, which seem to
have tons of extra changes, and needed some manual changes to get them
to compile.

Overall, the entire protobuf idea wasn't the best in retrospect, and in
the next version of GitJournal, I'll be going with a simple relational
database instead.
2024-08-24 23:05:09 +02:00
78931e121f Remove unused grpc dependency
I'm trying to minimize the deps as much as possible
2024-08-17 00:47:41 +02:00
91cc65131b Completely remove easy_localization 2022-11-27 20:41:20 +01:00
63e05c3212 Add Unix timestamp magnitude option
This allows switching the precision of Unix timestamps in YAML
frontmatter between second (the current beahaviour) and millisecond
(compatible with Dendron) precision.
2022-07-21 13:51:55 +02:00
dbb86cba99 Add created and modified date format options
Two values:

- Unix Timestamp is a numeric timestamp value, currently always
  expressed in seconds.
- ISO 8601 follows the ISO 8601 format.
2022-07-21 13:51:55 +02:00
8043a27b27 Allow SSH Key type to be configurable
Azure only supports RSA keys.

Fixes #633
2022-06-22 11:17:19 +02:00
0a085e78e7 MdYamlDoc: Make it immutable 2022-01-27 15:17:56 +01:00
4b9b40045c Allow the 'editor type' yaml key to be configured
The keyword 'type' intefers with Foam.

Fixes #567
2022-01-22 10:40:10 +01:00
2256ac8c8d RestorePurchases: Show an error on failure 2022-01-17 17:59:17 +01:00
26c2de9f99 Fix translation 2022-01-13 18:31:30 +01:00
c90bf406a1 Cleanup Android Storage Permission Code
It still doesn't work on Android 11, but at least the error messages are
better.
2021-12-28 18:00:35 +01:00
7737155627 Note Proto: Handle null values 2021-12-28 18:00:34 +01:00
ff1dc06403 MdYamlDoc: Serialize lists and maps 2021-12-22 21:03:41 +01:00
9d70d53e35 Never just hang on loading
This would happen if the current repo couldn't be opened.

We now show a special "Error Screen", and allow the user to add another
repo.
2021-12-16 13:05:02 +01:00
542fb8c36a Avoid showing the "Reading Git History .." screen
This way startup feels much faster.
2021-12-10 10:57:20 +01:00
ccf571cbe9 NotesCache: Store the entire note
This way the disk barely needs to be accessed when loading GitJournal,
and we can hide how long it takes GitJournal to parse all the notes in
the background.
2021-12-09 20:04:08 +01:00
ad4516d8d6 FileMTimeBuilder: TreeHashes are no longer used 2021-12-09 17:34:40 +01:00
92031b7db5 Add a cache loading screen
This isn't perfect as it's visible for a second on boot.
2021-12-06 18:30:04 +01:00
e589d1c1eb Experiment with a CalendarView 2021-11-15 12:39:12 +01:00
015659d58f Allow a note to be renamed to whatever
Earlier one could never change a note type, and therefore its extension.
Now you can rename a note's filename to whatever and accordingly the
editor will change.

A warning message is shown when changing the file type.

Fixes #474
2021-11-15 12:39:12 +01:00
0e979e5fdb Always create a Journal Entry in the same folder
If the settings is active, we should always create in that folder. No
matter if we are in a "Virtual Folder" or "real folder"

Fixes #499
2021-11-09 16:58:57 +01:00
93dbccef05 Expose Experimental History View 2021-10-27 11:57:02 +02:00
e19ea27a7a Improve About page 2021-10-27 11:33:14 +02:00
404186c434 Improve new settings page
Also add an about page
2021-10-27 11:20:00 +02:00
01d38dc92a Settings refactor experiment
It looks way better, but the icons don't seem to be properly aligned.
Overall it's a step in the right direction, but there is still a long
way to go.
2021-10-27 10:28:37 +02:00
a26150a85d Add a FileStorageCache
It's mainly a way to save / read a FileStorage instance.
2021-10-26 22:34:39 +02:00
1ab8fa0434 Allow the repo to be hard reset to its remote
Fixes #286
2021-10-23 17:21:38 +02:00
79bba7cff4 Add a dummy Setings for Note File Types
The idea is to allow all kind of file types. Not just md, txt and org.
2021-10-15 16:59:21 +02:00
9668263af5 Show pinned notes on the top
Notes with the metadata 'pinned: true' will show on the top. This is
exactly the way Notable handles pinned notes.

This doesn't add support for easily pinning / unpinning a note. That's
for another time.

Related to #115
2021-10-12 18:43:20 +02:00
9d1e54d4d5 Make sure reuse header is never removed 2021-10-12 14:25:39 +02:00
efffec0a1a Allow changing the default note file format 2021-10-12 14:02:22 +02:00
1ee6583785 Show Note moving to Folder option via long press 2021-10-12 12:38:32 +02:00
b9b1289ac5 Settings GitAuthor
Make this also create a dialog. The editing feels much nicer this way.
2021-09-30 08:57:25 +02:00
a149211b3a GitAuthorEmail: Change the settings in a dialog
Looks and feels much better
2021-09-30 08:47:33 +02:00
c4ef1f569b Use flutter_lint
Instead of picking lint values. This way I don't need to routinely
looking at extra lints to enable.
2021-09-21 15:42:13 +02:00
5236a2bf31 Start implementing find in note 2021-09-21 14:39:49 +02:00
2751b89cf4 Improve protobuf generation
Also add proto files for a markdown experiment
2021-09-19 10:06:18 +02:00
045b4d0cd1 Add experimental tag auto-completion
There is so so much more to do to get this to work. I'm not sure if
exposing it like this is a good idea. Oh well.
2021-09-15 17:15:08 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
e2d391ec02 Add experimental history 2021-09-13 17:32:33 +02:00
d597c68ece Remove experimental FS
It'll be easier to just extend the already existing views. Maintaining
yet another view is just too much.
2021-09-08 15:30:19 +02:00
86a88966df Make emojification controllable
Also disable it by default

Fixes #260
2021-09-07 09:18:46 +02:00
c390dd4e5a DebugScreen: Show snackbar on copying 2021-08-30 22:46:15 +02:00
6403296724 Basic login experiment 2021-08-27 14:28:29 +02:00
910088a5b4 LocaleKeys++ 2021-08-26 23:09:39 +02:00
e248a2fcaa Generate dart keys for localizations
I should have done this long long ago. Migrating is going to be such a
pain.
2021-08-26 09:22:42 +02:00
ad76dabcfb Experiment with serving shared preferences over grpc
The idea is that for GitJournal's web version, we can have it talking
with the mobile version which runs a grpc server. All of the git + fs
logic will still run in the mobile and the web version will only have
the UI.
2021-07-29 14:33:00 +02:00