stable

Clone or download

Read-only

Download the folder as a ZIP archive

part of: story #12404 download folder as zip How to test: - Pick up a folder in your document service - Open the action dropdown and click [Export as ZIP] --> The download starts - Once downloaded, open the archive --> It contains only the files stored in the selected folder and its subfolders (files and embedded files) --> The hierarchy is kept --> Empty folders are ignored (by design) --> Folders where user has no read permission are not part of the archive Change-Id: I2b32d930a49b62896a72e3c0b1393fd4dd0211cc

Modified Files

Name
M plugins/document/composer.json +7 −0 Go to diff View file
A plugins/document/composer.lock +179 −0 Go to diff View file
A plugins/document/include/DownloadFolderAsZip/DocumentFolderZipStreamer.php +115 −0 Go to diff View file
A plugins/document/include/DownloadFolderAsZip/ZipStreamFolderFilesVisitor.php +111 −0 Go to diff View file
M plugins/document/include/documentPlugin.php +12 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +2 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip.test.js +50 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip.vue +49 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.test.js +38 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue +11 −1 Go to diff View file
M plugins/document/scripts/document/index.js +1 −0 Go to diff View file
M plugins/document/scripts/document/po/fr.po +3 −0 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +2 −0 Go to diff View file
A plugins/document/tests/unit/DownloadFolderAsZip/ZipStreamFolderFilesVisitorTest.php +116 −0 Go to diff View file