Commit Graph

16812 Commits

Author SHA1 Message Date
Tienson Qin
2bc080d114 refactor: rename deps/db-sync to deps/workers 2026-02-27 11:15:44 +08:00
Tienson Qin
477fca1d9f Merge branch 'master' into feat/agents 2026-02-26 22:59:19 +08:00
Tienson Qin
5cb50683a8 fix: sync start now waits for DB worker initialization
before invoking worker APIs
2026-02-26 22:34:07 +08:00
Tienson Qin
ba5e83c045 Updated apply-remote-tx! to keep one-shot batch apply while
preserving correctness.

Changes in sync.cljs (src/main/frontend/worker/sync.cljs):

- Added batch flatten pipeline that:
- remaps per-batch tempids to unique ids,
- preserves tx-id position remapping,
- tracks newly created identities (:block/uuid / :db/ident),
- rewrites cross-batch lookup refs to tempids for :db/add so later adds in
the same merged transact can target newly-created entities.
- apply-remote-tx! batched branch now calls the new flattener once (no doseq
per batch).
- Kept rebase safety in local-changes path (conflict filtering + remote-
duplicate cleanup after sanitize).
- Fixed negative temp-id handling in canonical-entity-id to avoid d/entity
errors.
2026-02-26 21:50:25 +08:00
Tienson Qin
08213ceeb9 test version of non-batch apply-remote-tx 2026-02-26 21:28:27 +08:00
Tienson Qin
dd4b38276a Reveal stale :block/title sync bug in tests 2026-02-26 21:04:02 +08:00
Tienson Qin
e775a8690d Revert "chore: add debug log"
This reverts commit f07f366a0d.
2026-02-26 19:13:23 +08:00
Tienson Qin
f07f366a0d chore: add debug log 2026-02-26 18:42:11 +08:00
Tienson Qin
21bed5acaa fix: startup dedupe guard for db-sync ws connect 2026-02-26 18:23:32 +08:00
Tienson Qin
2e78d8be40 fix: ci tests 2026-02-26 13:09:00 +08:00
Tienson Qin
560ce3ca4f enhance: sync startup latency
1. Removes startup dependency on remote-graphs fetch for initial sync start.
2. Removes unnecessary restart churn.
3. Shaves trigger scheduling delay.
2026-02-26 12:15:28 +08:00
Tienson Qin
a1cbcf8aaa fix: mobile sync indicator latency 2026-02-26 11:51:56 +08:00
Tienson Qin
7e565aeeeb fix: reject stale pull resp 2026-02-26 11:35:55 +08:00
Tienson Qin
9fb5db53a8 fix: browser terminal 2026-02-26 00:57:15 +08:00
Tienson Qin
5a415394da cloudflare terminal integration 2026-02-25 23:49:18 +08:00
Tienson Qin
3285fab011 fix: icon 2026-02-25 13:29:10 +08:00
Tienson Qin
ce0b25d445 agent chat turn messages 2026-02-25 13:09:48 +08:00
Tienson Qin
8d48e93ccb fix(sync): malformed remote tx can include a temp entity id
without :block/uuid.
2026-02-25 09:21:31 +08:00
Tienson Qin
afe21733a2 fix(regression): drag and drop creates a blank asset 2026-02-25 08:20:23 +08:00
Tienson Qin
25d0a44681 fix: preserve the original :block/page ref when missing page details 2026-02-25 07:41:13 +08:00
Gabriel Horner
8b5407a91d fix: db and frontend lint 2026-02-24 15:05:18 -05:00
Tienson Qin
734db04bd8 Merge branch 'master' into feat/agents 2026-02-24 23:06:20 +08:00
Tienson Qin
99fb07586e fix: notify when no microphone permission 2026-02-24 21:57:30 +08:00
Tienson Qin
108098dd4d fix: show camera warning when no permission 2026-02-24 21:49:45 +08:00
jariji
c0bc5525ac Don't auto-export if user is typing 2026-02-24 17:42:20 +08:00
charlie
9994f7b70d fix(assets): set correct MIME type for Blob based on file extension https://github.com/logseq/db-test/issues/750 2026-02-24 14:57:45 +08:00
Gabriel Horner
6acf799b68 fix: UI import of example graph is invalid
With #12313, we introduced relative paths which fail to create
assets and then cause invalid blocks that are unable to reference those
assets. Any user graphs that have relative paths like this will also
have their invalid blocks fixed
2026-02-13 15:03:24 -05:00
Tienson Qin
322a522be0 enhance: remove warning on multiple blocks 2026-02-13 05:20:51 +08:00
Tienson Qin
ed240ac01e fix: today journal created-at/updated-at keep updating 2026-02-13 05:04:08 +08:00
Tienson Qin
13f10d50eb PR summary 2026-02-13 04:49:22 +08:00
Tienson Qin
31a9b88eac Merge branch 'master' into feat/agents 2026-02-13 03:08:01 +08:00
Tienson Qin
ea42e7595b fix: collapse button should be aligned right on mobile 2026-02-13 02:56:34 +08:00
Tienson Qin
0d0d8b7f32 bump to 2.0.1 2026-02-13 01:53:13 +08:00
Tienson Qin
daf7fc1475 enhance: p r to add emoji reaction 2026-02-12 23:03:28 +08:00
Tienson Qin
7bd7892635 Merge branch 'master' into feat/worker-sync 2026-02-12 22:54:32 +08:00
Tienson Qin
ae3fea3ab3 fix: don't compute refs for reactions 2026-02-12 22:52:25 +08:00
Tienson Qin
4a104ec0aa fix: error log 2026-02-12 20:33:00 +08:00
Tienson Qin
64b218896a code cleanup suggested by gabriel 2026-02-12 20:08:20 +08:00
Tienson Qin
fa141f5e08 fix: asset zip import 2026-02-12 18:45:11 +08:00
charlie
2394c72d5a enhance(ui): simplify plugin property check in sorting logic 2026-02-12 09:43:49 +08:00
Tienson Qin
9656a31efa Merge branch 'feat/worker-sync' into feat/agents 2026-02-12 03:43:03 +08:00
Tienson Qin
5658b32153 fix: blocks selection bar can't be opened after visiting Graph view 2026-02-12 02:27:46 +08:00
Tienson Qin
adff65c6bc support unencrypted graph 2026-02-12 02:15:14 +08:00
Tienson Qin
16ceb36e2b fix: lint 2026-02-12 01:07:37 +08:00
Tienson Qin
5255e93a01 fix: assets not encrypted 2026-02-12 01:02:58 +08:00
Tienson Qin
1c8481c1ae remove outdated pull tests 2026-02-12 00:40:52 +08:00
Tienson Qin
8b7c5d5ac8 no need to keep alive 2026-02-11 21:25:13 +08:00
Tienson Qin
ac2c067f17 fix: tests 2026-02-11 20:58:57 +08:00
Tienson Qin
2341fb9b7f Merge branch 'master' into feat/worker-sync 2026-02-11 18:12:22 +08:00
Tienson Qin
a45a209d11 fix: lint 2026-02-11 18:08:09 +08:00