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
Lin Jen-Shin
9374b7eb0b
Avoid using the same name between methods and variables
2016-03-23 20:05:31 +08:00
Jacob Vosmaer
1764e1b7cb
Use Gitlab::Git::DiffCollections
2016-03-03 18:38:44 +01: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
Douwe Maan
1886d727f7
Add API project upload endpoint
2016-01-07 13:37:14 +01:00
Grzegorz Bizon
cbeb06eb42
Mix url helpers in into RepositoryPush
2015-12-11 13:00:24 +00:00
Grzegorz Bizon
66f658a9b5
Check if commits are available in RepositoryPush
2015-12-08 08:43:09 +01:00
Grzegorz Bizon
591035968d
Duplicate options in RepositoryPush
2015-12-08 08:43:09 +01:00
Grzegorz Bizon
75c6b29f6b
Add RepositoryPush specs
2015-12-08 08:43:09 +01:00
Grzegorz Bizon
d835fbc79f
Fix url helpers in RepositoryPush
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
8c6db54e12
Extract repository_push_email to separate class
2015-12-08 08:43:08 +01: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
15fc7bd613
No HTML-only email please
2015-08-21 16:09:55 -07:00
Douwe Maan
69708dab9f
Block blocked users from replying to threads by email.
2015-08-21 10:14:45 -07:00
Douwe Maan
f26c2905d1
Fix indentation
2015-08-20 14:25:56 -07:00
Douwe Maan
8ec5fb138d
Test Gitlab::Email::Receiver.
2015-08-20 12:17:59 -07:00
Douwe Maan
2f78b5e8af
Make error class names more consistent.
2015-08-20 11:33:18 -07:00
Douwe Maan
0b401f2e94
Fix a couple of whoopsy daisies.
2015-08-20 11:17:14 -07:00
Douwe Maan
e9972efc2f
Extract ReplyParser and AttachmentUploader from Receiver.
2015-08-20 11:05:06 -07:00