From 1f1f646f6274992a08a88ad595f0fdc0572194c3 Mon Sep 17 00:00:00 2001 From: Peter Papp Date: Thu, 29 Jul 2021 13:01:25 +0200 Subject: [PATCH] visitor zipping --- public/mix-manifest.json | 6 +- .../js/components/FilesView/ContextMenu.vue | 4 +- routes/share.php | 10 +- .../Actions/ProtectShareRecordAction.php | 9 +- .../SharePublicIndexController.php | 1 + .../GetItemsListFromUrlParamAction.php | 45 ++++++++ .../Zip/Controllers/VisitorZipController.php | 68 ++++++++++++ .../Controllers/VisitorZipFilesController.php | 58 ---------- .../VisitorZipFolderController.php | 54 ---------- src/Domain/Zip/Controllers/ZipController.php | 32 +----- tests/Domain/Zip/SharedZippingTest.php | 102 ++++++++++-------- 11 files changed, 190 insertions(+), 199 deletions(-) create mode 100644 src/Domain/Zip/Actions/GetItemsListFromUrlParamAction.php create mode 100644 src/Domain/Zip/Controllers/VisitorZipController.php delete mode 100644 src/Domain/Zip/Controllers/VisitorZipFilesController.php delete mode 100644 src/Domain/Zip/Controllers/VisitorZipFolderController.php diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 4b7c5fd0..ac72b62c 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -40,7 +40,7 @@ "/chunks/files~chunks/platform~chunks/shared~chunks/shared/file-browser.js": "/chunks/files~chunks/platform~chunks/shared~chunks/shared/file-browser.js?id=8a06b7d864acff647f8c", "/chunks/files~chunks/platform~chunks/shared~chunks/shared/file-browser~chunks/shared/single-file.js": "/chunks/files~chunks/platform~chunks/shared~chunks/shared/file-browser~chunks/shared/single-file.js?id=0de0b81edf0bb5d4617d", "/chunks/files~chunks/settings-subscription~chunks/shared/file-browser~chunks/user-subscription.js": "/chunks/files~chunks/settings-subscription~chunks/shared/file-browser~chunks/user-subscription.js?id=c5ec9502bcfad35c502e", - "/chunks/files~chunks/shared/file-browser.js": "/chunks/files~chunks/shared/file-browser.js?id=1b19035df0776555ab90", + "/chunks/files~chunks/shared/file-browser.js": "/chunks/files~chunks/shared/file-browser.js?id=89464ac77e762367486b", "/chunks/files~chunks/shared/file-browser~chunks/shared/single-file.js": "/chunks/files~chunks/shared/file-browser~chunks/shared/single-file.js?id=ad09e3f973e4db0411f1", "/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=8871529af0da8193d3a3", "/chunks/homepage.js": "/chunks/homepage.js?id=d29b9f09d08d673dff75", @@ -126,5 +126,7 @@ "/chunks/platform~chunks/shared.c0f59c4d5f95687a84ad.hot-update.js": "/chunks/platform~chunks/shared.c0f59c4d5f95687a84ad.hot-update.js", "/chunks/platform~chunks/shared.6db75d5fc148ae19b0b8.hot-update.js": "/chunks/platform~chunks/shared.6db75d5fc148ae19b0b8.hot-update.js", "/chunks/platform~chunks/shared.a9aa2769c5345e07f90c.hot-update.js": "/chunks/platform~chunks/shared.a9aa2769c5345e07f90c.hot-update.js", - "/chunks/platform~chunks/shared.8a25cb105761d2e120e8.hot-update.js": "/chunks/platform~chunks/shared.8a25cb105761d2e120e8.hot-update.js" + "/chunks/platform~chunks/shared.8a25cb105761d2e120e8.hot-update.js": "/chunks/platform~chunks/shared.8a25cb105761d2e120e8.hot-update.js", + "/chunks/files~chunks/shared/file-browser.795bed5a6b8dd1d5f361.hot-update.js": "/chunks/files~chunks/shared/file-browser.795bed5a6b8dd1d5f361.hot-update.js", + "/chunks/files~chunks/shared/file-browser.da183dcc2f390b01a554.hot-update.js": "/chunks/files~chunks/shared/file-browser.da183dcc2f390b01a554.hot-update.js" } diff --git a/resources/js/components/FilesView/ContextMenu.vue b/resources/js/components/FilesView/ContextMenu.vue index 4a795f59..3984381d 100644 --- a/resources/js/components/FilesView/ContextMenu.vue +++ b/resources/js/components/FilesView/ContextMenu.vue @@ -13,7 +13,7 @@ @@ -132,7 +132,7 @@