Commit graph

97 commits

Author SHA1 Message Date
0295b5633f
Allow deleting non-existent files 2025-05-23 21:56:39 +01:00
70fe45a09d
Rename user-agent header to device-id 2025-05-22 22:24:30 +01:00
961032b24f
Keep content on delete 2025-05-22 21:08:18 +01:00
715bbc4d2e
Add user and device provenance colums 2025-05-22 21:05:26 +01:00
f63d3dd830
Add websocket message type 2025-04-08 23:01:08 +01:00
dc124ace20
Sort latest updates ascending 2025-04-08 22:23:01 +01:00
33fd127cf6
Take last_seen_vault_update_id as a WS message instead of query parameter 2025-04-08 22:22:37 +01:00
74a8060246
Always normalise vaultId and trim token 2025-04-07 22:29:23 +01:00
51f69a39af
Add utils module 2025-04-07 22:26:16 +01:00
f8b0501eea
Fix E2E tests 2025-04-06 13:55:27 +01:00
648db73628
Add device id and use it to filter out updates coming from the same device 2025-04-04 23:13:50 +01:00
3881f56b45
Bump rust deps 2025-04-04 21:58:05 +01:00
0e53631cc8
Format 2025-04-04 21:48:27 +01:00
b5e528d8b8
Use middleware instead of manual auth checks 2025-04-04 21:47:19 +01:00
fb71460fc3
Turn auth into a middleware 2025-04-04 21:46:08 +01:00
9a0b8a07bf
Add response_timeout_seconds config 2025-04-04 21:19:54 +01:00
1f9728d893
Add cursor moving (#19) 2025-04-02 22:06:38 +01:00
0311883a16
Fix lint 2025-03-29 14:04:06 +00:00
81c4cc991c
Print init errors 2025-03-29 12:25:24 +00:00
b3e98d32b6
Add vault-level access control 2025-03-29 12:25:15 +00:00
1aad0fce31
Add WebSocket support (#12) 2025-03-29 10:17:46 +00:00
ccff1cfc7a
Fix parsing 2025-03-24 22:03:43 +00:00
baba8f82bf
Take config path as input 2025-03-24 21:57:56 +00:00
e9c6f99df2
Give unique names to path params 2025-03-22 20:30:24 +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
e493b98a24
Don't merge with existing document on create for correctness reasons 2025-02-26 23:11:46 +00:00
5844e282e2
Add test 2025-02-24 22:25:03 +00:00
0111afd296
Extract & add test 2025-02-23 21:34:19 +00:00
c5a89f5205
Fix path deduping again 2025-02-23 14:12:42 +00:00
0ab89ccf01
Fix dedup logic 2025-02-23 13:56:37 +00:00
4ed2095fd6
Dedup renamed files 2025-02-23 12:30:59 +00:00
60181ae53f
Add fetch doc version endpoints 2025-01-14 21:41:11 +00:00
a9227fa5bb
Merge based on file type 2025-01-11 10:53:05 +00:00
72be6ba18b
Implement multipart upload endpoints 2025-01-07 22:29:13 +00:00
f4a87d073a
Bump rust edition & reformat 2025-01-07 22:25:59 +00:00
d91da39884
Rename config.yaml to config.yml 2025-01-05 11:33:05 +00:00
f87352a9e6
Make API more intuitive 2025-01-04 17:37:28 +00:00
64274f4de5
Fix splitting logic 2025-01-04 17:04:35 +00:00
6d5b183a3c
Sanitize relative paths server-side 2025-01-04 16:16:54 +00:00
0943681702
Move app state 2025-01-04 16:15:15 +00:00
dd86a507d1
Fix file delete & create order being different when fetching latest changes 2025-01-04 12:39:53 +00:00
c41ce7ef68
Don't return content in response if it's unchanged 2025-01-04 12:32:18 +00:00
752efd7a27
Use new API 2025-01-03 22:30:46 +00:00
b074202ed8
No need to merge if the contents are equal 2025-01-03 18:25:00 +00:00
727b60c672
Fix duplicated documents 2025-01-03 18:24:42 +00:00
aeae75b541
Typo 2025-01-03 14:45:32 +00:00
2911b195f4
Don't create new doc if one already exists with the same content 2025-01-03 14:40:52 +00:00
c5c548c5d4
Bump and print server version 2025-01-02 11:37:40 +00:00
3560febc3f
Add description and default schema 2025-01-02 11:35:45 +00:00
6c2c363561
Refactor errors 2025-01-02 11:33:53 +00:00