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
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
notify.rb Initial work to add notification reason to emails 2018-01-16 19:17:55 -06:00
repository_check_mailer.rb