Commit Graph

183 Commits

Author SHA1 Message Date
Go MAEDA
4fb1e4bea0 Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Marius Balteanu
7579df28c0 Adds missing fixture to mailer_test (#41795).
Patch by Vincent Robert (user:Nanego).

git-svn-id: https://svn.redmine.org/redmine/trunk@23299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-22 07:58:02 +00:00
Go MAEDA
fded8025d5 Add project identifier to List-Id header in notification emails (#13359).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-26 03:19:22 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
2415c9f5d7 Fix exception raised during thumbnail macro to image tag conversion in emails (#38697).
Patch by Y saku and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-30 07:30:16 +00:00
Go MAEDA
9d0b073f7d Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-13 08:05:32 +00:00
Go MAEDA
a499d68802 Show parent issues in notification email (#34302).
Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-01 03:46:53 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
23874fa913 Render mentioned users with leading @ and highlight (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +00:00
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
Marius Balteanu
4807beaebf Explicitly specify text formatting in the tests (#35952).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +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
b5b02f6ac4 Use Time.use_zone instead of Time.zone= (#35208).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-07 04:24:26 +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
19224b8e85 remove space inside array brackets from test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:18:26 +00:00
Toshi MARUYAMA
66262850f1 shorten long line of test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:20:12 +00:00
Toshi MARUYAMA
3f1bb5c8b2 fix source indent of test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:19:32 +00:00
Toshi MARUYAMA
3c95bccac7 add space after comma to test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-04 14:43:11 +00:00
Go MAEDA
b0739821e8 Locked users in a group receive notifications when the group is added as a watcher (#4511, #33935).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-01 14:08:45 +00:00
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
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
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
Toshi MARUYAMA
dcc9ea1c0a cleanup: rubocop: fix Layout/AlignArguments in test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:07:52 +00:00
Toshi MARUYAMA
6a3d42dd69 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:06 +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
Jean-Philippe Lang
f88ef51dc7 Test errors with SQLite3 (#10378).
git-svn-id: http://svn.redmine.org/redmine/trunk@18308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 17:19:24 +00:00
Jean-Philippe Lang
f53cd3029c Don't show empty fields in email notifications (#10378).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:36: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
6dfbc9d457 MailerTest fails depending on the time (#31225).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-22 15:18:33 +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
850a889a3e Fix tests to test Mailer.deliver_issue_edit instead of Mailer.deliver_issue_add (#13111, #31065).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-06 23:34:10 +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
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later.

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 06:26:33 +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
675b0c641d Test that List-Id header field does not include display name and extra angle brackets (#14792).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-16 22:45:34 +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
7ca65bedc0 Start date and due date in email notifications (#13307).
Patch by  Senya Senya.


git-svn-id: http://svn.redmine.org/redmine/trunk@17840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-25 08:06:23 +00:00