Robert Speicher
819f459b69
Only include EmailHelpers in mailer specs and specs using them
2016-12-01 12:17:33 +08:00
Lin Jen-Shin
230bae9d48
Update the other sites for reset_delivered_emails! as well
2016-10-17 07:25:20 +00:00
tiagonbotelho
c90483406e
refactors tests because of gitlab-test repository changes
2016-10-11 16:33:06 +01:00
Sean McGivern
d0fcd13ea3
Don't log to STDOUT in specs
2016-08-19 13:08:21 +01:00
Sean McGivern
e37c39a21d
Fix force-push message in push emails
...
`after_sha` maps to the source branch, as it's the head of our compare,
so these were just the wrong way around.
2016-08-19 13:07:39 +01:00
Lin Jen-Shin
d5264e8804
Simplify the name for data builder, feedback:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
2016-08-12 16:09:29 +08:00
Lin Jen-Shin
984367f957
Move those builders to their own namespace, feedback:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
2016-08-04 23:44:27 +08:00
Sean McGivern
331571e067
Fix emails on push for new and deleted branches
2016-07-21 10:53:38 +01:00
Sean McGivern
5f27e26bb4
Only generate repository push email once
...
The repository push email can be very expensive to generate, especially
with syntax-highlighted diffs. Instead of generating the email for each
recipient, generate one email object and reset the Message-Id and To
headers for each recipient. (Cloning would also be expensive in the case
of large emails, although probably not as bad as generating from
scratch.)
2016-05-11 09:16:01 +01:00
Stan Hu
001c8cd0ee
Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9560
2015-08-19 23:18:34 -07:00