Rémy Coutable
9f218fc184
Improve and finish the fallback to the In-Reply-To and References header for the reply-by-email feature
...
A few things to note:
- The IncomingEmail feature is now enabled even without a
correctly-formatted sub-address
- Message-ID for new thread mail are kept the same so that subsequent
notifications to this thread are grouped in the thread by the email
service that receives the notification
(i.e. In-Reply-To of the answer == Message-ID of the first thread message)
- To maximize our chance to be able to retrieve the reply key, we look
for it in the In-Reply-To header and the References header
- The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]"
- Improve docs thanks to Axil
2016-03-25 13:05:15 +01:00
David Padilla and Rémy Coutable
31e76baf61
Fix #2364 . Fall back to In-Reply-To header when reply key not available
2016-03-25 13:05:15 +01:00
Grzegorz Bizon
15d32b6a11
Add new notifications for issue move action
...
[ci skip]
2016-03-17 07:39:16 +01:00
Rémy Coutable
e90d6ec1d8
Create a SentNotification record for #relabeled_issue_email / #relabeled_merge_request_email
2016-03-15 18:36:54 +01:00
Rémy Coutable
54ec7e9599
Improving the original label-subscribing implementation
...
1. Make the "subscribed" text in Issuable sidebar reflect the labels
subscription status
2. Current user mut be logged-in to toggle issue/MR/label subscription
2016-03-15 18:22:02 +01:00
Timothy Andrew and Rémy Coutable
0444fa560a
Original implementation to allow users to subscribe to labels
...
1. Allow subscribing (the current user) to a label
- Refactor the `Subscription` coffeescript class
- The main change is that it accepts a container, and conducts all
DOM queries within its scope. We need this because the labels
page has multiple instances of `Subscription` on the same page.
2. Creating an issue or MR with labels notifies users subscribed to those labels
- Label `has_many` subscribers through subscriptions.
3. Adding a label to an issue or MR notifies users subscribed to those labels
- This only applies to subscribers of the label that has just been
added, not all labels for the issue.
2016-03-15 17:25:37 +01:00
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
Grzegorz Bizon
c9f202b2ef
Fix broken link in CI build notification emails
...
Closes #13199
2016-02-12 14:01:27 +01:00
Warren Guy
a1e1e72375
Generate valid Message-ID in email rejection mailer
...
Use a Message-ID that is RFC 2111 compliant. This fix is consistent with
how the Message-ID is generated in the 'notify' mailer.
2016-01-30 18:30:53 +08:00
Anton Baklanov
84124380e8
Added X-GitLab-... headers to emails from CI and Email On Push services
...
Fixes #2098
2016-01-19 20:18:39 +02:00
Zeger-Jan van de Weg
26cedc7e0b
Minor improvements, unsubscribe from email footer
2016-01-09 19:32:03 +01:00
Zeger-Jan van de Weg
58867eff46
Unsubscribe from thread through link in email footer
2016-01-09 12:41:22 +01:00
Douwe Maan
9b1270280a
Merge branch 'rs-abuse-reports-refactor' into 'master'
...
Abuse Report refactors
- Redirect back to user profile after report
- "Tell, Don't Ask" for sending report notifications
See merge request !2293
2016-01-05 14:11:15 +00:00
Robert Speicher
01248d2051
Make AbuseReportMailer responsible for knowing if it should deliver
2016-01-04 18:59:25 -05:00
Douwe Maan and Robert Speicher
12ce1cbfcf
Merge pull request GH-9938 from huacnlee/hotfix/note_mail_with_notification
...
Hotfix note mail with notification
2016-01-04 13:33:58 -05:00
Gabriel Mazetto
b5291f9599
Fixed Rubocop offenses
2015-12-15 00:53:52 -02:00
Kamil Trzciński
e81ae1e68c
Merge branch 'ci-services-migrate' into 'master'
...
Ci Services migrate
See merge request !1985
2015-12-14 10:32:57 +00:00
Kamil Trzcinski
2988e1fbf5
Migrate CI::Services and CI::WebHooks to Services and WebHooks
2015-12-10 16:04:08 +01:00
Grzegorz Bizon
360a96a299
Fix specs by adding forgotten instance variable
2015-12-08 08:43:09 +01:00
Grzegorz Bizon
9f2752e5dc
Remove obsolete variables in repository_push_email
2015-12-08 08:43:08 +01:00
Grzegorz Bizon
4beba7494b
Improve Messagee::RepositoryPush
2015-12-08 08:43:08 +01:00
Grzegorz Bizon
e2f937ce22
Refactor RepositoryPush, move to Message namespace
2015-12-08 08:43:08 +01:00
Grzegorz Bizon
45f7f01f19
Make can_send_from_user_email? public in Notify
2015-12-08 08:43:08 +01:00
Grzegorz Bizon
8c6db54e12
Extract repository_push_email to separate class
2015-12-08 08:43:08 +01:00
Valery Sizov and Valery Sizov
7f214cee74
Migrate mailers to ActiveJob
2015-11-26 17:03:43 +02:00
Dmitriy Zaporozhets
616675b4a6
Remove duplication in mailers/emails/notes.rb
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-17 11:55:43 +01:00
Dmitriy Zaporozhets
bfbfa3b5f0
Remove duplication in issue emails
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-16 23:56:16 +01:00
Douwe Maan
9f6dc2a4b2
Only pass abuse report ID to AbuseReportMailer.
2015-10-18 11:58:45 +02:00
Jonathan Rochkind
ae4fbae26c
Send an email (to support) when a user is reported for spam
2015-10-08 17:33:57 -04:00
Dmitriy Zaporozhets
63bbe42c9c
Merge branch 'stanhu/gitlab-ce-fix-message-id-notify'
2015-10-01 16:28:10 +02:00
Stan Hu
2e92600b30
Fix Message-ID field to be RFC 2111-compliant to prevent e-mails from being dropped
...
Closes #2867
2015-10-01 01:46:08 -07:00
Valery Sizov
5b57313051
Note the original location of a moved project when notifying users of the move
2015-10-01 09:54:56 +03:00
Dmitriy Zaporozhets
f71f165f99
Fix CI mailer
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-09-30 11:16:00 +02:00
Douwe Maan
0c83349867
Merge branch 'master' into rename-reply-by-email
2015-09-21 10:35:56 +02:00
Douwe Maan
ee028d9d60
Rename reply_by_email to incoming_email to prepare for the future.
2015-09-21 10:35:37 +02:00
Douwe Maan
3377808193
Fix reply by email for comments on a specific line in a diff/commit.
2015-09-20 18:18:39 +02:00
Valery Sizov
f5af4efabd
fix runners page
2015-09-10 17:05:43 +03:00
Valery Sizov
381180bc27
remove gitlab_ci config
2015-09-10 13:42:41 +03:00
Dmitriy Zaporozhets
90c338a495
Move helpers back to original directory
2015-09-09 14:37:34 +02:00
Douwe Maan
843694f902
Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
2015-08-26 17:53:31 -07:00
Douwe Maan
046b283127
Groundwork for merging CI into CE
2015-08-25 18:42:46 -07:00
Douwe Maan
2088880383
Ignore empty incoming messages.
2015-08-24 10:57:35 -07:00
Douwe Maan
eacdd5080a
Fix Basemailer#can?
2015-08-19 14:58:41 -07:00
Douwe Maan
0bc94198fc
Fix BaseMailer.
2015-08-19 12:51:42 -07:00
Douwe Maan
992dbbd9fe
Move sent_notification! out of Notify.
2015-08-19 12:35:23 -07:00
Douwe Maan
a8a861ae2a
Add BaseMailer to house shared mailer functionality.
2015-08-19 12:35:08 -07:00
Douwe Maan
03b54f1f03
Fix responding to commit notes
2015-08-19 11:35:13 -07:00
Douwe Maan
76dbafba86
Send a rejection email when the incoming email couldn't be processed.
2015-08-19 11:10:21 -07:00
Douwe Maan
6b31827a41
Include display name with reply to address.
2015-08-19 10:17:32 -07:00
Douwe Maan
4f34d363a5
Correctly set Message-ID for comment notifications.
2015-08-19 10:17:20 -07:00