Commit graph

9 commits

Author SHA1 Message Date
Rémy Coutable
76350e2ede Ensure "new SSH key" email do not ends up as dead Sidekiq jobs
Related to #2235.

This is done by:
1. Delaying the notification sending after the SSH key is commited in DB
2. Gracefully exit the mailer method if the record cannot be found
2016-03-15 11:23:57 +01:00
Douwe Maan
c5d7660000 Fix errors. 2015-04-02 22:36:54 +02:00
Douwe Maan
9dbd7e5aec Allow notification email to be set separately from primary email.
Closes #1932.
2015-02-07 23:19:17 +01:00
Jacob Vosmaer
25a566da0a Remove unused password argument from notification
We were still passing a 'password' argument around, but it is not used
anywhere because we send a password reset link in the welcome email
nowadays.
2014-12-01 15:11:26 +01:00
Marin Jankovski
8968f6d874 Update specs. 2014-07-16 09:51:20 +02:00
Marin Jankovski
56398ea161 Do not sent a generated password via email for admin created user. 2014-07-15 13:25:11 +02:00
Pierre de La Morinerie
7ba0b502d3 Add a "View in GitLab" link in notification emails
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.
2014-03-03 16:58:44 +01:00
Jason Hollingsworth
29cfd33d94 Add email aliases for users
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.
2014-02-13 22:59:39 -06:00
Dmitriy Zaporozhets
73446fe15e Email templates when user was added to group 2013-09-11 21:17:28 +03:00