2148 Commits

Author SHA1 Message Date
fe8a6a88b1 External Storage Android: Check if Dir is writable
And according try to use the new Android 10 Storage APIs. Though they
seem to not give me exactly what I want.
2020-12-27 09:37:54 +01:00
10bf342497 CircleCI: Comment out ios build 2020-12-26 19:41:43 +01:00
360ece0de7 Perform the 'git merge' in the 'cloning ..' screen
This step can take a lot of time, and I would prefer if the user didn't
see a blank screen after cloning for a short while.
2020-12-26 17:18:11 +01:00
75733c9246 Go back to generating the ssh keys via openssl
Instead of our custom dart code.

Fixes #351
Fixes #353
2020-12-26 11:52:58 +01:00
35b225a635 Make sure we are mounted before calling setState 2020-12-26 11:49:27 +01:00
1ebac121df Remove extra debugging info 2020-12-26 11:49:03 +01:00
6767c79ed8 Add hints on how to serialize ed25519 key
Related to #260
2020-12-26 11:07:09 +01:00
1e57a816e7 keygen experiment: Try to generate an ed25519 key 2020-12-21 21:53:48 +01:00
9fd605a407 Add some extra debugging for the Android External Storage 2020-12-21 12:11:48 +01:00
bd6b88b4ec Bump git_bindings to fix build 2020-12-21 11:57:30 +01:00
61788759b6 Bump version 2020-12-21 11:35:25 +01:00
7ae37d1d40 When sharing a note share its metadata as well
Fixes https://github.com/GitJournal/GitJournal/issues/360

I'm not sure if this is ideal as now the metadata such as 'modified' and
'created' will also be shared. On the other hand, the metadata often has
valuable information which is otherwise getting lost.
2020-12-16 12:29:29 +01:00
2bd6e07c7b Move MarkdownRenderer to its own file
Less noise
2020-12-16 12:17:52 +01:00
c64d30ec2a Stop guessing the default branch
Talk to the remote via ssh and ask it which is the default branch. This
has only been implemented for Android right now, so this breaks the ios
build.

Fixes #363
2020-12-16 12:17:22 +01:00
c8cb04f6e5 fix import order 2020-12-11 20:21:52 +01:00
dd30b34902 Experiment with implementing the Markodwn Highlighting
It'll need some changes in flutter_markdown.

Related to #362
2020-12-11 20:21:52 +01:00
076e8ff510 Bump flutter_markdown 2020-12-11 20:21:52 +01:00
c8dcbe4569 Block invalid move to external storage
This way we atleast avoid the app getting bricked and showing a white
screen.

Related to #355
2020-12-11 20:21:52 +01:00
00f89ea3f4 Move github ios workflow
Commenting it out was not enough
2020-12-11 20:21:52 +01:00
13072a0499 Merge pull request #359 from meleu/patch-1
fix twitter link
2020-12-07 12:23:10 +01:00
e0c4298837 Make the GitJournal licensing clear 2020-12-07 12:04:28 +01:00
47e0161a49 fix twitter link 2020-12-07 07:28:13 -03:00
2f70778d20 CircleCI: Install gsed 2020-12-02 12:38:33 +01:00
ebfc49d1ee GitHub ios CI: Disable it for now
I give up on trying to figure out why it randomly freezes. With CircleCI
atleast I can ssh into the machine and run some more diagnostics.
2020-12-02 11:13:48 +01:00
e6ddf43792 AutoComplete Experiment: Show overlay when editing text in the middle 2020-12-02 10:28:07 +01:00
6c5767e2b6 Move all the drawer header code into it
Instead of it being all in a stack.
2020-11-30 22:14:23 +01:00
b754c79639 Move AppDrawerHeader to its own file 2020-11-30 21:53:58 +01:00
c22f738d6a build_ios: Add a hack to make this work
I'm not sure why the ShareExtension isn't picking up these variables and
I'm tired of debugging ios issues.
2020-11-30 13:37:26 +01:00
1e700b953f Bump minor version 2020-11-30 13:00:23 +01:00
ad77f102e6 Add a workaround for giving people pro mode
The accounts setup is taking way way too long. And some ios users have
paid for pro and haven't gotten it. This way, they will at least get it
ASAP. I should have done this weeks ago.
2020-11-30 12:59:23 +01:00
0b5701b739 Move purchasing logic to PurchaseManager
Hopefully with this there will never be any more problems of purchases
not being completed.
2020-11-27 17:19:42 +01:00
4eff5844b1 Cleanup PurchaseScreen
Avoid having one widget call the other widget with the sku price. It was
complicating the entire code base. Also, create a new class
PurchaseManager which is a singleton and will be used to manage all
purchases from now on.

The earlier approach of having the code in a widget would sometimes
result in purchases not being confirmed. I'm hoping that putting the
class in a singleton will help.
2020-11-27 16:28:58 +01:00
1c55546340 Only Print repository Info in Android
It's only to diagnose a specific bug in Android.
2020-11-27 00:26:11 +01:00
48ac4b8850 Add debug logs for ios transaction processing 2020-11-27 00:26:11 +01:00
658cc5cd5f Pubspec: Sort dependencies
It's much nicer to have them in a deterministic order
2020-11-26 23:59:45 +01:00
60ae75c3cc Add a signup screen 2020-11-19 12:20:47 +01:00
c89b72e667 Login: Try actually logging in with gotrue 2020-11-19 12:20:22 +01:00
8267d420a7 LoginPage: Add GitJournal header
+ cleanup the code a little
2020-11-18 16:39:15 +01:00
909803aa8e Add an experimental Login page
Code adapted from https://github.com/TheAlphamerc/flutter_login_signup
2020-11-18 16:25:39 +01:00
03e3d1f1c5 Remove verbose logging 2020-11-18 16:08:46 +01:00
e87a096c7d Allow Delete dialogs to be configured
Fixes #330
2020-11-18 13:01:33 +01:00
a9f3001798 Use StackTrace library to make the traces shorter
And hopefully add some more context to some async stack traces that
don't make any sense.
2020-11-18 12:53:12 +01:00
e5caafd6a1 Add debug statements for the remotes
Makes it easier to debug some of the users issues.
2020-11-17 23:10:47 +01:00
b2f9ad28c3 Remove debug statements for debugging icloud problem 2020-11-17 23:10:25 +01:00
7873c8eebb Bump minor version 2020-11-17 14:09:59 +01:00
6983f91a47 Fix iCloud problem
Fixes #296
2020-11-17 14:09:59 +01:00
d80f2fc257 HostSetup: Remove the remote if setup closed without completion 2020-11-17 14:09:59 +01:00
35483d07d8 MigrateSshKeys: Reduce code duplication and do not delete the folder
This migration seems to have gotten really fucked up and I think the ssh
keys are now lost. I'll have to issue a notice on how to fix it.
2020-11-17 14:09:59 +01:00
014d790b17 Update provisioning profiles
Not sure what has changed
2020-11-16 14:33:17 +01:00
231053ea8a Add some more debugging info
Not sure why I get errors where the folder is not a git repo even though
it contains a .git folder.
2020-11-16 00:21:30 +01:00