stable
Clone or download
Read-only
Part of request #12519 Have a way to include CSS file dependencies for widgets How to test: - On a dashboard without Kanban widget, "kanban.css" is no longer loaded - Add a Kanban widget to a dashboard (Project or personal). "kanban.css" should be loaded Will be done later: - Declaring CSS dependencies for other widgets I took the opportunity to convert the simpletest to phpunit. Change-Id: I8c16f98cc3f09a7446f9139903754d78937adfad
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/Widget/Kanban.php | +15 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/agiledashboardPlugin.class.php | +3 | −11 | Go to diff View file |
R | src/common/Dashboard/JavascriptFilesIncluder.php | Go to diff View file | ||
M | src/common/Dashboard/Project/ProjectDashboardController.php | +16 | −16 | Go to diff View file |
M | src/common/Dashboard/User/UserDashboardController.php | +17 | −17 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetPresenter.php | +5 | −1 | Go to diff View file |
M | src/common/layout/BaseLayout.php | +9 | −3 | Go to diff View file |
M | src/common/layout/CssAsset.php | +5 | −0 | Go to diff View file |
A | src/common/layout/CssAssetCollection.php | +50 | −0 | Go to diff View file |
M | src/common/layout/IncludeAssets.php | +5 | −0 | Go to diff View file |
M | src/common/project/Home.php | +2 | −2 | Go to diff View file |
M | src/common/widget/Widget.class.php | +9 | −1 | Go to diff View file |
M | src/www/my/index.php | +2 | −2 | Go to diff View file |
M | src/www/themes/BurningParrot/HeaderPresenterBuilder.php | +8 | −7 | Go to diff View file |
A | tests/phpunit/common/Dashboard/AssetsIncluderTest.php | +186 | −0 | Go to diff View file |
A | tests/phpunit/common/Layout/CssAssetCollectionTest.php | +83 | −0 | Go to diff View file |
D | tests/simpletest/common/Dashboard/IncludeAssetsForTestingPurpose.php | +0 | −31 | Go to diff View file |
D | tests/simpletest/common/Dashboard/JavascriptFilesIncluderTest.php | +0 | −161 | Go to diff View file |