Commit Graph

28 Commits

Author SHA1 Message Date
thecodrr
c301d220a4 feat: add internet connectivity check 2020-05-27 10:04:21 +05:00
thecodrr
90fb248e73 BREAKING: remove isPremium method from user 2020-05-27 09:48:49 +05:00
thecodrr
f3538df1cd fix: use .call to change context in authRequest 2020-05-23 17:29:02 +05:00
thecodrr
f20ec7e387 fix: check if user is logged in before upgrading 2020-05-23 17:24:01 +05:00
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
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