Commit Graph

47 Commits

Author SHA1 Message Date
thecodrr
a130db41a4 fix: try to refresh token before logging out on 401 unauthorized 2022-01-07 13:58:06 +05:00
thecodrr
2021fe56d5 fix: force logout user on 401 unauthorized error 2022-01-03 13:26:57 +05:00
thecodrr
e86ba52af4 fix: do not auto logout on password reset 2022-01-03 10:47:02 +05:00
thecodrr
34140a0cc0 chore: Support for the experimental syntax 'logicalAssignment' isn't currently enabled 2022-01-01 22:04:58 +05:00
thecodrr
700b77042c feat: add interruption resistant password changing 2022-01-01 16:11:55 +05:00
thecodrr
4795d9c13f feat: add endpoing to clear user sessions 2021-12-31 09:06:12 +05:00
thecodrr
f838826e42 fix: re-enable account password changing 2021-12-31 09:05:45 +05:00
thecodrr
49cd3348d6 fix: refresh token once before giving up 2021-11-09 14:46:12 +05:00
thecodrr
1b675699b6 fix: generate new token on email confirmed 2021-11-01 11:53:28 +05:00
thecodrr
943e4dfadd feat: throw better error on failure to get attachment enc key 2021-10-28 22:03:06 +05:00
thecodrr
9e9386f970 fix: do not request access token eagerly 2021-10-26 09:13:18 +05:00
thecodrr
51794e001e feat: add 3-layer-encryption for attachments 2021-10-25 11:35:00 +05:00
thecodrr
7d16b8f388 feat: refactors and add support for upload/download progress 2021-09-26 11:47:13 +05:00
thecodrr
e29d49768c fix: refresh app after logout 2021-07-03 23:07:54 +05:00
thecodrr
c933a74602 fix: remove notesnook.monograph scope 2021-06-15 10:17:42 +05:00
thecodrr
6c88df31cf feat: add notesnook.monograph to requested scopes 2021-06-13 11:50:19 +05:00
thecodrr
442722933c feat: use blake2s for random id generation 2021-06-04 09:32:13 +05:00
thecodrr
576a473180 feat: add verify password for verifying user password 2021-06-01 09:46:50 +05:00
thecodrr
3d48de5764 feat: do not cache token locally 2021-05-28 23:10:10 +05:00
thecodrr
b4f42137a4 fix: properly handle session expiry 2021-05-25 16:19:58 +05:00
thecodrr
92dcbacca2 fix: hash password before login 2021-04-09 12:55:32 +05:00
thecodrr
36c4d694e8 feat: remove hcli migrate step 2021-04-09 12:53:18 +05:00
thecodrr
65c71d7532 fix: clear timeout on user logout 2021-04-07 20:50:14 +05:00
thecodrr
49ee3cd0b3 fix: clear cached token on logout 2021-04-05 11:32:40 +05:00
thecodrr
2e225a788b refactor: remove unused import 2021-03-06 09:44:57 +05:00
thecodrr
84461ebbb1 fix: log user out if invalid_grant error occurs 2021-03-06 09:43:46 +05:00
thecodrr
dd2a065be7 fix: multiple settings objects created for 1 user
due to these multiple objects reset password wasn't working because
only the latest one would be encrypted with the new password
but all previous objects would require decryption
which resulted in a block while syncing
2021-02-26 17:33:46 +05:00
thecodrr
4e262e615e refactor: change all event strings to constants 2021-01-23 10:48:21 +05:00
thecodrr
0ed57e3620 test: fix all ci tests 2021-01-22 22:08:56 +05:00
thecodrr
6af63239e1 refactor: change user status endpoint 2021-01-19 22:27:13 +05:00
thecodrr
e6a53a2d68 feat: hash all passwords before sending them to server 2021-01-19 09:48:42 +05:00
thecodrr
c7027d4ad3 fix: get user status as POST request instead of GET 2021-01-18 23:40:32 +05:00
thecodrr
c97c015fbd fix: remove extra slash in user status endpoint 2021-01-18 23:37:39 +05:00
thecodrr
ba0cd91b82 fix: skipMigrationCheck = false by default 2021-01-18 23:34:09 +05:00
thecodrr
1b20da2a74 feat: add hcli migration 2021-01-18 23:29:49 +05:00
thecodrr
e32bd10f1c fix: await getUser call and use correct if condition 2021-01-08 01:56:41 +05:00
thecodrr
a085628f5e fix: refresh token if email got confirmed 2021-01-05 13:07:37 +05:00
thecodrr
307c49c718 fix: remember user on signup 2021-01-03 23:04:35 +05:00
thecodrr
d371122940 fix: make user.remember work again 2020-12-22 16:13:01 +05:00
thecodrr
ebca05d6a8 fix: newPassword -> new_password 2020-12-22 14:25:01 +05:00
thecodrr
9b77bb0aac fix: crashes in _updatePassword 2020-12-22 14:18:53 +05:00
thecodrr
1b1bc96683 feat: add resetPassword 2020-12-22 13:13:18 +05:00
thecodrr
0d2756af6e fix: send client_id with signup request 2020-12-22 09:55:31 +05:00
thecodrr
77b226086a feat: impl recoverAccount endpoint 2020-12-22 09:36:35 +05:00
thecodrr
f747b8243b feat: impl sendVerificationEmail in usermanager 2020-12-16 14:56:09 +05:00
thecodrr
8789ab7492 feat: return local user if fetchUser request fails 2020-12-16 14:41:28 +05:00
thecodrr
f8c306380b feat: migrate to use the new backend 2020-12-16 12:06:25 +05:00