Tienson Qin
75e49b22db
Merge branch 'master' into refactor/plugin-api-properties
2025-10-20 18:27:21 +08:00
Gabriel Horner
db57d6834b
fix: error from build-import hidden from user
...
Also fix unexpected errors continue to call transact! on empty
2025-10-16 10:41:43 -04:00
Gabriel Horner
683b2c54c8
fix: importing from form shouldnt alter hnsw embeddings
2025-10-16 09:43:32 -04:00
Gabriel Horner
865c8c690e
refactor: convert import edn file to also use new :op
2025-10-16 09:43:32 -04:00
Gabriel Horner
487cbb2bc9
enhance: finish making import data form undo/redoable
...
Add current block support and error handling.
Also update most uses of build-import to call d/transact! once
afterwards. Previously I think we needed separate transacts because of
new properties but that is no longer the case
2025-10-16 09:43:32 -04:00
Gabriel Horner
b649887b15
enhance: add batch-import-edn op to make import-edn undo-able WIP
2025-10-16 09:43:32 -04:00
Gabriel Horner
bbb838805c
fix: outliner lint
...
public vars that are only used outside their own dir should have a ^:api
2025-10-16 09:14:46 -04:00
Tienson Qin
4249c9e908
fix: can't set block property with closed value
2025-10-16 15:35:40 +08:00
Tienson Qin
9b18097a59
word tweak
2025-10-15 20:49:39 +08:00
Tienson Qin
26e30d930a
chore: uncomment db validate
2025-10-15 18:41:10 +08:00
Tienson Qin
4be34fb50e
fix: rtc tests
2025-10-15 18:27:53 +08:00
Tienson Qin
2b4858ff08
chore: remove console trace
2025-10-15 18:06:08 +08:00
Tienson Qin
c48cb718ba
fix: lint
2025-10-15 17:29:13 +08:00
Tienson Qin
3244b6d599
chore: remove fn remove-nils
2025-10-15 17:26:29 +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
f43a32978d
fix: graph parser tests
2025-10-14 21:40:19 +08:00
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