Commit Graph

39 Commits

Author SHA1 Message Date
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
3a8d4a1e8a Replace most remaining #[instrument(err)] annotations 2025-04-18 09:59:29 +02:00
Quentin Gliech
a86696e0a8 Fix Clippy lints introduced by Rust 1.86 2025-04-06 16:18:27 +02:00
Quentin Gliech
56d9c7e63b Upgrade to Rust 1.85 and edition 2024 2025-02-21 16:15:02 +01:00
Quentin Gliech
5aa5c9cb03 Job to send the new email authentication codes 2025-01-14 15:47:17 +01:00
Quentin Gliech
9db14f6743 Rip out the email verification codes
This considers all user_emails as confirmed, and removes the verification code.
It will be replaced by a new email authentication code flow
2025-01-14 15:46:45 +01:00
Quentin Gliech
9a946c19e7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech
9da19e2af0 License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech
df89f570ac Actually send emails for recovery 2024-06-28 15:59:21 +02:00
Quentin Gliech
3e450b50f0 Fix recently added Clippy lints
This also ignores the clippy::blocks_in_conditions lint in two crates,
until tracing gets fixed: https://github.com/tokio-rs/tracing/issues/2876
2024-05-07 07:32:02 +02:00
Quentin Gliech
fedf41fe38 Flatten the email config 2024-03-22 13:33:09 +01:00
Quentin Gliech
a7ff6b00aa Enable clippy lints on a workspace level
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
2023-12-05 17:20:42 +01:00
Quentin Gliech
fab231f268 Revert "Skip certificate chain validation when sending emails"
This reverts commit 573bbd5157.
2023-11-03 16:10:02 +01:00
Quentin Gliech
573bbd5157 Skip certificate chain validation when sending emails
This is a workaround for #1996, until lettre fixes the root issue
2023-10-23 15:21:37 +02:00
Quentin Gliech
0d69e42021 templates: translate a lot more stuff 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
a6dc094f09 Move some common dependencies on the workspace level
Also deprecates the AWS SESv2 transport for emails
2023-08-14 13:00:01 +02:00
Quentin Gliech
24140f7058 Bump Rust depdenencies 2023-04-18 23:01:43 +02:00
Quentin Gliech
3cc4749979 Replace the OTEL-based tracing layer with tracing based layers 2023-04-18 14:45:43 +02:00
Quentin Gliech
ca13827dec WIP: use apalis to schedule jobs 2023-04-14 10:22:22 +02:00
Quentin Gliech
9d8eee12f8 Better tracing spans 2023-01-04 16:30:38 +01:00
Quentin Gliech
671e43c696 mas-email: better errors & aws-sdk upgrade 2022-12-15 16:51:43 +01:00
Quentin Gliech
3c13ce1823 Remove dependency on mas-email and lettre in mas-config 2022-12-15 16:51:43 +01:00
Quentin Gliech
84f40b4ca8 Better log email errors 2022-12-14 16:39:28 +01:00
Quentin Gliech
56f9498a32 Better AWS SDK tracing 2022-11-04 09:31:50 +01:00
Quentin Gliech
4eb41b6655 Trace AWS operations & share TLS connector with mas-http 2022-11-03 18:08:20 +01:00
Quentin Gliech
bd36624a9a Bump AWS crates and remove direct dependency on aws-types 2022-11-02 14:51:08 +01:00
Quentin Gliech
c4076698d4 Remove the config dependency from the email, templates & handlers crates 2022-09-02 16:01:11 +02:00
Quentin Gliech
c1adcd6690 Enable the clippy::str_to_string lint 2022-08-08 10:06:20 +02:00
Quentin Gliech
4459c04f6d Switch email verification to a code-based flow 2022-06-02 16:18:55 +02:00
Quentin Gliech
b2473df401 Bump Rust dependencies 2022-04-06 19:47:12 +02:00
Quentin Gliech
6d1db5eea9 Upgrade AWS SDK dependencies 2022-02-24 16:09:08 +01:00
Quentin Gliech
90a63d593a Dedicated HTTP server/client crate
Also have better names for the HTTP routes
2022-02-10 16:38:16 +01:00
Quentin Gliech
ccf17d1551 Loads of docs & enabling more clippy lints 2022-02-01 12:02:32 +01:00
Quentin Gliech
08a375bdcd Improve the configuration schema 2022-01-28 11:51:14 +01:00
Quentin Gliech
dc9694e5e3 cargo fmt 2022-01-25 09:52:45 +01:00
Quentin Gliech
02a763455b Add AWS SES backend to send email 2022-01-24 16:31:53 +01:00
Quentin Gliech
b0b64a60c6 Actually send emails 2022-01-19 18:00:45 +01:00
Quentin Gliech
a12d0847e1 WIP: email sending crate 2022-01-19 12:10:03 +01:00