stable
Clone or download
Read-only
Given onlyoffice plugin is enabled And documents contain a file with supported extension (see acceptance criteria) When users click on the title link (in tree or search view) Then they are redirected to a onlyoffice page (not yet implemented) Other file documents keep their original behavior (dl of the file) Part of story #27555: display Office documents stored in the Document plugin Change-Id: Ifee3a4c67dd4c86970f593a57831001a1ca39aa8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/Files/FilePropertiesRepresentation.php | +9 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentationVisitor.php | +2 | −1 | Go to diff View file |
A | plugins/docman/include/REST/v1/OpenItemHref.php | +52 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Search/FilePropertiesVisitor.php | +9 | −4 | Go to diff View file |
M | plugins/docman/include/REST/v1/SearchResource.php | +1 | −1 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php | +2 | −1 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/ItemRepresentationCollectionBuilderTest.php | +6 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellTitle.test.ts | +2 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellTitle.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ItemTitle/FileCellTitle.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +1 | −0 | Go to diff View file |
M | plugins/git/tests/unit/Artifact/Action/CreateBranchButtonFetcherTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/tests/unit/Hook/Asynchronous/AsynchronousEventHandlerTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/tests/unit/PullRequestEndpointsAvailableCheckerTest.php | +1 | −1 | Go to diff View file |
A | plugins/onlyoffice/include/Open/AllowedFileExtensions.php | +69 | −0 | Go to diff View file |
M | plugins/onlyoffice/include/onlyofficePlugin.php | +25 | −0 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Open/AllowedFileExtensionsTest.php | +84 | −0 | Go to diff View file |
R | plugins/git/tests/unit/Stub/EventDispatcherStub.php | Go to diff View file |