stable

Clone or download

Read-only

Configure widget with multi selectbox

This is part of story #10499: Have a labels widget on project dashboards How to test: - You should install and enable the "Label" plugin. - You should add the "Labled item" widget - You should then edit it and add some labels => labels should be added in table plugin_label_config For now modal is displayed with multiselect, in next commit selector will be a tlp-select2 item and labels will be stylished. Change-Id: Ic52b492f656e319e073a67a130aed99b307b3933

Modified Files

Name
A plugins/label/db/install.sql +11 −0 Go to diff View file
A plugins/label/db/mysql/updates/2017/201709271208_add_table_plugin_label_config.php +59 −0 Go to diff View file
A plugins/label/db/uninstall.sql +2 −0 Go to diff View file
A plugins/label/include/Label/Widget/Dao.php +99 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelAreMandatoryException.php +25 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelAreNotValidException.php +25 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelDoesNotBelongToProjectException.php +25 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelRequestDataValidator.php +57 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelRetriever.php +47 −0 Go to diff View file
A plugins/label/include/Label/Widget/ProjectLabelSelectorPresenter.php +36 −0 Go to diff View file
M plugins/label/include/Label/Widget/ProjectLabeledItems.php +94 −5 Go to diff View file
M plugins/label/include/autoload.php +10 −3 Go to diff View file
M plugins/label/site-content/fr_FR/LC_MESSAGES/tuleap-label.po +12 −0 Go to diff View file
M plugins/label/site-content/tuleap-label.pot +12 −0 Go to diff View file
A plugins/label/templates/widgets/project-label-selector.mustache +8 −0 Go to diff View file
A plugins/label/tests/ProjectLabelRequestDataValidatorTest.php +112 −0 Go to diff View file
M tests/lib/autoload.php +3 −2 Go to diff View file