grafana/pkg/services/notifications
Michael Mandrus 8dab3bf36c
SMTP: Update email templates to include populated <title> tag (#61430)
* add .TemplateData property to data in order to populate template <title> tags with the compiled subject value

* update all templates

* re-enable integration test and update implementation to check changes

* chore: fmt

* add HiddenSubject template func and update text templates

* slight performance improvement, only execute subject template once

* update template I missed

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-01-30 16:56:23 -05:00
..
codes_test.go Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
codes.go User management: Use HMAC-SHA256 to generate time limit codes (password reset tokens) (#42334) 2022-08-18 16:01:09 +02:00
email.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
mailer.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
mock.go chore: move notifications models into notifications service (#61638) 2023-01-17 14:47:31 -05:00
models.go chore: move notifications models into notifications service (#61638) 2023-01-17 14:47:31 -05:00
notifications_test.go chore: move notifications models into notifications service (#61638) 2023-01-17 14:47:31 -05:00
notifications.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
send_email_integration_test.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
smtp_test.go Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
smtp.go Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
testing.go Alerting: Fix Teams notifier not failing on 200 response with error (#52254) 2022-07-14 13:15:18 -04:00
webhook.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00