Commit Graph

159 Commits

Author SHA1 Message Date
thecodrr
0a7f80cad5 fix: data collection & upload progress on sync 2022-04-01 20:03:00 +05:00
thecodrr
d67576d04d test: skip all sync tests 2022-04-01 18:49:29 +05:00
thecodrr
f8bb3d2d71 fix: improve fetch items progress 2022-04-01 14:50:12 +05:00
thecodrr
d2e6cffa55 fix: resolve if device synced 2022-04-01 10:38:43 +05:00
thecodrr
9378a205d7 fix: make fetch queue properly async 2022-03-31 17:14:09 +05:00
thecodrr
c234c87a76 feat: use messagepack for syncing 2022-03-31 16:18:34 +05:00
thecodrr
1703420ca9 feat: allow grouping by none 2022-03-31 14:32:24 +05:00
thecodrr
b90858e199 fix: don't run autosync for localOnly items 2022-03-31 11:46:48 +05:00
thecodrr
2d6824cc73 fix: set last synced time from server if there is nothing to sync locally 2022-03-31 11:37:13 +05:00
thecodrr
baa2b8ab81 fix: incorrect upload progress 2022-03-31 10:33:38 +05:00
thecodrr
e02f368f4c fix: force sync & sync progress 2022-03-31 09:40:51 +05:00
thecodrr
054cd5e8f2 fix: wait for fetching to complete 2022-03-31 00:08:21 +05:00
thecodrr
32a2d79409 fix: process sync items after fetch completes 2022-03-30 23:16:38 +05:00
thecodrr
2cbe8dffd8 feat: make sync more resilient 2022-03-30 20:45:16 +05:00
thecodrr
4db686d7f8 fix: generate id per sync instead of using connection id 2022-03-30 16:52:09 +05:00
thecodrr
854b45f8fc fix: clear sync queue on finish 2022-03-30 16:36:21 +05:00
thecodrr
4135028137 feat: improve sync over websockets 2022-03-30 15:52:48 +05:00
thecodrr
ffd71b2cae fix: allow concurrent sync 2022-03-28 15:00:27 +05:00
thecodrr
91ae3bc581 fix: ignore newly synced items 2022-03-28 13:31:18 +05:00
thecodrr
e81be52386 fix: run sync on realtime sync completed 2022-03-28 13:08:28 +05:00
thecodrr
e727974951 fix: close signalr connection on stop 2022-03-28 10:54:13 +05:00
thecodrr
ebe06bd4e0 fix: encrypt items before sync 2022-03-28 10:45:41 +05:00
thecodrr
32545d4320 feat: disable at rest encryption 2022-03-28 10:22:26 +05:00
thecodrr
a3bc778660 Merge branch 'master' into websockets-encrypted-sync 2022-03-28 10:17:18 +05:00
thecodrr
aa764e6cc8 fix: merge deleted attachments directly 2022-03-16 22:12:41 +05:00
thecodrr
462afb5536 fix: sync deleted attachments 2022-03-12 12:57:28 +05:00
thecodrr
9fe100f09f fix: add null checks 2022-03-11 15:06:21 +05:00
thecodrr
0e2ed6a992 fix: send datemodified with localOnly delete ref 2022-03-11 15:06:08 +05:00
thecodrr
f78e56fdcb feat: add full support for localOnly items 2022-03-11 12:40:42 +05:00
thecodrr
756efd3af1 feat: auto sync on sse connect 2022-03-08 13:17:24 +05:00
thecodrr
9d097b11cb feat: mark att. as failed on error 2022-02-28 13:05:51 +05:00
thecodrr
c92d08a331 fix: only sync uploaded attachments 2022-02-28 13:03:27 +05:00
thecodrr
954de78de4 fix: include uploading att. in partial sync 2022-02-28 13:02:04 +05:00
thecodrr
1d283c73f4 fix: improve content conflict resolution
this fixes the "undefined is not a function" error originated from
SparkMD5. Basically, sometimes the remote content or local content is
an object — an invalid state. So we need to check for that.
(fixes streetwriters/notesnook#371)
2022-02-25 15:27:00 +05:00
thecodrr
1af0558dc6 feat: add sync resumability 2022-02-10 16:10:54 +05:00
thecodrr
fb0c30ecca feat: send progress events during sync 2022-02-08 15:09:39 +05:00
thecodrr
bb675e9da2 initial 2022-02-08 13:16:41 +05:00
thecodrr
621c4373ed feat: better error on upload att. failed 2022-01-31 10:23:03 +05:00
thecodrr
23fac959f4 fix: get remoteItem id from decrypted data 2022-01-12 23:51:21 +05:00
thecodrr
6c6e5a7676 fix: throw error if decrypted data is undefined 2022-01-03 14:54:23 +05:00
thecodrr
c16bfd31e3 fix: cannot read property dateResolved of undefined 2022-01-01 20:58:56 +05:00
thecodrr
43bb3d2785 fix: throw proper error if local db version is lower than required 2021-12-31 11:50:21 +05:00
thecodrr
d52cb6a82e fix: keep local content if resolved 2021-12-31 10:45:10 +05:00
thecodrr
f838826e42 fix: re-enable account password changing 2021-12-31 09:05:45 +05:00
thecodrr
edd9dc5de2 fix: notes not merging on sync 2021-12-29 09:34:20 +05:00
thecodrr
06828ac35c feat: dateEdited -> dateModified 2021-12-20 14:37:06 +05:00
thecodrr
02317a6369 test: add collector tests 2021-12-20 14:35:01 +05:00
thecodrr
2e00ba2e8a refactor: seperate note add & merging 2021-12-20 09:28:17 +05:00
thecodrr
2cc5ec74c2 fix: images are not attached on note publish 2021-12-01 20:18:14 +05:00
thecodrr
485f464f13 feat: acquire lock using syncMutex 2021-11-18 19:40:59 +05:00