stable

Clone or download

Read-only

Closes request #32757: Keep all ONLYOFFICE document "save token" alive when document is being edited

We now keep all the tokens associated with a document alive when one is still being refreshed. This should avoid issues when saving the document. Change-Id: Iee23759c39d34d839c67b59c0fd7aba7877a7811

Modified Files

Name
M plugins/onlyoffice/db/install.sql +2 −1 Go to diff View file
A plugins/onlyoffice/db/mysql/2023/202306290900_add_document_index_save_token.php +39 −0 Go to diff View file
M plugins/onlyoffice/include/Save/OnlyOfficeSaveDocumentTokenDAO.php +5 −4 Go to diff View file
M plugins/onlyoffice/include/Save/OnlyOfficeSaveDocumentTokenRefresherDBStore.php +3 −2 Go to diff View file
M plugins/onlyoffice/tests/integration/Save/OnlyOfficeSaveDocumentTokenDAOTest.php +13 −9 Go to diff View file
M plugins/onlyoffice/tests/unit/Save/OnlyOfficeSaveDocumentTokenRefresherDBStoreTest.php +1 −1 Go to diff View file