1988 Commits

Author SHA1 Message Date
35e1ab3e07 ios fastfile: Do not increment the build number
This is taken care of by flutter
2020-10-21 19:15:58 +02:00
d0547c77ed ios: Add ShareExtension to App Group
Not sure if this is required
2020-10-21 18:06:30 +02:00
16dea3af1b Do not log the ssh public key
Not necessary
2020-10-21 17:09:18 +02:00
c86e0d278c Remove verbose logs
These make reading the log files in bug reports really hard. Also it
contains some personal info, so I rather not have them.

I can look into another way of showing the user why certain files were
ignored.
2020-10-21 17:08:31 +02:00
d1214b8c1b Android Store Externally: Do not give the users a choice of a folder
It's a bit confusing as we create a 'GitJournal' folder then. Lets just
always save it in the same location for now.
2020-10-21 17:07:46 +02:00
98adda1b01 Bump minor version 2020-10-21 16:38:12 +02:00
c72cf0f96f Move to iCloud: Clear the git repo state 2020-10-21 16:26:40 +02:00
1dda2ce1c0 Handle new git_bindings
In ios we use ssh in memory. On Android it just doesn't seem to work.
2020-10-21 16:26:20 +02:00
bfdbfccba7 Settings Migration: Make sure the keys actually exist 2020-10-21 15:42:13 +02:00
95aa6b4647 Bump minor version 2020-10-21 15:34:05 +02:00
704329e3d5 Fix setting up an empty repo
Fixes APP-EQ
2020-10-21 15:32:33 +02:00
ad787158c7 Log key generation time 2020-10-21 15:31:15 +02:00
07dd127f7f Add some logging statements
This is cleary causing some problems. Maybe with the logs I can figure
out what is wrong.
2020-10-21 13:49:57 +02:00
018dd4ca36 Fix reset repo 2020-10-21 04:29:01 +02:00
c54b612368 Bump git_bindings and minor version no 2020-10-21 02:59:08 +02:00
d2306a590b ios quick_actions: Add icons 2020-10-21 01:30:18 +02:00
83ecfe239e ios quick_actions: Add workaround
https://github.com/flutter/flutter/issues/13634
2020-10-21 00:40:35 +02:00
035c4f2d3b ios Share Extension: Make development target match the main app 2020-10-21 00:23:30 +02:00
466c038579 ios: Try to handle share intents
Doesn't seem to be working. I'm not sure what I'm doing wrong.
2020-10-20 23:57:30 +02:00
e2c51fe8bf Bump major version 2020-10-20 14:11:49 +02:00
efc6e651ac Remove unused import 2020-10-20 14:09:20 +02:00
c34b329852 Handle setting up remote with a blank repo
This isn't perfect as we're guessing the remote's main branch, but it'll
do. We need this as I'm no longer ever calling 'git clone'. It's always
a fetch.

The good part is that this uses dart_git a lot :)
2020-10-20 14:07:27 +02:00
9f53115616 ios: Add iCloud capability
I cannot see the GitJournal app's data in my iCloud, but I believe maybe
my app needs to go through the app review process.
2020-10-19 20:01:36 +02:00
98c92a3fe1 Handle new version of git_bindings
This changes the way the SSH keys are managed, they are no longer
managed by the git_bindings plugin and are instead just passed as
parameters. They are now saved in shared_prefs. This allows us to easily
have multiple ssh keys.

It also allows us to store the ssh keys in a more secure storage
location in the future.
2020-10-19 14:52:24 +02:00
05be1ce397 ios: Remove gitInit method
We use the init method from dart_git instead.
2020-10-18 10:35:58 +02:00
6c1860071c ios: Remove keygen.c file from sources 2020-10-18 10:34:14 +02:00
9ad1ad48f2 ios: Remove generateSshKeys
The keys are now being generated via Dart code.
2020-10-18 10:17:43 +02:00
88dd449ac6 Graph: Avoid calling a method on null
Fixes APP-DX
2020-10-18 10:06:03 +02:00
8e879c293d Update changelog 2020-10-18 09:49:30 +02:00
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