968 Commits

Author SHA1 Message Date
895d2f4f1b Give each Note a title
We're moving away from being a Journal Editor to being a Note Editor. I
don't want to discard the Journaling parts, as Journaling is really a
subset of Note Taking - so in the future it would be nice if this could
be somehow toggled.

Maybe each Folder can have different display settings. Probably in the
"pro" version.
2019-12-27 11:05:32 +01:00
046c08cb67 Folder rename: Only udpate 'folderPath' once rename is successfull 2019-12-27 00:37:26 +01:00
8a6b6023d6 Sync: Combine crashlytics code 2019-12-27 00:37:20 +01:00
f69cc06bae Bump version number 2019-12-26 20:56:30 +01:00
7b40cbf65f SyncButton: Disable if no connectivity 2019-12-26 20:56:30 +01:00
bc9e308971 Move SyncButton to its own file 2019-12-26 20:56:30 +01:00
760659495a Print the device fingerprint
For debugging purposes
2019-12-26 20:56:30 +01:00
6af3b03210 Add a sync button to the AppBar
This somewhat shows what's going on with the network. It isn't ideal, as
is a bit ugly. But it's a start to show the network status, and what's
going on in the background.
2019-12-26 20:43:12 +01:00
f5558803c5 GitHostSetup: Log all exceptions
Not only GitHostExceptions as these don't cover Network exceptions.
2019-12-26 17:57:46 +01:00
04af625a3b Log git exceptions in Crashlytics 2019-12-26 17:41:27 +01:00
cdd3f8d86c Use flutter_runtime_env
Now almost all of the custom Java/iOS code has been moved to plugins.
2019-12-26 17:00:57 +01:00
9153a9f2a1 Bump git_bindings 2019-12-26 16:38:32 +01:00
fec3a91df1 JournalEditor: We don't need the extra Form
We're not using it for anything.
2019-12-23 12:25:57 +01:00
757bf0b7ac Update dependencies and gradle 2019-12-23 12:25:31 +01:00
cae3fa52b7 Fix mistakenly added 'foo' 2019-12-22 18:55:33 +01:00
764209fe57 CloneUrl Validation: We do not support the git protocol
Well, we actually do support it, but I don't want users to use it,
as I have no intention of supporting it in the future.

In the future - Git will be written entirely in Dart.
2019-12-22 18:49:46 +01:00
ad0c305597 CloneUrlValidation: Our regexp is broken
With AWS Code commit we get URLs of the form -

ssh://APKAZLZA77YWDCWYRAC5@git-codecommit.eu-west-1.amazonaws.com/v1/repos/blah

All our assumptions about how the URL should be are now invalid. It's
best to just check for the presence of an '@'
2019-12-22 18:48:40 +01:00
83e5c44a5c FolderListing AppBar: Make the title a plural
Folders instead of Folder
2019-12-22 15:39:13 +01:00
ce9a72676b Fix Folders navigation
Clicking on Folders in AppBar when inside a Folder wouldn't take you
back to the Folder Listing.
2019-12-22 15:38:04 +01:00
de369fe6d9 Add 'Open Source' in the onboarding screen 2019-12-22 15:25:42 +01:00
9e74f26616 Fix ios compile error 2019-12-22 15:24:05 +01:00
798a744574 Change public strings of "Journal" to "Notes" 2019-12-22 15:24:00 +01:00
a2f237ede3 Add scrollbar's in JournalLists and FolderLists
Pros: It's nice to know where we are in the list.
Cons: It makes the lagging in the list view far far more apparent.
2019-12-22 15:16:41 +01:00
2ba5b52f8d Move fetch application logs to its own plugin
Maybe it will be useful to others. This way we're also closer to
removing almost all java / objective-c custom code.
2019-12-21 18:17:14 +01:00
47f547b9a6 Update .gitignore 2019-12-21 01:08:45 +01:00
63170445d7 Move libgit2 code to git_bindings repo
We now have a much clearer separation between Git code and this app
specific code. This is awesome, it will allow other people to easily
integrate Git within their apps. Also, eventually it will be trivial to
switch to another implemention of Git (via JGit or a git client written
completely in Dart)

This breaks the iOS version as I haven't moved the code to build the ios
version. Maybe this will be a good excuse for me to setup a proper CI/CD
system for ios builds.

There is also a chance this breaks Crashalytics NDK symbols :(
2019-12-21 01:06:15 +01:00
70877438eb Git: Take the folderPath instead of folderName
The Git Api was strange and took a foldeName and it would only allow you
to access git operations in a particular path. This has now been fixed,
and now it can operate in any path.

This was the first step to moving the git api into its own library.
2019-12-20 20:40:00 +01:00
3657a88ce5 FolderListing: Show the full path of subfolders
It's confusing otherwise, though this doesn't look very pretty.
2019-12-14 12:18:52 +01:00
0bde0d8fae Bump version number 2019-12-14 12:12:41 +01:00
6096ef8054 Sort Folders based on name
Eventually this sorting should be configurable.
2019-12-14 12:10:20 +01:00
6790bfe9f5 Fix Note sorting function 2019-12-14 12:06:07 +01:00
bc6f7c1b8f Note: Load the modified tag properly 2019-12-14 12:05:52 +01:00
106953ad68 GitRepo: Change commit messages to say "Note" instead of "Journal" 2019-12-14 02:19:02 +01:00
50cc876e56 Bump version and update changelog 2019-12-14 01:53:44 +01:00
48aa992b2a Fix androidNdkLibsOut 2019-12-12 00:59:36 +01:00
fe6fb3db00 Crashlytics Symbols Upload: Another issue because of flavours
These flavours are really a pain in the ass. Maybe having a local diff
would I never commit would have just been easier.
2019-12-12 00:45:59 +01:00
bc31d5bed3 Revert "Android: Enable r8 code minifier"
This reverts commit a7b25cece14dec12118cb63e05a0f2cb4b9cf36e.

The Crashlytics symbols uploder complains a lot - That it is
experimental and unsupported.
2019-12-12 00:42:45 +01:00
2581b67ac5 crashlytics: Fix path to debug symbols
It has changed because of the flavoured build.
2019-12-12 00:23:10 +01:00
591ba30762 Fix flutter analyze 2019-12-11 21:48:46 +01:00
abb6029798 Allow Folders to be deleted
For safety we're only allowing non-empty folders to be deleted. Ideally,
we should have some kind of undo button. Or some kind of history - since
we do have that with git.

Related to #18
2019-12-11 21:43:08 +01:00
453a6c518d Allow Sub Folders to be created
Fixes #34
2019-12-11 21:18:12 +01:00
27d5af8b01 FolderListing: Change the scaffold when a folder is selected
This way it's way more obvious. Also, add a back button so the user can
cancel the selection more explicitly.
2019-12-11 21:09:40 +01:00
0e8fe78323 Upgrade flutter_markdown
Fixes #32

With this we support all of GitHub Markdown format, excluding html.
2019-12-11 20:54:07 +01:00
4dde743fce Update version of firebase analytics 2019-12-11 20:50:34 +01:00
e5c3bb3fdb Add a 'dev' and 'prod' build flavour
Now whenever we run 'flutter run' or 'flutter build' we need to pass the
flavour flag. It seems there is no way to set a default flavour.

This is required as I want to be able to not have to reconfigure my
local GitJournal app (which I use for note-taking) vs the one I'm
developing where I might change many different settings for the basis of
testing.

Specially since I don't use Github/GitLab to store my notes, so the
setup process is a bit more involved.
2019-12-11 20:45:51 +01:00
cadff86073 Update .gitignore 2019-12-11 20:09:59 +01:00
a7b25cece1 Android: Enable r8 code minifier 2019-12-11 20:09:24 +01:00
8defd7c3d4 Flutter 1.12 - Initialize widgets if main func is async 2019-12-11 20:09:08 +01:00
fdc3c6b601 Upgrade intl for compatibility with Flutter 1.12 2019-12-11 20:01:32 +01:00
4f2fcb0b72 Fix flutter analyze: Add missing const 2019-12-09 02:01:24 +01:00