168 Commits

Author SHA1 Message Date
Valentin Tolmer ac492f987d App: Various cleanups (clippy) 2021-05-30 17:07:34 +02:00
Valentin Tolmer c1cb5792fe Introduce a router for the app 2021-05-30 17:02:09 +02:00
Valentin Tolmer 6ebd18d1e0 Return not found when a cookie is empty 2021-05-30 17:01:14 +02:00
Valentin Tolmer 9899c6f5aa app: Refactor API calls 2021-05-25 10:03:33 +02:00
Valentin Tolmer e07efc9585 Implement client-side logout 2021-05-23 17:07:02 +02:00
Valentin Tolmer 6cb06b0e9f Change the authentication address to /auth 2021-05-20 17:41:30 +02:00
Valentin Tolmer 312d9b7a6f Mark cookies as sameSite=Strict 2021-05-19 18:08:26 +02:00
Valentin Tolmer 4d9f554fe6 Implement logout
Also introduce a library to handle cookies
2021-05-18 19:04:06 +02:00
Valentin Tolmer d57cd1230c Turn the login form into a regular form 2021-05-18 17:44:46 +02:00
Valentin Tolmer e524fb0f55 clippy: fix warnings 2021-05-14 10:30:55 +02:00
Valentin Tolmer e0bcb58d36 Tidy up dependencies 2021-05-14 09:24:23 +02:00
Valentin Tolmer 2de589d05c app: implement login and authorization 2021-05-14 09:24:23 +02:00
Valentin Tolmer 5615ef8e1f Split the user table into a sub-component 2021-05-11 09:54:54 +02:00
Valentin Tolmer e1047124fa Fine-tune passing errors from the server to the client 2021-05-10 10:21:24 +02:00
Valentin Tolmer 25027f7614 Add a method to fetch users from the client 2021-05-09 13:26:50 +02:00
Valentin Tolmer 4ae94839f2 Setup a basic API route 2021-05-09 11:52:53 +02:00
Valentin Tolmer f8951d3b82 Add index and main 2021-05-08 12:00:52 +02:00
Valentin Tolmer c58459547b Split the crate in 3, introduce JS frontend 2021-05-08 11:34:55 +02:00