summaryrefslogtreecommitdiff
path: root/spec/mailers
Commit message (Collapse)AuthorAgeFilesLines
* Automatically disable Auto DevOps for project upon first pipeline failureMayra Cabrera2018-09-061-0/+32
|
* Update notification specs after renaming a classGrzegorz Bizon2018-07-161-2/+4
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-8/+8
|
* This test was copied from EELin Jen-Shin2018-07-101-0/+11
|
* Move spec/mailers/previews to app/mailers/previewsLin Jen-Shin2018-07-064-210/+0
|
* Notify only when unmergeable due to conflictMark Chao2018-06-201-7/+1
| | | | | | | | | | | | There is still the edge case when 'no commits' changes to 'conflict' would not trigger notification, which we ignore for now. Calling can_be_merged? can cause exception (e.g. non-UTF8) Ignore those by rescueing. Remove unmergeable_reason as now only conflict is notified Update spec
* Replace have_html_espaced_body_text after 517598baTakuya Noguchi2018-06-031-19/+19
|
* Revert "Add a new have_html_escaped_body_text that match an HTML-escaped text"Takuya Noguchi2018-06-031-9/+9
| | | | This reverts commit 517598ba10793efa02cb90379f78ab97c9c5b25d.
* Fix merge request unmergeable notification email plural interpolation46840-fix-merge-request-unmergeable-email-pluralMark Chao2018-05-311-1/+1
|
* Merge branch 'mr-conflict-notification' into 'master'Douwe Maan2018-05-241-0/+40
|\ | | | | | | | | MR unmergeable notification See merge request gitlab-org/gitlab-ce!18042
| * Plural reason(s)Mark Chao2018-05-181-0/+1
| |
| * Notify with email when merge request became unmergeablelulalala2018-05-171-0/+39
| | | | | | | | Display MR unmergeable reasons
* | Resolve "Opening Project with invite but without accepting leads to 404 ↵🙈 jacopo beschi 🙉2018-05-171-1/+1
|/ | | | error page"
* Backport 5480-epic-notifications from EEMario de la Ossa2018-05-071-32/+0
|
* Fix undefined method `one?` when pushing to an existing merge requestsh-fix-issue-45152Stan Hu2018-04-071-2/+14
| | | | | | | | An untested code path was triggering an Exception because Fixnum doesn't have `one?` implemented in Rails, while arrays and collections do. Closes #45152
* Add custom additonal email text to all emailsce-4474-custom-additional-text-in-confirmation-emailEric Eastwood2018-04-043-10/+83
| | | | | | | | | | | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ee/issues/4474 Conflicts: db/schema.rb ee/app/controllers/ee/admin/application_settings_controller.rb ee/app/helpers/ee/application_settings_helper.rb ee/app/models/ee/application_setting.rb ee/app/models/license.rb ee/app/views/layouts/service_desk.html.haml ee/app/views/notify/approved_merge_request_email.html.haml ee/app/views/notify/service_desk_new_note_email.text.erb ee/app/views/notify/service_desk_thank_you_email.text.erb ee/app/views/notify/unapproved_merge_request_email.html.haml ee/lib/ee/api/entities.rb ee/spec/controllers/admin/application_settings_controller_spec.rb ee/spec/models/application_setting_spec.rb ee/spec/requests/api/settings_spec.rb lib/api/settings.rb spec/mailers/previews/notify_preview.rb
* Fix body of email when commits are pushed to an MRSean McGivern2018-04-031-0/+30
| | | | | This was sending the current user, which is the recipient! It should be the user who pushed the commits.
* Fix unapproved unassigned MR email erroring outce-3092-fix-unassigned-unapproved-mr-email-failingEric Eastwood2018-03-281-1/+1
| | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ee/issues/3092 Conflicts: ee/app/views/notify/unapproved_merge_request_email.html.haml spec/mailers/notify_spec.rb
* Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets2018-03-051-11/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add DNS verification to Pages custom domainsNick Thomas2018-02-231-0/+71
|
* Resolve "group request membership mail with too long list of "To:""🙈 jacopo beschi 🙉2018-02-191-48/+22
|
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
|
* Initial work to add notification reason to emailsMario de la Ossa2018-01-161-0/+49
| | | | | | | | | | | 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.
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-4/+4
|
* Make discussion mail References all notes in the discussiontc-correct-email-in-reply-toToon Claes2017-12-131-0/+40
| | | | | | | | | When a note is part of a discussion, the email sent out will be `In-Reply-To` the previous note in that discussion. It also `References` all the previous notes in that discussion, and the original issue. Closes gitlab-org/gitlab-ce#36054.
* Stop calling #strip in a commit title in Notify specs40691-upgrade-rails-to-4-2-10Rémy Coutable2017-12-011-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix image diff notes emailFelipe Artur2017-11-131-1/+19
|
* Don't show an "Unsubscribe" link in snippet comment notificationsRémy Coutable2017-10-091-231/+260
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Send a confirmation email when the user adds a secondary email address. ↵Brett Walker2017-09-231-25/+0
| | | | Utilizes the Devise `confirmable` capabilities. Issue #37385
* Remove some empty lines from notify specsbackstage/gb/optimize-notification-specsGrzegorz Bizon2017-09-011-3/+0
|
* Optimize notification emails specsGrzegorz Bizon2017-09-011-63/+31
|
* Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher2017-08-101-3/+3
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-9/+9
|
* notification email on add new gpg keyAlexis Reigel2017-07-271-0/+30
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-22/+21
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-8/+29
|
* Bugfix: Always use the default language when generating emails.32748-emails-are-being-sent-with-the-wrong-languageRuben Davila2017-05-251-0/+9
| | | | | | There was a race condition issue when the application was generating an email and was using a language that was previously being used in other request.
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-5/+5
|
* Auto-correct `RSpec/DescribedClass` violationsrs-described_class-cop-2Robert Speicher2017-05-011-41/+41
|
* Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-262-75/+73
| | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* Merge branch 'update-droplab-to-webpack-version' into new-resolvable-discussionLuke "Jared" Bennett2017-04-061-0/+10
|\
| * Make it possible to preview pipeline success/failed emailsToon Claes2017-04-061-0/+11
| | | | | | | | | | Visit `/rails/mailers/notify` on your local running GitLab instance to show a preview pipeline success emails.
* | Remove unused codeDouwe Maan2017-04-051-18/+0
| |
* | Address review commentsDouwe Maan2017-04-052-6/+121
| |
* | Fix specsDouwe Maan2017-04-051-1/+1
| |
* | Add specsDouwe Maan2017-04-051-19/+123
| |
* | Better notification emails for notes and (diff) discussionsDouwe Maan2017-04-051-0/+2
|/
* Don't use FFaker in factories, use sequences insteadRémy Coutable2017-04-031-2/+2
| | | | | | | FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use `:empty_project` where possible in mailer specsRobert Speicher2017-03-271-5/+10
|