summaryrefslogtreecommitdiff
path: root/spec/mailers
Commit message (Collapse)AuthorAgeFilesLines
* [CE] Support multiple assignees for merge requestsosw-multi-assignees-merge-requestsOswaldo Ferreira2019-04-081-9/+9
| | | | | Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
* Prevent premailer from converting HTML entitiesHeinrich Lee Yu2019-04-041-0/+13
| | | | This prevents `&mdash` in our templates being change to `-`
* Resolve conflicts in spec/mailers/notify_spec.rbStan Hu2019-03-041-10/+0
|
* Merge dev master into GitLab.com masterYorick Peterse2019-03-041-8/+46
|\
| * Remove link after issue move when no permissionsJarka Košanová2019-02-201-13/+43
| | | | | | | | | | | | Don't show new issue link after move when a user does not have permissions to display the new issue
* | Show header and footer system messages in emailAlexandru Croitor2019-02-276-13/+155
|/ | | | | | | | | | | * 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
* Use `sanitize_name` to sanitize URL in user full nameKushal Pandya2019-01-311-3/+5
|
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-242-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove caching of CSV file49231-import-issues-csvHeinrich Lee Yu2019-01-071-3/+3
| | | | Load whole file in memory to simplify code
* Import CSV BackendHeinrich Lee Yu2019-01-071-0/+33
| | | | Process CSV uploads async using a worker then email results
* Always use colon at end of discussion notification email headlineDouwe Maan2018-12-201-10/+2
|
* Fix a potential frozen string error in app/mailers/notify.rbRémy Coutable2018-12-111-9/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix a frozen string error in app/mailers/notify.rbRémy Coutable2018-12-101-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'security-guest-comments' into 'master'Cindy Pallares2018-11-281-1/+1
| | | | | [master]Fixed ability to comment on and edit/delete comments on locked or confidential issues See merge request gitlab/gitlabhq!2612
* 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
|