stable

Clone or download

Read-only

Add "Move" option in actions button section

this is part of story #11347 have a UI to accesss Move artifact How to test: - add tracker_move_artifact_ui = 1; in you local.inc to enable the feature Given user is not tracker admin: - move button is not displayed Given that user is tracker admin - and user can't delete: button is displayed with an explicit title - an no semantic is defined: button is displayed with an explicit title - artifact has artifact links: button is displayed with an explicit title - artifact is linked to a release: button is displayed with an explicit title If all conditions are ok, button is displayed and is not clickable yet Change-Id: Id46501fd06973a8f6053777161272c7f6926ca1b

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +9 −0 Go to diff View file
M plugins/frs/include/frsPlugin.class.php +12 −0 Go to diff View file
A plugins/frs/site-content/fr_FR/LC_MESSAGES/tuleap-frs.po +18 −0 Go to diff View file
A plugins/frs/site-content/tuleap-frs.pot +2 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +6 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactActionButtonPresenterBuilder.php +16 −2 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactMoveButtonPresenterBuilder.php +148 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/MoveArtifactActionAllowedByPluginRetriever.php +93 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletionLimitRetriever.php +63 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactsDeletionManager.php +6 −32 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +13 −1 Go to diff View file
A plugins/tracker/phpunit/Tracker/ActionButton/ArtifactMoveButtonPresenterBuilderTest.php +214 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +9 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +9 −0 Go to diff View file