Tienson Qin
1536d9aff5
fix: regression of unwanted tag pages are created as you type
...
Fixes LOG-2820
2024-01-25 06:47:36 +08:00
Tienson Qin
a64f49dc6f
Remove :block/marker and :block/priority from tx-data
2024-01-24 16:38:09 +08:00
Gabriel Horner
77bc1d5d6b
chore: update better-sqlite3 and mldoc in deps to match app
2024-01-23 11:36:32 -05:00
Gabriel Horner
689cf34cc3
fix: lints and a test
...
nbb test was failing b/c outliner had graph-parser as a dependency
but we hadn't manually added the npm dependency
2024-01-23 09:38:16 -05:00
Tienson Qin
575624c650
chore: revert inline tags
2024-01-23 21:45:54 +08:00
Gabriel Horner
c9ba357a90
fix multiple lints
2024-01-22 09:17:38 -05:00
Tienson Qin
036f1b5ab7
feat: /todo/other-status and /urgent/other-priority to set property
2024-01-19 02:36:23 +08:00
Gabriel Horner
34222b3436
chore: bump nbb-logseq that points to upstream nbb
2024-01-15 18:07:49 -05:00
Gabriel Horner
ca020fcdb3
fix: loading all new deps namespaces in nbb
...
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
Gabriel Horner
951e7cc841
fix: ns-docstring and large-var deps lints
...
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
Gabriel Horner
cdddce0120
fix deps db test and most lints
...
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -05:00
Gabriel Horner
a81e18e9a6
fix: update nbb-logseq and make entity-plus nbb compatible
...
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Tienson Qin
6173879ca0
fix: test
2024-01-12 00:41:03 +08:00
Tienson Qin
a9074f74f4
fix: outdent
2024-01-11 23:43:23 +08:00
Tienson Qin
a81229576d
fix: group transactions
2024-01-11 20:18:40 +08:00
Tienson Qin
baefeaad5b
fix: use page-handler/<create! if possible
2024-01-11 00:54:19 +08:00
Tienson Qin
5cad97c617
feat: returns a deferred promise for logseq.db/transact!
...
This enables callers to wait for the result.
2024-01-10 20:23:11 +08:00
Tienson Qin
9ee04feeb5
Merge branch 'feat/db' into refactor/pipeline-worker
2024-01-10 16:13:56 +08:00
Tienson Qin
2d245295a7
fix: outliner core tests
2024-01-10 04:15:09 +08:00
Tienson Qin
7f0747ca9f
start fix lint warnings and tests
2024-01-10 01:00:17 +08:00
Tienson Qin
767827e415
fix: writes don't saved to md files
2024-01-09 19:08:12 +08:00
Tienson Qin
38ba0dfa7c
Move entity plus to db dep
2024-01-08 15:35:09 +08:00
Tienson Qin
fa2892cef6
use ldb/transact! instead of d/transact!
2024-01-05 06:42:10 +08:00
Tienson Qin
9194a671fd
Move outliner core to its own dep
2024-01-03 18:02:48 +08:00
Tienson Qin
292ba1b0b6
Remove state dependency for outliner.core
2024-01-03 15:42:58 +08:00
Gabriel Horner
4fd0b65639
bump nbb-logseq to use datascript with dirty flag fix
2024-01-02 17:07:11 -05:00
Tienson Qin
e579f668eb
wip: remove dependency on frontend.db for outliner core
2024-01-02 23:23:49 +08:00
Tienson Qin
48b5593008
wip: outliner refactor
2024-01-02 18:07:17 +08:00
Tienson Qin
eb679bd941
wip: file worker
2023-12-28 17:32:43 +08:00
Tienson Qin
dda11a33a7
Move outliner tree to the outliner dep
2023-12-27 02:53:00 +08:00
Tienson Qin
5b13fe6df4
perf: reduce disk writes
2023-12-27 00:06:39 +08:00
Tienson Qin
90ed070104
bump datascript
2023-12-22 18:04:33 +08:00
Gabriel Horner
d4f438f228
bump nbb-logseq for latest datascript
2023-12-21 13:00:44 -05:00
Tienson Qin
d39f2b6a36
fix: release bug
2023-12-21 20:44:49 +08:00
Tienson Qin
8f7c496ab4
chore: bump datascript
2023-12-21 19:01:38 +08: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
Tienson Qin
dd2f1014eb
Bump datascript
...
This version reuses addresses to reduce writes and make GC easier
2023-12-19 21:15:57 +08:00
Gabriel Horner
de3d82baba
bump to latest nbb-logseq with datascript.storage delete fix
2023-12-18 11:10:59 -05:00
Tienson Qin
222b2f84bc
fix: remove unused addr+data from sqlite
2023-12-18 20:56:28 +08:00
Gabriel Horner
ffa6aaae29
fix: remove unused db.sqlite related fns
...
- remove sqlite-db/close! as its not used and didn't make sense to be
used in other electron ns
- remove sqlite-db/connections atom as its not needed
- remove read-graph as its not necessary
- rename cli.persist-graph as its primary purpose has changed
- update effected scripts
2023-12-13 12:06:24 -05:00
Gabriel Horner
79a9c59dd5
fix: lint and minor cleanup from datascript-storage PR
...
- remove unused electron state
- remove comment with nonexistent fns
- rename fn which didn't read well
2023-12-13 09:53:16 -05:00
rcmerci
7bca037e71
fix: update <transact-data caller, remove unused build-upsert-blocks
2023-12-13 11:18:00 +08:00
Gabriel Horner
0f4cdbbadf
bump outdated nbb-logseq and fix lint
2023-12-11 15:55:38 -05:00
Gabriel Horner
fb3e8e8d8a
fix: update ds sqlite persistance to match latest frontend
...
also removed unused util fns
2023-12-11 13:52:26 -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
86b70e3b33
update datascript
2023-11-28 15:10:43 +08:00
Tienson Qin
716c496590
Update datascript
2023-11-28 14:57:06 +08:00
Tienson Qin
232c1cb4c2
wip: debug
2023-11-26 15:58:26 +08:00
Tienson Qin
40bffa32b0
Use forked datascript
2023-11-25 09:12:59 +08:00
Gabriel Horner
f64f1461a3
enhance: make bb dev:db-transact usable for any task
...
closes LOG-2647. This task was used to update multiple graphs
that were now invalid with the removal of :block/type "object"
2023-11-16 16:40:35 -05:00
Gabriel Horner
3ccf80fcba
add docs for new linter
...
also fix outliner lint
2023-11-02 09:32:51 -04:00
Gabriel Horner
2ce35667c5
First pass at a general transact script for db graphs
...
Moved persist-graph ns into outliner dep so it can be used
by scripts
2023-10-27 17:40:12 -04:00
Gabriel Horner
edaf9b286a
chore: move frontend db namespaces to a dedicated parent ns
...
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Tienson Qin
5162598665
fix: use db/new-block-id to keep the order for :block/uuid
2023-09-12 13:30:50 +08:00
Gabriel Horner
5f66ca027e
enhance: Use path-refs calculation in CLI namespaces
...
Also moved path-refs truncation into outliner so that it applies consistently
across environments
2023-09-08 11:57:35 -04:00
Gabriel Horner
5b99078d6a
fix typos
2023-09-08 09:08:53 -04:00
Gabriel Horner
4b15a727a9
Add readme, lint and CI for outliner dep
...
Also got outliner lints passing
2023-09-06 17:03:04 -04:00
Gabriel Horner
a93fe4d81b
Move recalculate-block-path-refs to outliner dep
...
Moved dependent query fns also into the outliner dep. Removed
get-block-children-ids from model as there was only one use of it after
the refactor. Also setup testing for outliner and moved in a test for it
2023-09-06 16:20:29 -04:00
Gabriel Horner
b3efb93335
Move initial namespaces to start outliner dep
2023-09-01 17:23:34 -04:00