stable

Clone or download

Read-only

ONLYOFFICE can be opened in edit mode

The following conditions are required for it to happen: * feature flag must be enabled (`tuleap config-set feature_flag_onlyoffice_edit_document 1`) * user must be able to write the document * a filename pattern must not be enforced in the project At this time ONLYOFFICE is opened in edit mode but modification cannot be saved back into Tuleap. Part of story #28263: edit office document stored in Document Change-Id: I2ac869b4a16a8b8434d66ec73aa51dd62aa5b846

Modified Files

Name
M plugins/onlyoffice/include/Open/AllowedFileExtensions.php +20 −3 Go to diff View file
M plugins/onlyoffice/include/Open/DocmanFileLastVersion.php +1 −1 Go to diff View file
M plugins/onlyoffice/include/Open/DocmanFileLastVersionProvider.php +11 −3 Go to diff View file
M plugins/onlyoffice/include/Open/DocmanFileLastVersionToOnlyOfficeDocumentTransformer.php +2 −1 Go to diff View file
M plugins/onlyoffice/include/Open/Editor/OnlyOfficeDocumentConfig.php +3 −1 Go to diff View file
M plugins/onlyoffice/include/Open/Editor/OnlyOfficeDocumentConfigProvider.php +2 −1 Go to diff View file
M plugins/onlyoffice/include/Open/Editor/OnlyOfficeEditorConfig.php +0 −2 Go to diff View file
M plugins/onlyoffice/include/Open/OnlyOfficeDocument.php +1 −0 Go to diff View file
M plugins/onlyoffice/include/Open/ProvideDocmanFileLastVersion.php +6 −0 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +7 −3 Go to diff View file
M plugins/onlyoffice/tests/unit/Download/OnlyOfficeDownloadDocumentTokenGeneratorDBStoreTest.php +1 −1 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/AllowedFileExtensionsTest.php +27 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/DocmanFileLastVersionProviderTest.php +55 −13 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/DocmanFileLastVersionToOnlyOfficeDocumentTransformerTest.php +20 −3 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/Editor/OnlyOfficeDocumentConfigProviderTest.php +8 −3 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/Editor/OnlyOfficeGlobalEditorJWTokenProviderTest.php +3 −3 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/OnlyOfficeDocumentProviderTest.php +1 −1 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/ProvideDocmanFileLastVersionStub.php +1 −1 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/ProvideOnlyOfficeDocumentStub.php +1 −1 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/TransformDocmanFileLastVersionToOnlyOfficeDocumentStub.php +1 −1 Go to diff View file