Commit Graph

4048 Commits

Author SHA1 Message Date
Mega Yu
8347708c69 Merge master into enhance/i18n 2026-04-15 10:23:06 +08:00
Tienson Qin
bc27dd90a6 fix: lint 2026-04-15 00:04:38 +08:00
Tienson Qin
fc76192631 fix: stabilize uuid-based outliner ops and undo/redo replay 2026-04-14 22:11:51 +08:00
Tienson Qin
cfe00a5e71 fix(template): resolve dynamic variables in template insertion 2026-04-14 22:11:51 +08:00
Mega Yu
5eda6a8ab6 Merge master into enhance/i18n 2026-04-14 16:42:19 +08:00
Tienson Qin
ff56c143ab continue to improve view performance 2026-04-14 05:37:45 +08:00
Tienson Qin
995d0bf4a9 enhance(view): speed up large-graph get-view-data 2026-04-14 04:52:10 +08:00
Tienson Qin
e3a974947a perf: views 2026-04-14 04:33:46 +08:00
Tienson Qin
5cecff842d fix(sync): preserve apply-template uuids in rebase replay 2026-04-14 03:58:29 +08:00
Tienson Qin
a327063497 fix(db-sync): keep encrypted title updates after decrypt collapse 2026-04-14 03:29:42 +08:00
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