vikunja/pkg/notifications
kolaente 8987f0890a
fix(mail): disable queue when mailer disabled (#2069)
- Don't create the mail queue when the mailer is disabled to prevent
`SendMail()` from blocking indefinitely
- Add guard clause in `SendMail()` to return early when mailer is
disabled or queue is nil
- Add test to verify notifications don't block when mailer is disabled

This implements the changes from #1080 with the review feedback
addressed (using `package notifications` instead of `package
notifications_test`).


Closes #1080
2026-01-08 15:51:31 +01:00
..
database.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
db.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
logo.png feat: embed the vikunja logo as inline attachment 2022-06-30 14:21:17 +00:00
mail.go feat: add thread IDs to task notification emails for client-side threading (#1826) 2025-11-15 18:58:32 +01:00
mail_render.go feat: format user mentions with display names in email notifications (#1930) 2025-12-10 12:39:05 +01:00
mail_test.go fix: HTML entity double-escaping in email notifications (#1829) 2025-11-15 21:37:09 +01:00
main_test.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
notification.go feat: add thread IDs to task notification emails for client-side threading (#1826) 2025-11-15 18:58:32 +01:00
notification_test.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
notify_disabled_test.go fix(mail): disable queue when mailer disabled (#2069) 2026-01-08 15:51:31 +01:00
testing.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00