stable
Clone or download
Read-only
Given an embedded file with multiple version. In Document app, you can access to the content of a specific version via item's versions page without being redirected to the legacy docman interface. Part of story #28263: edit office document stored in Document Change-Id: I559e7b3802d3834b80cde914f12de42b8d57e15a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_Version.class.php | +4 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php | +2 | −1 | Go to diff View file |
M | plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFilePropertiesFullRepresentation.php | +5 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFilePropertiesMinimalRepresentation.php | +3 | −1 | Go to diff View file |
A | plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionContentRetriever.php | +79 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionsResource.php | +31 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/EmbeddedFiles/VersionContentRepresentation.php | +45 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/EmbeddedFiles/VersionRepresentationCollectionBuilder.php | +8 | −9 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanEmbeddedTest.php | +10 | −0 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/EmbeddedFiles/EmbeddedFileVersionCreatorTest.php | +1 | −0 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/EmbeddedFiles/VersionRepresentationCollectionBuilderTest.php | +6 | −1 | Go to diff View file |
M | plugins/document/composer.json | +2 | −1 | Go to diff View file |
M | plugins/document/composer.lock | +140 | −1 | Go to diff View file |
M | plugins/document/scripts/document/api/version-rest-querier.ts | +9 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbedded.test.ts | +82 | −18 | Go to diff View file |
M | plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbedded.vue | +60 | −15 | Go to diff View file |
M | plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbeddedContent.test.ts | +57 | −28 | Go to diff View file |
M | plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbeddedContent.vue | +64 | −29 | Go to diff View file |
M | plugins/document/scripts/document/po/fr_FR.po | +7 | −0 | Go to diff View file |
M | plugins/document/scripts/document/po/pt_BR.po | +6 | −0 | Go to diff View file |
M | plugins/document/scripts/document/router/index.js | +10 | −5 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +6 | −0 | Go to diff View file |
M | plugins/document/themes/_embedded-document.scss | +4 | −0 | Go to diff View file |
M | plugins/document/themes/_project_background_header.scss | +4 | −0 | Go to diff View file |