Project

General

Profile

Actions

Patch #20121

open

Respect working days configuration when sending reminder emails

Patch #20121: Respect working days configuration when sending reminder emails

Added by Alexander Stehlik over 11 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email notifications

Description

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.


Files


Related issues 1 (1 open — 0 closed)

Related to Redmine - Feature #30112: Option to stop sending reminders on non-working daysNewActions

Updated by Alexander Stehlik over 11 years ago Actions #1

Version 2 fixes a problem when the end day is in the middle of the weekend and adjusts the email templates.

Updated by Toshi MARUYAMA over 11 years ago Actions #2

Could you add tests?
source:tags/3.0.4/test/unit/mailer_test.rb#L598

Updated by Go MAEDA almost 10 years ago Actions #3

  • Subject changed from Repect working days configuration when sending reminder emails to Respect working days configuration when sending reminder emails
  • Target version set to Candidate for next major release

Updated by Marius BĂLTEANU almost 3 years ago Actions #4

  • Related to Feature #30112: Option to stop sending reminders on non-working days added
Actions

Also available in: PDF Atom