stable

Clone or download

Read-only

Admin can edit ArtifactLink natures

Part of story #8833: show, import and manipulate links The administrator can now edit custom natures (_is_child cannot be edited). The shortname cannot be changed this way. Change-Id: Ife2d3f9cfca60d7067c89575955b04053af26d39

Modified Files

Name
M plugins/tracker/include/Tracker/Config/ConfigRouter.php +4 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/InvalidNatureParameterException.php +24 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigController.php +30 −10 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigPresenter.php +16 −11 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureCreator.php +15 −35 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDao.php +12 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureEditor.php +51 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureIsChildPresenter.php +37 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureManagementException.php +24 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenter.php +1 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureValidator.php +59 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/UnableToCreateNatureException.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/UnableToEditNatureException.php +24 −0 Go to diff View file
M plugins/tracker/include/autoload.php +8 −2 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +4 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +4 −1 Go to diff View file
R plugins/tracker/templates/siteadmin-config/natures-modal.mustache Go to diff View file
A plugins/tracker/templates/siteadmin-config/natures-modal-edit.mustache +47 −0 Go to diff View file
M plugins/tracker/templates/siteadmin-config/natures.mustache +18 −5 Go to diff View file
A plugins/tracker/tests/Tracker/FormElement/Field/ArtifactLink/Nature/NatureValidatorTest.php +73 −0 Go to diff View file
M plugins/tracker/www/config.php +13 −5 Go to diff View file