1
0
espelhamento de https://github.com/redmine/redmine.git sincronizado 2024-07-24 22:24:51 +02:00
Gráfico de commits

185 Commits

Autor SHA1 Mensagem Data
Marius Balteanu
ba74ba1c70 Allow users to be mentioned using @ in issues and wiki pages (#13919):
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned



git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Go MAEDA
9670c7fe22 Mailer.with_synched_deliveries doesn't correctly detect other async Queue adapters (#36393).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-12 15:13:47 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
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
2021-08-01 17:25:13 +00:00
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
2021-05-18 05:18:23 +00:00
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
2021-04-01 14:41:03 +00:00
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
2021-03-25 06:58:56 +00:00
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
2020-12-11 14:17:42 +00:00
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
2020-10-25 09:42:58 +00:00
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
2020-07-21 13:41:16 +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
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
2020-03-03 00:24:10 +00:00
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
2019-11-24 16:45:01 +00:00
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
2019-11-24 16:44:29 +00:00
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
2019-11-22 14:55:04 +00:00
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
2019-11-08 00:45:52 +00:00
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
2019-10-19 13:33:21 +00:00
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
2019-10-19 12:25:34 +00:00
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
2019-09-12 21:52:21 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
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
2019-05-25 06:50:25 +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
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
2019-04-08 13:28:34 +00:00
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
2019-04-06 06:17:03 +00:00
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
2019-03-17 13:36:03 +00:00
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
2019-03-15 01:32:57 +00:00
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
2019-03-04 14:36:54 +00:00
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
2019-03-03 22:31:53 +00:00
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
2019-02-28 08:23:17 +00:00
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
2019-02-19 11:36:04 +00:00
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
2019-02-15 23:52:30 +00:00
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
2018-11-06 03:13:46 +00:00
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
2018-11-06 02:44:04 +00:00
Jean-Philippe Lang
e589937aa7 Removes method_missing override (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 19:04:25 +00:00
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
2018-10-10 18:45:34 +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
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
2018-10-06 16:07:45 +00:00
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
2018-10-06 13:10:22 +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
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
2018-08-12 23:40:44 +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
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
2018-02-11 06:39:25 +00:00
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
2018-01-24 03:53:59 +00:00
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
2017-07-04 04:00:23 +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
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
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
2017-05-13 09:38:05 +00:00
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
2016-05-08 09:07:37 +00:00
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
2016-05-08 08:27:24 +00:00
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
2016-03-20 07:49:15 +00:00