Marius Balteanu
805b36cbfb
Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
Go MAEDA
97c2607da4
X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group (#35017).
Patch by Akihiro MATOBA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21005 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
ba6ace46d7
Fix sending mail with DeliveryJob is deprecated (#29914, #32908).
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Toshi MARUYAMA
7097fcedec
shorten long line of app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20623 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
decd5366b5
Fix wrong comment for Mailer.deliver_account_activated (#34166).
git-svn-id: http://svn.redmine.org/redmine/trunk@20192 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Toshi MARUYAMA
616765b5e4
fix source indent of app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19932 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
a8ed1c7c5f
Add a link to the issues list in a reminder email (#33099).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19565 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
33ed57a223
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19271 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
3bd37fef40
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19268 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
83f96f072e
cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19172 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
674a62b728
cleanup: rubocop: fix Layout/AlignArguments in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18934 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
b0e28db7c7
code cleanup: rubocop: fix Lint/IneffectiveAccessModifier in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18778 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Toshi MARUYAMA
5e5712f82d
code cleanup: rubocop: fix Layout/CommentIndentation in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18772 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Go MAEDA
59968110a3
Add additional mail headers for issue tracker (#31910).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18459 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
b0e17e8199
Don't rescue Exception class (#31387).
Patch by Go MAEDA and Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
a7ed8bcbed
Show the total number of open issues in a reminder (#31104).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18061 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
ce6e9ca950
Don't raise an exception when the emission email address is not RFC compliant (#5913).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18050 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
25ec4a9366
Code cleanup: use safe navigation operator in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18045 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
bd5977d97e
Support frozen_string_literal in app/**/*.rb (#26561).
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
959da1d3ea
Issue emails cannot be threaded by some mailers due to inconsistent Message-ID and References field (#17096).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17927 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
0f39eec9e0
"View all issues" link in email reminders points to issues list which does not include issues assigned to a group (#30955).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17918 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
8af0990073
New setting to include the status changes in issue mail notifications subject (#13111).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17907 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
ffcd722c40
Daylight savings causes inconsistency of Message-Id (#13888).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17890 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
21e503fc71
Show author's name in the From field of email notifications (#5913).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17870 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
54cfb7b75e
Sort issues by due date in email reminders (#29771).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17624 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
9ebd94c72e
Remove trailing whitespaces from app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17622 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
e589937aa7
Removes method_missing override (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17591 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
21e11bd9cd
Replaces remaining #deliver with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17590 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
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
5 years ago
Jean-Philippe Lang
5533eeff23
Fixed that test_email raises an error with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17587 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
323ef3182b
Ensure that ActiveRecord::Base objects are fully serialized for mail sending (#26791).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17585 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
015ca36634
Send individual emails for each mail recipient (#26791).
We are creating multipe mails per class notification event, one per
recipient, wrapped in a Mailer::MultiMessage object to send them all at
once.
We keep the existing interface of all class methods intended to be used
by external code the same as they were before, with one exception:
We provide additional recipient addresses in options[:recipients] for
Mailer.security_notification. Since the first-class recipients have to
be users to render individual mails for them, additional recipient
addresses have to be provided with some other channel.
By providing additional recipients in options[:recipients], we can solve
the use-case for address change notifications for users, which probably
is the only real use-case for having to use a plain email address
instead of a User as a notification recipient.
Patch by Holger Just and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17583 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
b7f15fbadc
Replace String#gsub with faster String#tr (#29363).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
0e362e84ab
Security notification on password recovery is empty (#28302).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17269 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
1518bbb38b
Remove unused method Mailer#mylogger (#28028).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17197 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
93a09f05cc
Fix typo in error message when target version was not found (#28024).
Patch by Marius Žilėnas.
git-svn-id: http://svn.redmine.org/redmine/trunk@17184 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Toshi MARUYAMA
ff257d05e3
Replace tabs with spaces (#26333).
Patched by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16753 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
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
7 years ago
Jean-Philippe Lang
0f09f161f6
Send reminders about visible issues only (#25713).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16557 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
a9d9fe14f9
Don't send a notification to the dummy email address of the default admin account (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15402 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
2da406e12a
Adds a specific string for password changed notification (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15399 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
09197a22e2
Adds instance name to the security notification subject (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15269 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
a47eab8868
Let the mailer set the email content (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15267 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
b5366eb307
Send a notification when security settings are changed (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15148 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago