プロジェクト

全般

プロフィール

Vote #76471

未完了

Respect working days configuration when sending reminder emails

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
32
issue_org_id:
20121
author_id:
12286
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Currently the reminder rake task will search for issues that are due in x days in the future without checking the working days configuration of redmine

The attached patch introduces a new argument for the rake task: @respect_nonworking_days@. When this argument is TRUE, the working days setting will be respected when calculating the days in the future. E.g. when 7 days are requested and in this period are 2 non working days, the query will search for issues that are due within 9 days.


journals

Version 2 fixes a problem when the end day is in the middle of the weekend and adjusts the email templates.
--------------------------------------------------------------------------------
Could you add tests?
source:tags/3.0.4/test/unit/mailer_test.rb#L598
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョンCandidate for next major release_32 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0