From de47a17be7ce541fcd5c8ee698c2ef4aa926b5fb Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 18 Mar 2019 13:20:49 +0900 Subject: [PATCH] Improve drive downloading (#4523) * Improve drive file downloading * fix name * wtf crlf * semicolon --- package.json | 2 ++ .../app/desktop/views/components/context-menu.menu.vue | 2 +- src/client/app/desktop/views/components/drive.file.vue | 4 +++- .../app/mobile/views/components/drive.file-detail.vue | 7 ++++++- src/prelude/url.ts | 4 ++++ src/server/file/send-drive-file.ts | 7 ++++++- 6 files changed, 22 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index da436926f5..bb48d060cd 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "@types/qrcode": "1.3.0", "@types/ratelimiter": "2.1.28", "@types/redis": "2.8.10", + "@types/rename": "1.0.1", "@types/request": "2.48.1", "@types/request-promise-native": "1.0.15", "@types/request-stats": "3.0.0", @@ -193,6 +194,7 @@ "recaptcha-promise": "0.1.3", "reconnecting-websocket": "4.1.10", "redis": "2.8.0", + "rename": "1.0.4", "request": "2.88.0", "request-promise-native": "1.0.7", "request-stats": "3.0.0", diff --git a/src/client/app/desktop/views/components/context-menu.menu.vue b/src/client/app/desktop/views/components/context-menu.menu.vue index 1ae3c85d57..f2bb3bec23 100644 --- a/src/client/app/desktop/views/components/context-menu.menu.vue +++ b/src/client/app/desktop/views/components/context-menu.menu.vue @@ -6,7 +6,7 @@

{{ item.text }}