stable

Clone or download

Read-only

Add a PUT route for /project/:id/banner

This change is part of story #12264 Change-Id: Icca503b3bc91811a2f9f63020cdc04bd4dd24bb2

Modified Files

Name
A src/common/Project/Banner/BannerCreator.php +46 −0 Go to diff View file
A src/common/Project/Banner/BannerDao.php +34 −0 Go to diff View file
A src/common/Project/Banner/BannerPermissionsChecker.php +36 −0 Go to diff View file
A src/common/Project/Banner/UserCanUpdateBannerPermission.php +41 −0 Go to diff View file
A src/common/Project/REST/v1/BannerRepresentation.php +29 −0 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +61 −0 Go to diff View file
M src/db/mysql/database_structure.sql +6 −0 Go to diff View file
A src/db/mysql/updates/2019/201909241447_add_project_banner_table.php +48 −0 Go to diff View file
A tests/phpunit/common/Project/Banner/BannerPermissionsCheckerTest.php +66 −0 Go to diff View file
M tests/rest/tests/ProjectTest.php +36 −0 Go to diff View file