Commit Graph

102 Commits

Author SHA1 Message Date
Go MAEDA
4edba4fa9d Show open/closed badge in email notifications (#33834).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-21 08:32:15 +00:00
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
2020-03-07 08:20:26 +00:00
Go MAEDA
6095186e97 Include attachments in news post notifications (#33002).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-24 03:19:00 +00:00
Go MAEDA
dec5f98112 Include attachments in forum post notifications (#16006).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 02:34:25 +00:00
Go MAEDA
6f8bfab179 Show the number of days left until the due date in reminders (#31225).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-19 08:52:36 +00:00
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
2019-04-18 15:32:20 +00:00
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
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
2018-10-06 13:08:52 +00:00
Go MAEDA
ff512bf834 Add note about link validity to password lost email (#28561).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-24 15:02:13 +00:00
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
2018-04-07 07:49:43 +00:00
Jean-Philippe Lang
9439cae70f Send journal notification after commit (#25794).
git-svn-id: http://svn.redmine.org/redmine/trunk@16573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:44:24 +00:00
Jean-Philippe Lang
9441ab0ca8 Send email even if password is not changed (#7577).
git-svn-id: http://svn.redmine.org/redmine/trunk@16453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:48:59 +00:00
Jean-Philippe Lang
e8e92ca054 Make the email notifications for adding/updating issues more readable/clear (#23978).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-16 08:53:52 +00:00
Jean-Philippe Lang
690a6b7928 Make the issue id from email notifications linkable to issue page (#23180).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@15587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-29 15:29:57 +00:00
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
2016-02-05 08:50:21 +00:00
Jean-Philippe Lang
5d70fce6ce Security notifications when password or email adress is changed (#21421).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-02-05 07:33:24 +00:00
Toshi MARUYAMA
d90de96def trunk: revert r14300 (#16535, #20466, #20641)
Set a max width to html email content.

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-01 00:15:13 +00:00
Jean-Philippe Lang
391140d280 Set a max width to html email content (#16535).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-06 07:32:40 +00:00
Jean-Philippe Lang
b778c51e90 Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +00:00
Jean-Philippe Lang
1fcbeb6f81 Use named routes or helpers.
git-svn-id: http://svn.redmine.org/redmine/trunk@13656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 19:34:33 +00:00
Jean-Philippe Lang
fd1b060705 Fixed that standard fields disabled still appear in email notifications (#14584).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-05 17:08:26 +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
1093454193 Adds markings to emails generated by private comments (#12888).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 17:24:23 +00:00
Jean-Philippe Lang
d678959359 Add links to attachments in new issue email notification (#12293).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 16:51:09 +00:00
Jean-Philippe Lang
f9f5e9e7c6 Fixed: Link is escaped in wiki added/updated notification email (#11262).
Patch by Łukasz Jachymczyk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-26 17:03:08 +00:00
Jean-Philippe Lang
19e56045dd Fixed deprecated render calls in Mailer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 13:21:58 +00:00
Jean-Philippe Lang
e436285b6f Slight changes to the plain text issue notification.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-08 19:25:26 +00:00
Jean-Philippe Lang
d862843c9d Renamed Mailer#test to Mailer#test_email.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:38:34 +00:00
Jean-Philippe Lang
e6b9ddad18 Mailer#url_for not called in views with Rails 3.1.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 20:43:25 +00:00
Etienne Massip
7056649a4b Override @#url_for@ in AM to force generation of absolute links (#10251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 18:42:03 +00:00
Jean-Philippe Lang
7ad40e22fe Replace auto_link with link_to in email templates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 23:16:59 +00:00
Toshi MARUYAMA
f6e7daaf18 Rails3: view: mail: html_safe for auto_link
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 09:20:49 +00:00
Jean-Philippe Lang
cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Toshi MARUYAMA
ac6aaf3f67 Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:58 +00:00
Toshi MARUYAMA
ee5f712e89 Rails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer/_issue.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:07 +00:00
Toshi MARUYAMA
ef962b84d7 Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:23:26 +00:00
Toshi MARUYAMA
a4c4edacfd Rails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:22:38 +00:00
Toshi MARUYAMA
a4e02f2987 replace tabs to spaces at app/views/mailer/wiki_content_added.text.html.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:56:34 +00:00
Toshi MARUYAMA
df13933e57 replace tabs to spaces at app/views/mailer/wiki_content_added.text.plain.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:55:42 +00:00
Toshi MARUYAMA
d4c4e7692d replace tabs to spaces at app/views/mailer/wiki_content_updated.text.plain.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:55:02 +00:00
Toshi MARUYAMA
7faaf01981 replace tabs to spaces at app/views/mailer/wiki_content_updated.text.html.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 13:15:20 +00:00
Toshi MARUYAMA
9a6f1abf84 remove trailing white-spaces from app/views/mailer/wiki_content_updated.text.html.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:42:50 +00:00
Toshi MARUYAMA
02d394505c remove trailing white-spaces from app/views/mailer/wiki_content_updated.text.plain.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:42:26 +00:00
Toshi MARUYAMA
be7b00fc32 remove trailing white-spaces from app/views/mailer/wiki_content_added.text.plain.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:41:09 +00:00
Toshi MARUYAMA
3e49af2d37 remove trailing white-spaces from app/views/mailer/wiki_content_added.text.html.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 06:03:16 +00:00
Toshi MARUYAMA
c5804128da HTML escape at app/views/mailer/wiki_content_updated.text.html.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:09:39 +00:00
Toshi MARUYAMA
9466101347 HTML escape at app/views/mailer/reminder.text.html.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:09:02 +00:00
Toshi MARUYAMA
837dca66d6 HTML escape at app/views/mailer/attachments_added.text.html.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:08:18 +00:00
Toshi MARUYAMA
e45c42c2e6 HTML escape at app/views/mailer/account_activation_request.text.html.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:06:49 +00:00
Toshi MARUYAMA
c1c21ca08e HTML escape at app/views/mailer/account_activated.text.html.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:06:00 +00:00