Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-17Resolve "Opening Project with invite but without accepting leads to 404 ↵🙈 jacopo beschi 🙉
error page"
2018-05-07Backport 5480-epic-notifications from EEMario de la Ossa
2018-04-08Fix undefined method `one?` when pushing to an existing merge requestStan Hu
An untested code path was triggering an Exception because Fixnum doesn't have `one?` implemented in Rails, while arrays and collections do. Closes #45152
2018-04-04Add custom additonal email text to all emailsEric Eastwood
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
2018-04-03Fix body of email when commits are pushed to an MRSean McGivern
This was sending the current user, which is the recipient! It should be the user who pushed the commits.
2018-03-28Fix unapproved unassigned MR email erroring outEric Eastwood
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
2018-03-05Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-23Add DNS verification to Pages custom domainsNick Thomas
2018-02-19Resolve "group request membership mail with too long list of "To:""🙈 jacopo beschi 🙉
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-17Initial work to add notification reason to emailsMario de la Ossa
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.
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-12-13Make discussion mail References all notes in the discussionToon Claes
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.
2017-12-01Stop calling #strip in a commit title in Notify specsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-13Fix image diff notes emailFelipe Artur
2017-10-09Don't show an "Unsubscribe" link in snippet comment notificationsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-23Send a confirmation email when the user adds a secondary email address. ↵Brett Walker
Utilizes the Devise `confirmable` capabilities. Issue #37385
2017-09-01Remove some empty lines from notify specsGrzegorz Bizon
2017-09-01Optimize notification emails specsGrzegorz Bizon
2017-08-11Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27notification email on add new gpg keyAlexis Reigel
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-05-25Bugfix: Always use the default language when generating emails.Ruben Davila
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.
2017-05-04Backport of multiple_assignees_feature [ci skip]Valery Sizov
2017-05-01Auto-correct `RSpec/DescribedClass` violationsRobert Speicher
2017-04-26Enable RSpec/FilePath copSean McGivern
- Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
2017-04-06Merge branch 'update-droplab-to-webpack-version' into new-resolvable-discussionLuke "Jared" Bennett
2017-04-06Make it possible to preview pipeline success/failed emailsToon Claes
Visit `/rails/mailers/notify` on your local running GitLab instance to show a preview pipeline success emails.
2017-04-05Remove unused codeDouwe Maan
2017-04-05Address review commentsDouwe Maan
2017-04-05Fix specsDouwe Maan
2017-04-05Add specsDouwe Maan
2017-04-05Better notification emails for notes and (diff) discussionsDouwe Maan
2017-04-03Don't use FFaker in factories, use sequences insteadRémy Coutable
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>
2017-03-28Use `:empty_project` where possible in mailer specsRobert Speicher
2017-03-22Combine redundant `it` blocks in Notify specRobert Speicher
We perform a bunch of setup for most of these cases, and it didn't make sense to do an entirely new costly setup just to test a different string in the same body of the email we just generated in the last test.
2017-03-21Move the `a new user email` shared example to the Emails::Profile specRobert Speicher
This shared example was only used by this spec so having it in a separate file provided no benefit, at the cost of clarity. This also reduces the three `it` blocks into a single test with `aggregate_failures`.
2017-03-18All CI offline migrationsKamil Trzciński
2017-03-17Add a new have_html_escaped_body_text that match an HTML-escaped textRémy Coutable
This solves transient failures when a text contains HTML-escapable characters such as `'`. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-14Fix intermittent spec failures in notify_spec.rbNick Thomas
2016-11-29Merge branch '24880-configurable-plaintext-emails' into 'master' Sean McGivern
Add setting to enable/disable HTML emails Closes #24880 See merge request !7749
2016-11-29Add new configuration setting to enable/disable HTML emails.Ruben Davila
This new global setting will allow admins to specify if HTML emails should be sent or not, this is basically useful when system administrators want to save some disk space by avoiding emails in HTML format and using only the Plain Text version.
2016-11-28Fix spec styleSean McGivern
2016-11-28Tidy up text emailsSean McGivern
2016-11-25Clean up rubocop complainthhoopes
2016-11-25Add keyword arguments to truncated_diff methodhhoopes
* Added keyword arguments to truncated_diff_lines method to allow for using highlighting or not (html templates vs. text) * Tweaked templates for consistency and format appropriateness
2016-11-25Change diff highlight/truncate for reusabilityhhoopes
Previously the `truncated_diff_lines` method for outputting a discussion diff took in already highlighted lines, which meant it wasn't reuseable for truncating ANY lines. In the way it was used, it also meant that for any email truncation, the whole diff was being highlighted before being truncated, meaning wasted time highlighting lines that wouldn't even be used (granted, they were being memoized, so perhaps this wasn't that great of an issue). I refactored truncation away from highlighting, in order to truncate formatted diffs for text templates in email, using `>`s to designate each line, but otherwise retaining the parsing already done to create `diff_lines`. Additionally, while notes on merge requests or commits had already been tested, there was no existing test for notes on a diff on an MR or commit. Added mailer tests for such, and a unit test for truncating diff lines.