Tienson Qin
b8eb7a8564
fix: dangerous to use :property/closed-values because nbb doesn't
...
support entity plus extend-type
2025-10-14 19:13:47 +08:00
Tienson Qin
3fa6a8f46b
enhance: make it easier to detect closed value invalidation
2025-10-14 17:14:51 +08:00
Tienson Qin
8a4fa601d2
fix: build closed values
2025-10-14 16:51:34 +08:00
Tienson Qin
b31c2166c6
fix: lint
2025-10-14 14:40:40 +08:00
Gabriel Horner
27d5a369fd
fix: bump to latest nbb-logseq to fix most logseq.db dependent ns
2025-10-13 21:34:00 -04:00
Tienson Qin
89623505cc
fix: ldb/transact! should return tx-report
2025-10-13 23:20:46 +08:00
Tienson Qin
b538fe2571
enhance: run db validate before writes
2025-10-13 22:57:21 +08:00
Tienson Qin
7ed7fb4f31
enhance: prefer ldb/transact! than d/transact!
2025-10-13 19:03:11 +08:00
Tienson Qin
6871463d26
fix: plugins api e2e tests
2025-10-13 14:14:21 +08:00
Tienson Qin
3abf1475c0
add property-upsert-test
2025-10-11 19:27:13 +08:00
Tienson Qin
d0588dbbe7
fix: lint
2025-10-11 17:16:49 +08:00
Tienson Qin
6bb1db0c6a
fix: lint and tests
2025-10-10 18:47:55 +08:00
Tienson Qin
dbd15f7ed4
enhance: pre-validate when setting block property values
2025-10-10 16:20:53 +08:00
Tienson Qin
6e5399bf47
fix: lint and append_block_in_page
2025-10-10 14:08:03 +08:00
Tienson Qin
d4f7bf22d9
Merge branch 'master' into refactor/plugin-api-properties
2025-10-09 12:28:54 +08:00
Tienson Qin
4800ed2ec6
Add more apis for db graphs
...
1. get_all_tags
2. get_all_properties
3. get_tag_objects
2025-10-07 22:16:57 +08:00
rcmerci
1292ab4ce8
fix lint
2025-10-07 02:43:57 -07:00
rcmerci
1747e3f1d0
fix: properties stable sort, normalize :block/order of properties
...
1. When sorting properties, consider cases where values are nil or blocks/orders are identical.
2. If block/order are nil or duplicated in sorted-properties, recalculate and transact them
2025-10-07 02:43:57 -07:00
Tienson Qin
b4c83a7f6a
fix(plugin): get_page_linked_references
...
fixes https://github.com/logseq/db-test/issues/498
2025-10-07 17:30:39 +08:00
Tienson Qin
ac53f76c2d
fix: lint
2025-10-07 12:59:23 +08:00
Gabriel Horner
846f9307c3
enhance: notify users when assets exceed max size
...
so they are aware why asset was ignored. Also if asset ids are not
present we should fail loudly like we everywhere else in the importer.
Users should know when data is missing instead of hiding it in the
console. Also refactor confusing usage of :block/uuid to :asset-created?
as it was only used to track the first time an asset is built to be
transacted
2025-09-29 17:37:04 -04:00
Tienson Qin
91657bfcce
fix: rpath may not be provided
2025-09-29 17:37:04 -04:00
Tienson Qin
248fdeb422
fix: tests
2025-09-29 17:37:04 -04:00
Tienson Qin
971cec54bc
fix(import): remove asset byte-array usage to prevent OOM
...
This commit also combine read-asset and copy-asset to read-and-copy-asset
2025-09-29 17:37:04 -04:00
Gabriel Horner
27b624ddd4
fix: more outliner lints from new ns
2025-09-27 01:51:05 +08:00
Gabriel Horner
eb20b36fbf
fix: outliner lint and update kondo aliases
2025-09-27 01:51:05 +08:00
Gabriel Horner
acc7becd37
fix: wrong log and separate linter
2025-09-27 01:51:05 +08:00
Tienson Qin
77baacd24e
enhance(plugin): throw more errors
...
1. expose :json, :page, :string to plugins
2. api supports `schema` to allow authors configure property type and
cardinality
3. support multiple values
2025-09-26 03:17:41 +08:00
Gabriel Horner
ec5675f269
fix: more outliner lints from new ns
2025-09-25 12:52:58 -04:00
Tienson Qin
cfe0b22997
refactor: [WiP] property-related api
2025-09-26 00:09:59 +08:00
Gabriel Horner
d447180388
fix: outliner lint and update kondo aliases
2025-09-25 12:05:59 -04:00
Gabriel Horner
823919e28a
fix: wrong log and separate linter
2025-09-25 12:03:20 -04:00
Tienson Qin
20a477c35b
refactor: move db graph page operations to outliner dep
2025-09-25 21:35:50 +08:00
rcmerci
c642dabd33
enhance(rtc): err handling improvements
...
convert several exception types into ex-info, ensuring them transit-writable/readable
2025-09-23 13:58:10 +08:00
Tienson Qin
05272304b4
fix: remove ui-position from :url properties
2025-09-22 16:00:25 +08:00
Tienson Qin
b263b1cb8a
enhance: long press + to start audio record
2025-09-18 22:28:58 +08:00
Tienson Qin
9bb246bc26
fix: can't move page node up/down
2025-09-18 20:22:21 +08:00
rcmerci
5ac2f6de10
enhance: read/write-transit-str handle ex-info
2025-09-16 21:06:27 +08:00
Tienson Qin
6e0295ddb7
fix: outliner.core/delete-block(s) shouldn't delete any page
...
fixes https://github.com/logseq/db-test/issues/367
2025-09-15 23:53:45 +08:00
Tienson Qin
dd9a32d4de
refactor: RTC reuse :db/id for deleted blocks when undo/redo ( #12101 )
...
1. reuse old eids for block/uuid when apply-remote-ops
2. enhance: clear undo history when failed to validate db
Also, throw transact error from db worker
3. test(rtc): add timeout for wait-for cloud-idle
4. fix: rtc extra tests
5. enhance(test): retry new-block once when assert timeout
---------
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-09-15 22:29:45 +08:00
Tienson Qin
b71c956561
fix: e2e tests
2025-09-15 15:35:32 +08:00
Tienson Qin
e158188e10
fix: hide by default are still shown for number type property values
...
related to https://github.com/logseq/db-test/issues/472
2025-09-15 12:18:30 +08:00
rcmerci
e27d104e20
fix lint
2025-09-10 17:01:25 +08:00
rcmerci
b12b3f7220
enhance: validate renamed db-idents not random and class entities when migrating
2025-09-10 16:45:27 +08:00
Tienson Qin
b2405291cc
Merge branch 'master' into enhance/rtc-migrate
2025-09-09 17:48:52 +08:00
rcmerci
78660f9374
enhance: import-debug-transit support db type
2025-09-09 17:14:28 +08:00
Tienson Qin
1849d7a96a
fix: show tag's extends when auto-complete or setting extends
...
fixes https://github.com/logseq/db-test/issues/466
2025-09-09 16:29:19 +08:00
Gabriel Horner
1b6ca9ec7f
fix: outliner lint
2025-09-08 13:19:32 -04:00
Gabriel Horner
4075c0d509
enhance: allow users to store any metadata on nodes via :map
...
property and EDN or API property creation
2025-09-08 13:02:43 -04:00
rcmerci
1974f696ae
enhance: faster db-rebuild-block-refs
2025-09-06 01:29:47 +08:00