Commit Graph

52 Commits

Author SHA1 Message Date
thecodrr
d173bb1fa7 fix: don't lock empty note 2022-03-16 20:35:04 +05:00
thecodrr
1cbbce6019 fix: init notes on vault clear & delete 2021-12-29 10:51:50 +05:00
thecodrr
dbbf4a118e fix: make vault password changing more reliable 2021-12-29 10:49:38 +05:00
thecodrr
55e87b6adf feat: send event on auto vault lock 2021-12-29 09:56:19 +05:00
thecodrr
55d16d4672 fix: check if vault is unlocked before saving 2021-12-29 09:45:30 +05:00
thecodrr
52be317577 refactor: expose decryptContent method 2021-12-22 10:06:20 +05:00
thecodrr
da1c2bbf10 fix: update dateEdited on locked note save 2021-12-22 10:06:01 +05:00
thecodrr
9a984df1bd feat: auto create session history on content edit 2021-12-22 10:05:42 +05:00
thecodrr
2bb1d32533 fix: clear note history when note is locked 2021-12-22 09:57:43 +05:00
thecodrr
888481b858 refactor: sendCheckUserStatusEvent -> checkIsUserPremium 2021-10-26 23:05:47 +05:00
thecodrr
31c1e8900c test: fix all broken tests 2021-09-29 10:31:49 +05:00
thecodrr
6b619e5d3d feat: add upload/download cancellation support 2021-09-29 09:53:50 +05:00
thecodrr
7d16b8f388 feat: refactors and add support for upload/download progress 2021-09-26 11:47:13 +05:00
thecodrr
49b379298e feat: add attachment support in vault 2021-09-18 08:52:08 +05:00
thecodrr
6033cf8740 inital work 2021-09-15 02:16:55 +05:00
thecodrr
70ceb750ec feat: add delete & clear vault functions 2021-07-07 10:15:28 +05:00
thecodrr
93d1e1f449 fix: disable automatic vault password eraser 2021-06-07 10:24:39 +05:00
thecodrr
0a844b55c0 fix: locked note is favorited 2021-02-22 09:42:34 +05:00
thecodrr
04855f4544 feat: add vault creation to premium features 2021-02-15 21:09:04 +05:00
thecodrr
aec57340c3 refactor: string event names to global event name consts 2021-01-23 10:50:07 +05:00
thecodrr
89b710351f fix: save favorite state for locked note 2020-12-23 13:29:23 +05:00
thecodrr
fddb8815b1 fix: save title of locked note as well 2020-12-23 13:19:17 +05:00
thecodrr
8daf564616 refactor: use a single CHECK_IDS 2020-12-05 13:19:41 +05:00
thecodrr
47b7eee4aa feat: vault password can now be changed 2020-11-21 16:09:07 +05:00
thecodrr
d002c445a4 feat: expose method to check if vault exists 2020-11-21 15:44:56 +05:00
thecodrr
c0abed0aed fix(vault): data is not defined (change to content) 2020-11-18 02:44:18 +05:00
thecodrr
1d11021691 fix: locking a locked note should return safely 2020-11-18 02:24:23 +05:00
thecodrr
59cf0cce8f feat: implement user subscription status checking logic 2020-11-11 15:43:09 +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
6fdb81fd84 feat: add 1 min rollover auto syncing 2020-11-02 09:50:27 +05:00
thecodrr
d9afd7b645 feat: auto clear vault session after 30 minutes 2020-10-03 12:04:04 +05:00
thecodrr
2aa0fa592c fix: properly clear data from memory on logout 2020-09-19 11:33:31 +05:00
thecodrr
0e3682450c perf: use Promise.all when encrypting for possibly better perf 2020-09-17 19:58:33 +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
ff94fc428e vault: add jsdoc and reorder methods 2020-04-16 02:36:09 +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
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
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
daf93e6f2c feat: seperate text & delta 2020-03-19 11:30:05 +05:00
thecodrr
e1366d1def fix: classProperties not supproted error 2020-03-10 13:54:34 +05:00
thecodrr
766bc9ff51 refactor: export errors 2020-03-10 13:52:20 +05:00
thecodrr
09ace6de29 ci: write tests for vault 2020-03-09 10:43:32 +05:00