2109 Commits

Author SHA1 Message Date
6b1a9caf86 Remove unnecessary logging
This was added to figure out the cause of a bug. Now that it's clear,
and fixed, I can remove these logs.
2020-10-18 09:46:43 +02:00
f7e6730b9e Properly migrate from old destination
Fixes APP-40
Fixes APP-DT
Fixes #270
2020-10-18 09:34:07 +02:00
09b6a6bbff Migration: Only delete the cache if it exists
Fixes APP-EE
2020-10-18 09:18:33 +02:00
4f0d065bf7 Simplify the code 2020-10-17 12:38:21 +02:00
5441700f28 Move building the repo's path logic to one place
Instead of having it duplicated
2020-10-17 12:33:19 +02:00
81bd1322a6 Settings: Rename internalRepoFolderName to folderName 2020-10-17 12:28:14 +02:00
bad1a03812 Implement moving the Git Repo to a folder accessible by other apps
This doesn't seem to move it to the SD card, but it does move it to a
public location. This is an Android specific feature.

Not sure if this is allowed with Android 11

Related to #99
Fixes #154
2020-10-17 12:24:06 +02:00
c02af7f156 Avoid unnecessary log
Left over from an experiment. Logs only stay on the device, so this
wasn't a problem, but it stays constant on Android across installs. It
would be nice to use this ID instead the random ID that we generate, but
that could be counted as personally identifyable info. I'm not too sure.
2020-10-17 11:38:30 +02:00
c86adc5115 README: Add donation badges 2020-10-16 20:47:17 +02:00
fd74a86abf Remove the whole local/remoteConfigured settings
We now infer this by checking if the directory exists, and by reading
the git config. It's a bit slower, but it's a far better method. I can
add a cache later, if it turns out to be too slow.
2020-10-16 15:13:34 +02:00
c63b984443 Try to guess the remote's default branch
This is an ugly hack and a proper solution should be implemented.
2020-10-16 14:08:47 +02:00
f44c1ce17d Collect proMode and proExpirationDate as user properties
It'll make it easier to know how many % of the users are on pro.
2020-10-16 12:52:31 +02:00
530c8ea55a Release a bug fix version
Some % of the users are badly affected by a bug, which I cannot seem to
reproduce, maybe this debug message will help.

Also, I accidentally shipped it with the bottom bar disabled.
2020-10-16 02:38:41 +02:00
7153498595 The bottom menu bar should be available by default 2020-10-16 02:33:06 +02:00
5c2e336343 Save Notes Cache in the cache directory
It shouldn't be saved in the Documents folder. Now that this folder is
exposed on ios, I should remove all non-user related files from here.
2020-10-16 01:10:18 +02:00
a1e7135236 ios: Allow the GitJournal files to be visible in the Files app 2020-10-16 00:55:04 +02:00
09fdcc3012 Generate the SSH keys via Dart
The more dart code we use, the easier it will be to port to other
platforms.
2020-10-15 12:30:35 +02:00
540078c413 Improve repo migrations
Earlier we had one folder 'journal_local', when the remote would be
setup a new folder called 'journal' would be created, and each all the
files would be copied over. This meant the local history was being
destroyed.

Now, we only have 1 folder 'journal', and on 'cloning', we add the url
as a remote, and do a git fetch + merge.

This simplifies everything drastically, and opens the door for multiple
remotes.
2020-10-15 12:18:47 +02:00
0839b8e38a Update ios internal docs 2020-10-15 11:06:57 +02:00
dacd41b1c5 Update Podfile.lock 2020-10-15 10:52:37 +02:00
4baf03eb4a Bump to bugfix version 2020-10-15 10:08:11 +02:00
2c0470a3c1 Log the gitBaseDir to try and debug what is going on 2020-10-15 10:07:48 +02:00
26688d3577 Fix invalid Podfile
Forgot to commit this earlier
2020-10-14 19:35:27 +02:00
d59dd5640e ios: State explicitly what permissions are not required
From the docs of the https://pub.dev/packages/permission_handler
2020-10-12 21:49:53 +02:00
f5be2d4e79 ios: Bump min os version to 9.0
This really should have been in the release notes.
2020-10-12 21:15:43 +02:00
e02790cd73 Changelog: Add reddit link 2020-10-12 18:52:13 +02:00
aa28675aa6 Changelog: Add date for release 2020-10-12 18:37:28 +02:00
d859f006d7 Bump version 2020-10-12 18:23:02 +02:00
8dbab76011 GraphView comments 2020-10-12 18:21:33 +02:00
044592b92d Allow Journal Entries to have their own file naming scheme
Adding an individual setting is becoming way too complex now.
2020-10-12 18:21:26 +02:00
0e4bf34843 Settings Bottom Menu Bar: Make the preview a bit bigger
On my super small iphone screen it doesn't look great.
2020-10-12 18:05:52 +02:00
aa48753f10 Add listen:false when getting some providers 2020-10-12 17:40:22 +02:00
d6612a7a84 Update podfile and xcodeproj 2020-10-12 17:34:29 +02:00
2781507b7e README: Change subtitle 2020-10-12 13:31:47 +02:00
8a8e05d963 Add AGPL license badge 2020-10-12 13:30:24 +02:00
dfb3c5d20d Bump yaml serializer 2020-10-11 00:25:53 +02:00
1dd1366774 Analytics - use 'Unknown' when screen name is empty
Instead of reporting this to Sentry. This seems to be rather common.
2020-10-09 10:55:52 +02:00
d3a0d4fcfa External Storage: Use ext_storage package
This actually gives the top level directory in Android, as I want.
2020-10-09 10:55:45 +02:00
cdfa7d690a Add a setting to store the repo in the external storage
This is Android only, and for now it is disabled as I'm not sure why I
cannot access the "general" root directory.
2020-10-09 10:43:16 +02:00
5ed1b5314b Bump file_picker 2020-10-09 09:39:04 +02:00
684baa93c2 CI: Bump flutter version 2020-10-09 01:17:40 +02:00
9499cea164 Remove Settings global
Stop it being a singleton. This means it needs to be passed around a
lot. This sucks, but it's how it should be. I shouldn't be using a
global variable to get around this.

This is needed as Settings will soon become repo specific when we
support multiple repos.

This breaks saving the settings in a file, that feature was toggled off
anyway. It needs to be thought over again.
2020-10-09 00:59:19 +02:00
94ccd74e12 Upgrade flutter_sentry
Hopefully this will fix the app crashing in some devices on the Google
Play Store's automated tests.
2020-10-06 00:11:30 +02:00
5f8f8975b1 Update changelog 2020-10-05 13:13:32 +02:00
17b276b9f6 Add a comment on the HomeScreen
It took me some time to figure out why I had written it this way.
2020-10-05 13:09:57 +02:00
06cfe27154 Make the bottom menu bar settings prettier
We now show how the bottom menu bar will look inside the settings. This
is so much nicer. Later, I can add more options to configure exactly
what icons are visible and what they do.
2020-10-05 13:08:50 +02:00
62bea50506 Allow the bottom menu bar to be hidden
Fixes #261

The settings page for this is quite ugly right now, but the feature
works. I can improve its look another time.
2020-10-05 12:25:57 +02:00
cca83ffd4a Move metadata configuration features from Pro to Basic
Configuring how the metadata should be saved really seems like more of a
basic feature as it allows you test GitJournal's compatibility with your
favorite desktop client or for static website generation.
2020-10-05 11:47:09 +02:00
1a74955e99 Improve inline tags regexp
Fixes #265
2020-10-05 11:43:52 +02:00
68c6fe470d CI: Bump flutter version 2020-10-02 17:28:51 +02:00