stable
Clone or download
Read-only
part of story #13463 Split PATCH docman_items_type/id route How to test: - verify that old PATCH route still works - you can use the new POST docman_wiki/id/version route - vue js app is up to date: when you create a new version of wiki, it calls the POST route wiki version creation should succeed Change-Id: Ib2cbc32cb4dde567ad798ea639237efe09d7f989
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanWikiResource.php | +152 | −68 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocumentBeforeVersionCreationValidatorVisitor.php | +21 | −3 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocumentBeforeVersionCreationValidatorVisitorBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/docman/include/REST/v1/Wiki/DocmanWikiPATCHRepresentation.php | +1 | −10 | Go to diff View file |
R | plugins/docman/include/REST/v1/Wiki/DocmanWikiUpdator.php | Go to diff View file | ||
A | plugins/docman/include/REST/v1/Wiki/DocmanWikiVersionPOSTRepresentation.php | +46 | −0 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocumentBeforeVersionCreationValidatorVisitorTest.php | +60 | −3 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/Wiki/DocmanWikiUpdatorTest.php | +5 | −44 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanWikiTest.php | +85 | −2 | Go to diff View file |
M | plugins/docman/tests/rest/Helper/DocmanWikiDataBuild.php | +53 | −9 | Go to diff View file |
M | plugins/document/scripts/document/api/rest-querier.js | +3 | −5 | Go to diff View file |
M | plugins/document/scripts/document/api/rest-querier.spec.js | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +2 | −2 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +7 | −7 | Go to diff View file |