Commit Graph

145 Commits

Author SHA1 Message Date
Quentin Gliech
cfa775c06b Pre-load locale data in the React app 2025-12-17 15:53:37 +01:00
Quentin Gliech
31a11f00f8 Update icons in templates 2025-12-16 15:01:11 +01:00
Quentin Gliech
0cf481c6e7 Un-break the scope tempalte helpers 2025-12-03 14:04:46 +01:00
Quentin Gliech
27d96715a5 Explain how to use scope.unsafe_scopes() better 2025-12-03 13:46:59 +01:00
Quentin Gliech
8a39f4181f Fix the consent templates failing to render in tests 2025-12-03 10:27:18 +01:00
Quentin Gliech
8dd1c3fa78 Fix rendering of the logout button in a few places 2025-12-02 19:54:14 +01:00
Quentin Gliech
8a615fd8ba Merge remote-tracking branch 'origin/main' into quenting/simpler-consent-screen 2025-12-02 19:42:57 +01:00
Quentin Gliech
ebc30f3776 Make the compat SSO login page use the same layout as other consent
pages
2025-12-02 18:13:02 +01:00
Quentin Gliech
5ed3c87818 Simplify the consent screens 2025-12-02 18:10:12 +01:00
Quentin Gliech
3410224315 Allow rendering a custom logout button in the templates 2025-12-02 17:55:16 +01:00
Olivier 'reivilibre
eeb0692b8e Add experimental and preliminary policy-driven session limiting when logging in compatibility sessions. (#5287) 2025-12-02 15:50:04 +00:00
Olivier 'reivilibre
6c066ca972 Update templates/pages/compat_login_policy_violation.html
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-12-02 15:25:04 +00:00
Olivier 'reivilibre
5c7ff7b8dc We can't show a cancel button, so don't show one 2025-11-28 12:42:48 +00:00
Quentin Gliech
e90f11b8f8 Remove unused login_link.html template 2025-11-27 16:18:18 +01:00
Olivier 'reivilibre
31c3fe2b39 Add a 'compat login policy violation' page 2025-11-25 18:41:14 +00:00
Quentin Gliech
1f27a30c08 Update icons in the templates 2025-11-19 14:25:04 +01:00
Quentin Gliech
143f41d151 Fix the 'username is already taken' error message 2025-11-19 13:30:28 +01:00
Quentin Gliech
c08c028883 Fix frontend style, template syntax and regenerate translations 2025-11-19 13:07:02 +01:00
Quentin Gliech
f0d779e9b1 Interactively guide users for selecting a valid username 2025-11-18 18:25:23 +01:00
Quentin Gliech
95376dab81 Move all the frontend entrypoints to a dedicated directory
This will make it easier to add new entrypoints in the future without
having to change the vite config
2025-11-18 16:22:40 +01:00
Olivier 'reivilibre
81e2f9a628 Clarify some more conditions in the templates 2025-10-28 16:52:18 +00:00
Olivier 'reivilibre
1803f2b0ac For branding: use none instead of undefined 2025-10-28 15:51:34 +00:00
Olivier 'reivilibre
f8a1a362cb templates: fix reliance on lax undefined behaviour 2025-10-24 14:27:35 +01:00
Quentin Gliech
7a9d5b0c29 Highlight dangerous scopes when consenting to them 2025-10-22 11:29:52 +02:00
Quentin Gliech
28e573b400 Add a configuration option to make email optional for password registration 2025-10-07 17:28:01 +02:00
Quentin Gliech
4d83fcb25e Merge remote-tracking branch 'origin/main' into quenting/stable-api 2025-08-04 16:38:49 +02:00
Olivier D
e5fe1bfc5c update license
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-07-21 09:52:24 +02:00
mcalinghee
1886e73e40 allow importing existing users when the localpart matches in upstream OAuth 2.0 logins 2025-07-21 09:52:24 +02:00
Quentin Gliech
0371fe72da Upgrade @vector-im/compound-web as well 2025-07-10 15:20:52 +02:00
Quentin Gliech
430d3be87e Parse the stable scopes in the templates 2025-06-13 15:55:42 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
14b77c150a Registration token step view 2025-06-03 17:42:53 +02:00
Quentin Gliech
a10e517d4e Generate a device name based on the client name and user agent 2025-04-25 16:55:29 +02:00
Quentin Gliech
c230deaec0 templates: introduce a parse_user_agent filter and use it in the device consent page 2025-04-25 12:55:30 +02:00
mcalinghee
4269bc3ce3 correct format and translation 2025-04-10 17:57:58 +02:00
mcalinghee
2fe4752aa4 add login by email + feature flag 2025-04-10 17:57:58 +02:00
Quentin Gliech
b3572801df Fallback link in password recovery emails 2025-04-10 11:35:32 +02:00
hummingbard
e4f83892b9 Added upstream sample config for Discord, brand logo in templates 2025-03-30 15:53:56 +06:00
Quentin Gliech
a2b5a208b1 Better error pages when a user is deactivated or locked 2025-03-11 17:35:13 +01:00
Quentin Gliech
f66e82adc5 Show proper error messages when registering with a banned/not-allowed username 2025-03-03 10:45:30 +01:00
Quentin Gliech
98f45666d7 Update the compound design tokens, replace the error icon with error-solid 2025-02-21 17:04:11 +01:00
Quentin Gliech
a4bece6a77 Add translatable errors for the email policy constraints 2025-02-17 15:53:57 +01:00
Quentin Gliech
08a8774133 Fix the rendering of the embedded API doc 2025-02-12 18:19:25 +01:00
Quentin Gliech
e47a364e6a Apply code style suggestion
Co-authored-by: reivilibre <oliverw@element.io>
2025-01-23 18:35:11 +01:00
Quentin Gliech
7f1b3866ba Disclose that email is already in use after verification 2025-01-23 18:18:19 +01:00
Quentin Gliech
3eed8d39fb Registration step to set a display name 2025-01-15 15:28:48 +01:00
Quentin Gliech
588c1bdcd4 Implement email verification in the registration flow 2025-01-15 15:28:48 +01:00
Quentin Gliech
90fb2f0369 Make the password registration create a user_registration 2025-01-14 16:30:44 +01:00
Quentin Gliech
d9a34327f9 Fix the post auth action being lost during the registration flow 2025-01-14 16:30:44 +01:00
Quentin Gliech
c2587e294c Move the registration-related views into a sub-module 2025-01-14 16:30:44 +01:00