Commit Graph

20 Commits

Author SHA1 Message Date
Quentin Gliech ed4b6c42a7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech f6bb100c0a License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech e937ea8fa8 Rework assets loading to fix splitting CSS chunks 2024-07-25 12:59:29 +02:00
Quentin Gliech cef069564a Add a <noscript> fallback message 2024-05-15 09:38:10 +02:00
Quentin Gliech d178a63281 Apply prettier to all files in the frontend 2024-04-03 12:04:18 +02:00
Quentin Gliech 4e682793b1 Share the device card between the frontend and the backend 2024-02-27 17:56:20 +01:00
Quentin Gliech f3cbd3b315 Parse User Agents on the backend side (#2388)
* Parse user agents on the server side

* Parse and expose user agents on the backend

* Use the parsed user agent in the device consent page

* Fix the device icon tests

* Fix clippy warnings

* Box stuff to avoid large enum variants

* Ignore a clippy warning

* Fix the requester boxing
2024-02-23 16:47:48 +01:00
Quentin Gliech f10a1c7830 Make sure the error boundary & loading spinner don't suspend
This is done by making it possible to render the GenericError, Layout
and Footer with a `dontSuspend` prop. This then sets the `useSuspense`
to `false` in translations, and sets a default translations in case they
haven't been loaded yet.
2024-02-17 09:48:53 +01:00
Quentin Gliech 9e2d761e62 frontend: upgrade to Vite 5 2024-02-09 15:57:11 +01:00
Quentin Gliech 0ae6f5276f Fix the device code grant metadata wrapping 2024-02-02 23:43:17 +01:00
Quentin Gliech d39a1d29df Show the device better in the device consent page 2024-02-02 18:01:51 +01:00
Quentin Gliech 67ab42155c Implement the device consent logic 2024-02-02 18:01:51 +01:00
Quentin Gliech a404398c2c Polish all forms and add nice page headings to most screens 2023-10-30 15:55:15 +01:00
Quentin Gliech 8984cc703b Add instance privacy policy, TOS and imprint, and loads of design cleanups 2023-10-30 15:55:15 +01:00
Quentin Gliech 627ea2c421 frontend: upgrade compound & use the Badge component to mark the current session 2023-09-08 11:51:01 +02:00
Quentin Gliech b0fb3281b0 Compoundify the consent screens 2023-09-06 15:58:54 +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
Quentin Gliech 3e6ea9a158 Add a 404 HTMl fallback 2023-08-09 16:56:11 +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