Commit Graph

3535 Commits

Author SHA1 Message Date
Tienson Qin
4fb4e87066 add users and graph_members tables 2026-01-21 07:08:50 +08:00
Tienson Qin
f0efeb31bc use cloudflare d1 instead of do for graph metadata 2026-01-21 06:04:06 +08:00
Tienson Qin
ceec5d10c6 fix: remote tx data 2026-01-21 04:10:19 +08:00
Tienson Qin
fbe199797c run more ops test 2026-01-21 03:14:31 +08:00
Tienson Qin
a13c9a2818 add 3 clients simulate test 2026-01-21 01:14:21 +08:00
Tienson Qin
5bbb6a92cd fix: tests 2026-01-20 19:05:29 +08:00
Tienson Qin
75a326a83e fix: never delete today page itself because it'll be auto-generated 2026-01-20 18:24:54 +08:00
Tienson Qin
d0cd12a034 fix: remove datoms when uploading if eid or value ref deleted 2026-01-20 17:22:02 +08:00
Tienson Qin
4ec99c8f17 fix: reversed data 2026-01-20 16:59:14 +08:00
Tienson Qin
52b690b6a5 fix: normalize reversed tx-data 2026-01-19 21:11:50 +08:00
Tienson Qin
d27a492f2e fix: include t when persist tx-data log 2026-01-19 17:47:26 +08:00
Tienson Qin
556af5581b fix: put fix after rebase 2026-01-16 19:35:05 +08:00
Tienson Qin
29f3f41ab5 fix: repeated tx data 2026-01-16 12:11:17 +08:00
Tienson Qin
63fb758e37 fix: view blocks not deleted 2026-01-16 11:46:52 +08:00
Tienson Qin
d409805e26 fix: compare selected remote tx-data with tx-report tx-data instead
of using checksum as checksum doesn't work for batch tx
2026-01-16 00:02:45 +08:00
Tienson Qin
f6114afe47 add cycle tests 2026-01-15 10:41:50 +08:00
Tienson Qin
77f4629b22 fix: offline extends cycle 2026-01-15 10:05:12 +08:00
Tienson Qin
2f7cb2575a fix: offline parent cycle 2026-01-15 09:15:11 +08:00
Tienson Qin
2f1b70b865 fix: offline conflicts with deleted nodes 2026-01-14 22:03:13 +08:00
Tienson Qin
3bdbb1824c fix: order conflicts and new block title missing when offline 2026-01-14 15:25:51 +08:00
Tienson Qin
c91187070a wip: initial checksum works when online 2026-01-14 00:36:56 +08:00
Tienson Qin
ee1089f671 Add sync offline tests 2026-01-13 20:58:04 +08:00
Tienson Qin
2afc7fe48d another try of client fix 2026-01-13 18:54:20 +08:00
Tienson Qin
8c8ca9ce45 rebase 2026-01-13 16:19:03 +08:00
Tienson Qin
0c55b0acf0 fix: typo 2026-01-13 00:01:01 +08:00
Tienson Qin
c03a5183df refactor: fix data in server instead of client 2026-01-12 23:56:50 +08:00
Tienson Qin
63357c43ba fix: parent missing 2026-01-12 23:24:10 +08:00
Tienson Qin
bc7f19cbdc fix: client should send only the last :block/parent update to server 2026-01-12 18:45:02 +08:00
rcmerci
9356782168 fix(db-sync): worker server unit-tests 2026-01-11 23:57:33 +08:00
rcmerci
b7e926f713 enhance(db-sync): remove declare 2026-01-11 18:14:34 +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
4cbb01f78c fix(db-sync): fix test 2026-01-11 15:44:06 +08:00
rcmerci
8fbcf16868 fix(db-sync): wrong ws resp when tx/reject 2026-01-11 15:28:56 +08:00
Tienson Qin
b0309307f7 wip: missing parent && order conflicts 2026-01-11 11:18:57 +08:00
Tienson Qin
f8daccba40 fix: fn order 2026-01-11 10:38:08 +08:00
rcmerci
1b79d7d0d8 doc(db-sync): sync db-sync docs and codebase again 2026-01-10 23:41:40 +08:00
rcmerci
fcc24fff20 feat(db-sync): add schemas for all client&server ws&http requests&responses 2026-01-10 22:56:11 +08:00
rcmerci
a32f46fb6f fix(db-sync): dev:db-sync-test only compile 2026-01-10 21:46:33 +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
Tienson Qin
cdd380bdc7 use promesa instead of js-await 2026-01-10 16:59:27 +08:00
Tienson Qin
c06a63b03a enable db validation on worker 2026-01-10 16:16:22 +08:00
Tienson Qin
6606162080 fix: property db attrs need to be at the beginning of tx-data 2026-01-10 16:00:07 +08:00
Tienson Qin
7aee601c3e no need for de-normalize 2026-01-10 13:12:18 +08:00
Tienson Qin
2dde10531f move retract handler to normalize 2026-01-10 10:57:34 +08:00
Tienson Qin
7bbc5af848 fix: replace :db/retract datoms with :db.fn/retractEntity 2026-01-10 10:57:34 +08:00
Tienson Qin
e203198528 server apply multiple txs at once 2026-01-09 22:51:53 +08:00
Tienson Qin
cb032ea148 remove tx api, use tx/batch instead 2026-01-09 20:49:19 +08:00