Commit Graph

7 Commits

Author SHA1 Message Date
Quentin Gliech
82afe9471c 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
43e2fc961d Fix the upstream oauth registration form 2023-06-30 11:24:26 +02:00
Quentin Gliech
18518aca4f Fix the disabled state in form inputs 2023-06-29 14:01:00 +02:00
Quentin Gliech
3c29d998fe Ground work to import upstream OIDC claims on registration. 2023-06-26 17:24:56 +02:00
Quentin Gliech
944f44792e Save the post auth action during upstream OAuth login 2022-12-05 19:39:51 +01:00
Quentin Gliech
d1ce3628a6 Tidy up upstream linking templates 2022-12-05 19:39:51 +01:00
Quentin Gliech
c1aad59e18 Do not embed the templates and static files in the binary 2022-11-18 22:37:55 +01:00