stable

Clone or download

Read-only

feat: Display versions for EmbeddedFile

Same than Link or File items, versions are now displayed inside Document app. A next contribution will add a `Delete` button like for File items. Part of story #28263: edit office document stored in Document Change-Id: I0bcf961bf6c5a34bcfe014a31bc9fb3c8448ceab

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +51 −1 Go to diff View file
A plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionRepresentation.php +112 −0 Go to diff View file
A plugins/docman/include/REST/v1/EmbeddedFiles/PaginatedEmbeddedFileVersionRepresentationCollection.php +44 −0 Go to diff View file
A plugins/docman/include/REST/v1/EmbeddedFiles/VersionRepresentationCollectionBuilder.php +101 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanEmbeddedTest.php +59 −13 Go to diff View file
A plugins/docman/tests/unit/REST/v1/EmbeddedFiles/VersionRepresentationCollectionBuilderTest.php +138 −0 Go to diff View file
M plugins/document/scripts/document/api/version-rest-querier.ts +19 −2 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersions.test.ts +50 −2 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersions.vue +22 −7 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContent.vue +15 −4 Go to diff View file
A plugins/document/scripts/document/components/Versions/HistoryVersionsContentRowForEmbeddedFile.vue +55 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +11 −0 Go to diff View file