Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
125104b379 fix: some error handling 2020-03-19 14: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
03f7505fbe remove node-fetch 2020-02-23 19:57:46 +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