stable

Clone or download

Read-only

Disabled widget cannot be added anymore in project dashboards

This is part of story #14086 disable widgets for project dashboard Manually add the widget name into project_dashboards_disabled_widgets. Then this widget cannot be added anymore in any project dashboards. It is still displayed in the widget list. Change-Id: I3b393bfb54cdf9fb129398862020f548022b5073

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
A src/common/Dashboard/Project/DisabledProjectWidgetsChecker.php +49 −0 Go to diff View file
A src/common/Dashboard/Project/DisabledProjectWidgetsDao.php +36 −0 Go to diff View file
M src/common/Dashboard/Widget/Add/AddWidgetController.php +21 −4 Go to diff View file
M src/db/mysql/database_structure.sql +5 −0 Go to diff View file
A src/db/mysql/updates/2019/201912061448_add_table_for_disabled_project_widgets.php +44 −0 Go to diff View file
M src/www/widgets/index.php +5 −2 Go to diff View file
A tests/phpunit/common/Dashboard/Project/DisabledProjectWidgetsCheckerTest.php +81 −0 Go to diff View file