Commit Graph

173 Commits

Author SHA1 Message Date
thecodrr
2ec3d5ef1d api: add auto syncing after 3 minutes 2020-05-04 17:23:16 +05:00
thecodrr
7617146c61 lookup: perform case insensitive search 2020-05-04 12:24:33 +05:00
thecodrr
912381ac0c fix: collection saved with wrong keys in prod 2020-04-21 17:39:02 +05:00
thecodrr
62c98419c9 vault: remove unnecessary comments 2020-04-16 12:33:14 +05:00
thecodrr
a806173549 vault: restore headline on perm note unlock 2020-04-16 12:31:32 +05:00
thecodrr
cc3e7cfb8e merger: handle deleted delta merge conflict 2020-04-16 11:21:02 +05:00
thecodrr
55b6b0733b core: clear cache and database on logout 2020-04-16 03:27:22 +05:00
thecodrr
2deec9b675 core: implement event manager 2020-04-16 03:19:50 +05:00
thecodrr
8ad2bc5457 sync: prepare -> collector, other optimizations 2020-04-16 03:04:44 +05:00
thecodrr
1828728f77 fix: tags & color not initializing properly 2020-04-16 02:39:35 +05:00
thecodrr
ff94fc428e vault: add jsdoc and reorder methods 2020-04-16 02:36:09 +05:00
thecodrr
64add84e72 refactor: make everything independent 2020-04-16 02:14:53 +05:00
thecodrr
3a6a126d5d collections: refactor notebooks init 2020-04-15 23:45:56 +05:00
thecodrr
9a951a3a2e collections: refactor notes collection initialization 2020-04-15 23:25:53 +05:00
thecodrr
8546742124 merger: keep most recent version if note is locked 2020-04-15 17:50:26 +05:00
thecodrr
cf11b54328 fix: open locked note not working 2020-04-15 17:16:13 +05:00
thecodrr
07dd6c84db vault: convert delta to string 2020-04-15 16:45:40 +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
6372f78f4a vault: send text with delta when opening locked note 2020-04-15 12:40:45 +05:00
thecodrr
7793517342 vault: fix delta data not being parsed if it was string 2020-04-15 12:30:36 +05:00
thecodrr
19d94924a3 vault: fix noteId of delta & text being undefined after locking 2020-04-15 11:53:57 +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
6075d7d477 api: use storage wrapper for context 2020-04-13 12:46:29 +05:00
thecodrr
93f4fdfa6a sync: encrypt/decrypt data before syncing 2020-04-13 12:04:49 +05:00
thecodrr
8a1d4b179a crypto: migrate to the new crypto api interface 2020-04-13 11:13:32 +05:00
thecodrr
aaad7a4716 Revert "feat: use libsodium for all cryptography"
This reverts commit 668fe6fd33.
2020-04-13 11:07:03 +05:00
thecodrr
aaf566924a fix: resolve all circular dependencies (fix #9) 2020-04-12 11:04:30 +05:00
thecodrr
668fe6fd33 feat: use libsodium for all cryptography 2020-04-11 17:20:37 +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
thecodrr
4eb66538b7 sync: fix dateEdited being always set to Date.now for delta 2020-04-07 15:26:09 +05:00
thecodrr
95d18ed630 fix: update note before updating delta 2020-04-07 12:39:52 +05:00
thecodrr
db0e723c1b fix: do not merge resolved notes 2020-04-04 13:52:40 +05:00
thecodrr
6dfaf3abf5 fix: conflicts recalculation conditional 2020-04-04 13:36:32 +05:00
thecodrr
525f933a51 fix: Conflicts is not defined 2020-04-04 13:34:17 +05:00
thecodrr
90306e5410 fix: support for class properties is not enabled 2020-04-04 13:31:47 +05:00
thecodrr
4dc3d2fe44 feat: recalculate conflicts on sync 2020-04-04 13:29:33 +05:00
thecodrr
10ee35a145 feat: send error code with merge conflict error 2020-03-29 21:30:33 +05:00
thecodrr
c7af1c905e sync: do not use dateEditted for time comparison 2020-03-29 19:42:26 +05:00
thecodrr
defa827e4d feat: add merge conflict handling 2020-03-29 19:20:12 +05:00
thecodrr
d76709fe1e perf: use single loop for notes filtering 2020-03-26 10:24:43 +05:00
thecodrr
164d511b55 fix: do not always send deleted items 2020-03-24 12:45:19 +05:00
thecodrr
57cfae37c1 fix: sync condition 2020-03-24 12:23:30 +05:00