[pve-devel] [PATCH-SERIES http-server/storage/manager] add checksum and algorithm to iso upload

Lorenz Stechauner l.stechauner at proxmox.com
Tue Jul 20 13:51:39 CEST 2021


this series overhauls the iso/vztmpl upload window completely:
* moved window to UploadToStorage.js
* initComponent() reduced to necessary - static definition instead
* added possibility to upload file to another name ("new-filename")
* added "Size" and "MIME type" (like Download from URL)
* added hash algorithm and checksum
* added a TaskViewer window after the upload (to see possible checksum errors and to mirror "Download from URL")
* removed file unlink from http-server -> endpoint has to unlink the files now
    AFAICT only this endpoint allowes file uploads, so this should not be a problem

note: ping for https://lists.proxmox.com/pipermail/pve-devel/2021-June/049049.html


pve-http-server:
Lorenz Stechauner (1):
  anyevent: move unlink from http-server to endpoint

 src/PVE/APIServer/AnyEvent.pm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)


pve-storage:
Lorenz Stechauner (3):
  status: move unlink from http-server to endpoint
  status: add new-filename to upload
  status: add checksum and algorithm to file upload

 PVE/API2/Storage/Status.pm | 54 +++++++++++++++++++++++++++++++-------
 1 file changed, 44 insertions(+), 10 deletions(-)


pve-manager:
Lorenz Stechauner (4):
  ui: move upload window into UploadToStorage.js
  ui: refactor UploadToStorage.js
  ui/UploadToStorage.js: add checksum and algorithm
  ui/UploadToStorage.js: add TaskViewer

 www/manager6/Makefile                       |   1 +
 www/manager6/storage/ContentView.js         | 197 +-----------
 www/manager6/window/UploadToStorage.js      | 313 ++++++++++++++++++++
 4 files changed, 326 insertions(+), 207 deletions(-)
 create mode 100644 www/manager6/window/UploadToStorage.js

-- 
2.30.2






More information about the pve-devel mailing list