stable

Clone or download

Read-only

Move PATCH route under docman_files/id route

part of story #12458 DnD on an existing file creates a new version old route is no longer acessible behaviour of PATCH has not been changed Change-Id: I18a6813dc63decc9079bd9d88dea11b947faf369

Modified Files

Name
M plugins/docman/include/REST/ResourcesInjector.php +8 −1 Go to diff View file
R plugins/docman/include/REST/v1/DocmanItemPATCHRepresentation.php Go to diff View file
A plugins/docman/include/REST/v1/DocmanFilesResource.php +160 −0 Go to diff View file
A plugins/docman/include/REST/v1/DocmanFolderPermissionChecker.php +55 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemUpdator.php +3 −3 Go to diff View file
A plugins/docman/include/REST/v1/DocmanItemsEventAdder.php +73 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +14 −133 Go to diff View file
R plugins/docman/include/REST/v1/VersionToUploadVisitorBeforeUpdateValidator.php Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemUpdatorTest.php +5 −5 Go to diff View file
A plugins/docman/tests/rest/Docman/DocmanFilesTest.php +243 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +4 −166 Go to diff View file