Commit Graph

4038 Commits

Author SHA1 Message Date
rcmerci
40d546a5f7 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-04 21:33:53 +08:00
Gabriel Horner
4b139bb6f2 fix(cli): upsert property can alter private attributes
of built-in properties e.g. `logseq upsert property --name=Alias --no-public`
and also --hide. These attributes aren't modifiable by users in the app
as they can result in visibility, editing and and searching bugs.
The app safeguards this by disabling built-ins for components
that call :upsert-property but the cli and api did not

Fixes
https://test.logseq.com/#/page/69cd9329-4602-42c1-a813-8491d5e7d7a0
2026-04-03 12:17:01 -04:00
Tienson Qin
5522b30bcc fix: checksum failed for empty target block insert 2026-04-03 16:01:11 +08:00
Gabriel Horner
a1b171a20e chore: bump nbb-logseq to feat-db-v34
This bumps to recent version of sci which should allow for upgrading
to malli 0.20+
2026-04-02 13:14:25 -04:00
Tienson Qin
e1c773bc5e warning checksum mismatch 2026-04-02 23:48:51 +08:00
Tienson Qin
524846191a fix: db/retractEntity should be at last for normalization 2026-04-02 23:08:59 +08:00
Tienson Qin
ad2231438a Add :block/order to checksum 2026-04-02 22:22:25 +08:00
Tienson Qin
9f19cf8e2b fix: test 2026-04-02 20:42:58 +08:00
Tienson Qin
333f3e10b1 remove vector embeddings 2026-04-02 18:51:29 +08:00
Tienson Qin
5620af9a4e fix: order conflict 2026-04-02 17:52:24 +08:00
Tienson Qin
2185a5aecd fix: undo doesn't handle retracting property history block 2026-04-02 12:47:24 +08:00
Tienson Qin
114d9f2ae1 dev: show diff data between client/server when checksum mismatch 2026-04-02 11:33:54 +08:00
Tienson Qin
2b62ce170b fix: lint 2026-04-01 14:42:37 +08:00
TechnoHouse (deephbz)
8e1be9afbb fix(db-sync): stream snapshot downloads directly from sync do 2026-04-01 14:39:51 +08:00
Tienson Qin
b20acaf385 optional for prod api 2026-04-01 07:09:07 +08:00
Tienson Qin
609c475144 merge: resolve cliable db-sync worker conflicts 2026-04-01 05:17:00 +08:00
Tienson Qin
7960f398ca server should never recompute checksum 2026-04-01 03:20:33 +08:00
Tienson Qin
6bf4b51ba1 code cleanup 2026-04-01 03:19:23 +08:00
Tienson Qin
abfb5fcc96 increase cpu_ms to 5 mins for workers 2026-04-01 03:04:30 +08:00
Tienson Qin
b3e400c2ae enhance(db-sync): move graph download to worker and stream kv snapshots 2026-04-01 03:04:23 +08:00
Gabriel Horner
0925933620 Merge branch 'master' into feat/cliable 2026-03-31 14:37:24 -04:00
Gabriel Horner
d19069021f fix: lints and typos 2026-03-31 12:12:05 -04:00
Tienson Qin
4c9c1ded92 fix: lint 2026-03-31 23:54:18 +08:00
Tienson Qin
2f3b53a28a Merge branch 'master' into feat/cliable 2026-03-31 23:36:48 +08:00
Tienson Qin
dd165f6794 fix: lint 2026-03-31 17:25:14 +08:00
Tienson Qin
39ea6207bd fix: debounced store shouldn't be used for batch-transact! 2026-03-31 17:19:01 +08:00
Gabriel Horner
8d30cd4a2d fix(cli): upsert property --type on a property
that has property values makes a graph invalid as property values then
have the wrong types for their property pair. This isn't possible in the
UI because the property type change checks for existing data but the
db-worker-node level does not. This :logseq.property/type update bug was
also possible from plugin/API calls
2026-03-30 17:58:56 -04:00
Gabriel Horner
e086d337b5 fix(cli): upsert property --type fails for json and string
These property types were failing with 'Invalid data' since they weren't
exposed for user properties
2026-03-30 12:45:44 -04:00
Gabriel Horner
86d54ac1ca fix(cli): upsert property many to one fails
with cryptic "Invalid data" instead of helpful
"This property can't change from multiple values to one value because it
has existing data."
2026-03-30 12:00:01 -04:00
Gabriel Horner
ce7042842d fix(cli): create property doesn't validate property title
App doesn't have this issue as property creation ends up going through
update branch. Also improve error message for incorrect tagged nodes.
"does not reference" is too ambiguous and doesn't mention that there's
something wrong with the tags relationship
2026-03-30 10:24:31 -04:00
Tienson Qin
068c34355a fix: checksum drift after rebase/undo/redo ops 2026-03-30 18:51:44 +08:00
Tienson Qin
c360713063 add script to download a graph to debug 2026-03-30 18:36:18 +08:00
Tienson Qin
45dcf4f583 fix: lint 2026-03-30 17:13:09 +08:00
Tienson Qin
0e3a3aabf7 add command to debug graph checksum 2026-03-30 17:05:11 +08:00
Tienson Qin
28a3f4fad3 Merge branch 'master' into refactor/sync-undo-semantic-ops 2026-03-30 16:14:52 +08:00
Tienson Qin
e579582173 fix: lint 2026-03-30 15:30:27 +08:00
Tienson Qin
4cc38d0130 fix: lint 2026-03-30 14:46:35 +08:00
Tienson Qin
f81af96fc2 fix: inline tag rebase 2026-03-30 14:27:11 +08:00
Tienson Qin
91ebab6955 fix: lint and test 2026-03-30 12:13:54 +08:00
Tienson Qin
c873ce8ac5 fix: sync tests 2026-03-30 11:59:11 +08:00
Tienson Qin
5147b0e20a perf: debounce d/store 2026-03-30 10:54:46 +08:00
Tienson Qin
28c8a00c94 perf: get-right-sibling and get-left-sibling uses d/datoms 2026-03-29 17:35:19 +08:00
Tienson Qin
502103855b perf: avoid temp batch transaction for save/delete/insert block 2026-03-29 11:59:53 +08:00
rcmerci
7da9a60d6e fix(cli): shouldn't include '#' in page-name(2) 2026-03-28 21:29:50 +08:00
rcmerci
7b704741e0 fix(cli): shouldn't include '#' in page-name 2026-03-28 18:10:23 +08:00
Tienson Qin
b00a73ff79 add batch-transact! to handle rebase 2026-03-27 16:45:53 +08:00
Tienson Qin
e85addc933 refactor: rename batch-transact! 2026-03-27 16:15:42 +08:00
Tienson Qin
6704aad37b fix: shouldn't use tx-data during batch transaction for client ops 2026-03-27 11:38:08 +08:00
Charlie
cdab06f984 enhance(ux): set icon within the block context menu (#12458) 2026-03-26 20:41:34 +08:00
Tienson Qin
63514e33ad fix: order conflicts 2026-03-26 16:28:02 +08:00