stable

Clone or download

Read-only

feat: User can now create a new artidoc

User has the possibility to create a new artidoc item, as soon as the project is allowed to use artidoc. The created artidoc is empty. The permissions will be handled later. Artidoc items can still be copy pasted. Part of story #37542: display a read only Document Change-Id: I6b04febff65045945608f6ac11fd367f74538300

Modified Files

Name
M doc/tests/integration.md +7 −0 Go to diff View file
M plugins/artidoc/include/artidocPlugin.php +13 −1 Go to diff View file
M plugins/artidoc/tests/rest/Artidoc/ArtidocTest.php +69 −6 Go to diff View file
M plugins/docman/include/Docman_ItemFactory.class.php +2 −0 Go to diff View file
M plugins/docman/include/REST/v1/AfterItemCreationVisitor.php +3 −1 Go to diff View file
A plugins/docman/include/REST/v1/CopyItem/CopyItem.php +36 −0 Go to diff View file
M plugins/docman/include/REST/v1/CopyItem/DocmanItemCopier.php +1 −1 Go to diff View file
A plugins/docman/include/REST/v1/CreateOtherTypeItem.php +44 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +21 −21 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +60 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanItemCreatorBuilder.php +2 −1 Go to diff View file
M plugins/docman/include/REST/v1/Others/DocmanOtherTypePOSTRepresentation.php +50 −2 Go to diff View file
A plugins/docman/include/REST/v1/Others/POSTOtherTypeHandler.php +146 −0 Go to diff View file
A plugins/docman/include/REST/v1/Others/VerifyOtherTypeIsSupported.php +42 −0 Go to diff View file
M plugins/docman/include/XML/Import/ItemImporter.php +1 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFoldersTest.php +19 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/DocmanItemCreatorTest.php +323 −139 Go to diff View file
A plugins/docman/tests/unit/REST/v1/Others/POSTOtherTypeHandlerTest.php +390 −0 Go to diff View file
A plugins/docman/tests/unit/Stubs/CopyItemStub.php +60 −0 Go to diff View file
A plugins/docman/tests/unit/Stubs/CreateOtherTypeItemStub.php +78 −0 Go to diff View file
M plugins/docman/tests/unit/XML/Import/ItemImporterTest.php +1 −1 Go to diff View file
M plugins/document/include/Tree/OtherItemTypeDefinition.php +1 −1 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.test.ts +29 −0 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +11 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.test.ts +38 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.vue +23 −1 Go to diff View file
M plugins/document/scripts/document/helpers/emitter.ts +3 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +2 −5 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file