Gabriel Horner
4ab1216303
fix(cli): logseq upsert block --id modifies built-in nodes
...
it shouldn't be able to. Somes of these bugs are caused by same incorrect
definition of built-in? as found in
22c7736751 . --content and --pos could modify all
built-in nodes. *properties and *tags options could modify private
built-in nodes which the app is not able to do and the CLI should be
disallowed from doing as well
2026-04-13 15:15:42 -04:00
Tienson Qin
73bc59857e
fix(perf): don't call d/datoms to get all eavt
...
It's too slow (+8s) for a 500m sqlite file to just insert a new block
2026-04-14 00:27:36 +08:00
Gabriel Horner
22c7736751
fix(cli): remove block --id can remove built-in nodes
...
files, empty-placeholder and import-tx idents could all be deleted.
Ents with :kv/value would error unintentionally with
'No protocol method INode.-del defined for type null:'.
Now these all gracefully error
2026-04-13 10:02:36 -04:00
Tienson Qin
6e737b78ac
fix: db unlisten
2026-04-13 18:25:03 +08:00
Mega Yu
69b7a0e893
improve i18n
2026-04-13 14:39:53 +08:00
Tienson Qin
174fd15c8e
fix(sync): stabilize incremental checksum updates
2026-04-12 19:27:05 +08:00
Tienson Qin
3dd7302dc9
fix(db-sync): handle duplicate :block/uuid in incremental checksum
...
Account for duplicate :block/uuid datom multiplicity during incremental checksum delta calculation.
Expand touched eids to uuid peers and apply digest add/remove by tuple counts.
Add regression fixture+test from rebased retract mismatch log.
2026-04-12 17:46:14 +08:00
Tienson Qin
30bb4acc27
fix: stabilize undo/redo raw tx replay order
2026-04-12 15:55:52 +08:00
Tienson Qin
9baeee6e49
simplify transact ops
2026-04-12 15:41:22 +08:00
Tienson Qin
6cda7fc869
fix: align outliner and db-sync tests with history-op changes
2026-04-11 07:24:28 +08:00
Gabriel Horner
963cdf9234
fix: recycled/deleted page can't be restored by user
...
When a user deletes a page and then restores it by creating it again with cmd-k,
the page wasn't restored. The previously recycled page and its block are
now restored when the page is re-created
2026-04-10 11:30:06 -04:00
Mega Yu
5a752ef99d
fix multiple logic errors caused by date format switching
2026-04-10 22:58:48 +08:00
Mega Yu
da07a518d5
feat(date): add new date format "yyyy-MM-dd EEE" for journal titles
2026-04-10 18:42:10 +08:00
Mega Yu
1cff73eddd
remove deprecated code
2026-04-10 18:17:00 +08:00
Tienson Qin
32806264ce
fix: reversed datoms should be normalized too for rebase
2026-04-10 14:49:54 +08:00
Tienson Qin
e275cbef0b
fix: slow checksum
2026-04-10 03:42:01 +08:00
Tienson Qin
f25083555f
fix: don't rely on right sibling from UI
2026-04-10 03:10:45 +08:00
Tienson Qin
c80a3cdb98
fix: catch deps clj-kondo warnings in lint-test-deps
2026-04-10 02:37:28 +08:00
Tienson Qin
6c77cb17b8
fix(outliner): stabilize history op refs
2026-04-10 02:25:37 +08:00
Tienson Qin
0392444cdf
add bb dev:lint-test-deps to run lint and tests for deps
2026-04-10 00:21:14 +08:00
Tienson Qin
c24e66f3e6
fix: lint and tests
2026-04-09 23:16:37 +08:00
Tienson Qin
abd3e4c16b
fix(outliner): stabilize history op entity refs
2026-04-09 22:46:38 +08:00
Tienson Qin
4a35692a50
tooling(db): add sqlite sync replay script
2026-04-09 22:46:32 +08:00
Tienson Qin
8fcd8fb518
test(sync): cover stale fix/reject flows
2026-04-09 22:43:52 +08:00
Tienson Qin
75bf1e683b
fix(db-sync): normalize tx-reject payload shapes
2026-04-09 22:43:40 +08:00
Mega Yu
434bac5aee
change i18n key
2026-04-09 17:09:08 +08:00
Mega Yu
de1a7a9c6e
enhance i18n
2026-04-09 16:22:42 +08:00
Tienson Qin
a37dad9cfa
fix: hide recycled property values and choices
2026-04-09 13:55:49 +08:00
Tienson Qin
801620b901
enhance(recycle): permanently delete recycled roots with sync-safe replay
2026-04-09 04:03:34 +08:00
Tienson Qin
df4f5546c4
fix(journals): hide recycled journals and refresh list on recycle
2026-04-09 03:43:05 +08:00
Tienson Qin
8e0114a793
chore(sync-tools): add checksum drift and replay diagnostics tooling
2026-04-09 03:28:00 +08:00
Tienson Qin
179b66a80f
enhance(sync): track tx-id ack/failure and rebase stability on client
2026-04-09 03:27:48 +08:00
Tienson Qin
1cb3158208
enhance(db-sync): harden server tx batch handling and protocol
2026-04-09 03:27:41 +08:00
Gabriel Horner
cc185452b0
enhance(cli): completion for 2 new options to list node
...
Also bring back :status completion for task commands
2026-04-08 13:08:15 -04:00
Mega Yu
3c0cb80cfc
i18n built-in-properties
2026-04-08 10:43:15 +08:00
Mega Yu
e9d3c8da00
enhance i18n
2026-04-08 09:32:18 +08:00
Tienson Qin
262e221069
fix: lint
2026-04-07 19:38:13 +08:00
Tienson Qin
ecc03e1efc
fix(sync): preserve tx-id across rebases
2026-04-07 19:23:51 +08:00
Tienson Qin
5685a2dacf
fix: retract children entities on server
2026-04-07 16:49:55 +08:00
Tienson Qin
8c3d8ecae4
being able to reproduce mismatch checksum
2026-04-07 14:32:30 +08:00
Tienson Qin
66c0fbb50f
add checksum check in chrome tab simulate
2026-04-07 06:34:13 +08:00
Tienson Qin
f3758e1f12
fix: lint and tests
2026-04-07 06:23:03 +08:00
Tienson Qin
1c8418e584
fix: checksum
2026-04-07 06:00:42 +08:00
Tienson Qin
1d98f1d214
ensure :block/uuid immutability
2026-04-07 04:17:09 +08:00
Tienson Qin
56e85624dc
switch to EAV-style incremental hashing
2026-04-07 04:01:39 +08:00
Tienson Qin
49c1166cfc
use incremental checksum
2026-04-07 03:11:07 +08:00
Tienson Qin
8aae83ae70
fix: fix order should be after rebase ops
2026-04-07 02:26:17 +08:00
Gabriel Horner
a0fb6722aa
enhance(cli): show command displays public built-in props
...
Adds support for show to display several public built-in props
that weren't visible for. Confirmed this works for scheduled,
deadline, priority, description and user* properties
2026-04-06 11:59:04 -04:00
Tienson Qin
92999a6a76
use agent-browser for sync parallel clients tests
2026-04-06 23:02:48 +08:00
Mega Yu
6153078342
enhance i18n
2026-04-05 17:06:46 +08:00