thecodrr
3a5fd2ea65
fix: check and handle undefined data during sync merge
2021-06-03 09:18:18 +05:00
thecodrr
d28e29a09f
fix: undefined remote.data during conflict
2021-04-19 10:05:47 +05:00
thecodrr
f607eedbfa
feat: add localOnly prop to note
2021-04-06 09:13:06 +05:00
thecodrr
ad970c2348
fix: do not cause conflict if remote === undefined
2021-03-06 09:39:47 +05:00
thecodrr
f6bdfa9a47
fix: do not migrate vaultKey
2021-03-06 09:36:50 +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
fd113673c0
feat: remove sync tests
...
these tests are too fragile, hard to maintain and keep up to date.
Maybe I will write them again from scratch. As they are, they are of no help.
2021-02-25 19:42:58 +05:00
thecodrr
03e21221c7
feat: add notebook merging
2021-02-25 19:41:17 +05:00
thecodrr
91ec7d1a37
fix: do not cause conflict if remote === false
2021-02-25 09:31:11 +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
4652a74f43
fix: duplicate colors and tags on sync
2021-02-20 09:50:22 +05:00
thecodrr
22d2950f24
feat: disable compression
2021-02-18 18:23:19 +05:00
thecodrr
60a7397ef5
fix: do not try to migrate locked notes
2021-02-18 09:30:48 +05:00
thecodrr
2a8a0b227a
feat: move he to lean-he, remove transfun & jshashes
2021-02-16 21:38:32 +05:00
thecodrr
b5a0b9e649
feat: remove trash collection
2021-02-16 16:56:06 +05:00
thecodrr
53be480b67
fix: shouldCompress is not defined
2021-02-16 11:59:23 +05:00
thecodrr
bd31ef8d9b
feat: add content compression before encryption
2021-02-13 12:05:15 +05:00
thecodrr
dc95ad86e0
fix: remove all mention of delta
2021-02-12 10:15:37 +05:00
thecodrr
7cb084de54
feat: hash compare conflicted content items
2021-02-12 10:01:06 +05:00
thecodrr
4fa53ba9c0
feat: migrate from delta to tiny
2021-02-02 12:24:54 +05:00
thecodrr
4e262e615e
refactor: change all event strings to constants
2021-01-23 10:48:21 +05:00
thecodrr
0ed57e3620
test: fix all ci tests
2021-01-22 22:08:56 +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
5bb50b4e80
fix: some notes from backup not being restored
2020-12-29 14:08:48 +05:00
thecodrr
690cd51862
fix: colors and tags syncing
2020-12-29 12:31:26 +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
ae4a1f9c61
fix: TypeError: Cannot read property '_settings' of undefined
2020-12-10 12:58:04 +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
7a154ee60f
refactor: clone item in collector and delete the keys
2020-12-07 12:12:05 +05:00
thecodrr
e32ace167d
fix: TypeError: Cannot assign to read only property 'migrated' of object '#<Object>'
2020-12-07 12:10:57 +05:00
thecodrr
b373c3a947
fix: TypeError: Cannot add property resolved, object is not extensible
2020-12-07 12:08:54 +05:00
thecodrr
0a949e7d10
feat(BREAKING): note.colors -> note.color
2020-12-07 12:02:50 +05:00
thecodrr
2b30bd9bf0
feat: add migrated flag & update dateEdited on migration
2020-12-06 15:35:23 +05:00
thecodrr
10570e14b2
fix: do not use item.migrated
2020-12-06 15:21:31 +05:00
thecodrr
0ea24a72e8
fix: allow newly migrated notes to be synced
2020-12-06 14:57:32 +05:00
thecodrr
654adf9e36
fix: improve sync migration
2020-12-06 14:50:01 +05:00
thecodrr
d220d05c1f
feat: add migration on sync
2020-12-06 11:13:17 +05:00
thecodrr
048c74816a
refactor: use a single migration backend
2020-12-06 10:52:00 +05:00
thecodrr
23daab7266
feat: add settings syncing
2020-12-05 11:26:02 +05:00
thecodrr
1d36ffde56
refactor: remove circular require
2020-11-25 00:48:02 +05:00
thecodrr
caaa808174
Revert "feat: add hypersearch for searching"
...
This reverts commit 5362e54428 .
2020-11-16 15:01:16 +05:00
thecodrr
5362e54428
feat: add hypersearch for searching
2020-11-05 15:50:10 +05:00
thecodrr
6b38d05a8f
feat: migrate from delta to content
...
**This is a breaking change.**
This will allow for extreme flexibility in the future.
We have also removed `text` collection as it is unnecessary.
Improvements in performance will be noticed while syncing.
Known Issues:
1. Since notes lookup depends on note text, it will not work.
2020-11-04 10:17:37 +05:00
thecodrr
56f050ab27
fix: make sure object is not null
2020-10-29 14:02:41 +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