Commit Graph

3 Commits

Author SHA1 Message Date
a65a418b64 chore: add Sonar analysis
Some checks failed
Publish Docker Images / build-and-publish (push) Has been cancelled
2025-11-16 02:01:11 +01:00
0b60e67e19 feat: send confirmation email to sender
All checks were successful
Publish Docker Images / build-and-publish (push) Successful in 8m13s
When users submit a contact form, they now receive a confirmation
email acknowlledging receipt of their message. The backend also
continues to send a notification email to the configured recipient.

If the backend fails to send the acknowledgement email to the sender,
it will assume the email is not valid and will therefore not transmit
the contact request to the configured recipient.

Changes:
- Refactor `send_email()` to `send_emails()` that sends two emails:
  - Confirmation email from the submitter
  - Notification email to the configured recipient
- Add `From<T>` implementations of various errors for new error type
  `ContactError`.
- Errors now return a translation identifier for the frontend.
2025-11-15 23:43:44 +01:00
89c7588883 feat(backend): build backend with Nix and add CI 2025-11-06 09:27:39 +01:00