2386 Commits

Author SHA1 Message Date
dbf038f801 Hopefully fix the strange error of _startGitClone being called
In some debug reports I see logs of _startGitClone being called again
and again and again. I'm not sure what is causing it. Maybe this will
fix it?
2021-01-20 20:08:30 +01:00
408b16b2c1 pubspec: Add config for import sorter 2021-01-20 12:15:49 +01:00
f8ed88ad00 Rename keygen exp to not trigger flutter analyze 2021-01-19 19:16:41 +01:00
58604d7de1 Remove cryptography dependency
It was only being used in a poc, and it's cause the ios build to fail.
2021-01-19 19:06:45 +01:00
ea4af8a694 Removed unused import 2021-01-19 19:04:46 +01:00
80cea93866 ios: Commit the development team
Not sure how it got removed
2021-01-19 19:04:25 +01:00
a3d6319179 Bump minor version 2021-01-19 16:56:34 +01:00
2f4b60b51d Update git_bindings 2021-01-19 16:56:23 +01:00
29ffa2c540 Improve logging 2021-01-19 16:55:27 +01:00
03899810e1 ios: Fix default branch 2021-01-19 16:55:27 +01:00
1baa803443 ios: Fix gitDefaultBranch 2021-01-19 16:55:27 +01:00
e46898cc5a ios: Add missing keygen.c file 2021-01-19 16:54:47 +01:00
0893ea2325 ios: Use automatic code signing
I give up
2021-01-19 16:54:47 +01:00
98701379c2 ios: Update podfile and all 2021-01-19 15:40:12 +01:00
10e5372f73 ios: Add git default branch 2021-01-19 15:40:12 +01:00
4c7efdb2dc Move cloning logic to its own file
This has gotten very complex and needs to be properly tested. It's the
number 1 bug.
2021-01-19 15:40:08 +01:00
9946993364 shouldLogException: Handle all exception types
Fixes APP-SB
2021-01-18 23:47:03 +01:00
1a13173386 README: Center Align 2021-01-15 09:44:26 +01:00
e4e7a6d49c Add DO as a sponsor 2021-01-15 08:51:22 +01:00
821d6cac53 Bump minor version 2021-01-13 23:39:38 +01:00
53e9e9db29 Allow the remote main branch to give an error
In the case of empty repos.
2021-01-13 23:36:54 +01:00
eb2f4519a6 Make sorting case insensitive 2021-01-12 15:49:44 +01:00
6bf7aa6165 Merge pull request #381 from ModProg/better-contributing
Better Contributing Experience
2021-01-09 23:04:43 +01:00
7b2db20788 Better keystoreProperty handling:
Sets keystoreProperties to `local` if `keyAlias` is missing
=> no need to remove encrypted `key.properties` file
2021-01-09 22:29:10 +01:00
34ec098705 Adding Trouble Shooting section to BUILD.md:
* Build fails on project `git_bindings` with a `NullPointerException`

More consistent capitalization: Environment setup -> Environment Setup
2021-01-09 22:08:54 +01:00
58a645b6f7 Bump version 2020-12-27 21:55:43 +01:00
770cb4da68 Remove stupid code
I'm not sure what I was thinking when I wrote this. I guess it's good to
know that some users no longer have public or private keys since I
fucked up the migration.

Fixes APP-P7
2020-12-27 21:54:03 +01:00
e023bc7d45 Remove RSA keypair test
The dart rsa key gen doesn't seem to work with all installs, and this
test is very flakey anyway.
2020-12-27 11:05:15 +01:00
5375e6b2cd ListView: Last note should not be covered by the fab
Fixes #344
2020-12-27 11:03:13 +01:00
a2e8f629df Always sort the tags
Fixes #373
2020-12-27 11:00:20 +01:00
3b5a0d64e5 Settings Storage: Only the show error if required 2020-12-27 10:39:19 +01:00
1096cdbe45 Bump version 2020-12-27 10:37:25 +01:00
6af5975e30 Add another debug statement 2020-12-27 10:37:14 +01:00
2016793b97 NotesCache: Print logs of how many items are saved / loaded 2020-12-27 10:34:16 +01:00
bf812a8b95 Actually check if the remote is configured
I'm not sure how this went undetected for 2 months :(
2020-12-27 10:30:19 +01:00
c91a5950f6 Android Store External: Let the user to pick a directory 2020-12-27 10:20:09 +01:00
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