15 Commits

Author SHA1 Message Date
901e4b5cb9 Avoid importing dart_git's Result class
It's easier to see where all dart_git is used this way, and this result
class should be refactored into its own package anyway.
2022-01-22 10:11:45 +01:00
0488714e89 Refactor note file naming logic
I want to make the note class immutable, and the file path naming logic
is the toughest part.
2022-01-14 12:55:27 +01:00
e5eb8c1576 lint: avoid-ignoring-return-values++ 2021-11-17 18:10:59 +01:00
51b60aacf8 Settings: Improve Version tile 2021-10-27 10:36:46 +02:00
e1ea7a4953 Fetch the modified + created time from git
Fixes #78

This is probably the largest commit that I have ever made. From now on -
every File always has an mtime and ctime which is fetched from git.
Notes can optionally override that time by providing yaml metadata.

Additionally the 'filePath' and 'folderPath' is now relative to the
repoPath instead of being the full path.

This will slow down GitJournal like crazy as all the mtimes and ctime
still need to be cached. For my test repo it takes about 23 seconds for
GitJournal to become responsive.
2021-10-26 17:49:08 +02:00
6a915864f2 Move NotesFolder's code to their own folder
The 'core' folder is becoming way too huge.
2021-10-15 12:31:35 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
cfaf1436f1 Move the MarkdownYamlCodec out of the Note class 2021-09-09 10:08:38 +02:00
910088a5b4 LocaleKeys++ 2021-08-26 23:09:39 +02:00
6ae11d386d Analytics: Move settings into Analytics
Lots of code cleanups as well
2021-08-16 13:23:26 +02:00
3a71cca202 Move logging code to its own folder 2021-07-30 14:39:13 +02:00
07763226df Stop using deprecated packages 2021-07-29 14:39:23 +02:00
2cad314a4a Replace package_info with package_info_plus
The former is deprecated, and this one supports more platforms.
2021-07-19 15:32:15 +02:00
d6e2f09a72 Move all settings code to its own folder
Jumping around between the widgets / screens and outside is bit
confusing. Also this way, I can add the stories right here.
2021-06-05 12:23:28 +02:00
30b9a850d4 Move utils file to utils folder 2021-06-04 18:59:58 +02:00