stable
Clone or download
Read-only
In the hidden versions view, as soon as user has sufficient permissions and there are more than one version, a version can be deleted. Part of story #28263: edit office document stored in Document Change-Id: I2b7bec7a2edff0c489f0f8b3ee70063df5314fb8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/ResourcesInjector.php | +2 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionsResource.php | +71 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Files/FileVersionsDeletor.php | +12 | −3 | Go to diff View file |
M | plugins/docman/include/REST/v1/Files/FileVersionsResource.php | +4 | −8 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanEmbeddedTest.php | +16 | −1 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Files/FileVersionsDeletorTest.php | +34 | −0 | Go to diff View file |
M | plugins/document/scripts/document/api/version-rest-querier.ts | +7 | −2 | Go to diff View file |
M | plugins/document/scripts/document/components/Versions/HistoryVersionsContent.vue | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.test.ts | +4 | −4 | Go to diff View file |
M | plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.vue | +2 | −2 | Go to diff View file |
A | plugins/document/scripts/document/components/Versions/HistoryVersionsContentRowForEmbeddedFile.test.ts | +108 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Versions/HistoryVersionsContentRowForEmbeddedFile.vue | +126 | −2 | Go to diff View file |