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
rcmerci
804b58bb10
chore: lint
2025-08-12 23:59:48 +08:00
rcmerci
e4f064fc0c
Merge remote-tracking branch 'origin/master' into enhance/rtc-migrate
2025-08-12 23:55:19 +08:00
Gabriel Horner
c67e254b4a
enhance: search cmd highlights search term and
...
allows for user specified limit of results.
Also enabled nbb-logseq tests for cli since first
test was introduced
2025-08-11 17:05:39 -04:00
rcmerci
e69f652041
enhance(rtc): generate rtc ops from migration-updates&tx-data
2025-08-07 23:12:23 +08:00
rcmerci
5630d9fd93
enhance: add :rename-db-idents migration type
2025-08-06 22:52:13 +08:00
Tienson Qin
d84d3f9652
enhance(ux): set/unset #Page to convert between page and block ( #11970 )
...
* enhance(ux): add/remove #Page to toggle page/block
* enhance(ux): "p t" to set tags for selected blocks
Updated "p a" to toggle displaying all properties including hidden ones.
* feat: cmd+k move blocks
* fix: block could be converted to page and create invalid nodes
Pages with block namespace parents is nonsensical and pages in
property values led to multiple validation errors. Also guard
against class and property pages as namespace parents
* fix: warn on failed cut+paste or indent/outdent of page blocks. Better to warn than silent failure which leaves user confused on
what happened.
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2025-08-05 17:45:57 +08:00
rcmerci
0a36006288
feat(rtc,wip): migration support in rtc
2025-08-01 14:18:20 +08:00
Tienson Qin
8c402676a9
fix: page references with same name in one block ( #12017 )
...
* fix: page references with the same name in one block
* fix: empty :block/name for Library pages
* fix: invalid call to uuid-string?
trace suddenly showing up in multiple CLI calls
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2025-08-01 00:09:31 +08:00
Tienson Qin
d8a07234c1
perf: linked references
...
1. don't use recursive rule `block-parent`
2. using `:block/path-ref` to get both parent and children
3. run `hidden-ref?` check for refs only (not path-refs)
2025-07-01 22:50:19 +08:00
Gabriel Horner
268889d0b7
chore: rename sqlite.build :build/class-parent to :build/class-extends
...
Matches new property name and its arity. :build/class-parent deprecated
2025-06-29 15:21:09 +08:00
Tienson Qin
ded9c8e517
fix: update :build/class-parent to multiple values
2025-06-29 15:21:09 +08:00
Tienson Qin
9bede53a34
fix: tests
2025-06-29 15:21:09 +08:00
Tienson Qin
e443bbca9c
fix: lint
2025-06-25 18:41:34 +08:00
Gabriel Horner
1b3a9cdd53
fix(dev): test build can't be watched
...
With last shadow-cljs upgrade, can no longer start a separate test watch
so instead start one with `npx shadow-cljs watch test`
2025-06-24 08:40:33 -04:00
Tienson Qin
33331cc3e6
enhance(perf): avoid re-run built-in queries when collapsed
2025-06-22 18:26:18 +08:00
Tienson Qin
9bb6842b1e
fix: missing db/ident for inline tags
2025-06-18 21:57:57 +08:00
Tienson Qin
53e0d1a4ca
enhance: put library page name to config to make it easier to rename
2025-06-18 08:25:47 +08:00
Tienson Qin
3759046885
Merge branch 'master' into refactor/page-parent
2025-06-17 08:09:57 +08:00
Gabriel Horner
b48dfce552
fix: migrated properties not migrating :logseq.property/type or
...
most of the property-only properties that a user could have set
2025-06-17 06:29:01 +08:00
Tienson Qin
d775a3dba9
fix: test
2025-06-17 06:29:01 +08:00
Tienson Qin
db18543383
Add migration test
2025-06-17 06:29:01 +08:00
Tienson Qin
92ec65d61d
Merge branch 'master' into refactor/page-parent
2025-06-15 08:27:33 +08:00