Commit Graph

19 Commits

Author SHA1 Message Date
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
f8a1a362cb templates: fix reliance on lax undefined behaviour 2025-10-24 14:27:35 +01:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
841c812ffd Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech
0d41cd8a0f Manual license edit of remaining files 2024-09-10 14:28:55 +02:00
Quentin Gliech
bb5bcf0f40 Rework assets loading to fix splitting CSS chunks 2024-07-25 12:59:29 +02:00
Quentin Gliech
764069b6bc Render reCAPTCHA challenge on the registration form 2024-05-15 09:38:10 +02:00
Quentin Gliech
b96d95792d Add instance privacy policy, TOS and imprint, and loads of design cleanups 2023-10-30 15:55:15 +01:00
Quentin Gliech
c2c35673fd templates: fix the _ function not working in macros 2023-10-05 19:29:23 +02:00
Quentin Gliech
a7c5874c59 templates: more translations 2023-10-05 19:29:23 +02:00
Quentin Gliech
ad8cc6be9e templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech
8960d1702f templates: replace tera with minijinja 2023-10-05 19:29:23 +02:00
Quentin Gliech
cb6d89e308 Compoundify the consent screens 2023-09-06 15:58:54 +02:00
Quentin Gliech
2bbd0d2292 Compoundify the templates 2023-09-01 15:57:13 +02:00
Hugh Nimmo-Smith
d3df659640 Standardise consent screens (#1674) 2023-09-01 13:19:33 +01:00
Quentin Gliech
07aca4b691 frontend: work around the CSS split issue 2023-08-08 21:22:27 +02:00
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
c1aad59e18 Do not embed the templates and static files in the binary 2022-11-18 22:37:55 +01:00