Commit Graph

9 Commits

Author SHA1 Message Date
phundrak ce28426075 chore: rename project to bakit
Publish Docker Images / build-and-publish (push) Successful in 13m40s
2025-11-20 11:01:55 +01:00
phundrak c46ab8397c style: fix some clippy errors
Publish Docker Images / build-and-publish (push) Has been cancelled
2025-11-20 10:51:48 +01:00
phundrak 797ab461ab feat: send confirmation email to sender
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-16 02:12:21 +01:00
phundrak 71c4cf1061 chore: separate backend from frontend
Publish Docker Images / build-and-publish (push) Failing after 9m29s
2025-11-15 14:07:12 +01:00
phundrak 668e1e2a96 chore: delete backend
Initially, the backend was meant to cache calls to the GitHub API.
However, I decided to just cache them in the sessionStorage of the
visitor’s browser instead.
2023-03-22 11:46:09 +01:00
phundrak 924d3cced2 docs(backend): Document some functions and structures
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:59 +01:00
phundrak 3448672fec chore(backend): cleaner code
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:57 +01:00
phundrak a1f29c71f6 chore(backend): clearer names for some structures
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:52 +01:00
phundrak 7f217641f0 feat(backend): add initial backend
Backend as is can query GitHub for the information that will be
necessary later on in the frontend's pages. It does not cache this
information yet though.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:51 +01:00