Commit Graph

546 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
692b50cf84 feat: reset user on account recovery 2022-04-01 18:41:33 +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
799116efe4 fix: cleanup mfa endpoints 2022-03-21 10:23:35 +05:00
thecodrr
ea6f8fe121 feat: add support for adding fallback 2fa method 2022-03-18 16:31:49 +05:00
thecodrr
873cfb13b4 feat: add basic user types 2022-03-17 22:58:08 +05:00
thecodrr
e4d41816f8 feat: remove /reset endpoint 2022-03-17 22:56:33 +05:00
thecodrr
aa764e6cc8 fix: merge deleted attachments directly 2022-03-16 22:12:41 +05:00
thecodrr
d173bb1fa7 fix: don't lock empty note 2022-03-16 20:35:04 +05:00
thecodrr
5804fc28bf feat: add support for getting count of valid backup codes 2022-03-16 00:22:08 +05:00
thecodrr
0eba0fb800 feat: add disable, reset & recovery codes endpoint to mfa 2022-03-15 15:31:11 +05:00
thecodrr
462afb5536 fix: sync deleted attachments 2022-03-12 12:57:28 +05:00
Abdullah Atta
c350da9fda feat: add mfa support (#23) 2022-03-11 22:49:24 +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
6631c08799 fix: don't reconnect sse if it is already connected 2022-03-08 13:17:14 +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
70fee1894a feat: add attachments lookup 2022-02-28 13:02:16 +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
49e3c75e4c feat: add trial activation endpoint 2022-02-17 21:22:22 +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