1
0
mirror of https://github.com/GitJournal/GitJournal.git synced 2025-08-20 05:52:10 +08:00
Commit Graph

2713 Commits

Author SHA1 Message Date
c81e539a76 StripMarkdownFormatting: Only consider '* ' as lists
If we let the space be optional then this picks up bold/italics as well.
Ideally, the stripMarkdown formatting could be made smarter, but I would
prefer to just rid of it in the future, and use the proper markdown
parser.

The only thing that is stopping me right now is performance. So in the
future when the stripped version is cached, this should be fine.

Fixes 
2021-08-02 11:12:54 +02:00
ba566f5fbe MarkdownToolbar: Make it scrollable horizontally
This way it will still show properly on really really narrow screens.

Fixes 
2021-08-02 11:05:43 +02:00
1ac0627f13 MarkdownToolbar: Make it work for selected text
Fixes 
2021-08-02 10:40:27 +02:00
60ca4a6a9d Fix flutter analyze issue 2021-07-31 18:33:53 +02:00
c1ce37ca24 Bump some deps 2021-07-31 18:07:41 +02:00
4606268a2c InlineTagProcessor: Add a test for ignoring tags in code blocks
Skipping it for now since it fails

Related to 
2021-07-31 17:22:41 +02:00
b7af4604df LinksLoader: Use LineSplitter
Far more efficient
2021-07-31 17:20:01 +02:00
a181cd9e20 Add a markdown TextVisitor class
This is going to be used to parse the tags from a markdown document
while ignoring the text inside a code block
2021-07-31 17:18:46 +02:00
3ef7f65b33 SortingMode: Handle cases where one fileLastModified is null
This is a mess. The entire Note class needs to be split up, and the file
last modified should never be null.
2021-07-31 14:59:23 +02:00
32ddd080b2 Add a fake debug screen
It's easier to work on it this way
2021-07-30 14:58:55 +02:00
3a71cca202 Move logging code to its own folder 2021-07-30 14:39:13 +02:00
79b74d0d77 Show progress on the cloning page
Fixes 
2021-07-30 12:57:35 +02:00
471669e20b Add another dashbook experiment
This is being use to test out the cloning screen. It runs on Flutter
Web!
2021-07-30 12:57:35 +02:00
938a4c27e8 Rever dart:io change for setup script 2021-07-30 12:11:33 +02:00
2505d00dfb Replace dart:io with universal_io
Platform from dart:io cannot be used on the web for reasons. And this
way we get a fake File/Directory class which we can use for atleast
running the web version, even if it won't work.
2021-07-30 11:39:26 +02:00
72e9de29de Move editor related code into its folder
I'm trying to separate the code based on the domain so that this code
can be easily reused in other projects
2021-07-30 11:12:00 +02:00
009ec48a8c One less use of dart:io
dart:io cannot be used in the web
2021-07-30 11:03:36 +02:00
3bc617ab97 Hide "Rate App" from App sidebar on the desktop
It's only supported on ios and Android.
2021-07-29 23:01:24 +02:00
bb3afd92cf Settings: Minor cleanup 2021-07-29 18:14:52 +02:00
e929e8933e Experiment more with grpc
Seems to be going well.
2021-07-29 18:03:59 +02:00
0b16329e9a Remove unused script 2021-07-29 17:37:53 +02:00
07763226df Stop using deprecated packages 2021-07-29 14:39:23 +02:00
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