Commit Graph

48 Commits

Author SHA1 Message Date
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
thecodrr
c7634d7f4e ci: fix all tests 2020-04-15 14:13:09 +05:00
thecodrr
2c9d7c285d sync: sync vaultKey 2020-04-15 14:00:05 +05:00
thecodrr
cb7faa6d18 sync: TypeError: key cannot be null or undefined 2020-04-13 15:55:32 +05:00
thecodrr
ffa1e3b15c sync: do not put iv & cipher as child of data 2020-04-13 13:04:12 +05:00
thecodrr
71ae5e0d5d sync: send key as JSON 2020-04-13 12:56:35 +05:00
thecodrr
93f4fdfa6a sync: encrypt/decrypt data before syncing 2020-04-13 12:04:49 +05:00
thecodrr
78f8a86181 merger: merge remote delta if none of the conditions meet 2020-04-11 12:07:40 +05:00
thecodrr
4e3517a747 merger: Cannot read property 'resolved' of undefined 2020-04-11 11:42:17 +05:00
thecodrr
4679d98e53 sync: resolve lastSynced timestamp issues 2020-04-11 11:17:58 +05:00
thecodrr
04b6345d7f fix: tfun is not defined 2020-04-09 16:46:03 +05:00
thecodrr
359864f4a9 merger: merge delta if none of the specified conditions meet 2020-04-09 16:39:44 +05:00
thecodrr
02480da2e3 ci: add more tests and general fixes 2020-04-09 16:36:57 +05:00