summaryrefslogtreecommitdiff
path: root/spec/mailers/shared
Commit message (Collapse)AuthorAgeFilesLines
* follow the styleguide: Don't use parentheses around a literalFu Xu2016-10-031-1/+1
|
* move spec back into shared example `an email sent from GitLab`Fu Xu2016-10-031-0/+10
|
* create new test in `spec/mailers/notify_spec.rb`Fu Xu2016-10-031-4/+0
|
* add configurable email subject suffixFu Xu2016-10-031-0/+4
|
* Wrap List-Unsubscribe link in angle bracketsfix-unsubscribe-headerSean McGivern2016-09-261-1/+2
|
* Fix "Unsubscribe" link in notification emails that is triggered by anti-virusMaximiliano Perez Coto2016-09-201-0/+8
| | | | | | | | | * Created a force=true param that will continue with the previous behaviour of the unsubscribe method * Created a filter for not-logged users so they see a unsubsribe confirmation page * Added the List-Unsubscribe header on emails so the email client can display it on top
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-241-2/+2
| | | | Also removes the note from the development/testing.md guide
* Premailer shouldn't remove script tags from our emailsRobert Speicher2016-04-051-0/+2
| | | | Closes #14943.
* Improve and finish the fallback to the In-Reply-To and References header for ↵2364-fallback-to-in-reply-to-headerRémy Coutable2016-03-251-10/+67
| | | | | | | | | | | | | | | | the reply-by-email feature A few things to note: - The IncomingEmail feature is now enabled even without a correctly-formatted sub-address - Message-ID for new thread mail are kept the same so that subsequent notifications to this thread are grouped in the thread by the email service that receives the notification (i.e. In-Reply-To of the answer == Message-ID of the first thread message) - To maximize our chance to be able to retrieve the reply key, we look for it in the In-Reply-To header and the References header - The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]" - Improve docs thanks to Axil
* Fix #2364. Fall back to In-Reply-To header when reply key not availableDavid Padilla2016-03-251-1/+2
|
* Improving the original label-subscribing implementationRémy Coutable2016-03-151-1/+5
| | | | | | | 1. Make the "subscribed" text in Issuable sidebar reflect the labels subscription status 2. Current user mut be logged-in to toggle issue/MR/label subscription
* Move build emails specs to separate fileGrzegorz Bizon2016-02-121-0/+117
This also extracts shared examples for notification emails to separate file.