stable
Clone or download
Read-only
part of story #37544 add images with copy/paste or drag'n drop How to test: in GET route artidoc or artidoc_sections there is now a key `attachement` Why? In order to implement dNd we need to : - upload the file with ckeditor - attach the file in tracker attachment Adding value in attachment relies on PUT artifact/id route, we need to provide all attachment at update, else existing attachment will be removed and only the new one will be added Change-Id: I9a53d3b50f011156580f957352536b5b5f9524f1
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/include/Artidoc/REST/v1/ArtidocResource.php | +44 | −2 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/REST/v1/ArtidocSectionRepresentation.php | +2 | −0 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/REST/v1/ArtidocSectionsResource.php | +26 | −1 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/REST/v1/RawSectionsToRepresentationTransformer.php | +10 | −0 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/ArtidocSectionRepresentationBuilderTest.php | +19 | −1 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/PaginatedArtidocSectionRepresentationCollectionBuilderTest.php | +20 | −0 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/RawSectionsToRepresentationTransformerTest.php | +154 | −3 | Go to diff View file |