https://community.openproject.org/wp/58011
This makes it possible to have a follower starting the same day a
predecessor ends, or at the same time as a predecessor starts.
Updated allowed lag range to be within -2000 to 2000 days.
Co-authored-by: Alexander Brandon Coles <a.coles@openproject.com>
https://community.openproject.org/wp/62891
For an automatically scheduled successor, when "Working days only" is
turned off and the day before the start date is a non-working day, the
start will shift to an earlier date. Multiple things need to work
correctly:
- The start date must be recalculated and displayed in the date picker.
- The mini calendar of the date picker need to have enabled dates
updated, as the start date has changed.
- If the due date was not set manually, duration must be kept and due
date will be recalculated.
- If the due date was set manually, it must not be changed and duration
will be recalculated.
- If the due date was unset manually, it must remain unset and duration
must be unset too.
Also the lag calculation was partly incorrect: it was adding non-working
days when "Working days only" was on, and days when "Working days only"
was off. This has been fixed: lag is always about working days
regardless of the successor "Working days only" setting.
https://community.openproject.org/wp/63152
When the browser timezone offset is negative, the enabled dates in the
date picker for an automatically scheduled successor were not correct:
the date before the start date was enabled.
This is now fixed.
When a follows relation has a delay, and this delay covers some
non-working days, the soonest start date must be computed by having the
delay spanning only on working days, not on non-working days.
See https://community.openproject.org/wp/44053
When moving work packages, we try not to move followers except if forced
to satisfy follows relations. In this case the followers are moved
forward.
The work packages in precedes/follows relations can never be moved to an
earlier date automatically. Only the user can move backwards.
* Remove work_packages_duration_field_active feature flag
Duration is now globally active for 12.3.0.
* Remove `ignore_non_working_days: false` in tests
Not needed anymore as it is now the default value. Keep it where the test explicitly refers to it, for clarity.
Co-authored-by: Christophe Bliard <c.bliard@openproject.com>