Jean-Philippe Lang
0df7fa714b
Allow a default version to be set on the command line for incoming emails ( #7346 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:56:27 +00:00
Jean-Philippe Lang
3795c22730
Makes project selection by subaddress optional ( #20732 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-19 16:56:13 +00:00
Jean-Philippe Lang
3caa882286
MailHandler: Select project by subaddress (redmine+project@example.com) ( #20732 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@14687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 10:03:49 +00:00
Jean-Philippe Lang
1ccdf38fdd
Mail Handler: add support for allow_override=all ( #20543 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 09:08:18 +00:00
Jean-Philippe Lang
af3c91d02a
Mail handler: no attributes overridable by default ( #20543 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 08:00:16 +00:00
Jean-Philippe Lang
eac2974e71
Moved implementation to Principal.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:57:55 +00:00
Jean-Philippe Lang
b66358ac6c
Fixed that #find_assignee_from_keyword may return a group with blank keyword ( #20454 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:47:18 +00:00
Jean-Philippe Lang
4e8f1f92b3
#downcase no longer needed after r14484 ( #20369 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:44:14 +00:00
Toshi MARUYAMA
918a412fd4
use String#casecmp for case insensitive comparison ( #20369 )
...
Contributed by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-12 12:54:06 +00:00
Jean-Philippe Lang
76536474b0
Strip leading spaces to prevent lines from being rendered as pre tags.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-16 18:42:52 +00:00
Jean-Philippe Lang
3ae42cb326
Better handle html-only emails ( #16962 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:16:42 +00:00
Jean-Philippe Lang
d640f7b249
Adds private issue option to receiving emails ( #8424 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 09:07:36 +00:00
Jean-Philippe Lang
cf7704f314
Use accessor method.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-26 14:55:59 +00:00
Jean-Philippe Lang
efe67602c6
Don't use a class variable for mail handler options.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-26 14:55:18 +00:00
Jean-Philippe Lang
0397dcf7fb
Removed invalid sanitizer in MailHandler ( #19537 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-25 08:26:27 +00:00
Jean-Philippe Lang
09eef4e75c
Mail handler should not ignore emails with x-auto-response-suppress header ( #19558 ).
...
Patch by Sebastian Paluch.
git-svn-id: http://svn.redmine.org/redmine/trunk@14159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:15:38 +00:00
Jean-Philippe Lang
b5bf65e834
Ignore auto reply messages from Exchange server ( #19322 ).
...
Patch by Sebastian Paluch.
git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:53:55 +00:00
Jean-Philippe Lang
e3618bdbec
Add support for multiple email addresses per user ( #4244 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Toshi MARUYAMA
963719042a
ignore X-Autoreply mails ( #15999 , #13425 )
...
Contributed by Karel Pičman.
git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 04:58:31 +00:00
Jean-Philippe Lang
fcf9cf7bb1
Misc tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:31:48 +00:00
Jean-Philippe Lang
9b971925db
Ignore bogus issue strings like [some-string#1234] in email subjects ( #17705 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:43:15 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
92f2ab6b70
use deep_dup to prevent losing mail receiving options ( #14491 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-20 04:04:38 +00:00
Toshi MARUYAMA
6ac8507b3b
MailHandler: Don't use String#respond_to?(:force_encoding) ( #18047 )
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-08 14:59:21 +00:00
Jean-Philippe Lang
8ae41b4846
Ignore email keywords after truncation line ( #8758 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-20 07:51:37 +00:00
Toshi MARUYAMA
45a744d77d
use \A instead of ^ for RegExp ( #16190 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-02 16:13:33 +00:00
Toshi MARUYAMA
4b55bb913c
only ignore undesirable Auto-Submitted headers defined in RFC3834 ( #16190 )
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-02 16:13:18 +00:00
Jean-Philippe Lang
43c9d69bf2
Set default start date on issues created by email if 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
2014-04-26 06:57:09 +00:00
Jean-Philippe Lang
ddcad64aa2
Don't abort processing of emails when an email triggers a parsing exception ( #16122 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-21 03:04:43 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
facf04593f
remove unneeded Relation#all from MailHandler#add_watchers
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 00:05:50 +00:00
Toshi MARUYAMA
803a0a030e
support more character encoding in incoming emails ( #15785 )
...
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
2014-01-01 05:54:28 +00:00
Jean-Philippe Lang
d4297ca3ff
Fixed that text/plain attachments are added to issue description ( #15684 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-18 18:13:13 +00:00
Jean-Philippe Lang
cfc05d310e
Exclude attachments from incoming emails based on file name ( #3413 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-09-29 11:50:49 +00:00
Toshi MARUYAMA
7711e37da4
remove ineffective "logger.info" and "logger.error" check from MailHandler model ( #14598 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-03 10:46:53 +00:00
Jean-Philippe Lang
3df08b02b4
Broken tests ( #14491 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-29 19:08:01 +00:00
Jean-Philippe Lang
1502da5726
Use the default project when receiving an email with an invalid project keyword ( #14491 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-29 16:37:45 +00:00
Jean-Philippe Lang
628d05629b
Role-based issue custom field visibility ( #5037 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-13 09:20:11 +00:00
Jean-Philippe Lang
9b7d312a0e
Fix handling multiple text parts in email ( #13646 ).
...
Patch by Alex Shulgin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 09:38:20 +00:00
Jean-Philippe Lang
ed18b3359b
Adds a method for extracting MailHandler options from ENV.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 07:32:35 +00:00
Toshi MARUYAMA
cc5f59abd4
fix broken tests on Rails 3.2.13 with Ruby 1.8 ( #12399 , #12375 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-19 06:35:39 +00:00
Toshi MARUYAMA
5d600587a1
replace tab to space at app/models/mail_handler.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-18 02:14:11 +00:00
Jean-Philippe Lang
bca9a8431e
Mail handler: set mail_notification to only_my_events when creating a new user ( #13341 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-11 17:50:18 +00:00
Jean-Philippe Lang
f77ed4a7c3
Mail handler: adds --no-notification option to disable notifications to the created user ( #13341 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:57:00 +00:00
Jean-Philippe Lang
6cffab9919
Mail handler: adds --no-account-notice option for not sending account information to the created user ( #11498 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:41:52 +00:00
Jean-Philippe Lang
b25d496c24
Mail handler: adds --default-group option to add created user to one or more groups ( #13340 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 07:59:29 +00:00
Jean-Philippe Lang
e14caf8e33
Use User#generate_password in MailHandler.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 16:57:45 +00:00
Jean-Philippe Lang
9a3e4e0a51
Test broken by r11392 ( #13174 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 08:32:06 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00