Gabriel Horner
36edf87db3
Move config.edn template to a library
...
so it can be used outside Electron e.g. when creating graphs from CLI.
Put a symlink in the old templates/config.edn location to make new
location easier to find but it's not needed for anything to work
2023-09-08 13:52:45 -04:00
Gabriel Horner
41bd76a704
Merge branch 'master' into feat/db
2023-09-07 17:52:25 -04:00
Andelf
5058f599e3
enhance(fs): check graph folder for bad name and nested graph
2023-09-04 17:44:43 +08:00
Gabriel Horner
7d46784c40
Fix: common lint
2023-06-27 16:44:41 -04:00
Tienson Qin
b0a5a9d3fc
fix: each graph has its own directory
2023-06-26 14:13:48 +08:00
Gabriel Horner
3f1d32dd6c
Update clj-kondo and bb-tasks for deps projects
2023-06-13 14:48:50 +08:00
Gabriel Horner
51a23934a4
Fix parse-graph not ignoring correctly for relative dir
...
parse-graph now returns absolute file paths
2023-05-19 21:49:58 -04:00
Gabriel Horner
47508ac2ac
Add :hidden config support to graph-parser.cli
...
Also fix lints and tests from previous commits
2023-05-18 23:25:15 +08:00
Gabriel Horner
c86fd3cd4d
Add standard lint tasks to common lib
2023-05-18 23:25:15 +08:00
Gabriel Horner
91beda09d5
Split out graph fns and reuse them b/n gp-cli and electron
...
Also added test
2023-05-18 23:25:15 +08:00
Andelf
51201124ff
fix(fs): add unicode normalize to path-fn
...
This is a catch-all type fix
2023-05-18 12:24:18 +08:00
Andelf
880ea8b00e
test(fs): simple test for protocol-url
2023-04-27 14:30:46 -04:00
Andelf
0c91829365
fix(editor): handle protocol urls
...
Related: #9243
2023-04-27 14:30:46 -04:00
Gabriel Horner
06fa65861f
Minor clean up and help with feedback
...
- basic clj-kondo config and cleanup unused binding
- Add some unit tests
- Add a basic readme
2023-03-28 09:14:42 +08:00
Andelf
d26622872e
chore: address comments
2023-03-28 09:14:42 +08:00
Andelf
d5d3857466
refactor(migration): add file/path migration
2023-03-28 09:14:42 +08:00
Andelf
62b4f0a253
refactor(fs): simplify path/absolute?
2023-03-28 09:14:42 +08:00
Tienson Qin
c1e8d6ed8e
refactor: path/absolute?
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
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
72a290d21c
fix(electron): initial warning of local dir
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
3c0973013b
refactor(fs): mv fs2 logic to logseq.common pkg
2023-03-28 09:14:42 +08:00