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
46c4f66aec
fix: allow moving non page blocks to library on UI
2025-11-04 15:07:51 +08:00
Gabriel Horner
3bf78ac5e2
fix(regression): built-in pages can be turned into tags
...
Removing this check in 6f8d2a39f7
reintroduced https://github.com/logseq/db-test/issues/333 .
To reproduce, use a built-in page as an inline tag. For example, type
'o1 #Library' in a block and then press escape
2025-11-03 14:06:56 -05:00
Tienson Qin
6f8d2a39f7
fix: tag and page names collision in query dsl
...
related to https://github.com/logseq/db-test/issues/548
2025-11-03 21:49:49 +08:00
Tienson Qin
323674a516
fix: + New button error
...
fixes https://github.com/logseq/db-test/issues/543
2025-11-03 19:59:48 +08:00
Gabriel Horner
b8cae9c4f3
Merge branch 'master' into feat/mcp-server
2025-10-29 11:02:05 -04:00
Tienson Qin
7dc155b28b
fix: file graph import
2025-10-29 21:28:27 +08:00
Tienson Qin
5b35a9ee49
fix: tags
2025-10-28 15:41:05 +08:00
Gabriel Horner
20ed5bccfb
Merge branch 'master' into feat/mcp-server
2025-10-22 12:20:54 -04:00
Gabriel Horner
c248ea16aa
fix: incorrect validation message
...
Also bring back docstring that shouldn't have been removed
2025-10-21 12:43:14 -04:00
Gabriel Horner
652a9061ea
fix: outdated outliner lint
2025-10-21 10:30:52 -04:00
Tienson Qin
75e49b22db
Merge branch 'master' into refactor/plugin-api-properties
2025-10-20 18:27:21 +08:00
Gabriel Horner
a586fc47fb
enhance: batch update nodes tool
...
This improves and replaces all previous tools. Features include:
* Add pages, blocks to pages, tags and properties
* Tags can set parents and tag properties
* Properties can have type, cardinality and classes set for :node
* Add tags to blocks
* Edit blocks
* api and local tools work
* Thorough tool validation
* When doing these operations, most operations can reference new or existing
entities if they are referenced by uuid
2025-10-16 10:44:32 -04: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
c48cb718ba
fix: lint
2025-10-15 17:29:13 +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
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
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
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
ac53f76c2d
fix: lint
2025-10-07 12:59:23 +08: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
Tienson Qin
9bb246bc26
fix: can't move page node up/down
2025-09-18 20:22:21 +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