603b639640
ios: setSshKeys: Create the directory
2019-06-03 10:14:04 +02:00
b56aad7a48
ios: Do not log the private key
2019-06-03 10:13:45 +02:00
6c4c0a9a0d
ios: Commit xcsharedsharedata
...
It should apparently be committed.
https://stackoverflow.com/a/53039267/147435
2019-06-03 00:25:29 +02:00
24a5f9b78d
Let shouldEnableAnalytics not be implemented
...
It's currently not implemented in ios
2019-06-03 00:18:08 +02:00
fb2cbbf3ce
Decrease app boot time
...
We don't need to wait for all the futures, and some can be re-used.
2019-06-02 17:29:50 +02:00
e389829e2c
Fix flutter analyze
...
Proper type checking is awesome.
2019-06-02 17:20:40 +02:00
f3b73df119
Disable analytics in firebase test lab
...
I'm also keeping analytics disabled by default.
2019-06-02 17:12:22 +02:00
2bfd6ea199
setState may not be async
2019-06-02 15:58:57 +02:00
c79249cbe1
Dart: Give all functions explicit types
...
It makes the code easier to understand and this way the static type
checker will catch bugs for us.
2019-06-02 15:51:43 +02:00
bde0097068
Bump version
2019-06-02 15:29:17 +02:00
8b8bcc70a3
Android Bridge: Never send a response twice
...
Sometimes after responding with an error we would not stop, and also
return with a sucess after.
2019-06-02 15:27:16 +02:00
b5f5fdcd67
Log uncaught exceptions
...
They are already being sent to Crashalytics, but I would still like to
log them in the debug log. It makes debugging everything much easier.
2019-06-02 15:17:55 +02:00
8839540a5f
GitHostSetupScreen: Allow copying of the SSH Key
...
Also use functions with a specific type so the static type checker in
Dart can help us catch such errors in the future.
2019-06-02 15:16:04 +02:00
840ac30116
ios: Print the arguments in a prettier manner
2019-05-30 18:28:39 +02:00
0ad3040943
ios: First implementation of the entire bridge
...
Implemented almost all the functions required by GitJournal on the ios
side. This mostly works. It needs lots and lots of testing, though.
2019-05-30 18:08:39 +02:00
dbfe0bce5c
ios: Auto fix project warnings
2019-05-30 14:08:05 +02:00
b65ef34287
ios: Auto fix warnings for target
2019-05-30 14:06:28 +02:00
c513ef357c
ios: Make 'git init' actually work
...
Earlier it had a fake implementation, but now we're actually calling
'git init' from libgit2.
2019-05-30 13:58:55 +02:00
88499a45c2
Add a script to download the ios dependencies
...
We need libgit2 / libssh2 / openssl in order for our app.
2019-05-30 13:34:20 +02:00
aa99f0bada
ios: Add a simple test to check if libgit2 is working
2019-05-30 13:10:21 +02:00
0fc956ebdb
Rename install_ndk_libs -> download_ndk_libs
...
It's more descriptive
2019-05-30 12:24:30 +02:00
515186997c
Bump version
2019-05-29 18:09:17 +02:00
4ade7bf18d
Android: Try to setup crashlytics stack traces
2019-05-29 18:07:58 +02:00
3fd801b4a1
Fix "Value not in range: -1" error
...
Fixes #4
2019-05-29 17:34:47 +02:00
0cf647e1b6
cLib: Allow empty commits
...
Our empty commit check was faulty. If we had changes in the index
(deleted files), it would still give an entry count of 0;
Not sure how to fix this.
Also bumping to a new version, as without this note deletion is broken.
2019-05-29 16:48:35 +02:00
457db382cf
Bump version
2019-05-29 15:09:15 +02:00
9573c8e2d5
cLib: Pass on 'Invalid credentials' as an error
...
Instead of just the generic error message.
2019-05-29 15:08:02 +02:00
6b79e99047
Android: Improve error handling between cLib and NDK
2019-05-29 15:00:56 +02:00
258bd1dfb0
cLib: Minor cleanup
2019-05-29 14:59:02 +02:00
ce316d6811
Android: Stop using jsch
...
Instead use the c-lib for the ssh keygeneration. This should reduce our
APK size a little bit, but most importantly we'll be using the exact
same code for osx and android.
2019-05-29 14:57:55 +02:00
2bcd609776
keygen: Change file permissions in private key
...
They were too open, and maybe someone will complain as the normal 'ssh'
command line tool does complain.
2019-05-29 14:37:04 +02:00
2023f9cdaf
keygen: Improve error logs
2019-05-29 14:36:50 +02:00
6afb5fbaac
cLib: Forward openssl errors properly
2019-05-29 14:27:33 +02:00
c3d9d653f7
cLib: Move some common parts to common.c
2019-05-29 14:18:40 +02:00
8c7e479420
keygen: Improve error handling a bit
2019-05-29 14:13:54 +02:00
bf1544e2d9
cLib: Add a Dockerfile
...
This is an env which we can use to develop the c-lib and run the test
executable.
I need to compile libgit2 as the one in ubunutu is version 0.26 not 0.28
2019-05-29 14:13:33 +02:00
4c1ff7fc50
cLib: First implementation of gj_generate_ssh_keys
...
We're using openssl to do so. This was quite confusing.
This really helped https://stackoverflow.com/a/12750816/147435
2019-05-29 13:48:58 +02:00
d518b49623
Print out the settings
...
It's useful when analyzing the debug log from bug reports.
2019-05-29 11:14:21 +02:00
0dc75c4ff4
Serializers: Ignore empty yaml metadata
...
No point giving out a horrible stack trace in this case. This is clearly
not worth an "exception".
2019-05-29 11:03:58 +02:00
7a849ab108
git rm: Add some more logs
2019-05-28 14:50:48 +02:00
7bbf3941cd
Print the git url to the logs
...
It's useful for debugging users's issues.
2019-05-28 14:48:14 +02:00
13cfacfb2b
ios: Update .gitignore
...
Like in Android, We're storing all the extra libraries required in a
libs folder.
2019-05-27 23:02:13 +02:00
1fb5eb4e27
Add some basics docs about the QA process
...
These are just helpful notes for me
2019-05-27 23:01:28 +02:00
169b335083
ios: Use libssl in a simple test
...
This requires the libraries to be built into a framework using lipo.
Since none of this part is in the CI, it currently doesn't matter.
2019-05-27 17:12:57 +02:00
b7201ff3b4
Bump version number
2019-05-27 11:12:02 +02:00
acc231f11f
PageController currentIndex: Convert to int properly
...
It seems using toInt() truncates the number, and sometimes its value is
2.99999 instead of 3.
2019-05-27 11:12:01 +02:00
003b628131
ci: build with --verbose
2019-05-27 10:58:58 +02:00
ecd4993b14
cLib: Enable all warnings and treat them as errors
...
They are useful!
missing-field-initializiers has been disabled as libgit2's standard way
of initializing the options gives this error.
2019-05-27 10:57:55 +02:00
d6557fd988
cLib: Remove annoying debug logs
...
Not really required any more
2019-05-27 10:42:52 +02:00
6b518b6bf8
Fix invalid use of __android_log_print
...
This should fix #4
2019-05-27 10:41:05 +02:00