Commit Graph

2058 Commits

Author SHA1 Message Date
thecodrr
3f6f5e6f9c fix: sanitize color before assigning it to a note 2022-04-15 23:32:59 +05:00
thecodrr
332e08c372 fix: clone array before adding header 2022-04-15 22:32:16 +05:00
thecodrr
c64f867d18 test: add test to check for colors 2022-04-14 01:11:12 +05:00
thecodrr
f774948838 fix: speed up sync by skipping negotiation 2022-04-14 01:10:46 +05:00
thecodrr
8c65fbb996 fix: request sync before sse connects
(fixes streetwriters/notesnook#465)
2022-04-14 01:10:25 +05:00
thecodrr
94f27f85a9 fix: duplicate calls to colors.add on note color 2022-04-14 01:09:35 +05:00
thecodrr
e6b4893ef9 fix: clear colors & tags for deleted note on sync 2022-04-14 01:08:55 +05:00
thecodrr
7b57b0b916 fix: parse & throw json errors from signalr errors 2022-04-13 16:46:19 +05:00
thecodrr
43e2d4c65c fix: only do full sync if user's key exists 2022-04-06 03:12:05 +05:00
thecodrr
03ba7c5e66 chore: add subscription type to User 2022-04-06 02:18:15 +05:00
thecodrr
d4a7978ee4 feat: add regional pricing api 2022-04-03 03:30:09 +05:00
thecodrr
1fd1d8e258 fix: mark notes without content as synced 2022-04-01 22:14:40 +05:00
thecodrr
0a7f80cad5 fix: data collection & upload progress on sync 2022-04-01 20:03:00 +05:00
thecodrr
f42e160047 fix: do not run sync on tag update 2022-04-01 20:02:38 +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
0d5c1990ec feat: add item synced check in trash 2022-04-01 14:29:58 +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
19ef7e1a2c feat: add method to check item's sync status in case of incomplete sync 2022-03-31 12:14:59 +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
ff475678c2 chore: update signalr package 2022-03-28 10:32:02 +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
936fe4943e fix: fallback to error for errorMessage 2022-03-24 23:17:04 +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
c3576520ec fix: invalid_grant errors are overriden 2022-03-17 22:56:10 +05:00
thecodrr
c3fdad26f1 test: fix usermanager test 2022-03-16 22:46:51 +05:00
thecodrr
aa764e6cc8 fix: merge deleted attachments directly 2022-03-16 22:12:41 +05:00
thecodrr
09cc9774b8 fix: deleted attachments not syncing 2022-03-16 22:05:19 +05:00