2287 Commits

Author SHA1 Message Date
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
5d41b5842c Fix typo 2020-11-24 17:15:00 +01:00
9ae4f7d897 Spanish translation 2020-11-24 13:11:02 +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
568e9a407f RsaKeyPair: Improve isValid 2020-11-15 00:50:33 +01:00
f821fc73e1 SSH Private Key: Try formats supported by ssh_key 2020-11-15 00:49:42 +01:00
3b4c257afc Accept more Private Key formats 2020-11-15 00:35:49 +01:00
b9e81b7ae7 RsaKeyPair: Use the recommended size of 4096 2020-11-15 00:33:42 +01:00
c5a999988f Revert "CircleCI Android: Use git-crypt"
This reverts commit 27349bfbe3e9a8fcbc4bc832984960db8432704e.

Doesn't seem to work
2020-11-15 00:27:25 +01:00
a052467ebc Migrate from steel_crypt to crypton
SteelCrypt is deprecating asymetric key crypto functions and recommends
using crypton. This also simplifies our code.
2020-11-15 00:25:39 +01:00
215fe07d50 Move some deps to dev
These aren't still being used in production, they were just added for
experiments
2020-11-14 23:57:20 +01:00
90fe13d66c build_ios: Print xcode version 2020-11-14 23:35:42 +01:00
4a69524bff build_ios: Remove the check for uncommitted changes
Hopefully now that builds witll be done by the CI, this won't really
happen.
2020-11-14 23:31:13 +01:00
3fc813336a Rename github CIs 2020-11-14 22:49:43 +01:00
302f205fed Github ios CI: Run on macos-10.14
This is what my laptop has, and hopefully it won't get stuck on this.
Also removing gnupg as it is isn't required as gpg is installed on this
image.
2020-11-14 22:45:46 +01:00