Commit Graph

201 Commits

Author SHA1 Message Date
thecodrr
f2efacd7b0 fix: do not save lastSynced key under notesnook key 2020-10-28 12:16:11 +05:00
thecodrr
5e0240ea30 fix: user data structure changes 2020-10-28 12:11:18 +05:00
thecodrr
d9afd7b645 feat: auto clear vault session after 30 minutes 2020-10-03 12:04:04 +05:00
thecodrr
bf33ee0709 fix: handle case where a list with empty notes is searched 2020-09-24 11:33:31 +05:00
thecodrr
544f51c8a9 fix: crash when search notes that have a locked note 2020-09-24 11:24:11 +05:00
thecodrr
7bae5df9c4 fix: handle unsupported sse messages 2020-09-20 09:15:23 +05:00
thecodrr
8aa38fdc39 fix: can't find variable HOST 2020-09-19 11:48:31 +05:00
thecodrr
bf29a0ab16 fix: properly change host via db.host method 2020-09-19 11:46:36 +05:00
thecodrr
1058ae9909 feat: add ability to change HOST url 2020-09-19 11:36:37 +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
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