rcmerci
2d67629276
enhance(rtc): show download logs when init downloading graph
2025-05-18 01:56:00 +08:00
Tienson Qin
6c12676a08
fix: check pages only
2025-05-17 05:46:23 +08:00
Tienson Qin
42163df4b3
Merge branch 'feat/db' into refactor/page-parent
2025-05-17 05:36:58 +08:00
Tienson Qin
eb61c1bf7b
fix: graph-parser tests
...
:block/parent needs to be retracted for classes and properties.
2025-05-17 05:35:30 +08:00
Gabriel Horner
b9c771fe7a
fix: lint
2025-05-16 15:54:08 -04:00
Gabriel Horner
1f685deff7
fix: graph export for invalid keywords
...
Fixes https://github.com/logseq/db-test/issues/278 .
Can remove later if there's a migration
2025-05-16 15:52:07 -04:00
Tienson Qin
7dbb3eb3bd
wip: fix graph-parser tests
2025-05-17 02:49:42 +08:00
Gabriel Horner
6c07d8838e
fix: invalid keywords can be created by user
...
In https://github.com/logseq/db-test/issues/278 , user has graph that
contains invalid edn keyword caused by name part of keyword starting
with a number e.g. :user.property/2ndsomething. Added thorough tests
based on reference doc for both nbb and cljs versions of buggy fn. For
cljs version, allowed a few more special characters in as they've
all been confirmed to be valid edn
2025-05-16 14:02:17 -04:00
Tienson Qin
9fc54c7dbf
fix: exporter
2025-05-17 01:57:54 +08:00
Gabriel Horner
a16eb2eb10
chore: bump exporter test time
...
exporter taking little longer on docs graph with recent
change where advanced query rewrite is included in test
2025-05-16 13:46:26 -04:00
Gabriel Horner
edae0853a3
fix: app failing on creating properties
...
:cljs conditional still needs process check for web
2025-05-16 12:56:47 -04:00
Tienson Qin
cb3183637d
fix: db tests
2025-05-17 00:05:25 +08:00
Tienson Qin
8411a1e91b
fix: db query tests
2025-05-16 23:56:59 +08:00
Tienson Qin
92d8e9ea73
fix: db export test
2025-05-16 23:48:32 +08:00
Gabriel Horner
a0ee41ca86
fix: db graph cljs tests need repeatable idents
...
Also remove unused ldb fn
2025-05-16 11:44:16 -04:00
Tienson Qin
c0e3a5f81c
fix: lint
2025-05-16 23:34:14 +08:00
Gabriel Horner
28675be54b
enhance(dev): cljs tests can run with or without repeatable idents
2025-05-16 11:29:22 -04:00
Tienson Qin
42778d36ae
Merge branch 'feat/db' into refactor/page-parent
2025-05-16 23:27:20 +08:00
Tienson Qin
1b3ce6fa4d
fix: don't count block created-by as refs
2025-05-16 23:23:54 +08:00
Tienson Qin
dca6ef95ee
add migration
2025-05-16 21:31:06 +08:00
Gabriel Horner
6cddee4f5a
chore: bump nbb test runner to latest feature
...
now that PR is merged
2025-05-16 08:48:44 -04:00
Tienson Qin
b9fedf2eb9
fix: use ldb/get-built-in-page to get Library
...
To avoid get another page with the same title.
2025-05-16 16:03:42 +08:00
charlie
5cbd2a4ae5
Merge branch 'feat/db' into feat/capacitor-new
2025-05-16 15:40:05 +08:00
Tienson Qin
99e816e9de
chore: rename get-page-parents to get-class-extends
2025-05-16 14:45:44 +08:00
Gabriel Horner
c308e04b93
refactor: Ensure all ::sqlite-export keys aren't passed to sqlite.build
...
Enumerating each namespaced key was error prone and too tightly coupled
2025-05-15 17:35:33 -04:00
Gabriel Horner
bd115eef0f
enhance: add import option to allow existing pages to keep properties
2025-05-15 17:25:18 -04:00
Gabriel Horner
f896a774ed
enhance(dev): CLI built db graphs
...
have same config.edn as UI ones. Also improve over hack to add
additional config now that rewrite-clj is available
2025-05-15 14:06:54 -04:00
Gabriel Horner
dda13d61b9
enhance: improved config.edn for new db graphs
...
New db config.edn don't include any of the file graph keys or comments.
Previously all comments were confusingly left lying around.
Also moved conversion of imported config.edn so that CLI can use it.
Also temporarily moved one dep to
https://github.com/nextjournal/nbb-test-runner/pull/2 until the PR is
merged
2025-05-15 12:14:46 -04:00
Gabriel Horner
a83285f705
Revert "enhance: move :block/title to page-or-block-attrs"
...
This commit causing graph invalid errors and failing tests.
This reverts commit a02e842ea3 .
2025-05-15 12:11:01 -04:00
Tienson Qin
a02e842ea3
enhance: move :block/title to page-or-block-attrs
...
Because both page and block require `:block/title`.
2025-05-15 22:46:19 +08:00
Tienson Qin
f5efa2d638
fix: remove invalid blocks that have no dispatch key
2025-05-15 22:36:00 +08:00
charlie
bf040e07db
Merge branch 'feat/db' into feat/capacitor-new
2025-05-15 17:36:29 +08:00
Gabriel Horner
138e56aedf
fix: cljs test by adding dep I forgot to add
...
Also ensure all deps' deps.edn have consistent and clear comments
delineating nbb-logseq vs other deps
2025-05-14 16:24:32 -04:00
Gabriel Horner
f34a8d57a0
fix: whitespace on advanced query string import
...
Fixes https://github.com/logseq/db-test/issues/193
2025-05-14 16:06:23 -04:00
Gabriel Horner
6f7e2a94c3
enhance: bump nbb-logseq to include rewrite-clj
2025-05-14 15:50:37 -04:00
Tienson Qin
5f547a4e17
enhance: save only namespaced pages to Library
2025-05-15 03:02:06 +08:00
Gabriel Horner
62e5b7e306
chore: bump nbb-logseq to get rid of
...
node deprecation warnings with node 22 and get a year's worth of nbb
updates and fixes
2025-05-14 13:30:52 -04:00
Tienson Qin
263063974d
Create blocks in Library for new namespace pages
2025-05-14 21:17:08 +08:00
Tienson Qin
61d5aa3605
Rename :logseq.property/parent to :logseq.property.class/extends
2025-05-14 17:56:35 +08:00
charlie
c0d135cc7d
fix(tests): path join
2025-05-14 14:47:18 +08:00
Tienson Qin
972a5be0a4
chore: fs cares only memory and electron files
2025-05-14 13:06:54 +08:00
Tienson Qin
dc67bd4244
chore: remove repeat calls of safe-decode-uri-component
2025-05-14 12:48:55 +08:00
charlie
de99bb21b3
fix(electron): incorrect path join for Windows
2025-05-14 11:52:14 +08:00
Gabriel Horner
0dd89ded24
fix: large var in deps db
2025-05-13 12:00:38 -04:00
Gabriel Horner
15a83f2026
fix: import of existing pages and their related nodes
...
Related nodes of imported existing pages weren't being updated to
associate with existing page
2025-05-13 11:42:13 -04:00
Gabriel Horner
dc0e224982
fix: most node tests failing to run
...
Upgrade better-sqlite3 to match node bump
2025-05-13 10:42:41 -04:00
Tienson Qin
effaacbd06
fix: group list items by page when there's no group specified yet
2025-05-13 21:47:52 +08:00
Tienson Qin
5e1a968530
Merge branch 'master' into feat/db
2025-05-13 18:22:20 +08:00
charlie
dee490fdcd
Merge branch 'feat/db' into feat/capacitor-new
2025-05-13 12:28:36 +08:00
Gabriel Horner
4a0225b7ee
fix: query function for db graphs
...
Fixes logseq/db-test#203 . Also removed unused helpers
2025-05-12 15:51:50 -04:00