stable

Clone or download

Read-only

request #18330: Promotion of a tracker in +New dropdown is a project admin action

It is not the responsibility of the tracker administrator to decide if its tracker should be in the +New across all pages of the project. The settings should be in the tracker service administration instead of the tracker administration. Change-Id: I01dabe1e81d439cd02728f0a00c9ceb347c00055

Modified Files

Name
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/ArtifactLinks/ArtifactLinksController.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/ArtifactLinks/ArtifactLinksPresenter.php +12 −5 Go to diff View file
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/CSRFSynchronizerTokenProvider.php +34 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/PromoteTrackersController.php +151 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackerPresenter.php +70 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayController.php +136 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayPresenter.php +69 −0 Go to diff View file
M plugins/tracker/include/Tracker/GeneralSettings_Presenter.class.php +1 −8 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +0 −8 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +29 −1 Go to diff View file
A plugins/tracker/scripts/global-admin/trackers.ts +35 −0 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +27 −3 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/templates/global-admin/artifact-links.mustache +7 −1 Go to diff View file
A plugins/tracker/templates/global-admin/trackers.mustache +96 −0 Go to diff View file
M plugins/tracker/templates/tracker-general-settings.mustache +0 −10 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/PromoteTrackersControllerTest.php +291 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayPresenterTest.php +51 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/includes/_administration.scss +4 −0 Go to diff View file
M plugins/tracker/webpack.common.js +1 −0 Go to diff View file