Commit Graph

360 Commits

Author SHA1 Message Date
mcalinghee f2a47f9a88 add login by email + feature flag 2025-04-10 17:57:58 +02:00
Quentin Gliech abb743cc6f Update snapshots 2025-04-05 22:34:54 +02:00
Quentin Gliech 2ad86b8be7 Use automatic route code splitting 2025-03-24 18:11:39 +01:00
Quentin Gliech 9829c2c526 Allow users to deactivate their own account in the UI (#4209) 2025-03-13 12:30:41 +01:00
Quentin Gliech 238be90812 Explain what the 'hsErase' parameter does 2025-03-13 11:36:53 +01:00
Quentin Gliech ecaade457c Make sure the mobile drawers can scroll if they overflow 2025-03-13 11:32:19 +01:00
Quentin Gliech e85a3cfb3d Adjust the avatar size and list styling to match the design 2025-03-12 16:49:42 +01:00
Quentin Gliech e3e936076e Use the react-specific packages for tanstack router 2025-03-12 16:31:46 +01:00
Quentin Gliech d7e5c41d60 Allow users to delete their account in the UI 2025-03-12 16:01:28 +01:00
Quentin Gliech 14643417c3 Use our own implementation of the Separator component
The one in compound-web is weirdly implemented and doesn't use the right
semantic tokens
2025-03-12 16:00:13 +01:00
Quentin Gliech 1f03d6da03 GraphQL mutation to deactivate a user 2025-03-12 15:58:54 +01:00
Quentin Gliech 19f1091e56 Config option to allow account self-deactivation 2025-03-12 15:58:54 +01:00
Quentin Gliech bc3231c709 Merge branch 'main' into dependabot/npm_and_yarn/frontend/graphql-codegen-97975e453b 2025-03-10 10:27:46 +01:00
Quentin Gliech 7319ae134c Update generated graphql.ts 2025-03-10 09:21:31 +01:00
Quentin Gliech 20b863f534 Require confirming account password before changing account emails (#4158) 2025-03-10 09:16:05 +01:00
Quentin Gliech fd38f45728 Remove unnecessary @ts-expect-error 2025-03-07 10:39:11 +01:00
Quentin Gliech 740dc01b2e Confirm account password before adding/removing email addresses 2025-03-07 10:15:10 +01:00
Quentin Gliech 09d185da6d Require the user password to add or remove an email address 2025-03-06 17:37:54 +01:00
Quentin Gliech 03eaeca8a6 Only show the password change section if the user has a password 2025-02-24 14:28:06 +01:00
Quentin Gliech b426bd5524 Update frontend test snapshots 2025-02-21 17:04:12 +01:00
Quentin Gliech bde473faf7 Update the compound design tokens, replace the error icon with error-solid 2025-02-21 17:04:11 +01:00
Quentin Gliech 50e2693f89 Readjust a few spacings 2025-02-13 16:50:02 +01:00
Quentin Gliech 189f01602f Remove unnecessary wrapper around account page header 2025-02-13 16:32:30 +01:00
Quentin Gliech 16335b15ca Make the new sign-out button translatable 2025-02-13 16:26:04 +01:00
Quentin Gliech 1ed9586cf5 Polish the session details 2025-02-13 16:15:56 +01:00
Quentin Gliech be31201e57 Move from zod to valibot to reduce the frontend bundle size 2025-02-13 10:25:19 +01:00
Quentin Gliech 44f7b46b63 Fix the rendering of the embedded API doc 2025-02-12 18:19:25 +01:00
Quentin Gliech 55325c1564 Switch to swagger-ui-dist, to avoid sharing the same react version 2025-02-12 10:05:37 +01:00
Quentin Gliech 3d36b234f3 Enable operation deep-linking in the admin API docs 2025-02-11 19:06:19 +01:00
Quentin Gliech ac533e9d15 Update generated files 2025-02-06 11:34:53 +01:00
Quentin Gliech cca4eb32c2 Switch to the new scroll restoration API & update snapshots 2025-01-31 18:27:26 +01:00
reivilibre 0c26dd859a Support compatibility sessions that do not have devices (#3801)
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-01-27 14:50:31 +00:00
Quentin Gliech 7e6ab8ffc3 Disclose that email is already in use after verification 2025-01-23 18:18:19 +01:00
Quentin Gliech ef077d0e51 Rate-limit email authentications 2025-01-23 12:09:26 +01:00
Quentin Gliech e0f4882e46 Use the new GraphQL APIs in the frontend to add emails 2025-01-14 15:47:54 +01:00
Quentin Gliech 0513f198d8 Rip out the email verification codes
This considers all user_emails as confirmed, and removes the verification code.
It will be replaced by a new email authentication code flow
2025-01-14 15:46:45 +01:00
Quentin Gliech 5d69b34c37 frontend: simplify email list 2025-01-13 16:59:38 +01:00
Quentin Gliech 2605d3a8e0 Adjust layout spacings 2025-01-13 16:58:42 +01:00
Quentin Gliech 99c88674ff Better collapsible sections, and use them on the account page 2025-01-13 16:58:42 +01:00
Quentin Gliech 4ca76be866 Polish the password recovery page
This includes:

 - show an error message if the recovery link is expired, with a button
   to resend the email
 - show an error message if the recovery link has already been used
 - include an invisible username field in the form, so that password
   managers can save the new password
2025-01-13 16:58:42 +01:00
Quentin Gliech 71b5a55c92 Fix the cross signing reset cancel and error screens 2025-01-13 16:58:42 +01:00
Quentin Gliech affb1bfb01 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
Quentin Gliech b51a6c02ab Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech 73cbdd7e12 Fix typings 2025-01-07 10:25:21 +01:00
Quentin Gliech 824ffb7867 Update tests snapshots 2025-01-06 17:12:28 +01:00
Quentin Gliech 9601fedf70 Remove unused dependencies and symbols using knip 2025-01-06 12:39:02 +01:00
Quentin Gliech b5940b969f Additional fields in the GraphQL API for upstream providers 2025-01-06 11:59:43 +01:00
Quentin Gliech 1d0b0ab548 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
Quentin Gliech a97d2daa3d Make the issue optional on upstream OAuth 2.0 providers 2024-12-17 13:40:34 +01:00
Quentin Gliech 2e3b8bdd86 Allow setting an explicit upstream account name (#3600) 2024-11-29 12:30:18 +01:00