stable

Clone or download

Read-only

feat: artidoc in switchto

In SwitchTo modal, there is an entry for each recently visited artidoc document, as well as onlyoffice document. For now only onlyoffice and artidoc document are implemented: * to decrease the size of the review * access to embedded files, or download of files require to touch the document app logic, we need first to define what is the expected behavior for every item types. Part of story #39358: Artidoc in SwitchTo Change-Id: Idf5de9ba2156d9a9798b1022a05f3eeaa32782ba

Modified Files

Name
M plugins/artidoc/include/Artidoc/ArtidocController.php +6 −0 Go to diff View file
M plugins/artidoc/include/artidocPlugin.php +11 −0 Go to diff View file
M plugins/docman/db/install.sql +9 −0 Go to diff View file
A plugins/docman/db/mysql/updates/2024/202410280823_add_recently_visited_table.php +47 −0 Go to diff View file
M plugins/docman/db/uninstall.sql +1 −0 Go to diff View file
M plugins/docman/include/Docman_ItemFactory.class.php +15 −0 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsBuilder.php +4 −4 Go to diff View file
M plugins/docman/include/docmanPlugin.php +30 −0 Go to diff View file
M plugins/docman/tests/unit/ItemFactoryTest.php +8 −1 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Permissions/DocmanItemPermissionsForGroupsBuilderTest.php +14 −12 Go to diff View file
M plugins/document/composer.json +1 −1 Go to diff View file
A plugins/document/include/RecentlyVisited/DeleteVisitByItemId.php +26 −0 Go to diff View file
A plugins/document/include/RecentlyVisited/RecentlyVisitedDocumentDao.php +82 −0 Go to diff View file
A plugins/document/include/RecentlyVisited/RecordVisit.php +26 −0 Go to diff View file
A plugins/document/include/RecentlyVisited/VisitedDocumentHrefVisitor.php +101 −0 Go to diff View file
A plugins/document/include/RecentlyVisited/VisitedDocumentRetriever.php +116 −0 Go to diff View file
A plugins/document/include/RecentlyVisited/VisitedOtherDocumentHref.php +46 −0 Go to diff View file
A plugins/document/tests/integration/RecentlyVisitedDocumentDaoTest.php +55 −0 Go to diff View file
A plugins/document/tests/unit/RecentlyVisited/VisitedDocumentHrefVisitorTest.php +226 −0 Go to diff View file
A plugins/document/tests/unit/Stubs/RecentlyVisited/DeleteVisitByItemIdStub.php +49 −0 Go to diff View file
A plugins/document/tests/unit/Stubs/RecentlyVisited/RecordVisitStub.php +49 −0 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficeController.php +9 −1 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +2 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/OpenInOnlyOfficeControllerTest.php +17 −2 Go to diff View file