gitlab-org--gitlab-foss/app/mailers
Mario de la Ossa 23a20c20f8
Initial work to add notification reason to emails
Adds `#build_notification_recipients` to `NotificationRecipientService`
that returns the `NotificationRecipient` objects in order to be able to
access the new attribute `reason`.

This new attribute is used in the different notifier methods in order to
add the reason as a header: `X-GitLab-NotificationReason`.

Only the reason with the most priority gets sent.
2018-01-16 19:17:55 -06:00
..
emails Initial work to add notification reason to emails 2018-01-16 19:17:55 -06:00
abuse_report_mailer.rb Make AbuseReportMailer responsible for knowing if it should deliver 2016-01-04 18:59:25 -05:00
base_mailer.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
devise_mailer.rb use common devise layout and use heading style 2017-06-13 22:36:45 +02:00
email_rejection_mailer.rb Generate valid Message-ID in email rejection mailer 2016-01-30 18:30:53 +08:00
notify.rb Initial work to add notification reason to emails 2018-01-16 19:17:55 -06:00
repository_check_mailer.rb Fix code for cops 2017-02-23 09:31:57 -06:00