Commit Graph

142 Commits

Author SHA1 Message Date
Tienson Qin
a6f83c2445 Move worker.util fns to common.util 2024-01-03 17:08:24 +08:00
Tienson Qin
b7d9098e80 Move gp-util and gp-config to the common dep 2024-01-03 16:38:05 +08:00
Gabriel Horner
4fd0b65639 bump nbb-logseq to use datascript with dirty flag fix 2024-01-02 17:07:11 -05:00
Gabriel Horner
d4f438f228 bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00
Gabriel Horner
52f7afa18f bump nbb-logseq to latest datascript with another storage delete fix
part of LOG-2974
2023-12-19 13:42:13 -05:00
Gabriel Horner
de3d82baba bump to latest nbb-logseq with datascript.storage delete fix 2023-12-18 11:10:59 -05:00
Gabriel Horner
0f4cdbbadf bump outdated nbb-logseq and fix lint 2023-12-11 15:55:38 -05:00
Gabriel Horner
e0901b9d04 bump nbb-logseq to first version
that works for forked datascript. Deps tests pass locally
without needing to rely on local builds
2023-12-11 13:52:15 -05:00
Tienson Qin
ed06991f46 fix: remove :pdf from allowed formats 2023-12-06 17:39:31 +08:00
Tienson Qin
17f10edb39 fix: ignore binary files and other formats from watcher 2023-12-06 17:39:31 +08:00
Gabriel Horner
6517f6f12a Merge branch 'master' into feat/db 2023-11-29 09:56:12 -05:00
Andelf
68bae90039 test(fs): add unittests for new fn 2023-11-28 02:39:52 +08:00
Andelf
3069f5d7e3 fix(fs): path-join testcase 2023-11-28 02:39:52 +08:00
Andelf
61a3c19176 fix(fs): windows unc path support 2023-11-28 02:39:52 +08:00
Gabriel Horner
211dd6aea7 enhance: disable preferred-format and setting org-mode
for db graphs. Also deprecate in config
2023-10-24 17:15:05 -04:00
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