summaryrefslogtreecommitdiff
path: root/app/mailers
Commit message (Collapse)AuthorAgeFilesLines
...
| * Added email threading for update emails on issues and merge requests (if the ↵Philip Blatter2014-05-054-0/+26
| | | | | | | | mail client support the References: mail header)
* | Remove markdown notation from notification emailsDrew Blessing2014-04-282-5/+5
|/
* Fix emails on push service when a single commit is pushedJonathan A. Sternberg2014-04-111-1/+1
| | | | This fixes issue #161.
* Fix the merge notification email not being sentPierre de La Morinerie2014-03-241-2/+2
| | | | | | | | | | The 'author_id_of_changes' attribute is not persisted in the database. As we retrieve the merge request from the DB just before sending the email, this attribute was always nil. Also there was no tests for the merge notification code - tests have been added. Fix #6605
* Remove custom link to target in notification emailsPierre de La Morinerie2014-03-031-1/+1
| | | | | | Every email has a different way of showing a link to the discussion on the website. We don't need this anymore, as we now have a standard "View in GitLab" link in the footer of every email.
* Add a "View in GitLab" link in notification emailsPierre de La Morinerie2014-03-036-1/+22
| | | | | | | | | | | | | | When an email notification concerns a specific object (issue, note, merge request, etc.), add a link to the footer of the email that opens the item's page in a web browser. Rationale: * The link is predictable: always the same text, always at the same location, like any reliable tool. * It allows to remove the inline-title in many emails, and leave only the actual content of the message.
* Send emails from the authorPierre de La Morinerie2014-02-195-16/+47
| | | | | | | | | | | | This changes the email "From" field from "gitlab@example.com" to either: * "John Doe <gitlab@example.com>" if the author of the action is known, * "GitLab <gitlab@example.com>" otherwise. Rationale: this allow mails to appear as if they were sent by the author. It appears in the mailbox more like a real discussion between the sender and the receiver ("John sent: we should refactor this") and less like a robot notifying about something.
* Write the issue/merge request title in the notification email subjectPierre de La Morinerie2014-02-193-12/+22
| | | | | | | | | | | | | | | | | | | | | This changes the email subjects for issues and merge request notifications from: Team / Project | Note for issue #1234 to: Team / Project | Saving issue doesn't work sometimes (#1234) Rationale: * Scan the subject of the email notification more easily when catching up with a lot of notifications. Instead of having to open the email to get the title of the issue or merge request, one can simply read the subject of the email. * Group messages by subject: email clients will group emails in threads if they have the same subject.
* Don't write the project namespace in email subjectsPierre de La Morinerie2014-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | For instance, the email "Subject" field changes from: Mattt / Ground Control | Saving issue doesn't work sometimes (#1234) to: Ground Control | Saving issue doesn't work sometimes (#1234) Rationale: * Most people are receiving email notifications about a single fork: the project activity, issues and merge requests are happening either in a root repository or in a fork, but less often in several forks. * It removes noise from the email subject. The namespace of the project can still be read in the email body. * For Entreprise users that have a single namespace "MyEntreprise", having this repeated in every email subject is very noisy.
* Remove the email subject prefixPierre de La Morinerie2014-02-192-7/+7
| | | | | | | | | | | | | | | | | | | | | | | This changes email subjects from: GitLab | Team / Project | Note for issue #1234 to: Team / Project | Note for issue #1234 Rationale: * Emails should be as meaningful as possible, and emphasize content over chrome. The "GitLab" name is more chrome than content. * Users can tell an email coming from GitLab by the sender or the header in the email content. * An organization that works mainly with GitLab knows that every SVC email comes from GitLab. For these organizations, having "GitLab" in front of every email is just noise hiding the meaningful information.
* Fix misleading commentPierre de La Morinerie2014-02-191-1/+1
|
* Add email aliases for usersJason Hollingsworth2014-02-131-0/+6
| | | | | | | | Emails are used to associate commits with users. The emails are not verified and don't have to be valid email addresses. They are assigned on a first come, first serve basis. Notifications are sent when an email is added.
* Improve compare logic for EmailOnPush serviceDmitriy Zaporozhets2014-02-121-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix broken test in spec/models/project_spec.rbJason Hollingsworth2014-01-241-1/+1
| | | | | | A test was broken if running on a non-standard port. Made checking for (non-)standard port more robust. Changed gitlab_on_non_standard_port to gitlab_on_standard_port (less negative).
* Remove deprecated findersskv2014-01-192-2/+2
|
* Email on push: dont send email if new branch was pushed or branch was removedDmitriy Zaporozhets2013-12-171-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add templates for Emails on pushDmitriy Zaporozhets2013-12-171-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add new method to mailer for deliver emails with push infoDmitriy Zaporozhets2013-12-171-0/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add @project variable to merge request emailsDmitriy Zaporozhets2013-12-161-0/+4
| | | | | | | After this change project name appears in the top part of email when you open/close/accept merge request. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Set noreply@HOSTNAME for reply_to field in all emailsDmitriy Zaporozhets2013-12-091-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix minor errors/annoyances in email templatesDrew Blessing2013-11-085-14/+14
| | | | | | | | There was some funny syntax in merge request email templates. There was a ! before the merge request number when there probably should be a #. This may be some carry over from markdown but should not be in email templates. There were also some capitalization discrepancies among the subject lines. For those OCD people out there I standardized the capitalization. :)
* Fix the sigil for merge request emailsAbe Hassan2013-10-081-1/+1
|
* Email templates when user was added to groupDmitriy Zaporozhets2013-09-114-13/+28
|
* [#4821] - Fix some missing iidsRomain2013-08-261-2/+2
|
* Show iids for issues/mr in email subjectDmitriy Zaporozhets2013-08-222-8/+8
|
* Update emails to describe path using for_fork?Izaak Alpert2013-07-172-1/+2
| | | | | | | | | | | | Forked MR's will print Project:Branch <source_project_with_path>:<source_branch> -> <target_project_with_path>:<target_branch> Non forked MR's will print Branch <source_branch> -> <target_branch> Change-Id: I89399aec2e7fde8e4b64b110a48099a95ae4f038
* Style changes from review with @randxIzaak Alpert2013-07-171-1/+1
| | | | | | -Some changes around calling origional methods for !for_fork? merge requests. Other changes to follow Change-Id: I009c716ce2475b9efa3fd07aee9215fca7a1c150
* Merge Request on forked projectsIzaak Alpert2013-07-171-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
* Fix error when reassign issue/merge_request from non-assigned. Fixes #3201Dmitriy Zaporozhets2013-07-012-2/+2
|
* Send project transfer email to all members. Added specs for project move emailDmitriy Zaporozhets2013-06-221-4/+4
|
* Extend models functionality with old decorator methods. Use Repository modelDmitriy Zaporozhets2013-03-311-1/+0
|
* Fixed new mr/issue emailsDmitriy Zaporozhets2013-03-282-4/+4
|
* Improve notification service testsDmitriy Zaporozhets2013-03-281-1/+1
|
* Add close issue/mr methods to Notify. Refactored NotificationserviceDmitriy Zaporozhets2013-03-282-0/+21
|
* refactor emails a bit. Add email on ssh key creationDmitriy Zaporozhets2013-03-195-104/+99
|
* Add a delay for sending emailsDmitriy Zaporozhets2013-02-011-0/+4
|
* Fix sending commit note email to id instead emailDmitriy Zaporozhets2013-02-011-2/+2
|
* Fix few test and notify for commit authorDmitriy Zaporozhets2013-01-151-1/+1
|
* Merge commit 'master' into discussionsRiyad Preukschas2013-01-151-4/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/assets/stylesheets/sections/notes.scss app/contexts/notes/load_context.rb app/models/project.rb app/observers/note_observer.rb app/roles/votes.rb app/views/commit/show.html.haml app/views/merge_requests/_show.html.haml app/views/merge_requests/diffs.js.haml app/views/merge_requests/show.js.haml app/views/notes/_note.html.haml features/steps/project/project_merge_requests.rb spec/models/note_spec.rb
| * email via sidekiq. start and stop rake tasksDmitriy Zaporozhets2013-01-091-1/+1
| |
| * sidekiqDmitriy Zaporozhets2013-01-091-1/+1
| |
| * Bit of cleanup and improving mailerDmitriy Zaporozhets2012-12-311-2/+5
| |
| * Use project with namespace in email subjectDmitriy Zaporozhets2012-12-311-1/+1
| |
| * Add missing subject for wall commentDmitriy Zaporozhets2012-12-301-1/+1
| |
| * added RAILS_RELATIVE_URL_ROOT supportChris Frohoff2012-12-281-0/+1
| |
* | Fix commit note notificationRiyad Preukschas2013-01-021-2/+2
|/
* Fix email send on close/reopen issue. Display project name with namespace. ↵Dmitriy Zaporozhets2012-12-201-0/+1
| | | | remove css style
* Send update instructions after project namespace id changed or namespace ↵Dmitriy Zaporozhets2012-12-201-0/+6
| | | | path changed
* Update uses of Gitolite.config.foo settingsRiyad Preukschas2012-12-201-4/+4
|
* Removed feature: comments on wikiDmitriy Zaporozhets2012-11-291-9/+1
|