9d99a4ac23
split: sync-client utils and errors reorganization
...
Move error classes from services/ and file-operations/ into a new errors/
directory (authentication-error, server-version-mismatch-error,
sync-reset-error, file-not-found-error), plus add file-already-exists-error
and http-client-error. Update consts.ts and utils/* (await-all,
create-client-id, hash, rate-limit, find-matching-file). Replace
data-structures (locks, min-covered, event-listeners, fix-sized-cache) and
add debugging utilities (in-memory-file-system, log-to-console,
slow-web-socket-factory). Removes utils/create-promise.ts.
2026-05-08 21:36:29 +01:00
f7beb31d8f
split: regenerated TS API type bindings
...
Auto-generated TS types regenerated from Rust ts-rs derives, mirrored into
frontend/sync-client/src/services/types/ and frontend/history-ui/src/lib/types/.
Adds ListVaultsResponse, VaultHistoryResponse, VaultInfo and updates several
existing types; removes DeleteDocumentVersion and UpdateDocumentVersion.
2026-05-08 21:36:13 +01:00
5efe30d9d6
Format & lint
2025-12-14 17:19:25 +00:00
b6ab01d56a
Handle websocket race condition
2025-12-14 17:19:25 +00:00
f6dccc4492
Try fixing E2E tests more
2025-12-11 22:08:48 +00:00
b05e415acf
Apply editorconfig
2025-12-07 16:42:23 +00:00
ad3191957a
Add event handler class
2025-12-07 16:42:23 +00:00
3f2ecfb0b6
Use efficient filters
2025-12-07 16:42:23 +00:00
d979963f86
Fix http error handling in the client service
2025-12-06 22:00:54 +00:00
a1bda41646
Always fetch the right document version content
2025-12-06 11:44:57 +00:00
5238d85181
Print more details
2025-12-06 10:52:46 +00:00
e8d86c737b
More logs
2025-12-05 22:29:46 +00:00
564d4a6c37
Lint
2025-12-03 23:24:53 +00:00
8ef2f8c132
Escape vault name
2025-12-03 23:18:16 +00:00
9349afc00f
Run lint & fmt
2025-11-30 15:24:52 +00:00
5417c1ddd0
Small clean up
2025-11-30 15:24:52 +00:00
82f11d8c86
Fix testing logic
2025-11-30 15:24:52 +00:00
c3cc678446
Stop leaking promises in ws manager
2025-11-30 15:24:52 +00:00
3ed2e4f666
Add api version check to client
2025-11-30 15:24:52 +00:00
c3cbde052a
Add server config for mergable extensions
2025-11-30 15:24:52 +00:00
7008c54e2e
Run check.sh
2025-11-30 15:24:52 +00:00
18be9f4dd8
Fix lint
2025-11-30 15:24:52 +00:00
c4da1426b1
Fix compile
2025-11-30 15:24:52 +00:00
340c347841
Don't leak promises
2025-11-30 15:24:52 +00:00
c94d732f24
Fix resetting
2025-11-30 15:24:52 +00:00
d8058d396c
Add awaitAll
2025-11-30 15:24:52 +00:00
fb2d82a06e
Lint
2025-11-30 15:24:52 +00:00
83c15a77c3
Add 2 more settings from consts
2025-11-30 15:24:52 +00:00
cb2a1c0df1
Fix reset logic for WS
2025-11-30 15:24:52 +00:00
9f1f4beae4
Renamce
2025-11-30 15:24:52 +00:00
12d8d15572
Add fetch controller tests
2025-11-30 15:24:52 +00:00
56c77dc3f6
Fix fetch controller
2025-11-30 15:24:52 +00:00
4186aa9e0c
Formatting
2025-11-30 15:24:52 +00:00
91675ea99c
Add remove event listener methods
2025-11-30 15:24:52 +00:00
d4b68154df
Export consts
2025-11-30 15:24:52 +00:00
f11c8db6d2
Replace all instead of just replace
2025-11-30 15:24:52 +00:00
be1635c26e
Improve network usage for small text changes ( #166 )
2025-11-16 22:10:22 +00:00
0ff3bb5967
Migrate from Jest to node:test ( #115 )
2025-08-30 10:38:08 +01:00
376008de54
Improve editor sync status line
2025-08-28 21:55:43 +01:00
a36a24effc
Fix main & improve cursor sync ( #101 )
2025-08-25 17:15:52 +01:00
81b81e30ff
Use unknown return type for callbacks
2025-08-17 15:12:31 +01:00
278fa912df
Rename field
2025-08-17 11:14:16 +01:00
bb07602c68
Send document versions with cursors
2025-08-10 14:55:40 +01:00
e8b9bf40c5
Add API for propagating cursor locations ( #61 )
2025-06-08 20:20:52 +01:00
ffeec19ca7
Include content size in response
2025-05-24 11:17:34 +01:00
70fe45a09d
Rename user-agent header to device-id
2025-05-22 22:24:30 +01:00
5448c1cf99
Update API types
2025-05-22 21:42:34 +01:00
7776b69a0b
Update API types
2025-05-14 22:15:57 +01:00
b26552fc1f
Update API types
2025-04-08 23:05:06 +01:00
3ec6bd4d5b
Allow overriding WebSocket implementation and add flaky version for testing
2025-04-07 23:13:45 +01:00