stable

Clone or download

Read-only

CLI tool that can force apply a default configuration

this is part of story #11647 reduce notifications tracker users receive How to test: - launch tuleap cli - a new option must be displayed "force-notifications-level" - provide bad notification level => an error show you authorized level of notifications - provide non existing project ids => an error show you wrong projects ids, notification level is not set for correct project ids - provide correct parameters => all trackers of given projects have the new configuration => if a user has custom configuration for one of the tracker, its configuration will be overide Change-Id: I2dafaabe6f6b159d24aca43229dc10ec27cb7942

Modified Files

Name
M plugins/tracker/include/Tracker/Notifications/NotificationLevelExtractor.php +14 −0 Go to diff View file
A plugins/tracker/include/Tracker/Notifications/TrackerForceNotificationsLevelCommand.php +149 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +4 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +39 −14 Go to diff View file
A src/common/CLI/CLICommandsCollector.php +43 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/utils/tuleap.php +4 −0 Go to diff View file