2747 Commits

Author SHA1 Message Date
3e91e7d734 note: Try to use Result class
This is useless as the error handling isn't really taken into account
across the code base.
2021-06-25 09:01:07 +02:00
8980d46c3e macos: Add app category 2021-06-25 08:57:47 +02:00
da8c7e51c5 setup: Make the check more resilient
ed25519 keys start with the ssh-ed25519 prefix. Okay, this mechanism
sucks. I should just figure out how to parse the keys.

Related to #516
2021-06-19 15:31:04 +02:00
1b23cb4da9 Setup: Allow ecdsa keys to be entered
Fixes #516
2021-06-19 15:24:07 +02:00
13c64d74f5 Update changelog 2021-06-19 12:38:37 +02:00
cb908f6da0 Remove unused file
I've given up generating the rsa key in dart. At some point I'll manage
to use ECC, and that's about it.
2021-06-19 12:33:40 +02:00
7c4347591e sort imports 2021-06-19 12:28:20 +02:00
9aaded7608 Always enable pro mode in the desktop 2021-06-19 12:28:14 +02:00
85fc5ac24d SetupScreens: Show the back button
Only Android has their own back button
2021-06-19 01:42:52 +02:00
17c9413efb Use ssh-keygen to generate the ssh keys
At some point I'll figure out how to do this with Dart only code, but
till then lets just call the process.

GitJournal can also no longer run in a sandbox as it needs to access the
ssh-keygen executable.
2021-06-19 01:42:51 +02:00
2f59196596 Bump version 2021-06-19 01:42:50 +02:00
1515e058f4 Properly call step2 instead of step1 (#514)
Fixed #514
2021-06-19 00:07:24 +02:00
bd0b2a235e enhancement: Adding treatment of HardWraps. (#511)
Fixes #511
2021-06-18 14:55:01 +02:00
738246ba95 CloneUrl: Relicense to Apache2
There is pull request.
2021-06-18 14:36:49 +02:00
beb0c64d85 License a file to Apache2 2021-06-17 16:42:11 +02:00
408c40b3af GitHostApis: Use Result class
Instead of throwing exceptions. There are so so many edge cases which
are failing.
2021-06-12 14:27:33 +02:00
bec866ed69 Add more languages to list of supported languages 2021-06-11 10:33:50 +02:00
a3d5690fad Fix quick actions and Share to 2021-06-11 10:29:25 +02:00
b4dbf58968 proofread, fixed incorrect spelling. 2021-06-11 10:26:52 +02:00
8628cb6e8a Add Localization for JP and Resource Added.
Commit once, to check in Mac.
2021-06-11 10:26:52 +02:00
5436003b29 CI: Please work! 2021-06-10 22:26:22 +02:00
326568ac74 android: Remove google services
No longer requires as we aren't using Firebase
2021-06-10 22:08:47 +02:00
98956e3bb3 CI: What the hell is wrong with you! 2021-06-10 21:28:23 +02:00
528dfe1c08 Result++
Now comes the hard part of figuring out what to do when we get such
errors.
2021-06-10 19:51:27 +02:00
20c2277008 GitRepo: Minor refactor
Start using the Result class, and use the git_bindings with a prefix.
The git bindings are being phased out for dart-git.
2021-06-10 13:32:34 +02:00
a3c539bf1f MdYamlDocLoader: Use Result
Instead of annoying exceptions.
2021-06-10 03:33:35 +02:00
2cc379231c RepoSelector: Do not have "journal" typed
It is confusing, since the keyboard isn't even given an indication.
It does make this entire thing a bit more difficult though.
2021-06-09 16:37:33 +02:00
986918bfbe App: minor refactor
This allows me to reuse parts of the app global variable initialization
in other parts of the code.
2021-06-09 16:36:49 +02:00
0d2e0430d2 Monarch: Add repo selector 2021-06-09 15:51:39 +02:00
281ea31277 Monarch: Add most of the host setup screens
I've also renamed all the host setup screens with "Page" in the end.
This way it's more obvious.
2021-06-09 12:08:27 +02:00
2bd8f18205 Monarch: Add OnBoardingScreen stories 2021-06-09 11:33:35 +02:00
3f7a5a213e keygen: Fix missing stuff
Improper commit
2021-06-09 11:26:19 +02:00
d57e62eaf0 ECC: Second attempt at encoding the public string 2021-06-08 00:04:55 +02:00
3a5aa38ddf Experiment: Try to generate ECC keys in Dart
I'm stuck at how to convert them between two formats.
2021-06-07 23:43:26 +02:00
60af2e9ffb Update .gitignore 2021-06-07 14:06:32 +02:00
a51253d6f3 Remove remaining traces of firebase
It's so nice to finally get rid of this shit.
2021-06-07 14:05:14 +02:00
17dd93451f Remove firebase analytics
Sadly, even when firebase analytics is disabled, it still sends some
data to Google's servers and there seems to be no way to disable it.
GitJournal gives its users an option to disable all analytics, which
clearly can't be implemented as long as we use Firebase.

Therefore there are 2 options -
1. Remove the option of disabling all analytics
2. Remove firebase analytics.

I'm choosing option (2), as it seems wrong to remove the option to
disable analytics, as I know a number of users who have disabled
analytics.

Currently I'm mostly using analytics to measure how well the marketting
is doing, and to see which settings are being used. Disabling the
analytics would make this much much harder, but I guess it's a greater
push for me to find an alternative / create one.

Fixes #506
Related to #105
2021-06-07 12:21:41 +02:00
47ec7ebf2b CI: Move pub get to its own stage
It seems to fail sometimes
2021-06-06 10:48:38 +02:00
8db5294a6c Bump dart-git 2021-06-06 10:42:58 +02:00
b69de2b312 CI: Run flutter analyze again 2021-06-06 10:40:36 +02:00
25c386b2ba Stop using deprecated methods 2021-06-06 10:39:40 +02:00
13ca274db1 CI: Avoid running juint
I'm trying to figure out why the tests are taking forever ..
2021-06-06 10:14:34 +02:00
bd88b8e394 Disable ssaid collection
Not sure why I never disabled this before. Maybe it's new.
2021-06-06 10:04:06 +02:00
c9bd6b102d CI: Enable sound null safety 2021-06-06 10:00:47 +02:00
cce1f787d3 Don't even touch the firebase code if analytics are disabled
The anlaytics fuctions do not do anything when analytics collection is
disabled, and I've verified that I do not get any events in the firebase
dashboard.

However, to be on the safer side lets not even touch the code.

Related to #506
2021-06-06 09:53:24 +02:00
88e57bb705 Add 'colorScheme' to the themes
This way there are no blue colours anymore, and the themes are kind of
better.
2021-06-06 01:29:30 +02:00
82b513b3ed Add missing await 2021-06-06 01:11:43 +02:00
2fc192580a Update changelog 2021-06-05 14:21:31 +02:00
cca40de706 Bump dart-git
Since dart-git's API has completely changed, this is a huge change. And
it's now obvious where all the code can fail. This needs a massive
re-write.
2021-06-05 13:39:46 +02:00
76126aa813 Hide output from logger test 2021-06-05 12:43:23 +02:00