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

Lorenz Stechauner l.stechauner at proxmox.com
Thu Jul 22 15:06:22 CEST 2021


changes to v1:
* dropped commits, that were already applied in the mean time
* better commit messages
* dropped the 'new-filename' - using 'filename' instead
* error handling for unlink
* dropped check for `new FormData()` in pve-manager
* fixed commit for pve-http-server (deleting temp file on errors)
* check file extention in front end too

note: two commits in total state, that they break/require some 
versions of other repos. please do not forget to bump those and
create the accoring 'breaks' or 'requires'.


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

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


pve-storage:
Lorenz Stechauner (3):
  status: move unlink from http-server to enpoint
  status: remove sleep(1) in file upload
  status: add checksum and algorithm to file upload

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


pve-manager:
Lorenz Stechauner (5):
  ui: move upload window into UploadToStorage.js
  ui: refactor UploadToStorage.js
  ui/UploadToStorage: add checksum and algorithm
  ui/UploadToStorage: add TaskViewer
  ui/UplaodToStorage: check file extension

 www/manager6/Makefile                  |   1 +
 www/manager6/storage/ContentView.js    | 197 +---------------
 www/manager6/window/UploadToStorage.js | 311 +++++++++++++++++++++++++
 3 files changed, 314 insertions(+), 195 deletions(-)
 create mode 100644 www/manager6/window/UploadToStorage.js

-- 
2.30.2






More information about the pve-devel mailing list