2691 Commits

Author SHA1 Message Date
ad76dabcfb Experiment with serving shared preferences over grpc
The idea is that for GitJournal's web version, we can have it talking
with the mobile version which runs a grpc server. All of the git + fs
logic will still run in the mobile and the web version will only have
the UI.
2021-07-29 14:33:00 +02:00
a7869612b3 Show 'beta' banner on Desktop 2021-07-29 12:55:21 +02:00
e946c87229 Remove unused class 2021-07-29 12:53:38 +02:00
c6665fa63e Simplify Settings/Config classes 2021-07-29 12:45:33 +02:00
c66eaf1052 NotesFolderConfig: Read directly from the SharedPref
It's super annoying that we have this class which reading from the
settings, so adding any new value involves updating some 12 new things.
2021-07-27 16:33:16 +02:00
11e59e756c Fix flutter analyze 2021-07-27 14:09:09 +02:00
5d1bc71b06 Linux CI: Give an error in the AppImage could not be uploaded 2021-07-27 13:55:17 +02:00
3c39ad337b AppImageBuilder: Set the correct path 2021-07-27 13:44:31 +02:00
37cfb45dd7 CI: Try building linux desktop app 2021-07-27 13:38:13 +02:00
73d6c89468 CloningStory: Add fake data
It's not yet being used, but with this I'll be able to work on this
screen more easily.
2021-07-27 11:20:00 +02:00
63cb4f10c1 Split GitHostCloningPage into its own file 2021-07-27 10:58:58 +02:00
4811259940 GitTransferProgress: parsing checks 2021-07-27 10:58:22 +02:00
5f1e4cb8ea AppImageBuilder: Add debian sources
This is going to be built in the docker container which is based on
debian
2021-07-27 03:21:38 +02:00
16895adf94 filename editor 2021-07-26 22:04:42 +02:00
9328712de2 Settings: simplify 2021-07-26 22:04:40 +02:00
7fa67497bb Split Settings into StorageConfig 2021-07-26 21:53:44 +02:00
b2e08550bb Add GitConfig
This makes the Settings class smaller.
2021-07-26 20:18:22 +02:00
b08c4436b7 MarkdownRendererSettings -> MarkdownRendererConfig
I'm going to call all the classes which hold the settings/configuration
by Config. The screens can be called settings.
2021-07-26 20:06:11 +02:00
70adcb2e5d Card/GridView: Add hero animation 2021-07-26 18:57:24 +02:00
eca8bea239 Avoid modifying the note's state if not required 2021-07-26 18:55:51 +02:00
e86c5471c9 Add a basic script to build on linux 2021-07-26 18:32:31 +02:00
e3526b4911 Minor refactoring 2021-07-26 16:51:58 +02:00
d9ad163780 io ci: Always mark is as passing
I'm giving up fixing these fastlane issues.
2021-07-26 16:45:08 +02:00
e3aa42ec55 Bump minor version 2021-07-26 16:19:29 +02:00
95f6bceebc Split Settings into MarkdownRendererSettings
We don't need one huge monolight of all the settings.
2021-07-26 16:19:05 +02:00
a090a38991 Settings: Move SharedPref logic out of this class
Makes it simpler. It'll also let us use this logic in other places more
easily.
2021-07-26 14:23:17 +02:00
3da73a15cd Desktop: Detect no default branch 2021-07-25 11:44:49 +02:00
23541f7466 Sync: Allow the merge to fail 2021-07-25 11:44:28 +02:00
1161449ea4 CloneSetup: Log the stackTrace 2021-07-25 11:27:29 +02:00
24ea08a7fb SetupCloneUrl: Disable autocorrect
We are entering a URL, the autocorrect is super annoying.
2021-07-25 11:25:48 +02:00
0a36720b5a ios: Update podfile.lock 2021-07-25 11:25:25 +02:00
9dadbb577f Bump dart-git 2021-07-25 11:25:09 +02:00
b44a33e14e clone: Catch errors in checkout 2021-07-25 10:14:33 +02:00
af83a70bf4 Setup: Top left arrow button should go back
It's extremely irritating that it closes setup.
2021-07-25 09:52:14 +02:00
dff717eb9a setup clone: put back old code for guessing the remote head
I don't think this is required, but I need to make another point
release, and I rather not have any modifications than what was
previously there.
2021-07-24 12:17:27 +02:00
1e07fecfef ios ci: try again 2021-07-23 17:30:55 +02:00
e0bdccf6e2 ios ci: update fastlane in the build step
bundler seems to fail otherwise
2021-07-23 17:09:03 +02:00
7a5402a5e0 ios ci: Use the latest fastlane
Hopefully this will fix the ci.
2021-07-23 16:45:33 +02:00
d9ce74e249 setup clone: Simplify code
This way we can avoid the extra try/catch block
2021-07-23 16:37:52 +02:00
507f485e0f Bump minor version
So the ios ci doesn't fail
2021-07-23 16:19:05 +02:00
020b467573 the stupid generated file has analyzer problems 2021-07-23 15:51:05 +02:00
109f42ee9b Add basic web scaffolding 2021-07-23 15:38:54 +02:00
796f7190ba clone: Remove remote on fail
This way the repo isn't left in an invalid state.
2021-07-23 15:18:25 +02:00
44666ea6f2 git desktop: Fix permissions on the key 2021-07-23 15:18:25 +02:00
9597f35a44 clone: Split into multiple files and make it more pluggable
This way I can more easily choose if I want to use libgit2 or the git
executable or whatever. It's being done so that one can wrtie automated
tests for this cloneRemote function.

There are still some users for whom this doesn't work, and after so so
many iterations, it's time to write tests. This is just way too complex
for me without tests.
2021-07-23 15:18:25 +02:00
12577aa3bc macos: Update podfile 2021-07-23 15:18:25 +02:00
0ea8da0d44 Remove a few more cases of dart:io usage
I want to abstract out all uses of File and Directory. The sooner I can
do that the sooner I can use it on the web.
2021-07-23 15:18:25 +02:00
0099d09ae4 Update macos autogen code 2021-07-23 15:18:18 +02:00
09026fc59e Add support for getting clone progress from git_bindings
This is hacky, and we're getting it through a file. Right now we aren't
doing anything with the progress, we're just fetching it.
2021-07-23 12:48:48 +02:00
e95cc42995 AppImageBuilder improve
Adapted from https://github.com/AppImageCrafters/appimage-builder-flutter-example
2021-07-23 03:12:11 +02:00