Commit Graph

37 Commits

Author SHA1 Message Date
thecodrr
5be2a5ebd6 fix: reset progress on operation cancel 2021-10-01 11:40:18 +05:00
thecodrr
0c799e4d1f refactor: cleanup attachments progress event 2021-09-30 09:42:32 +05:00
thecodrr
6b619e5d3d feat: add upload/download cancellation support 2021-09-29 09:53:50 +05:00
thecodrr
7d16b8f388 feat: refactors and add support for upload/download progress 2021-09-26 11:47:13 +05:00
thecodrr
db87d05b3e fix: crash when extracting attachments from notes 2021-09-23 10:57:55 +05:00
thecodrr
1c51824b33 feat: add attachments support 2021-09-20 12:10:36 +05:00
thecodrr
6033cf8740 inital work 2021-09-15 02:16:55 +05:00
thecodrr
e0202cd22a fix: do not throw on sync already running 2021-09-13 09:37:52 +05:00
thecodrr
a6353d8990 fix: send lastSynced time from local to server 2021-08-31 12:12:16 +05:00
thecodrr
1ca53f939e fix: do not allow multiple concurrent syncs 2021-08-10 11:59:26 +05:00
thecodrr
d9bbb9fbab fix: improve content cleanup logic 2021-07-03 23:07:43 +05:00
thecodrr
f0dbe822c7 feat: cleanup orphaned content items 2021-07-03 14:50:59 +05:00
thecodrr
7b454bd13e revert: always send data even if empty 2021-07-03 14:08:36 +05:00
thecodrr
50c95461b1 fix: unexpected merge conflicts on multiple devices 2021-07-03 12:14:11 +05:00
thecodrr
81d4c921c5 feat: do not push sync if nothing is changed 2021-06-16 10:08:29 +05:00
thecodrr
dd2a065be7 fix: multiple settings objects created for 1 user
due to these multiple objects reset password wasn't working because
only the latest one would be encrypted with the new password
but all previous objects would require decryption
which resulted in a block while syncing
2021-02-26 17:33:46 +05:00
thecodrr
df4c98b27b fix: do not update lastSynced time on SSE sync
we won't be updating lastSynced time because it can
cause the lastSynced time to move ahead of any last edited
(but unsynced) note resulting in edited notes not getting synced.
2021-02-22 09:33:30 +05:00
thecodrr
2a8a0b227a feat: move he to lean-he, remove transfun & jshashes 2021-02-16 21:38:32 +05:00
thecodrr
4e262e615e refactor: change all event strings to constants 2021-01-23 10:48:21 +05:00
thecodrr
810567af95 fix: do not throw on merge conflict in SSE handler 2021-01-09 11:13:17 +05:00
thecodrr
b26b5e462e fix: refresh db on sse sync event 2020-12-29 15:32:56 +05:00
thecodrr
5c519f17e6 fix: minor errors with fetch request 2020-12-16 13:23:14 +05:00
thecodrr
f8c306380b feat: migrate to use the new backend 2020-12-16 12:06:25 +05:00
thecodrr
a83b2355d2 feat: impl account password changing 2020-12-11 20:19:28 +05:00
thecodrr
6746df2b7c feat: enable merge conflict detection for sse 2020-12-08 10:37:36 +05:00
thecodrr
310899d0d6 feat: add push-only syncing 2020-12-07 18:26:01 +05:00
thecodrr
23daab7266 feat: add settings syncing 2020-12-05 11:26:02 +05:00
thecodrr
f2efacd7b0 fix: do not save lastSynced key under notesnook key 2020-10-28 12:16:11 +05:00
thecodrr
5e0240ea30 fix: user data structure changes 2020-10-28 12:11:18 +05:00
thecodrr
bf29a0ab16 fix: properly change host via db.host method 2020-09-19 11:46:36 +05:00
thecodrr
35995784d9 fix: merge conflict detection when merging via sse 2020-08-25 08:52:12 +05:00
thecodrr
10689d9ef9 feat: implement direct syncing using sse (experimental) 2020-08-24 13:07:16 +05:00
thecodrr
94e02adf67 fix: remove leading front slash from HOST 2020-08-24 11:27:21 +05:00
thecodrr
37dbc7f4f4 feat: backend data structure changes 2020-08-22 11:25:23 +05:00
thecodrr
8ad2bc5457 sync: prepare -> collector, other optimizations 2020-04-16 03:04:44 +05:00
thecodrr
4679d98e53 sync: resolve lastSynced timestamp issues 2020-04-11 11:17:58 +05:00
thecodrr
02480da2e3 ci: add more tests and general fixes 2020-04-09 16:36:57 +05:00