stable
Clone or download
Read-only
The goal of this contribution is to put in place the infrastructure required to parse the ONLYOFFICE callback requests. For now we only log this information. Additional contributions will download the document and save it and extract more information from the callback requests. To test: 1. Start ONLYOFFICE in your dev stack 2. Enable the feature flag with `tuleap config-set feature_flag_onlyoffice_edit_document 1` 3. Open a document you can edit into ONLYOFFICE 4. Do some changes in the document and then close ONLYOFFICE 5. After a few seconds you should see the download URL of the edited document in the logs Part of story #28263: edit office document stored in Document Change-Id: I75ea62019059c1fdb8d9ba1d7089ad5424121359
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/onlyoffice/include/Save/OnlyOfficeCallbackResponseJWTParser.php | +155 | −0 | Go to diff View file |
A | plugins/onlyoffice/include/Save/OnlyOfficeCallbackResponseParser.php | +35 | −0 | Go to diff View file |
A | plugins/onlyoffice/include/Save/OnlyOfficeCallbackSaveResponseData.php | +34 | −0 | Go to diff View file |
A | plugins/onlyoffice/include/Save/OnlyOfficeDocumentStatusCallback.php | +36 | −0 | Go to diff View file |
M | plugins/onlyoffice/include/Save/OnlyOfficeSaveController.php | +22 | −9 | Go to diff View file |
A | plugins/onlyoffice/include/Save/OptionalValue.php | +72 | −0 | Go to diff View file |
M | plugins/onlyoffice/include/onlyofficePlugin.php | +9 | −0 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Save/OnlyOfficeCallbackResponseJWTParserTest.php | +200 | −0 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Save/OnlyOfficeSaveControllerTest.php | +110 | −0 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Save/OptionalValueTest.php | +54 | −0 | Go to diff View file |