stable
Clone or download
Read-only
Part of story #35094 have "calendar" events attached to tracker email notification Implementation note: to differentiate cases when user cannot read fields and when field value is 0 as both return 0, add a method to Timeframe calculators to check if users can read or not fields and use it in calendar event builder Change-Id: Iadf0ec473d543601ef2de1643356d4dbdd3196b8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventDataBuilder.php | +11 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php | +5 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Timeframe/IComputeTimeframes.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php | +7 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/TimeframeConfigInvalid.php | +5 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Stub/Semantic/Timeframe/IComputeTimeframesStub.php | +7 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventDataBuilderTest.php | +45 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php | +18 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithDurationTest.php | +16 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithEndDateTest.php | +16 | −0 | Go to diff View file |