stable

Clone or download

Read-only

feat: Display versions for Links

The versions for a Link document are now displayed. Like for the legacy interface, no delete button is displayed in that case. Part of story #28263: edit office document stored in Document Change-Id: I3ed2093018de522b60194e254021776bfbf55fc4

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanLinksResource.php +51 −1 Go to diff View file
A plugins/docman/include/REST/v1/Links/LinkVersionRepresentation.php +109 −0 Go to diff View file
A plugins/docman/include/REST/v1/Links/PaginatedLinkVersionRepresentationCollection.php +44 −0 Go to diff View file
A plugins/docman/include/REST/v1/Links/VersionRepresentationCollectionBuilder.php +68 −0 Go to diff View file
A plugins/docman/include/Version/LinkVersionDao.php +49 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanLinksTest.php +11 −2 Go to diff View file
A plugins/docman/tests/unit/REST/v1/Links/VersionRepresentationCollectionBuilderTest.php +93 −0 Go to diff View file
M plugins/document/scripts/document/api/version-rest-querier.ts +8 −2 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersions.vue +38 −13 Go to diff View file
A plugins/document/scripts/document/components/Versions/HistoryVersionsContentForLink.vue +45 −0 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsLoadingState.vue +12 −27 Go to diff View file
M plugins/document/scripts/document/type.ts +10 −0 Go to diff View file