Commit Graph

156 Commits

Author SHA1 Message Date
Matt Hill
fcfa917710 update package json (#58) 2023-03-15 15:00:07 -06:00
Lucy C
85959db110 update packages (#57) 2023-03-07 20:05:26 -07:00
Aiden McClelland
4b01b74f96 fuck it: no locks (#56) 2022-11-28 11:55:10 -07:00
Matt Hill
57af14469b only update nodes once per patch (#55) 2022-11-28 11:55:10 -07:00
Alex Inkin
5104086317 feat: remove ionic storage (#51) 2022-11-28 11:55:10 -07:00
Aiden McClelland
cb8998a79c make Store::apply cancel safe (#53) 2022-10-26 14:19:26 -06:00
Matt Hill
6c3079786f handle escaping and honor root pointer (#52)
* handle escaping and honor root pointer

* Update client/lib/json-patch-lib.ts

* Update client/lib/json-patch-lib.ts

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
2022-10-03 10:56:50 -06:00
Aiden McClelland
00564ca1ca allow recovery from broken db (#50) 2022-09-27 14:56:26 -06:00
Aiden McClelland
50657d63e2 remove barrage (#49) 2022-09-26 13:35:13 -06:00
Aiden McClelland
e74f36f073 prefer compression as a failsafe (#48) 2022-09-22 08:40:06 -06:00
Matt Hill
4d987b1921 don't emit until bootstrapped with data (#47) 2022-09-21 10:51:32 -06:00
Matt Hill
20beb61baa much more efficient (#46)
* much more efficient

* update children too

* better compare
2022-09-14 11:21:00 -06:00
Matt Hill
74c01eb5db fix updating revision number on dumps 2022-09-06 13:54:33 -06:00
Aiden McClelland
13c2e6570d fix db serialization 2022-09-06 12:52:43 -06:00
Matt Hill
bdf0b32be6 remove stash and store completely 2022-09-02 15:13:08 -06:00
Aiden McClelland
b205639575 add revision cache and clean up todos 2022-09-02 15:12:26 -06:00
Aiden McClelland
3e0a0204bc add cli utility (#41)
* add util

* add cli util
2022-09-02 13:01:26 -06:00
Alex Inkin
f4732b18a2 Refactor sources (#40)
* major refactor to exclude multiple sources

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
2022-08-21 14:36:07 -06:00
waterplea
2fef1e572c chore: add prettier and reformat lib 2022-07-24 09:01:01 -06:00
waterplea
c7006e0eb2 fix: patchdb should not bundle rxjs but instead rely on the version in the app 2022-07-24 09:01:01 -06:00
Matt Hill
ec35e5f14c refactor apply operation to account for arrays (#38)
* refactor apply operation to account for arrays

* fix buig
2022-06-29 17:43:12 -06:00
waterplea
d24bd1c513 fix: properly handle source errors without stopping the stream 2022-06-29 08:18:48 -06:00
Alex Inkin
9a28793f27 refactor: remove nested subscription (#36) 2022-06-22 15:23:35 -06:00
Alex Inkin
e138b88e75 feat: make watch$ strictNullCheck compatible (#34)
* feat: make `watch$` strictNullCheck compatible

* chore: send initial value to subscribers

* let values emit when undefined

* fix: properly check if data can be processed

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-06-19 13:19:00 -06:00
J M
8e7c893d48 fix: Remove an unwrap (#35)
* chore: Remove an unwrap

* chore: convert to a potential error instead, older api

* chore: format file
2022-06-06 09:49:11 -06:00
Alex Inkin
6f6c26acd4 feat(client): remove data mutation (#32)
* feat(client): remove data mutation

* chore: address comments and fix some other issues

* chore: send the most recent cache upon subscription
2022-05-26 16:23:56 -06:00
J M
35973d7aef Feat new locking (#31)
This converts the old singular locks into plural locks.
2022-05-09 14:19:08 -06:00
Aiden McClelland
f84637b89d improve data sync reliability to underlying storage medium 2022-02-25 13:20:39 -07:00
Aiden McClelland
690324e68d increase max revisions that can be rebased onto 2022-01-26 16:00:25 -07:00
Keagan McClelland
259d186263 fixes multiple calls to recv for closed channels 2022-01-24 12:14:19 -07:00
Keagan McClelland
21fed0c0be fixes issue where locker actions may be reordered if they fire at close enough times 2022-01-20 17:58:19 -07:00
Keagan McClelland
28966308bc fixes locker deadlock issue resulting from json pointer recursion being broken 2022-01-11 13:16:54 -07:00
Keagan McClelland
53cdd6e370 remove println 2022-01-10 12:42:39 -07:00
Keagan McClelland
36793f429d works to the best of my knowledge 2022-01-10 12:42:39 -07:00
Keagan McClelland
7ae3ef9497 remove default features 2022-01-10 12:42:39 -07:00
Keagan McClelland
217d8dbdef deadlock detection tested 2022-01-10 12:42:39 -07:00
Keagan McClelland
ebc666302b builds again, tests underway 2022-01-10 12:42:39 -07:00
Keagan McClelland
09697a3c5a reorganize the entire locker 2022-01-10 12:42:39 -07:00
Keagan McClelland
766e45dc5a first pass at deadlock detection 2022-01-10 12:42:39 -07:00
Aiden McClelland
89d2b31f41 fix tracing errors 2021-12-28 15:29:10 -07:00
Keagan McClelland
f45f3a5b33 put validation behind a feature flag 2021-12-28 15:29:10 -07:00
Keagan McClelland
70dc690437 fix implicit locktype escalation 2021-12-28 15:29:10 -07:00
Keagan McClelland
0860275869 enforce correct api use 2021-12-28 15:29:10 -07:00
J M
d293e9a1f9 Update json-ptr 2021-12-28 15:29:10 -07:00
Drew Ansbacher
2ca4b256b3 Update patch-db.ts 2021-12-28 15:29:10 -07:00
Drew Ansbacher
4fb0d3570b Update patch-db.ts 2021-12-28 15:29:10 -07:00
J M
8422315b33 Fix: Merge conflict
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
2021-12-28 15:29:10 -07:00
Drew Ansbacher
e2a51475a7 polling working without refresh 2021-12-28 15:29:10 -07:00
Aiden McClelland
84cbed52c2 use general error for lock fn on handle 2021-12-28 15:29:10 -07:00
Aiden McClelland
afea35995d switch error type on lock fn 2021-12-28 15:29:10 -07:00