stable

Clone or download

Read-only

Controllers can request burning parrot theme

Instead of having to parse several time the URLs to know if the page can be rendered with BurningParrot theme, it's easier to let Controller request for it when it's needed. Part of story #10408 have a burning parrot git repository list Change-Id: I5f95d86e103a4c610550d28d14d029478ca9e640

Modified Files

Name
M plugins/git/include/Git/RepositoryList/GitRepositoryListController.php +21 −2 Go to diff View file
M plugins/git/include/gitPlugin.class.php +8 −19 Go to diff View file
M plugins/git/phpunit/GitRoutingTest.php +2 −0 Go to diff View file
A src/common/Request/DispatchableWithBurningParrot.php +29 −0 Go to diff View file
M src/common/Request/FrontRouter.php +39 −5 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/event/Event.class.php +4 −0 Go to diff View file
M src/common/layout/BaseLayout.php +10 −0 Go to diff View file
A src/common/layout/CssAsset.php +44 −0 Go to diff View file
M src/common/layout/ErrorRendering.php +5 −14 Go to diff View file
M src/common/layout/ThemeManager.class.php +2 −3 Go to diff View file
M src/www/include/pre.php +12 −12 Go to diff View file
M src/www/index.php +11 −4 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +2 −1 Go to diff View file
M src/www/themes/BurningParrot/HeaderPresenterBuilder.php +11 −1 Go to diff View file
M tests/phpunit/bootstrap.php +1 −0 Go to diff View file
M tests/phpunit/common/Request/FrontRouterTest.php +39 −4 Go to diff View file