Commit graph

8 commits

Author SHA1 Message Date
Bob Van Landuyt
6fbdc5ed52 Apply patches when creating MR via email
This allows users to add patches as attachments to merge request
created via email.

When an email to create a merge request is sent, all the attachments
ending in `.patch` will be applied to the branch specified in the
subject of the email. If the branch did not exist, it will be created
from the HEAD of the repository.

When the patches could not be applied, the error message will be
replied to the user.

The patches can have a maximum combined size of 2MB for now.
2018-11-07 16:27:55 +01:00
Lin Jen-Shin
f097e4dbcd Don't send rejection mails for all auto-generated mails
Also make it easier to have mailer helper
2017-08-03 00:40:10 +08:00
Lin Jen-Shin
c337e748d3 so we use separate classes to handle different tasks 2016-05-18 17:25:45 -05:00
Valery Sizov
e92ceb7b57 fix specs 2015-11-30 16:12:31 +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
54b04f1c5b Add fixture_file helper. 2015-08-20 12:41:47 -07:00
Douwe Maan
ac268674ed Update spec. 2015-08-20 12:34:45 -07:00
Douwe Maan
e44936f3ed Test EmailReceiverWorker. 2015-08-20 11:47:09 -07:00