Commit graph

81 commits

Author SHA1 Message Date
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
782690bd79
Add request logs 2024-12-20 16:10:17 +00:00
ec9845577a
Add lints 2024-12-20 11:08:14 +00:00
bdd8650ba7
Add ctrl+c handler 2024-12-18 22:37:42 +00:00
2d5c91a5ef
More lints 2024-12-18 22:27:25 +00:00
1e1dd7b877
Apply more lints 2024-12-18 22:14:09 +00:00
0c92bf959b
Make lints pass 2024-12-18 21:54:58 +00:00
da0e5f7373
Enable more lints 2024-12-18 21:33:30 +00:00
5bea3c94c1
Add write transactions 2024-12-18 20:36:38 +00:00
728c4a5a28
Fix schema 2024-12-15 16:54:44 +00:00
cfeab3939f
Fix delete bug 2024-12-15 15:47:25 +00:00
c567cec656
Add back document ids 2024-12-15 11:45:53 +00:00
65a42a18bf
Implement "since" query for fetch_latest_documents 2024-12-14 17:02:58 +00:00
70471f5142
Go from per document to per vault version ids to allow "since" queries 2024-12-14 17:02:44 +00:00
fe8d236948
Extract responses 2024-12-14 16:48:31 +00:00
fe7ff5349d
Replace document_id with relative path 2024-12-14 14:59:29 +00:00
10bc8c7099
Extract binary merging logic 2024-12-12 22:07:36 +00:00