Commit Graph

353 Commits

Author SHA1 Message Date
thecodrr
c902076b4e fix: crash when logging out 2020-05-04 12:21:15 +05:00
thecodrr
6ba937314d consts: use https instead of http for api endpoint 2020-05-03 12:00:47 +05:00
thecodrr
ab3d2ae9ae bump version 2020-04-26 12:45:50 +05:00
thecodrr
fdc58df460 chore: changed HOST link to api.notesnook.com 2020-04-26 10:33:03 +05:00
thecodrr
bbebee06a0 user: throw on 200 status code if there's error in body 2020-04-25 12:09:20 +05:00
thecodrr
ce0b4904d6 chore: bump version 2020-04-21 17:39:32 +05:00
thecodrr
912381ac0c fix: collection saved with wrong keys in prod 2020-04-21 17:39:02 +05:00
thecodrr
1c253b2170 fix: do not get undefined items 2020-04-21 12:23:51 +05:00
thecodrr
f9f7e3471d fix: note.content.text causing crash when its an object 2020-04-16 14:04:57 +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
47d01235ed fix: isNoteEmpty causing crashes 2020-04-16 12:23:31 +05:00
thecodrr
cc3e7cfb8e merger: handle deleted delta merge conflict 2020-04-16 11:21:02 +05:00
thecodrr
1078600290 ci: fix user tests 2020-04-16 03:41:43 +05:00
thecodrr
58d63de654 user: fix typo 2020-04-16 03:32:07 +05:00
thecodrr
1cf051d351 ev: Cannot read property 'push' of undefined 2020-04-16 03:31:34 +05:00
thecodrr
bfb40a5cf1 collection: Cannot read property 'ev' of undefined 2020-04-16 03:30:57 +05:00
thecodrr
14b72ee2f4 collections: check if collection has clear fn 2020-04-16 03:30:16 +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
38a825be91 ci: fix vault tests 2020-04-15 11:38:51 +05:00
thecodrr
a132f7cdc4 bump version 2020-04-15 00:11:56 +05:00
thecodrr
451b15ef89 user: remove unnecessary async modifier 2020-04-14 11:36:25 +05:00
thecodrr
cb7faa6d18 sync: TypeError: key cannot be null or undefined 2020-04-13 15:55:32 +05:00
thecodrr
a462a02f56 user: use fixed salt to derive key for encryption 2020-04-13 15:36:51 +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
b12e61198e user: derive & store encryption key when authenticating 2020-04-13 11:23:02 +05:00
thecodrr
8a1d4b179a crypto: migrate to the new crypto api interface 2020-04-13 11:13:32 +05:00
thecodrr
490853ce91 Revert "feat: impl libsodium crypto"
This reverts commit 7dae60e4f0.
2020-04-13 11:07:25 +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
7dae60e4f0 feat: impl libsodium crypto 2020-04-11 17:02:11 +05:00