Commit Graph

131 Commits

Author SHA1 Message Date
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
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
thecodrr
4b9453d91b fix: acquire sync lock during backup restore 2021-11-18 15:28:36 +05:00
thecodrr
64535cc61c fix: repair all notebook references on sync/backup 2021-11-12 11:47:03 +05:00
thecodrr
e608eaaedf fix: repair notebook references in notes on sync 2021-11-12 10:32:25 +05:00
thecodrr
b139623420 feat: remove trash from merger & backup 2021-11-12 09:38:11 +05:00
thecodrr
025b416e34 fix: attachment progress not showing 2021-11-02 14:25:48 +05:00
thecodrr
f8cfab4213 fix: stripped content is never synced 2021-11-02 12:43:56 +05:00
thecodrr
bac15941b0 fix: settings not getting synced after a change 2021-10-29 13:02:33 +05:00
thecodrr
0bf1a89d1f fix: increase auto sync interval to 5 seconds 2021-10-29 11:55:18 +05:00
thecodrr
3e184345a3 fix: don't send 0-indexed progress 2021-10-28 13:15:30 +05:00
thecodrr
4e6a6b9246 fix: request token right before making an http request 2021-10-27 11:18:30 +05:00
thecodrr
011a99d322 fix: improve syncing & merge conflict detection 2021-10-27 10:53:36 +05:00
thecodrr
67674cbc33 fix: improve sync & SSE reliability 2021-10-26 23:06:52 +05:00
thecodrr
41fd0042dc fix: merge everything serially always 2021-10-26 12:14:37 +05:00
thecodrr
51794e001e feat: add 3-layer-encryption for attachments 2021-10-25 11:35:00 +05:00
thecodrr
69defdb367 feat: handle attachments merge conflict 2021-10-23 11:41:17 +05:00
thecodrr
6fab9ad1f3 chore: remove all comments 2021-10-22 16:29:03 +05:00
thecodrr
5224658297 feat: send groupId with attachment progress events 2021-10-21 10:16:24 +05:00
thecodrr
d176a2e0dd feat: add direct content attachment downloading 2021-10-05 13:23:27 +05:00
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
052fca4f42 fix: return null if items are undefined 2021-09-22 09:21:06 +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