Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specs | blackst0ne | 2017-12-22 | 1 | -4/+4 |
| | |||||
* | Make discussion mail References all notes in the discussiontc-correct-email-in-reply-to | Toon Claes | 2017-12-13 | 1 | -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-10 | Rémy Coutable | 2017-12-01 | 1 | -2/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Fix image diff notes email | Felipe Artur | 2017-11-13 | 1 | -1/+19 |
| | |||||
* | Don't show an "Unsubscribe" link in snippet comment notifications | Rémy Coutable | 2017-10-09 | 1 | -231/+260 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Send a confirmation email when the user adds a secondary email address. ↵ | Brett Walker | 2017-09-23 | 1 | -25/+0 |
| | | | | Utilizes the Devise `confirmable` capabilities. Issue #37385 | ||||
* | Remove some empty lines from notify specsbackstage/gb/optimize-notification-specs | Grzegorz Bizon | 2017-09-01 | 1 | -3/+0 |
| | |||||
* | Optimize notification emails specs | Grzegorz Bizon | 2017-09-01 | 1 | -63/+31 |
| | |||||
* | Enable the RSpec/HookArgument cop and auto-correct offenses | Robert Speicher | 2017-08-10 | 1 | -3/+3 |
| | |||||
* | Change all `:empty_project` to `:project`rs-empty_project-default | Robert Speicher | 2017-08-02 | 1 | -9/+9 |
| | |||||
* | notification email on add new gpg key | Alexis Reigel | 2017-07-27 | 1 | -0/+30 |
| | |||||
* | Create and use project path helpers that only need a project, no namespace | Douwe Maan | 2017-07-05 | 1 | -22/+21 |
| | |||||
* | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -2/+2 |
| | |||||
* | Correct RSpec/SingleLineHook cop offenses | Robert Speicher | 2017-06-14 | 1 | -8/+29 |
| | |||||
* | Bugfix: Always use the default language when generating emails.32748-emails-are-being-sent-with-the-wrong-language | Ruben Davila | 2017-05-25 | 1 | -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 Sizov | 2017-05-04 | 1 | -5/+5 |
| | |||||
* | Auto-correct `RSpec/DescribedClass` violationsrs-described_class-cop-2 | Robert Speicher | 2017-05-01 | 1 | -41/+41 |
| | |||||
* | Enable RSpec/FilePath copenable-spec-file-name-cop | Sean McGivern | 2017-04-26 | 2 | -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-discussion | Luke "Jared" Bennett | 2017-04-06 | 1 | -0/+10 |
|\ | |||||
| * | Make it possible to preview pipeline success/failed emails | Toon Claes | 2017-04-06 | 1 | -0/+11 |
| | | | | | | | | | | Visit `/rails/mailers/notify` on your local running GitLab instance to show a preview pipeline success emails. | ||||
* | | Remove unused code | Douwe Maan | 2017-04-05 | 1 | -18/+0 |
| | | |||||
* | | Address review comments | Douwe Maan | 2017-04-05 | 2 | -6/+121 |
| | | |||||
* | | Fix specs | Douwe Maan | 2017-04-05 | 1 | -1/+1 |
| | | |||||
* | | Add specs | Douwe Maan | 2017-04-05 | 1 | -19/+123 |
| | | |||||
* | | Better notification emails for notes and (diff) discussions | Douwe Maan | 2017-04-05 | 1 | -0/+2 |
|/ | |||||
* | Don't use FFaker in factories, use sequences instead | Rémy Coutable | 2017-04-03 | 1 | -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 specs | Robert Speicher | 2017-03-27 | 1 | -5/+10 |
| | |||||
* | Combine redundant `it` blocks in Notify spec | Robert Speicher | 2017-03-21 | 1 | -231/+149 |
| | | | | | | 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. | ||||
* | Move the `a new user email` shared example to the Emails::Profile spec | Robert Speicher | 2017-03-21 | 1 | -0/+10 |
| | | | | | | | 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`. | ||||
* | All CI offline migrations | Kamil Trzciński | 2017-03-17 | 1 | -64/+0 |
| | |||||
* | Add a new have_html_escaped_body_text that match an HTML-escaped text20121-add-a-new-have_html_escaped_body_text-matcher | Rémy Coutable | 2017-03-17 | 1 | -31/+32 |
| | | | | | | | This solves transient failures when a text contains HTML-escapable characters such as `'`. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Fix intermittent spec failures in notify_spec.rb | Nick Thomas | 2017-03-14 | 1 | -111/+120 |
| | |||||
* | Merge branch '24880-configurable-plaintext-emails' into 'master' | Sean McGivern | 2016-11-29 | 1 | -0/+34 |
|\ | | | | | | | | | | | | | Add setting to enable/disable HTML emails Closes #24880 See merge request !7749 | ||||
| * | Add new configuration setting to enable/disable HTML emails.24880-configurable-plaintext-emails | Ruben Davila | 2016-11-28 | 1 | -0/+34 |
| | | | | | | | | | | | | 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. | ||||
* | | Fix spec style | Sean McGivern | 2016-11-28 | 1 | -0/+1 |
| | | |||||
* | | Tidy up text emails | Sean McGivern | 2016-11-28 | 1 | -4/+4 |
| | | |||||
* | | Clean up rubocop complaint | hhoopes | 2016-11-25 | 1 | -1/+1 |
| | | |||||
* | | Add keyword arguments to truncated_diff method | hhoopes | 2016-11-25 | 1 | -7/+1 |
| | | | | | | | | | | * 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 | ||||
* | | Change diff highlight/truncate for reusability | hhoopes | 2016-11-25 | 1 | -1/+79 |
| | | | | | | | | | | | | 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. | ||||
* | | Add new template to handle both commit & mr notes | hhoopes | 2016-11-25 | 1 | -17/+2 |
| | | | | | | | | | | | | | | | | Currently comments on commits and merge requests do not require merge request- or commit-specific information, but can use the same template. Rather than change the method which calls the template, I opted to keep the templates separate and create a new template to highlight their identicality, while preserving the option to distinguish them from each other in the future. Also removed some of the inconsistencies between text and html email versions. Still needed is a text-only version of git diffs and testing. | ||||
* | | Add diff hunks to notification emails on MR | hhoopes | 2016-11-25 | 1 | -2/+17 |
|/ | | | | | | Added diff hunks to notification emails of messages on merge requests. This provides code context to the note. Uses existing template for formatting a diff for email (from repository push notifications). | ||||
* | Use `Gitlab.config.gitlab.host` over `'localhost'`fix-tests-for-different-host | Lin Jen-Shin | 2016-11-18 | 1 | -1/+1 |
| | | | | | | | | This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all. | ||||
* | Make access request specs explicitly enable or disable access requests as ↵ | Nick Thomas | 2016-11-11 | 1 | -5/+10 |
| | | | | required | ||||
* | Move spec/mailers/shared/notify.rb to spec/support | Jared Ready | 2016-10-22 | 5 | -204/+0 |
| | |||||
* | refactors tests because of gitlab-test repository changes20708-new-branch-is-immediatelly-tagged-as-merged | tiagonbotelho | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | override subject method in devise mailer | Fu Xu | 2016-10-03 | 1 | -1/+2 |
| | |||||
* | follow the styleguide: Don't use parentheses around a literal | Fu Xu | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | move spec back into shared example `an email sent from GitLab` | Fu Xu | 2016-10-03 | 2 | -7/+10 |
| | |||||
* | stub config settings in spec | Fu Xu | 2016-10-03 | 1 | -5/+2 |
| | |||||
* | remove empty line at block body end | Fu Xu | 2016-10-03 | 1 | -1/+0 |
| |