Tienson Qin
76ebafac6c
enhance: preserve block collapsed state when publishing
2025-12-31 20:24:03 +08:00
Tienson Qin
56d3bd84d4
add publish test
2025-12-29 15:07:59 +08:00
Tienson Qin
910cd9514f
fix: tests
2025-12-26 16:09:34 +08:00
Tienson Qin
ec7a325bcb
more cleanup
2025-12-26 12:35:13 +08:00
Tienson Qin
467c5200d6
fix: lint
2025-12-26 11:00:41 +08:00
Tienson Qin
7d719623a1
refactor: prefer conn than repo for outliner core and rtc update
2025-12-26 00:05:43 +08:00
Tienson Qin
f6188b6cca
cleanup more config/db-based-graph? usage
2025-12-25 22:51:05 +08:00
Tienson Qin
eceaa7396c
more cleanup
2025-12-25 21:54:52 +08:00
Tienson Qin
d8d6e8b4b5
remove file based model
2025-12-25 18:10:51 +08:00
Tienson Qin
acbb03856b
remove diff-merge
2025-12-25 17:53:01 +08:00
Tienson Qin
9f927137a3
remove file based handlers
2025-12-25 17:21:28 +08:00
Tienson Qin
32cbac5a52
remove file based page handler
2025-12-25 16:23:23 +08:00
Tienson Qin
bbe6fa861e
remove file based commands
2025-12-25 15:59:59 +08:00
Tienson Qin
da06bc2db0
wip: separate og and new version apps
2025-12-25 13:59:44 +08:00
Tienson Qin
8541b7c79f
perf: linked refs without filters
2025-12-17 18:13:04 +08:00
rcmerci
bcad78227f
fix(rtc): lost first block's rtc-ops when paste multiple blocks (2)
...
- add more tests
- consider more cases
2025-12-16 00:48:46 +08:00
Tienson Qin
33db791ac0
fix: import Zotero pdf blocks ( #12260 )
...
fix: support zotero files when importing pdf annotations
2025-12-15 23:28:58 +08:00
rcmerci
208e3df662
fix(rtc): lost first block's rtc-ops when paste multiple blocks
2025-12-15 22:54:31 +08:00
rcmerci
ff7ecc4baa
fix(rtc): carefully compare t when add-ops to client-ops
2025-12-13 02:16:29 +08:00
Tienson Qin
016e63c4a0
fix: ensure using :rename-db-idents to rename properties in migrate
2025-12-11 14:31:55 +08:00
Gabriel Horner
73f8dfc421
chore: mv db tests to correct project
...
Also tweak test so that errors aren't printed confusingly when tests
pass
2025-12-09 11:16:39 -05:00
Tienson Qin
f594e2034f
fix(rtc): batch store and validate db ( #12249 )
...
* fix(rtc): batch store and validate db
* fix: logseq.db/transact! shouldn't distinct tx-data
since move-op include 2 steps:
1. insert-block
2. update-attrs
This results in db invalid after step 1.
* refactor: add transact-with-temp-conn!
* bump nbb-logseq and add tests for ldb/transact* fns
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-12-09 20:47:37 +08:00
rcmerci
e95dbe1096
test(rtc,e2ee): add frontend.common.crypt-test
2025-11-24 11:40:18 +08:00
Tienson Qin
a4ec889a5d
fix: some built-in tags shouldn't be recognized as inline tags
...
related to https://github.com/logseq/db-test/issues/555
2025-11-05 04:23:50 +08:00
Tienson Qin
d8b1feb395
fix: some built-in tags such as #Journal shouldn't be extended
...
related to https://github.com/logseq/db-test/issues/555
2025-11-05 00:29:25 +08:00
Gabriel Horner
2c6f8101d7
fix: a test's global change to ldb/transact!
...
shouldn't affect other tests. This test changes transact-pipeline-fn
which could cause further tests to randomly depend on and fail from it
2025-11-04 10:12:18 -05:00
Tienson Qin
e4e8388588
fix: revert disallowed built-in block updates
...
1. built-in pages (non-classes) shouldn't be used as tags
2. some protected properties for built-in nodes shouldn't be updated,
e.g. db/ident, block/title, block/name, logseq.property/type
2025-11-04 21:49:26 +08:00
Tienson Qin
d809af8cef
fix: page ref query uses UUID instead of name
...
To avoid name collisions.
2025-11-03 22:26:39 +08:00
rcmerci
adfc0a1341
fix: update remove-conflict-datoms
2025-10-24 21:57:26 +08:00
Tienson Qin
6addb7ac8e
fix: rtc tests
2025-10-15 18:52:59 +08:00
Tienson Qin
4be34fb50e
fix: rtc tests
2025-10-15 18:27:53 +08:00
Tienson Qin
8d0c2f9887
fix: tests
2025-10-15 17:25:46 +08:00
Tienson Qin
6b12299520
fix: lint
2025-10-15 16:32:46 +08:00
Tienson Qin
999618a406
refactor: compute pipeline tx-data before d/transact!
2025-10-15 15:31:42 +08:00
Tienson Qin
df0bc2ca48
refactor: move commands to outliner dep
2025-10-14 21:51:19 +08:00
Tienson Qin
a63a5acc8b
fix: rtc unit tests
2025-10-14 21:25:38 +08:00
Tienson Qin
8a4fa601d2
fix: build closed values
2025-10-14 16:51:34 +08:00
Tienson Qin
20a477c35b
refactor: move db graph page operations to outliner dep
2025-09-25 21:35:50 +08:00
Tienson Qin
ea057fcc36
fix: api test on file graphs
2025-09-24 22:05:39 +08:00
Tienson Qin
8039054e75
enhance(api): add fullTitle and remove temp properties
2025-09-24 21:49:43 +08:00
rcmerci
6ff7d14f3a
chore: print too much in testcase
2025-09-10 15:18:54 +08:00
rcmerci
5f626093ff
fix lint
2025-09-09 17:25:39 +08:00
rcmerci
78660f9374
enhance: import-debug-transit support db type
2025-09-09 17:14:28 +08:00
rcmerci
c139e6be93
Merge remote-tracking branch 'origin/master' into enhance/rtc-migrate
2025-09-09 15:38:41 +08:00
rcmerci
894a52f425
fix test
2025-09-08 21:53:34 +08:00
Tienson Qin
fa7cd07192
fix: :and ref query should return nodes that having at least one ref ( #12085 )
...
This commit also adds a new :self-ref rule.
`[[page]]` will uses :self-ref,
`(or [[page1]] [[page2]])` will be `(or [:self-ref page1] [:self-ref
page2]`.
`(and [[page1]] [[page2]])` will be `(and [:page-ref page1] [:page-ref
page2] (or [:self-ref page1] [:self-ref page2]))` to ensure the query
result nodes to have at least one page reference.
2025-09-04 17:08:03 +08:00
Tienson Qin
248d8c33f2
refactor: remove block/path-refs ( #12081 )
...
1. refactor: use :block/refs and has-ref rule instead of path-refs
2. remove block/path-refs
3. removes :block-parent rule since there's already :parent
4. enhance: skip pipeline calculation for rtc initial download tx
5. refactor(rtc): remove memoize
---------
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-09-03 20:33:33 +08:00
Tienson Qin
61b862d88a
fix: remove inline page tags when saving or inserting blocks
...
Page tags here means db-class/page-classes.
2025-08-27 13:47:27 +08:00
rcmerci
96ecab44fc
test(rtc): update ut migration-results=>client-ops
2025-08-15 16:18:05 +08:00
rcmerci
84f732b4d5
enhance: update :rename-db-idents type migration
2025-08-13 22:24:51 +08:00