stable
Clone or download
Read-only
part of story #12453 Update document modal for existing items How to test: - You should be able to update the page name of a link document with the route - you should be able to keep/release lock for link documents - you should be able to choose the approval table option if link has an approval table Change-Id: I42444f18cc38c59e9b31f0daaaf71cb15d8e5c53
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_ItemFactory.class.php | +5 | −4 | Go to diff View file |
M | plugins/docman/include/Docman_LinkVersion.class.php | +4 | −2 | Go to diff View file |
M | plugins/docman/include/Docman_LinkVersionDao.class.php | +17 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_LinkVersionFactory.class.php | +4 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_Version.class.php | +9 | −10 | Go to diff View file |
M | plugins/docman/include/REST/ResourcesInjector.php | +7 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanFoldersResource.php | +2 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemCreator.php | +11 | −14 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemFileUpdator.php | +1 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemUpdator.php | +3 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemsResource.php | +1 | −1 | Go to diff View file |
A | plugins/docman/include/REST/v1/DocmanLinksResource.php | +193 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Folders/DocmanItemCreatorBuilder.php | +3 | −1 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentation.php | +1 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentationBuilder.php | +1 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentationVisitor.php | +1 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/Links/DocmanLinkPATCHRepresentation.php | +51 | −0 | Go to diff View file |
R | plugins/docman/include/REST/v1/Folders/DocmanLinkPOSTRepresentation.php | Go to diff View file | ||
A | plugins/docman/include/REST/v1/Links/DocmanLinkUpdator.php | +139 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/Links/DocmanLinksValidityChecker.php | +46 | −0 | Go to diff View file |
R | plugins/docman/include/REST/v1/Folders/LinkPropertiesPOSTRepresentation.php | Go to diff View file | ||
R | plugins/docman/include/REST/v1/LinkPropertiesRepresentation.php | Go to diff View file | ||
A | plugins/docman/include/REST/v1/Links/LinkVersionCreationBeforeUpdateValidator.php | +70 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/PostUpdateEventAdder.php | +2 | −3 | Go to diff View file |
A | plugins/docman/include/Version/Version.php | +27 | −0 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.class.php | +2 | −2 | Go to diff View file |
M | plugins/docman/phpunit/ApprovalTable/ApprovalTableRetrieverTest.php | +5 | −0 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +28 | −11 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemFileUpdatorTest.php | +1 | −1 | Go to diff View file |
A | plugins/docman/phpunit/REST/v1/Links/DocmanLinksValidityCheckerTest.php | +78 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php | +2 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/Docman/DocmanItemsTestLinksTest.php | +447 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanDataBuilder.php | +130 | −21 | Go to diff View file |