stable

Clone or download

Read-only

Allow tracker creation/deletion alongside tracker promotion

Since request #18330, there is a new interface in tracker global administration dedicated to trackers management. As of today it only handles promotion of trackers in +New dropdown, but trackers admin should be able to delete or create trackers from this interface as well. The aim of this commit is to introduce the tracker creation/deletion in the tracker global administration. Removal of tracker deletion in the trackers homepage will be done in a dedicated commit, in order to not clutter the review. Part of request #18352: Creation or deletion should be available in tracker global admin interface Change-Id: I0f1322ea86afa0b0d42c3daa39e63bcc43fccb84

Modified Files

Name
A plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedController.php +169 −0 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackerPresenter.php +25 −7 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayController.php +12 −0 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayPresenter.php +5 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +12 −0 Go to diff View file
M plugins/tracker/scripts/global-admin/trackers.ts +12 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +13 −0 Go to diff View file
M plugins/tracker/templates/global-admin/trackers.mustache +69 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedControllerTest.php +307 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/TrackersDisplayPresenterTest.php +3 −3 Go to diff View file