Gabriel Horner
89ba13d5ac
Fix multiple issues with global config
...
- global config saved outside the app errored and had no effect on config
- global config saved in app, saved invalid state and invalid file
- removed outdated global error handling on alter-file
- Also fix validations for repo config
2023-03-28 09:14:42 +08:00
Gabriel Horner
07c27b0f59
Fix lint and other minor fixes
...
- Rename is-file-url to reflect boolean return val
- Remove unused 3rd arg for set-config!
2023-03-28 09:14:42 +08:00
Gabriel Horner
94f35bda18
Add a workflow for test+lint and misc fixes
...
- Setup cljs tests
- No need for :no-doc
- No need to bind an unused _repo value
- Remove unused datascript dep
2023-03-28 09:14:42 +08:00
Andelf
e803e2d576
fix(sync): use fs2
2023-03-28 09:14:42 +08:00
Andelf
a555dac245
fix(sync): wrong graph-dir name
2023-03-28 09:14:42 +08:00
Andelf
c061c0bd87
fix(editor): reload custom.css requires db file
2023-03-28 09:14:42 +08:00
Tienson Qin
70a4870ca4
fix: custom.css can't be saved
2023-03-28 09:14:42 +08:00
Tienson Qin
35e8bdf8ef
fix: get-files should return a collection of files on electron
2023-03-28 09:14:42 +08:00
Andelf
6e9fec448b
fix(test): close notification before start
2023-03-28 09:14:42 +08:00
Andelf
783c6f1737
fix(fs): missing create default files
2023-03-28 09:14:42 +08:00
Andelf
fdeb0775f0
fix(fs): mock dir handling, fix e2e tests
2023-03-28 09:14:42 +08:00
Andelf
9637c464eb
fix(config): global config validation
2023-03-28 09:14:42 +08:00
Andelf
da975da3da
fix(test): unit tests fail
2023-03-28 09:14:42 +08:00
Andelf
2ad52eab3e
fix(fs): file editing on windows
2023-03-28 09:14:42 +08:00
Andelf
94b27014dd
fix(fs): asset path on windows
2023-03-28 09:14:42 +08:00
Andelf
3c1c338cdb
fix(fs/nfs): wrong rename impl
2023-03-28 09:14:42 +08:00
Andelf
ee41048053
fix(fs): asset url of non-ex page
2023-03-28 09:14:42 +08:00
Andelf
97b534301b
fix(fs): file editing in nfs
2023-03-28 09:14:42 +08:00
Andelf
f6961b4b1c
fix(watcher): handle init load error
2023-03-28 09:14:42 +08:00
Andelf
72a290d21c
fix(electron): initial warning of local dir
2023-03-28 09:14:42 +08:00
Andelf
669f082632
fix(mobile): ios app doc dir switch
2023-03-28 09:14:42 +08:00
Andelf
83ebd53a6f
refactor(fs): use full path when renaming
2023-03-28 09:14:42 +08:00
Andelf
3338263088
fix(editor): wrong file editing save condition
2023-03-28 09:14:42 +08:00
Andelf
7737053ce1
enhance(editor): use relative path when editing files
2023-03-28 09:14:42 +08:00
Andelf
c79c352e08
fix(fs/mobile): ios fs and loading fix
2023-03-28 09:14:42 +08:00
Andelf
f1404fd537
fix(fs): avoid nil repo on ios
2023-03-28 09:14:42 +08:00
Andelf
a051ded28e
refactor(fs): handle global config as state, not in db
2023-03-28 09:14:42 +08:00
Andelf
98f4236309
fix(fs): global file writing in code editor
2023-03-28 09:14:42 +08:00
Andelf
3c0973013b
refactor(fs): mv fs2 logic to logseq.common pkg
2023-03-28 09:14:42 +08:00
Andelf
1cd7f89cd9
refactor(fs): handle global file write
2023-03-28 09:14:42 +08:00
Andelf
e4c37b7089
refactor(fs): re-impl rename for nfs
2023-03-28 09:14:42 +08:00
Andelf
d7fc1d785e
fix(fs): fix custom.js path calc
2023-03-28 09:14:42 +08:00
Andelf
820686cd38
fix(fs): re-impl deletion for nfs
2023-03-28 09:14:42 +08:00
Andelf
41f09c162e
fix(fs): refine init fs-watcher
2023-03-28 09:14:42 +08:00
Andelf
d9e0534c7f
fix(fs): refine path-join
2023-03-28 09:14:42 +08:00
Andelf
7cad990fa1
refactor(fs): avoid misleading variable names
2023-03-28 09:14:42 +08:00
Andelf
abf7d55c7c
refactor(fs): rm redundent return date from fs protocol
...
fix(fs): asset url loading under nfs backend
2023-03-28 09:14:42 +08:00
Andelf
a38e40bf86
refactor(fs): rm callback usage from fs protocol
2023-03-28 09:14:42 +08:00
Andelf
c3daeae6eb
refactor(fs): re-impl refresh and re-index on nfs backend
2023-03-28 09:14:42 +08:00
Andelf
f39be3edac
refactor(fs): minor code cleanup
2023-03-28 09:14:42 +08:00
Andelf
b255ca030a
refactor(fs): rewrite nfs implementation
...
- avoid op before granted, using await-permission-granted
2023-03-28 09:14:42 +08:00
Andelf
1b3c22a735
fix(fs): contents file creation
2023-03-28 09:14:42 +08:00
Andelf
babb2b1d84
refactor(fs): refine stat fn of Fs protocol
2023-03-28 09:14:42 +08:00
Andelf
c196d1e026
fix(watcher): demo graph init watcher event
2023-03-28 09:14:42 +08:00
Andelf
e95d73059b
refactor(fs): refactor bfs to memory-fs, add memory:// support
2023-03-28 09:14:42 +08:00
Andelf
43f9fa33b0
refactor(fs): open-dir now returns map instead of vec
2023-03-28 09:14:42 +08:00
Andelf
6082663f4c
fix(electron): assets:// url handling
2023-03-28 09:14:42 +08:00
Andelf
d666a6d35a
refactor(fs): rework on electron fs
2023-03-28 09:14:42 +08:00
Andelf
50585d215f
fix(fs): handle parsing state of empty folder
2023-03-28 09:14:42 +08:00
Andelf
8ed5b983b5
refactor(fs): unused mobile fs fn
2023-03-28 09:14:42 +08:00