stable

Clone or download

Read-only

Can now create a new document type wiki

Part of story #12447: Modal new document for empty/wiki/link Create a new document, choose wiki, give it a page name. Click submit button, the item is created. No change for empty documents. Change-Id: I89345f455148e630d324cdaa660fbae5aec5dc0c

Modified Files

Name
M plugins/docman/include/Docman_ItemFactory.class.php +11 −3 Go to diff View file
A plugins/docman/include/REST/v1/AfterItemCreationVisitor.php +104 −0 Go to diff View file
A plugins/docman/include/REST/v1/CannotCreateThisItemTypeException.php +27 −0 Go to diff View file
M plugins/docman/include/REST/v1/CreatedItemRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +69 −43 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemPOSTRepresentation.php +7 −4 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +11 −5 Go to diff View file
A plugins/docman/include/REST/v1/WikiPropertiesPOSTRepresentation.php +31 −0 Go to diff View file
M plugins/docman/include/constants.php +10 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +68 −13 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +50 −0 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +22 −2 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.spec.js +102 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/NewItem/NewItemModal.vue +1 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_document.scss +8 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_icons.scss +0 −7 Go to diff View file