Commit Graph

14 Commits

Author SHA1 Message Date
Quentin Gliech
f243624f45 Move clients to the database 2022-03-08 19:07:46 +01:00
Quentin Gliech
ccf17d1551 Loads of docs & enabling more clippy lints 2022-02-01 12:02:32 +01:00
Quentin Gliech
abc341e7ab Database model to save user email verification codes 2022-01-21 17:41:11 +01:00
Quentin Gliech
4384594fc2 Email management UI
Also simplify a bunch of query strings
2022-01-18 18:16:56 +01:00
Quentin Gliech
1667b5a67f Save user emails in database 2022-01-14 18:42:37 +01:00
Quentin Gliech
9170bf2a3d Use iana generated types in more places 2022-01-12 12:22:54 +01:00
Quentin Gliech
8f723815b9 Split the core crate 2021-12-17 18:04:30 +01:00
Quentin Gliech
5aca3fc24c Move to Rust edition 2021
Also bump MSRV to 1.56 and use the same clippy lints in every crate
2021-12-09 22:54:35 +01:00
Quentin Gliech
bb3d6b8089 Fix post-auth redirects & support max_age
This also displays some context on login and reauth page about the next
step
2021-11-16 19:16:52 +01:00
Quentin Gliech
4e9d68e9cb Split the data-model in different modules 2021-11-02 12:58:13 +01:00
Quentin Gliech
91e8998589 Refactor authorization grant
The authorization grant is now properly separated from the OAuth2
session, which helps avoiding a lot of potential database
inconsistencies
2021-10-25 17:27:19 -04:00
Quentin Gliech
7c6a7d1ad5 Refactor DB interactions for OAuth code and tokens
This ensures complex types like scopes are properly parsed back from the
database.
2021-10-19 20:08:08 +02:00
Quentin Gliech
e1c12ce473 Move templates to their own crate 2021-10-18 17:40:25 +02:00
Quentin Gliech
6a41b887d4 WIP: Refactor higher-level data-model to its own crate 2021-10-12 19:03:01 +02:00