Commit Graph

42 Commits

Author SHA1 Message Date
Quentin Gliech e69438dd9e frontend: integrate storybook with i18next & cleanup (#1970) 2023-10-19 15:37:29 +00:00
Quentin Gliech 9b5c8fb44b Allow running the authentication service on a different base path 2023-10-06 14:07:55 +02:00
Quentin Gliech 3ff217690d templates: fix the error.html template when missing the locale 2023-10-05 19:29:23 +02:00
Quentin Gliech b2cd8d83f7 templates: translate a lot more stuff 2023-10-05 19:29:23 +02:00
Quentin Gliech 6ff549f5df templates: fix the _ function not working in macros 2023-10-05 19:29:23 +02:00
Quentin Gliech ebdb8eb30e templates: more translations 2023-10-05 19:29:23 +02:00
Quentin Gliech 2d52ba7fb3 i18n: include context when looking for translation keys 2023-10-05 19:29:23 +02:00
Quentin Gliech 15ad89aa82 templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech 995bdfc13b templates: replace tera with minijinja 2023-10-05 19:29:23 +02:00
Quentin Gliech f5f56682e4 Display the client logo with a referrerpolicy set to "no-referrer"
Fixes #1768
2023-09-20 18:01:58 +02:00
Quentin Gliech 1cdc017384 frontend: have better margins everywhere 2023-09-15 18:41:39 +02:00
Quentin Gliech 674a57fd6d Update templates icons from the design tokens 2023-09-14 19:57:55 +02:00
Quentin Gliech b0fb3281b0 Compoundify the consent screens 2023-09-06 15:58:54 +02:00
Quentin Gliech 0ede219a7f Fix a grammar mistake on the consent page template 2023-09-06 09:29:36 +02:00
Quentin Gliech 809893accf Compoundify the inputs 2023-09-01 15:57:13 +02:00
Quentin Gliech 7a9a873271 Compoundify the templates 2023-09-01 15:57:13 +02:00
Hugh Nimmo-Smith f3d6f3c89e Nor does it have extrabold 2023-09-01 15:22:42 +02:00
Hugh Nimmo-Smith 2f9f7bd32c Compound doesn't have a value for bold so use semibold instead 2023-09-01 15:22:42 +02:00
Hugh Nimmo-Smith 765dd50f02 Email verification template changes (#1667) 2023-09-01 13:20:23 +01:00
Hugh Nimmo-Smith 86d53c969f Standardise consent screens (#1674) 2023-09-01 13:19:33 +01:00
Quentin Gliech 8e5ebcd03f Simplify the URL displayed on compatibility SSO logins
See #1638
2023-08-31 10:54:29 +02:00
Quentin Gliech 23571e87ea Run the registration policy on upstream OAuth registration 2023-08-30 19:39:39 +02:00
Quentin Gliech ca3460b49e Skip the "continue" screens on upstream IDP logins for new accounts 2023-08-25 10:56:10 +02:00
Hugh Nimmo-Smith 1fe9a34260 Add scope descriptions for MAS permissions 2023-08-23 18:59:05 +02:00
Hugh Nimmo-Smith 8f38cb87b6 Display sensible scope descriptions for client and Synapse admin permissions
Fixes #1570
2023-08-23 18:59:05 +02:00
Quentin Gliech 3e6ea9a158 Add a 404 HTMl fallback 2023-08-09 16:56:11 +02:00
Quentin Gliech 652217ec9b frontend: work around the CSS split issue 2023-08-08 21:22:27 +02:00
Quentin Gliech 76653f9638 Better frontend assets handling and move the react app to /account/ (#1324)
This makes the Vite assets handling better, namely:

 - make it possible to include any vite assets in the templates
 - include the right `<link rel="preload">` tags for assets
 - include Subresource Integrity hashes
 - pre-compress assets and remove on-the-fly compression by the Rust server
 - build the CSS used by templates through Vite

It also moves the React app from /app/ to /account/, and remove some of the old SSR account screens.
2023-07-06 15:30:26 +02:00
Quentin Gliech e1a5471262 Fix the upstream oauth registration form 2023-06-30 11:24:26 +02:00
Quentin Gliech 45a7a6de1d Fix the disabled state in form inputs 2023-06-29 14:01:00 +02:00
Quentin Gliech 31788a95f2 Save the imported attributes 2023-06-26 17:24:56 +02:00
Quentin Gliech c183830489 Ground work to import upstream OIDC claims on registration. 2023-06-26 17:24:56 +02:00
Quentin Gliech d2d68e9a27 Make password-based login optional 2023-05-23 17:02:02 +02:00
Quentin Gliech 39c126318f Fix the authorization grant template
It previously relied on the client being in the authorization grant,
which is not the case anymore. This commit also adds a test to ensure
we're not breaking this template in the future.
2023-01-31 16:50:48 +01:00
Quentin Gliech 0ea9089f7f template: more cleanups 2022-12-08 15:29:15 +01:00
Quentin Gliech feebbd0e97 data-model: simplify users and sessions 2022-12-08 15:29:15 +01:00
Quentin Gliech 23fd833d45 Save the post auth action during upstream OAuth login 2022-12-05 19:39:51 +01:00
Quentin Gliech 989e464dd0 WIP: Provider list on the login page 2022-12-05 19:39:51 +01:00
Quentin Gliech 07636dd9e7 Tidy up upstream linking templates 2022-12-05 19:39:51 +01:00
Quentin Gliech bf432a31e1 OIDC account linking and login 2022-12-05 19:39:51 +01:00
Quentin Gliech 22a337cd45 WIP: handle account linking 2022-12-05 19:39:51 +01:00
Quentin Gliech 9c0ece7512 Do not embed the templates and static files in the binary 2022-11-18 22:37:55 +01:00