2208 Commits

Author SHA1 Message Date
9ed9744306 Android: Change Settings text to "Store Repo Externally"
The earlier mechanism was a bit confusing.
2020-10-23 13:52:49 +02:00
f75e119995 Make Settings take the folderName as a parameter 2020-10-23 02:29:48 +02:00
b2aa96cbe1 Give a Repository a name 2020-10-23 02:10:42 +02:00
43206219da Merge AppState into Repository
The 'AppState' was more of a Repository state, and it's easier if it
lives inside the Repository class.
2020-10-23 02:01:45 +02:00
770394a8f9 Rename StateContainer to Respository 2020-10-23 01:38:47 +02:00
3b581f9162 const++ 2020-10-23 01:28:59 +02:00
c3d61d25cd Fix translation key 2020-10-23 00:06:13 +02:00
bc06efc446 Create new note when clicking on non existing Wiki Link
Fixes #240
2020-10-22 23:57:53 +02:00
f1ccae1db0 Split App into AppRouter
There is way too much code in this file, and it makes it difficult to
test and reason about. Lets start simplifying this huge class.
2020-10-22 23:22:40 +02:00
39339a23f1 PurchaseWidget: Simplify code 2020-10-22 22:51:30 +02:00
42de2be044 Android: Confirm pending purchases
There seems to be a race condition which results in some purchases not
being confirmed.
2020-10-22 22:50:24 +02:00
66962bda65 Autocomplete Experiment: Make the box work with multiple lines 2020-10-22 19:13:36 +02:00
b4ca0d2b1d Experiment with trying to render an autocomplete box 2020-10-22 19:07:53 +02:00
eac7ff3c63 Auto save the note when the App loses focus 2020-10-22 15:11:48 +02:00
f81b2ed167 NoteEditor Discard Changes: Do a git checkout on the file
This way it will go back to the exact original version. Our Note loading
and saving sometimes changes the yaml metadata order.

Also, this allows us to autosave the note file.
2020-10-22 14:57:12 +02:00
73b5e56139 Update changelog 2020-10-22 14:56:55 +02:00
35ed7f616e CustomKeys: Allow an ssh password to be provided
Fixes #227
2020-10-22 14:35:17 +02:00
e3a4844f0e GitRemoteSettings -> Let a custom SSH key be provided
Just like during the GitHost Setup.
2020-10-22 14:22:00 +02:00
00c4a07d72 Note Backlinks is clearly not experimental anymore 2020-10-21 22:32:34 +02:00
1819867754 build_ios: Pass the build number
We don't actually need to pass the build name, but I'm still doing it
since there seem to be some problems with the Share plugin.
2020-10-21 19:17:30 +02:00
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