Commit graph

57 commits

Author SHA1 Message Date
Alex Gleason
15d32c3b83
MFA: pass scopes to MFA challenge 2022-01-12 12:40:40 -06:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
Alex Gleason
aaad79f6a5
Auth: logIn, don't create an unnecessary app token 2021-12-06 15:33:06 -05:00
Alex Gleason
0b94774fbe
localforage: remember auth accounts 2021-10-20 16:27:36 -05:00
Alex Gleason
5f183d38b1
VERIFY_CREDENTIALS_FAIL: skipAlert 2021-10-19 09:32:15 -05:00
Alex Gleason
96c2e42ebf
Preload: call verifyCredentials after Mastodon preload to get the "source" parameter of the account 2021-09-24 18:47:22 -05:00
Alex Gleason
bb6cdd4b71
Mastodon: return a friendlier login error than 'invalid_grant' 2021-09-08 11:08:22 -05:00
Alex Gleason
c624afdfb7
Standalone: add external accounts, refresh on logout 2021-08-30 16:54:04 -07:00
Alex Gleason
39c95f7a00
Conditional OAuth scopes 2021-08-22 19:13:09 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
1b30468366
Auth: move some actions into security.js 2021-08-22 10:55:56 -05:00
Alex Gleason
1579e047b5
Add displayName, use as app name 2021-08-21 22:46:33 -05:00
Alex Gleason
fcaf19df76
Auth: rudimentary API baseURL support 2021-08-21 22:08:26 -05:00
Alex Gleason
74f4c59004
Auth: refactor OAuth token actions 2021-08-21 19:45:45 -05:00
Alex Gleason
a1cbbfcb02
Auth: refactor app actions 2021-08-21 19:16:54 -05:00
Alex Gleason
463b3ba085
Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
Alex Gleason
82e026b010
Fix verify_credentials bug, fixes #638 2021-05-09 10:37:49 -05:00
Alex Gleason
9a859dad14
Properly dispatch fetchMeFail, don't show white screen on VERIFY_CREDENTIALS_FAIL 2021-05-07 21:53:24 -05:00
Alex Gleason
ccac733e48
Redirect after signing up, fixes #620 2021-04-18 12:41:51 -05:00
Alex Gleason
2500dcf77a
Refactor API client 2021-03-31 14:47:54 -05:00
Alex Gleason
a42ece6df4
Don't call ME_FETCH_SUCCESS twice extraneously 2021-03-31 13:36:48 -05:00
Alex Gleason
73a3ee296b
Rename action.reload -> action.background 2021-03-30 00:45:23 -05:00
Alex Gleason
db201707bf
Middle-click account to open it in a new tab, fixes #603 2021-03-29 23:22:54 -05:00
Alex Gleason
20ef262cfc
Fix MFA 2021-03-26 16:42:47 -05:00
Alex Gleason
f24422d520
Fix registration form workflow 2021-03-26 15:45:46 -05:00
Alex Gleason
4d1af4764f
Refactor registration action 2021-03-26 15:29:15 -05:00
Alex Gleason
5c6fa253c7
['auth', 'me'] -> 'me' 2021-03-25 18:38:28 -05:00
Alex Gleason
619d298547
Correctly import settings on login 2021-03-25 16:39:52 -05:00
Alex Gleason
6ead42b06d
Handle logout 2021-03-25 15:15:37 -05:00
Alex Gleason
bbd4edf226
Typofix 2021-03-25 14:52:51 -05:00
Alex Gleason
7a5fb6abb5
Add new account from login page 2021-03-25 14:42:09 -05:00
Alex Gleason
663d375dc5
Throttle fetchOwnAccounts correctly 2021-03-25 13:47:01 -05:00
Alex Gleason
a731ac88cf
Make login work again 2021-03-24 00:05:06 -05:00
Alex Gleason
0daa95646e
Refactor auth reducer localStorage 2021-03-23 22:19:24 -05:00
Alex Gleason
88420ccca6
Fetch unfetched otherAccounts 2021-03-23 21:01:50 -05:00
Alex Gleason
0162eac662
Refactor auth to support multiple accounts 2021-03-23 19:06:55 -05:00
Alex Gleason
e261a13430
Display modal in registration window when confirmations and/or approval are required 2021-01-02 20:56:41 -06:00
Alex Gleason
2b3d86f390
Improve pending account message 2020-09-29 23:18:51 -05:00
Alex Gleason
c822ce0c90
Fallback to BE response in login form 2020-09-29 23:12:33 -05:00
Alex Gleason
88c12a72a9
Improve login messaging 2020-09-29 21:35:10 -05:00
Alex Gleason
14a5d478f3
Snackbar: update (most) existing alerts to snackbars 2020-09-29 19:10:57 -05:00
Alex Gleason
76b7b32e23
Revoke OAuth token on logout, fixes #445 2020-09-28 13:05:20 -05:00
Sean King
de78a87ec0 Make display name same as username during registration, fixes #267 2020-08-30 23:48:00 +00:00
marykatefain
68f765da28 Multi-Factor Auth with OTP 2020-08-07 20:17:13 +00:00
Mary Kate
209f826c15 add reason field on registration when by approval mode is on 2020-07-28 21:43:27 -05:00
Alex Gleason
c0dc03b3e4
Deactivate --> Delete 2020-07-20 15:23:38 -05:00
crockwave
a2bd359c76 - debugged features/security
- added deactivateAccount method to actions/auth
- successful deactivation logs user out
2020-06-28 10:51:55 -05:00