Commit Graph

12 Commits

Author SHA1 Message Date
Sean McGivern e6532ca203 Fix notes email with group-level notification email
A Noteable doesn't have a group directly, unless it's an epic - we need
to look for the project's group to find the right email address.
2019-06-24 09:20:10 +00:00
Frank van Rest df4c1a75de Uniform html and text emails
Uniform new_issue_email html and text emails
Uniform note_email html and text emails
Uniform new_merge_request_email html and text emails
2019-06-21 13:48:43 +03:00
Wei-Meng Lee ddb0344a8f Apply reviewer suggestions 2019-05-31 20:49:27 +08:00
Wei-Meng Lee 1a402d888c Send notifications to group-specific email address
- Select notification email by walking up group/subgroup path
- Add settings UI to set group email notification address
- Add tests
2019-05-31 20:49:27 +08:00
Alexandru Croitor 77985826d9 Show header and footer system messages in email
* Add email_header_and_footer_enabled flag to appearances table
* Set email_header_and_footer_enabled default value to false
* Add checkbox to appearance to toggle show header and footer in emails
* Add email_header_and_footer_enabled to allowed params in controller
* Add header and footer messages to the html and text email layouts
* Remove the color styling for emails header and footer
* Add empty_mailer layout for emails without layout,
to have the header and footer applied
2019-02-27 22:07:50 +02:00
Olivier Crête a96cd7cb2b Add List-Id to notification emails 2018-12-13 11:15:48 +00:00
Lukas Eipert 2063dcf511
Add IID headers to E-Mail notifications
These headers can be used to build URLs for API requests. Good examples
would be Issues and Merge Requests
2018-10-16 14:54:18 +02:00
Rémy Coutable c0c9e5dd6f
Ensure links in notifications footer are not escaped
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-08-03 13:27:14 +02:00
Toon Claes b1f236164e Put fallback reply-key address first in the References header
The References header is an ordered list of mails, and some clients
only look at the last mail in the list to determine to which mail the
mail is in reply to.

Therefore, to be a less obtrusive as possible, put the fallback
address first.

Some info about the reply key lookup in the References header:
https://docs.gitlab.com/ee/administration/reply_by_email.html#how-it-works
2018-07-27 15:12:52 +02:00
Takuya Noguchi d46c12290d Replace have_html_espaced_body_text after 517598ba 2018-06-03 22:29:51 +09:00
Mario de la Ossa 02741ca4c5
Backport 5480-epic-notifications from EE 2018-05-07 12:58:47 -06:00
Rémy Coutable 023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00