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
5efe30d9d6
Format & lint
2025-12-14 17:19:25 +00:00
4fb3839b3e
Add lock tests
2025-12-14 17:19:25 +00:00
580c993071
Reject pending locks on reset
2025-12-14 17:19:25 +00:00
6608804d34
Refactor & lint
2025-12-07 16:42:23 +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
10bde4bc3a
Fix race condition of client-side path deconflicting
2025-11-30 15:24:52 +00:00
c10b6435d4
Don't download all documents when initial sync gets interrupted
2025-11-30 15:24:52 +00:00
82f11d8c86
Fix testing logic
2025-11-30 15:24:52 +00:00
c3cbde052a
Add server config for mergable extensions
2025-11-30 15:24:52 +00:00
18be9f4dd8
Fix lint
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
17fa584ea1
use allSettled
2025-11-30 15:24:52 +00:00
83c15a77c3
Add 2 more settings from consts
2025-11-30 15:24:52 +00:00
4fcd134e55
Extract consts
2025-11-30 15:24:52 +00:00
a57ed5c4ae
Fix edge cases
2025-11-30 15:24:52 +00:00
c3c2cafde5
Fix +1
2025-11-30 15:24:52 +00:00
f11c8db6d2
Replace all instead of just replace
2025-11-30 15:24:52 +00:00
56c1f4d58b
Restructure packages
2025-11-30 15:24:52 +00:00
e2189d4dbe
Use stderr for logging
2025-11-19 22:39:06 +00:00
c08feba0ad
Improve settings ( #168 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 19:53:10 +00:00
be1635c26e
Improve network usage for small text changes ( #166 )
2025-11-16 22:10:22 +00:00
9177984ff6
Move more logic into sync-client
2025-08-30 11:02:04 +01:00
dependabot[bot]
3f089bd37e
Bump prettier from 3.5.3 to 3.6.2 in /frontend ( #108 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andras Schmelczer <andras@schmelczer.dev>
2025-08-30 10:38:25 +01:00
0ff3bb5967
Migrate from Jest to node:test ( #115 )
2025-08-30 10:38:08 +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
b7e80c39f1
Fix tests
2025-08-17 15:01:45 +01:00
d9ffcfeb5c
Expose locks utils
2025-08-10 12:59:33 +01:00
bb0e44f06f
Extract reconcile ( #85 )
2025-07-13 11:06:42 +01:00
e8b9bf40c5
Add API for propagating cursor locations ( #61 )
2025-06-08 20:20:52 +01:00
5c8b02f69c
Lint
2025-05-24 19:02:50 +01:00
31833a9f47
Match dotfiles
2025-05-24 14:35:25 +01:00
e0b83bbc7a
Rename
2025-05-24 13:23:24 +01:00
b17f34d402
Fix ignore patterns
2025-05-24 13:21:37 +01:00
0abd50ac0c
Add force setting to MinCovered
2025-04-08 23:00:44 +01:00
bda5f37385
Add min covered
2025-04-08 22:21:22 +01:00
6fb922f4ba
Rate-limit DB writes
2025-03-29 11:02:42 +00:00
1aad0fce31
Add WebSocket support ( #12 )
2025-03-29 10:17:46 +00:00
a9223156a6
Inline fetch-retry with cancellation
2025-03-20 20:49:00 +00:00
8b8f1d91d9
Fix syncing when network latency is present ( #4 )
...
* WIP
* Add debug
* Dedupe inserts
* Add deterministic ordering
* Fix whitespaces
* Update insta
* Add integration test script
* Rename
* Add test
* Working for non-deletes
* omg it mostly works for deletes
* Isdeleted fix
* remove created dates
* update api
* Take document id
* No max attempt
* works
* Use string uuids
* .
* working!!!! (hopefully)
* Improve bundling
* Add module
* lint
* .
* lint
* Fix CI
* use toolchain
* clean up
* Add useSlowFileEvents
* Delete fuzz
* Fix CI
* use docker
* fix script
* clean up
* Clean up
* change node version
* Build docker image on every commit
* fix ci
* 1 db per vault
* Add scritps folder
* Bump versions
* Lint
* .
* Fix tests for real
* Style
* .
* try
* Consistent ordering
* Fix tests
* hmm
* .
* Clean up diff
* Fixes
* .
* Fix version bump
* .
* .
* .
2025-03-16 20:13:49 +00:00
9cebf53707
Allow overriding fetch implementation
2025-02-25 22:52:47 +00:00
e186a593ff
Extract helper and lint
2025-02-24 22:46:45 +00:00
67ad7d8fef
Fix logical error
2025-02-23 10:11:20 +00:00
ca225a71be
Lint & format
2025-02-22 17:25:26 +00:00
f73b5ecb71
Fixes & refactor
2025-02-22 17:17:07 +00:00
3471a9c498
Stop Logger being a singleton
2025-02-22 15:11:59 +00:00