Commit Graph

205 Commits

Author SHA1 Message Date
Tienson Qin
1cb3158208 enhance(db-sync): harden server tx batch handling and protocol 2026-04-09 03:27:41 +08:00
Tienson Qin
987fa8ec48 handle tx/reject too 2026-04-07 16:22: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
Tienson Qin
26fa937b30 Merge branch 'master' into refactor/sync-undo-semantic-ops 2026-03-24 19:14:37 +08:00
megayu
d6403b7746 dependencies upgrade (#12460) 2026-03-23 21:32:28 +08:00
Tienson Qin
f7a7391196 enhance(sync): align db-sync/undo tests and lint 2026-03-21 18:46:35 +08:00
Tienson Qin
f928d895f7 enhance(sync): persist semantic undo history actions 2026-03-21 13:20:51 +08:00
Tienson Qin
f076804b41 enhance(sync): persist outliner ops for rebase 2026-03-19 18:28:19 +08:00
Tienson Qin
e3e54eba3f tag/property/closed value should be hard retracted 2026-03-18 06:11:04 +08:00
Tienson Qin
9ff7b99bd4 add adr to strengthen simulation tests 2026-03-18 06:11:04 +08:00
Tienson Qin
fb76b061b4 fix: simplify db sync for recycle semantics 2026-03-18 06:11:04 +08:00
Tienson Qin
917309113f feat: sync checksum 2026-03-17 00:07:33 +08:00
Tienson Qin
33098113ee enhance: returns rejected tx 2026-03-17 00:07:33 +08:00
Tienson Qin
68476aee3e refactor(outliner): batch ops via temp conn 2026-03-17 00:07:33 +08:00
Tienson Qin
42fec8324e simplify sync by applied txs sequentially 2026-03-17 00:07:33 +08:00
Tienson Qin
84965424a9 fix: gate graph when it's not ready for downloading 2026-03-13 18:22:16 +08:00
Tienson Qin
eeabd54d87 refactor: graph download switch to use r2 snapshot 2026-03-13 16:43:54 +08:00
Tienson Qin
8f923a911d Revert "client hello now sends since"
This reverts commit 2799a57074.
2026-03-03 22:37:30 +08:00
Tienson Qin
2799a57074 client hello now sends since 2026-03-03 20:52:44 +08:00
Tienson Qin
adff65c6bc support unencrypted graph 2026-02-12 02:15:14 +08:00
Gabriel Horner
8bf63e9715 chore: docs on running wrangler locally 2026-02-09 11:31:41 -05:00
Tienson Qin
7a915a31b1 remove static auth because signin/up doesn't support custom login 2026-02-06 17:35:30 +08:00
Tienson Qin
05be455371 feat: reactions 2026-02-01 21:45:31 +08:00
Tienson Qin
b8445a6395 node.js adapter 2026-01-31 00:51:35 +08:00
Tienson Qin
595957ef05 add adr for node.js sync server adapter 2026-01-30 21:32:40 +08:00
Tienson Qin
63c9c65c95 fix: no need to broadcast online users when updating presence 2026-01-30 17:16:59 +08:00
Tienson Qin
667e0d7f05 fix: undo && redo shouldn't write invalid data to server 2026-01-28 16:00:31 +08:00
Tienson Qin
143a548f04 fix: more lint error 2026-01-26 20:00:31 +08:00
Tienson Qin
729ca7fcbf Merge branch 'master' into feat/worker-sync 2026-01-26 18:52:12 +08:00
Gabriel Horner
ed805f039f chore: cleanup bb tasks after file graph removal
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Tienson Qin
1f71f9e78e e2ee 2026-01-22 18:50:05 +08:00
Tienson Qin
83a3a7cdf9 use R2 for both graph upload/download 2026-01-21 22:43:09 +08:00
Tienson Qin
36c5afeece enhance(ux): editing user avatar presence 2026-01-21 19:29:34 +08:00
Tienson Qin
cc95768288 Switched API-facing map keys to hyphenated keywords 2026-01-21 18:21:00 +08:00
Tienson Qin
d181b1bfa9 online user presense 2026-01-21 15:55:10 +08:00
Tienson Qin
9bbba502ff remove state machine from protocol 2026-01-12 17:22:56 +08:00
rcmerci
88d1b56222 doc(db-sync): update fix-blocks-cycle.md 2026-01-12 00:54:52 +08:00
rcmerci
9356782168 fix(db-sync): worker server unit-tests 2026-01-11 23:57:33 +08:00
rcmerci
b949f707ed fix(db-sync): recv 'changed' when in tx/batch-wait 2026-01-11 22:39:07 +08:00
rcmerci
f23ab5c5b5 refactor(db-sync): add state machine doc & refactor 2026-01-11 22:25:58 +08:00
rcmerci
2bc5783b78 enhance(db-sync): update doc and align with codebase 2026-01-11 18:02:53 +08:00
rcmerci
611a52443e enhance(db-sync): fail fast when encounter bugs 2026-01-11 17:24:25 +08:00
rcmerci
32945f6443 fix(db-sync): fix blocks-cycle, add doc docs/agent-guide/db-sync/fix-blocks-cycle.md 2026-01-11 17:18:12 +08:00
rcmerci
1b79d7d0d8 doc(db-sync): sync db-sync docs and codebase again 2026-01-10 23:41:40 +08:00
rcmerci
9f530799b6 enhance(db-sync): protocol.md add http endpoints
fix: make t_before mandatory
2026-01-10 21:45:41 +08:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
rcmerci
5219d928d1 docs(worker-sync): add guide and protocol 2026-01-10 16:41:59 +08:00
Thiago O. Maciel
8a51a8a7bd fix mobile docs 2026-01-10 16:02:27 +08:00