Commit Graph

15 Commits

Author SHA1 Message Date
thecodrr
1d36ffde56 refactor: remove circular require 2020-11-25 00:48:02 +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
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
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
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