Commit Graph

98 Commits

Author SHA1 Message Date
thecodrr
2e80859bea feat: sync user on startup 2020-05-23 17:20:24 +05:00
thecodrr
a7a1d3396a fix(user): send authorization token with upgrade req 2020-05-21 21:59:06 +05:00
thecodrr
ea169b46f8 feat: impl upgrade logic 2020-05-21 20:34:13 +05:00
thecodrr
81718834e5 feat: properly impl isPremium fn in user 2020-05-14 15:13:15 +05:00
thecodrr
11151d9d2c feat: implement function to get user's pro status 2020-05-13 04:22:19 +05:00
thecodrr
c902076b4e fix: crash when logging out 2020-05-04 12:21:15 +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
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
55b6b0733b core: clear cache and database on logout 2020-04-16 03:27:22 +05:00
thecodrr
64add84e72 refactor: make everything independent 2020-04-16 02:14:53 +05:00
thecodrr
451b15ef89 user: remove unnecessary async modifier 2020-04-14 11:36:25 +05:00
thecodrr
a462a02f56 user: use fixed salt to derive key for encryption 2020-04-13 15:36:51 +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
aaf566924a fix: resolve all circular dependencies (fix #9) 2020-04-12 11:04:30 +05:00
thecodrr
a4d48b8da2 user: fix expiry time handling 2020-04-11 11:28:17 +05:00
thecodrr
4357a1e496 ci: add user model tests 2020-04-07 19:05:00 +05:00
thecodrr
025a953cea feat: handle deletion for sync 2020-03-23 13:22:28 +05:00
thecodrr
0d2cb3e245 feat: add noteIds arrays to tags & colors collection 2020-03-22 10:59:06 +05:00
thecodrr
c1e6199cc7 sync: make it work (only upload working) 2020-03-19 15:14:29 +05:00
thecodrr
125104b379 fix: some error handling 2020-03-19 14:30:05 +05:00
thecodrr
daf93e6f2c feat: seperate text & delta 2020-03-19 11:30:05 +05:00
thecodrr
1c1d87696b fix: save user with "user" key instead of username 2020-03-18 14:06:40 +05:00
thecodrr
9582888f35 fix: minor fixes 2020-03-17 12:10:09 +05:00
thecodrr
cff0bef0b7 refactor: vault api 2020-03-08 11:33:55 +05:00
thecodrr
1146bdf5ae feat: impl vault for encryption/decryption of notes 2020-03-07 12:29:55 +05:00
thecodrr
0dc7d361e1 fix: Relocking a note sends delta as its 'key' (#5) 2020-03-03 23:54:30 +05:00
thecodrr
23b64dc50b fix: crash when deleting a note in topic 2020-03-03 22:10:13 +05:00
thecodrr
168e50b0cc fix: object is not extensible error when moving note 2020-03-02 12:36:10 +05:00
thecodrr
20891017e3 fix: move note not working 2020-03-02 10:29:29 +05:00
thecodrr
7722c9f1a5 feat: remove notebook favoriting 2020-02-25 09:08:12 +05:00
thecodrr
5eee1a46be fix: object is not extensible error when add/remove tag 2020-02-24 23:24:43 +05:00
thecodrr
231b028c8a fix: make copy of note before add/remove tag 2020-02-24 19:53:19 +05:00
thecodrr
03f7505fbe remove node-fetch 2020-02-23 19:57:46 +05:00
thecodrr
8bf34553cc refactor: make all private methods/properties start with an underscore 2020-02-22 21:53:56 +05:00
thecodrr
4a96a0aae2 fix: don't mutate the notebook object 2020-02-22 17:59:48 +05:00
ammarahm-ed
04af9e1668 fix sync 2020-02-12 02:09:08 +05:00
thecodrr
5608d8720c fix: wrong access token and refresh token case 2020-02-12 01:05:05 +05:00
thecodrr
4cc24e687c feat: implement notes/nb syncing (untested) 2020-02-12 00:52:17 +05:00
thecodrr
e4aaf97c5d feat: add basic syncing (untested) 2020-02-11 16:28:28 +05:00
thecodrr
ef8e7a67c7 feat: add user login/logout to database 2020-02-11 13:12:47 +05:00
thecodrr
336b5c7d69 ci: fix tests 2020-02-07 06:32:39 +05:00
thecodrr
60aec97335 fix: encrypt/decrypt delta with note 2020-02-07 06:15:15 +05:00
thecodrr
e1e081fc60 feat: implement colors 2020-02-06 22:35:53 +05:00
thecodrr
81711d65d2 feat: impl totalNotes counts 2020-02-06 18:54:35 +05:00
thecodrr
22100d167c fix: topics addition and deletion 2020-02-06 18:47:42 +05:00
thecodrr
90124ca43d feat: implement fluent api 2020-02-05 20:57:43 +05:00