2647 Commits

Author SHA1 Message Date
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
bfa7dd4bcb Add AppImageBuilder
This builds an AppImage which seems to work, but crashes on closing it.
2021-07-23 02:44:00 +02:00
2b3c3d3e24 Bump minor version 2021-07-21 12:32:44 +02:00
373a201597 Fix search delegate 2021-07-21 12:32:25 +02:00
154f7d2aa1 Linux: Rename app to GitJournal from "journal" 2021-07-19 15:46:31 +02:00
b3d6e0421d Add linux platform
A basic version seems to run okay on Linux.
2021-07-19 15:35:31 +02:00
2cad314a4a Replace package_info with package_info_plus
The former is deprecated, and this one supports more platforms.
2021-07-19 15:32:15 +02:00
c0613c6185 Bump major version 2021-07-16 12:54:11 +02:00
f1182f3abf GitHub API: Allow strings to be missing
The GitHub apis is changing
2021-07-14 18:49:31 +02:00
b027d6da6a Setup: Assign the userInfo properly 2021-07-14 18:49:01 +02:00
59b622dd34 NotesFolderConfig: Remove from/toFS functions
Adding a new setting is becoming a major pain, and since this isn't even
being used right now, I may as well delete it.
2021-07-14 17:23:42 +02:00
09cf55bc80 Add a failing test for Dendron Frontmatter
This is trickier to implement than I thought.
2021-07-14 12:24:46 +02:00
84b41e8e95 Minor cleanup 2021-07-14 11:30:48 +02:00
2e7c4ff4ae Allow "updated" to be used for the modified key
Related to #525
2021-07-14 11:29:03 +02:00
8871d37f85 FolderView: Add ScrollBar and RefreshIndicator
The scrollbar isn't perfectly placed, but it will have to do for now.
2021-07-14 10:55:27 +02:00
7877088b4e macos: Experiments in swift to call the method channel
I clearly don't know swift at all
2021-07-14 10:30:30 +02:00
6abee38adf Remove unused header 2021-07-14 10:30:18 +02:00
a148b6ebd2 FolderView: Fix scrolling inkwell animation 2021-07-14 10:25:16 +02:00
904790de73 FolderView: Remove refresh indicator
Lets just wait for this to be properly implemented in Flutter instead of
hacking around it.

https://github.com/flutter/flutter/issues/54272
2021-07-14 10:05:47 +02:00
825f3917c9 FolderView: Pass correct context 2021-07-14 09:57:12 +02:00
7f8caf8e17 FolderViews: Hide the AppBar when scrolling
This breaks a number of other things, but this commit was becoming
messy.
2021-07-14 09:52:43 +02:00
0d1cfa30bf Move FolderView class with the other views
It's easier to manage when all the code is in one place.
2021-07-13 18:32:06 +02:00
d9911f6fea settings: minor cleanup 2021-07-13 18:20:19 +02:00
7b93cfb919 MarkdownToolbar: make it always indent the start of the line 2021-07-13 18:16:31 +02:00
cd754e52b5 setup desktop: Get the remote's default branch
Instead of guessing
2021-07-13 17:55:43 +02:00
4e1df9bc31 Use dart-git's merge when cloning 2021-07-08 10:06:56 +02:00
63c8f4a00a Transformers: Consmetic changes 2021-07-07 23:48:26 +02:00
36f769c79c SSH Keys: Change label to indicate its the password for the private key
Some users have gotten confused that it is the account password.
2021-07-07 23:47:29 +02:00
ea2e0f8df2 macos: Call the git exec for fetching / pushing
This doesn't work for keys which have passwords, but otherwise it seems
to work great.
2021-07-07 23:46:00 +02:00
a34d10e703 macos: Change name to GitJournal
It was just "journal" before.
2021-07-07 22:49:10 +02:00
d0e6a754bd macos: Handle gitjournal urls
The app doesn't react to them as I haven't setup the handlers, and after
trying for so long, I now somewhat giveup. But this is at least a start.
2021-07-07 22:39:16 +02:00
8451580d4e macos: Update podfile 2021-07-07 19:11:38 +02:00
47415a7aa4 Bump bugfix version
In order to fix the ios build
2021-07-07 18:23:23 +02:00
462279fef7 Markdown Toolbar: Add tab/backtab on long press of > or < 2021-07-07 18:18:23 +02:00
fe1f28717b Note: Remove unused method 2021-07-07 17:12:42 +02:00
3e2e31d3bb BottomBar: Use widgets instead of functions
Improves performance
2021-07-07 16:55:35 +02:00
770b37430f Add fs_shim as an experiment
I want to avoid using the fs directly, as that way a web version of
GitJournal can be created.
2021-07-07 16:47:14 +02:00
f5ffebed8b Sort by the file last modified when modified metadata is missing
The modified isn't always accurate as git doesn't set it, but it's still
better than nothing. I thought I was using it before.

Fixes #172
2021-07-07 16:33:31 +02:00
d07acac53f Use device_info_plus instead of device_info
It now contains the toMap functions, so we can delete a lot of code.
2021-07-07 16:29:08 +02:00
48cbee8d71 ios ci: Revert changes
The build uploads fine, but I get a login failure after that. I'm tired
and don't want to debug this anymore.
2021-07-06 10:40:21 +02:00
6b62d7d522 Bump bugfix version 2021-07-02 23:46:13 +02:00
0b966623af Experimental: Change the correct setting
Related to #241
2021-07-02 23:30:32 +02:00
d51a3358b8 ios ci: Run the tests
I don't want to publish a build which fails the tests
2021-07-02 19:10:10 +02:00
ea4c055fbd ios ci: Notify external testers 2021-07-02 19:09:52 +02:00
806b1e9306 ios fastlane: Auto add changelog
I'm hoping this will make it easier for the testers
2021-07-02 18:59:18 +02:00