stable

Clone or download

Read-only

Extract retrieval of the last version of a docman file

The same thing is going to be needed in order to build the configuration given to ONLYOFFICE to display the document. No functional changes. Part of story #27555: display Office documents stored in the Document plugin Change-Id: I80cf8a9a98ad9ca50958fe08d343b857fdbf100e

Modified Files

Name
A plugins/onlyoffice/include/Open/DocmanFileLastVersionProvider.php +67 −0 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficeController.php +34 −29 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficePresenter.php +2 −2 Go to diff View file
A plugins/onlyoffice/include/Open/ProvideDocmanFileLastVersion.php +35 −0 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +3 −2 Go to diff View file
A plugins/onlyoffice/tests/unit/Open/DocmanFileLastVersionProviderTest.php +118 −0 Go to diff View file
A plugins/onlyoffice/tests/unit/Open/OpenInOnlyOfficeControllerTest.php +97 −0 Go to diff View file
A plugins/onlyoffice/tests/unit/Open/ProvideDocmanFileLastVersionStub.php +56 −0 Go to diff View file
A tests/lib/Stubs/TemplateRendererStub.php +49 −0 Go to diff View file