summaryrefslogtreecommitdiffstats
path: root/app/models/mail_handler.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r15238.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that some mail handler log messages are not prepended with ↵Jean-Philippe Lang2015-11-141-2/+2
| | | | | | "MailHandler:" (#21226). git-svn-id: http://svn.redmine.org/redmine/trunk@14880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a default version to be set on the command line for incoming emails ↵Jean-Philippe Lang2015-11-011-1/+1
| | | | | | (#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-2/+6
| | | | 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-1/+17
| | | | | | | | (#20732). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail Handler: add support for allow_override=all (#20543).Jean-Philippe Lang2015-10-171-5/+8
| | | | 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-13/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved implementation to Principal.Jean-Philippe Lang2015-08-151-21/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #find_assignee_from_keyword may return a group with blank keyword ↵Jean-Philippe Lang2015-08-151-0/+2
| | | | | | (#20454). git-svn-id: http://svn.redmine.org/redmine/trunk@14499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* #downcase no longer needed after r14484 (#20369).Jean-Philippe Lang2015-08-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use String#casecmp for case insensitive comparison (#20369)Toshi MARUYAMA2015-08-121-6/+7
| | | | | | Contributed by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14484 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip leading spaces to prevent lines from being rendered as pre tags.Jean-Philippe Lang2015-06-161-1/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14318 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handle html-only emails (#16962).Jean-Philippe Lang2015-06-151-7/+9
| | | | 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/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use accessor method.Jean-Philippe Lang2015-04-261-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use a class variable for mail handler options.Jean-Philippe Lang2015-04-261-27/+33
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed invalid sanitizer in MailHandler (#19537).Jean-Philippe Lang2015-04-251-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14219 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
* Ignore auto reply messages from Exchange server (#19322).Jean-Philippe Lang2015-03-141-1/+1
| | | | | | Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-1/+1
| | | | 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-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore bogus issue strings like [some-string#1234] in email subjects (#17705).Jean-Philippe Lang2014-11-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use deep_dup to prevent losing mail receiving options (#14491)Toshi MARUYAMA2014-10-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler: Don't use String#respond_to?(:force_encoding) (#18047)Toshi MARUYAMA2014-10-081-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13432 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore email keywords after truncation line (#8758).Jean-Philippe Lang2014-09-201-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use \A instead of ^ for RegExp (#16190)Toshi MARUYAMA2014-07-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190)Toshi MARUYAMA2014-07-021-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default start date on issues created by email if ↵Jean-Philippe Lang2014-04-261-0/+1
| | | | | | 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
* Don't abort processing of emails when an email triggers a parsing exception ↵Jean-Philippe Lang2014-03-211-0/+8
| | | | | | (#16122). git-svn-id: http://svn.redmine.org/redmine/trunk@12995 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
* remove unneeded Relation#all from MailHandler#add_watchersToshi MARUYAMA2014-01-091-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* support more character encoding in incoming emails (#15785)Toshi MARUYAMA2014-01-011-1/+5
| | | | | | | | | Supporting encodings of iconv on Ruby 1.8 depend on iconv implementation. glibc-common-2.12-1.132 on CentOS6 does not support ks_c_5601-1987. Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@12474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that text/plain attachments are added to issue description (#15684).Jean-Philippe Lang2013-12-181-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12420 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Exclude attachments from incoming emails based on file name (#3413).Jean-Philippe Lang2013-09-291-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove ineffective "logger.info" and "logger.error" check from MailHandler ↵Toshi MARUYAMA2013-08-031-9/+9
| | | | | | model (#14598) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12073 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Broken tests (#14491).Jean-Philippe Lang2013-07-291-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the default project when receiving an email with an invalid project ↵Jean-Philippe Lang2013-07-291-0/+8
| | | | | | keyword (#14491). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Role-based issue custom field visibility (#5037).Jean-Philippe Lang2013-07-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix handling multiple text parts in email (#13646).Jean-Philippe Lang2013-05-121-4/+13
| | | | | | Patch by Alex Shulgin. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11834 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a method for extracting MailHandler options from ENV.Jean-Philippe Lang2013-05-041-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix broken tests on Rails 3.2.13 with Ruby 1.8 (#12399, #12375)Toshi MARUYAMA2013-03-191-31/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tab to space at app/models/mail_handler.rbToshi MARUYAMA2013-03-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: set mail_notification to only_my_events when creating a new ↵Jean-Philippe Lang2013-03-111-0/+1
| | | | | | user (#13341). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11590 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --no-notification option to disable notifications to the ↵Jean-Philippe Lang2013-03-031-0/+4
| | | | | | created user (#13341). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --no-account-notice option for not sending account ↵Jean-Philippe Lang2013-03-031-2/+5
| | | | | | information to the created user (#11498). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11525 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler: adds --default-group option to add created user to one or more ↵Jean-Philippe Lang2013-03-031-0/+14
| | | | | | groups (#13340). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use User#generate_password in MailHandler.Jean-Philippe Lang2013-02-231-3/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11457 e93f8b46-1217-0410-a6f0-8f06a7374b81