summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Backport the fix r18239 to 3.4-stable (#31503).Go MAEDA2019-06-101-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@18241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17630 from trunk to 3.4-stable (#28576).Go MAEDA2018-11-241-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17631 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17432 from trunk to 3.4-stable (#29191).Go MAEDA2018-07-061-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17433 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17147 to 3.4-stable (#27885).Jean-Philippe Lang2018-01-071-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout cleanup test/unit/mail_handler_test.rbToshi MARUYAMA2017-06-191-10/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* allow unicode whitespace after mail handler body delimiters (#17718)Toshi MARUYAMA2017-06-061-1/+1
| | | | | | Contributed by Holger Just and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16609 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes the digest used for attachments to SHA256 (#25240).Jean-Philippe Lang2017-04-031-5/+5
| | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to set multiple values in emails for list custom fields (#16549).Jean-Philippe Lang2017-03-081-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Emails with no text or html Content not handled properly (#25269, #25256).Jean-Philippe Lang2017-03-071-0/+5
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail parts with empty content should be ignored (#25256).Jean-Philippe Lang2017-03-051-0/+5
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* additional test for mail by Pavel Rosický (#24616)Toshi MARUYAMA2017-01-281-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16274 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optional Regex delimiters to truncate incoming emails (#5864).Jean-Philippe Lang2016-12-131-0/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16065 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When creating issues by receiving an email, watchers created via CC in the ↵Jean-Philippe Lang2016-07-091-2/+3
| | | | | | mail don't get an email notification (#23278). git-svn-id: http://svn.redmine.org/redmine/trunk@15609 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to define a default assigned_to when receiving emails (#23020).Jean-Philippe Lang2016-06-181-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "I don't want to be notified of changes that I make myself" as Default for ↵Jean-Philippe Lang2016-04-031-1/+1
| | | | | | all User (#14574). git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test which ensure received mail text attachment keeps original encoding ↵Toshi MARUYAMA2016-03-041-0/+16
| | | | | | | | | | (#21742) This test fails on Ruby >= 2.1 and will be fixed by next revision. Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@15183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add watchers from To and Cc fields in issue replies (#7017).Jean-Philippe Lang2016-01-221-1/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a default version to be set on the command line for incoming emails ↵Jean-Philippe Lang2015-11-011-0/+11
| | | | | | (#7346). git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes project selection by subaddress optional (#20732).Jean-Philippe Lang2015-10-191-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler: Select project by subaddress (redmine+project@example.com) ↵Jean-Philippe Lang2015-10-171-0/+13
| | | | | | | | (#20732). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved notification assertion to its own test.Jean-Philippe Lang2015-10-171-5/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed duplicate test case.Jean-Philippe Lang2015-10-171-17/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deliveries already cleared in #setup.Jean-Philippe Lang2015-10-171-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Not testing nested set.Jean-Philippe Lang2015-10-171-5/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail Handler: add support for allow_override=all (#20543).Jean-Philippe Lang2015-10-171-5/+44
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: no attributes overridable by default (#20543).Jean-Philippe Lang2015-10-171-7/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handle html-only emails (#16962).Jean-Philippe Lang2015-06-151-5/+25
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds private issue option to receiving emails (#8424).Jean-Philippe Lang2015-05-101-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler should not ignore emails with x-auto-response-suppress header ↵Jean-Philippe Lang2015-04-111-1/+0
| | | | | | | | (#19558). Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixturesToshi MARUYAMA2015-01-181-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ignore X-Autoreply mails (#15999, #13425)Toshi MARUYAMA2014-12-121-1/+2
| | | | | | Contributed by Karel Pičman. git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Misc tests.Jean-Philippe Lang2014-12-081-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop shoulda.Jean-Philippe Lang2014-11-301-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore bogus issue strings like [some-string#1234] in email subjects (#17705).Jean-Philippe Lang2014-11-141-0/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-40/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore email keywords after truncation line (#8758).Jean-Philippe Lang2014-09-201-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190)Toshi MARUYAMA2014-07-021-2/+14
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add "Auto-Submitted: auto-forwarded" to ignore mail test (#16190)Toshi MARUYAMA2014-07-021-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test of issue id in sending mail when issue is created by mail (#17078)Toshi MARUYAMA2014-06-301-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13195 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default start date on issues created by email if ↵Jean-Philippe Lang2014-04-261-13/+23
| | | | | | default_issue_start_date_to_creation_date is set (#16655). git-svn-id: http://svn.redmine.org/redmine/trunk@13104 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test of gmail ISO-8859-2 mail receiving (#16122)Toshi MARUYAMA2014-02-181-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12903 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add test of quoted printable UTF-8 mail reviving (#14675)Toshi MARUYAMA2014-02-171-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* adjust tests to awesome_nested_set new node lft and rgt value behavior changeToshi MARUYAMA2014-01-241-2/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#first with finder options at MailHandlerTestToshi MARUYAMA2014-01-091-3/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12551 e93f8b46-1217-0410-a6f0-8f06a7374b81