Commit Graph

302 Commits

Author SHA1 Message Date
thecodrr
0d35f58c75 feat: expose connectSSE 2021-01-23 12:19:51 +05:00
thecodrr
aec57340c3 refactor: string event names to global event name consts 2021-01-23 10:50:07 +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
7caa9d964d fix: reduce settings.pins properly 2021-01-11 16:03:37 +05:00
thecodrr
e43d466382 fix: do not return undefined in pins 2021-01-10 10:54:47 +05:00
thecodrr
810567af95 fix: do not throw on merge conflict in SSE handler 2021-01-09 11:13:17 +05:00
thecodrr
e32bd10f1c fix: await getUser call and use correct if condition 2021-01-08 01:56:41 +05:00
thecodrr
086f7e9b50 feat: remove fetchUser call on db.init 2021-01-07 14:59:02 +05:00
thecodrr
6d9c5daa36 feat: get version 2021-01-05 14:07:02 +05:00
thecodrr
a085628f5e fix: refresh token if email got confirmed 2021-01-05 13:07:37 +05:00
thecodrr
a2c3ca4b82 fix: logout using custom logout endpoint 2021-01-04 11:22:24 +05:00
thecodrr
307c49c718 fix: remember user on signup 2021-01-03 23:04:35 +05:00
thecodrr
b26b5e462e fix: refresh db on sse sync event 2020-12-29 15:32:56 +05:00
thecodrr
5bb50b4e80 fix: some notes from backup not being restored 2020-12-29 14:08:48 +05:00
thecodrr
690cd51862 fix: colors and tags syncing 2020-12-29 12:31:26 +05:00
thecodrr
39a832495c fix: sse message parsing 2020-12-28 11:34:59 +05:00
thecodrr
89b710351f fix: save favorite state for locked note 2020-12-23 13:29:23 +05:00
thecodrr
fddb8815b1 fix: save title of locked note as well 2020-12-23 13:19:17 +05:00
thecodrr
b87ba6259a feat: handle emailConfirmed SSE 2020-12-23 11:28:38 +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
879f9db7e9 feat: add logic to exchange auth code with temp token 2020-12-22 09:47:01 +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
2f83971c23 feat: impl db.lastSynced 2020-12-16 14:43:56 +05:00
thecodrr
8789ab7492 feat: return local user if fetchUser request fails 2020-12-16 14:41:28 +05:00
thecodrr
aef283a663 fix: sse not connecting due to invalid access_token 2020-12-16 13:55:24 +05:00
thecodrr
5c519f17e6 fix: minor errors with fetch request 2020-12-16 13:23:14 +05:00
thecodrr
9f3f1e718b fix: db.host 2020-12-16 12:35:17 +05:00
thecodrr
995d49a659 fix: changePassword -> reset_password 2020-12-16 12:08:39 +05:00
thecodrr
f8c306380b feat: migrate to use the new backend 2020-12-16 12:06:25 +05:00
thecodrr
a83b2355d2 feat: impl account password changing 2020-12-11 20:19:28 +05:00
thecodrr
34b6bb477c fix: send user:loggedOut event after logging out 2020-12-10 15:29:12 +05:00
thecodrr
551bf269b4 feat: add user deletion and logout on deletion 2020-12-10 14:53:58 +05:00
thecodrr
74655f5ed1 fix: save settings on merge 2020-12-10 14:23:33 +05:00
thecodrr
460db3dd14 fix: EV is not defined 2020-12-10 14:17:37 +05:00
thecodrr
fa9c1ac2d2 fix: clear settings on logout 2020-12-10 14:16:05 +05:00
thecodrr
ae4a1f9c61 fix: TypeError: Cannot read property '_settings' of undefined 2020-12-10 12:58:04 +05:00
thecodrr
13be2e5035 fix: do not run migrations if db is on the same version 2020-12-08 13:20:38 +05:00
thecodrr
acd548fd38 fix: minor fixes with migration 2020-12-08 11:58:45 +05:00