stable

Clone or download

Read-only

feat: no inherited timeframe when calendar events are used

Follow up to git #tuleap/stable/5145aeaa793f7f6ee4aa50d8554cd4ef220752de When notifications are set to send calendar events, then edition of timeframe semantic to switch to inherited timeframe should not be possible. Took the opportunity to remove Mockery from SemanticTimeframeUpdatorTest Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: I21fe8ffb9b7c735d2e944d90c082b8cd3e233b2b

Modified Files

Name
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeUpdator.php +8 −14 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/po/fr_FR.po +8 −2 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/po/pt_BR.po +6 −2 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/App.vue +4 −0 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/TimeframeConfigModeSelector.test.ts +37 −3 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/TimeframeConfigModeSelector.vue +37 −2 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/components/TimeframeImpliedFromAnotherTrackerConfig.vue +3 −2 Go to diff View file
M plugins/tracker/scripts/semantics-timeframe/src/type.ts +2 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeUpdatorTest.php +217 −105 Go to diff View file