Commit Graph

190 Commits

Author SHA1 Message Date
thecodrr
24c28483c1 feat: allow frontend to specify its own eventsource lib 2020-09-17 10:10:38 +05:00
thecodrr
06707669dd feat: implement database backup 2020-09-13 13:24:24 +05:00
thecodrr
9c5fa7e88d fix: auto clear of trash after 7 days
We were getting this error: `Cannot read property 'remove' of undefined`
2020-09-07 09:45:31 +05:00
thecodrr
ea51fa7aa0 feat: handle "not authorized" error by logging the user out 2020-08-25 09:08:55 +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
215493e556 fix: add async modifier to function 2020-08-24 11:33:37 +05:00
thecodrr
4be79ec57b fix: get whole user object if accessToken is undefined 2020-08-24 11:29:39 +05:00
thecodrr
94e02adf67 fix: remove leading front slash from HOST 2020-08-24 11:27:21 +05:00
thecodrr
2fcea10e43 fix: subscribe to event before calling user.sync 2020-08-24 11:25:09 +05:00
thecodrr
30a64a3795 feat: add sse support 2020-08-24 11:14:16 +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
2e80859bea feat: sync user on startup 2020-05-23 17:20:24 +05:00
thecodrr
f6673b4271 fix: pass this.context to session manger 2020-05-14 15:07:49 +05:00
thecodrr
2218798ab4 refactor: move session validation to its fn 2020-05-14 13:56:39 +05:00
thecodrr
4ee2d307c3 feat: impl session validation 2020-05-14 13:51:48 +05:00
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