Commit Graph

62 Commits

Author SHA1 Message Date
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
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
fcf2478d70 ci: fix merger test 2020-08-24 11:14:04 +05:00
thecodrr
37dbc7f4f4 feat: backend data structure changes 2020-08-22 11:25:23 +05:00
thecodrr
cc3e7cfb8e merger: handle deleted delta merge conflict 2020-04-16 11:21:02 +05:00
thecodrr
8ad2bc5457 sync: prepare -> collector, other optimizations 2020-04-16 03:04:44 +05:00
thecodrr
8546742124 merger: keep most recent version if note is locked 2020-04-15 17:50:26 +05:00