Jean-Philippe Lang
0c78056a69
Send emails asynchronously ( #26791 ).
...
Custom async_* delivery methods are removed in favor of ActiveJob (Async by default).
git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 17:13:09 +00:00
Go MAEDA
d1c84dbdf9
Fix: Allow to set no_notification option when receiving emails via IMAP or POP3 ( #29191 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-06 00:51:28 +00:00
Go MAEDA
a9bf2b763c
Allow setting "Parent issue" attribute in emails ( #27070 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-24 02:40:21 +00:00
Go MAEDA
6233ebd71e
Fix indent ( #27025 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@17226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-03-03 04:32:16 +00:00
Go MAEDA
76f12c1316
Optional regex for filtering attachments on incoming emails ( #27025 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@17225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-03-03 04:29:54 +00:00
Jean-Philippe Lang
4e6b54e33e
Empty email attachments are imported to Redmine, creating broken DB records ( #27885 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 21:46:58 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Toshi MARUYAMA
8c03f2a6db
allow unicode whitespace after mail handler body delimiters ( #17718 )
...
Contributed by Holger Just and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 01:34:52 +00:00
Jean-Philippe Lang
99a714e39b
Prevent clash with Rails 5.1 Mailer class.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:20:20 +00:00
Jean-Philippe Lang
a63908c5ed
Emails with no text or html Content not handled properly ( #25269 , #25256 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-07 17:54:09 +00:00
Jean-Philippe Lang
a9a1f6205a
Mail parts with empty content should be ignored ( #25256 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:41:20 +00:00
Jean-Philippe Lang
f30462595e
Optional Regex delimiters to truncate incoming emails ( #5864 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-13 18:46:29 +00:00
Jean-Philippe Lang
ffdcb22ccb
Ability to define a default assigned_to when receiving emails ( #23020 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 07:07:41 +00:00
Jean-Philippe Lang
a6828512c0
Adds Issue#allowed_target_trackers ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +00:00
Jean-Philippe Lang
ed50d42210
Replace Date.today with User.current.today ( #22320 ).
...
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.
A test case illustrating the problem with Issue#overdue? is included
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Toshi MARUYAMA
5414d86050
fix received mail text attachment does not keep original encoding on Ruby >= 2.1 ( #21742 )
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@15184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 06:56:06 +00:00
Jean-Philippe Lang
7dca1a180b
Don't check permission to add watchers if no_permission_check option is set ( #7017 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 20:05:53 +00:00
Jean-Philippe Lang
91da86a688
Add watchers from To and Cc fields in issue replies ( #7017 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 20:01:05 +00:00
Jean-Philippe Lang
41c379fb78
Fixed that some mail handler log messages are not prepended with "MailHandler:" ( #21226 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 11:34:45 +00:00
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