[pve-devel] [PATCH widget-toolkit 0/1] fixes #4874: Improve VM Name error message

2023-07-31 Thread Amin Vakil via pve-devel
--- Begin Message --- Currently proxmox VE 7.4-16 does not allow having underscore in vm name, giving this error: "This is not a valid DNS name". This is not correct because having underscores in domain names are perfectly valid, although it's not acceptable at host names, so it should be chang

[pve-devel] [PATCH widget-toolkit 1/1] fixes #4874: Improve VM Name error message

2023-07-31 Thread Amin Vakil via pve-devel
--- Begin Message --- Signed-off-by: Amin Vakil --- src/Toolkit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Toolkit.js b/src/Toolkit.js index 67200c8..9dc28b9 100644 --- a/src/Toolkit.js +++ b/src/Toolkit.js @@ -129,12 +129,12 @@ Ext.apply(Ext.form.field.VTypes,

Re: [pve-devel] [V3 PATCH common 1/1] fix #4849: download file from url: add opt parameter for a decompression command

2023-07-31 Thread Fabian Grünbichler
On July 31, 2023 10:39 am, Philipp Hufnagl wrote: > Signed-off-by: Philipp Hufnagl > --- > src/PVE/Tools.pm | 59 +++- > 1 file changed, 38 insertions(+), 21 deletions(-) > > diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm > index 9ffac12..ab97129 100

Re: [pve-devel] [V3 PATCH storage 1/1] fix #4849: download-url: allow download and decompression of compressed ISOs

2023-07-31 Thread Fabian Grünbichler
On July 31, 2023 10:39 am, Philipp Hufnagl wrote: > Signed-off-by: Philipp Hufnagl > --- > src/PVE/API2/Storage/Status.pm | 17 +++-- > src/PVE/Storage.pm | 6 ++ > 2 files changed, 21 insertions(+), 2 deletions(-) > > diff --git a/src/PVE/API2/Storage/Status.pm b/sr

[pve-devel] [V3 PATCH storage 1/1] fix #4849: download-url: allow download and decompression of compressed ISOs

2023-07-31 Thread Philipp Hufnagl
Signed-off-by: Philipp Hufnagl --- src/PVE/API2/Storage/Status.pm | 17 +++-- src/PVE/Storage.pm | 6 ++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/PVE/API2/Storage/Status.pm b/src/PVE/API2/Storage/Status.pm index 2aaeff6..1d73c96 100644 --- a

[pve-devel] [V3 PATCH manager 1/1] fix #4849: download to storage: automatically dectect and configure compression

2023-07-31 Thread Philipp Hufnagl
Signed-off-by: Philipp Hufnagl --- PVE/API2/Nodes.pm | 21 - www/manager6/Makefile | 1 + www/manager6/form/DecompressionSelector.js | 14 ++ www/manager6/window/DownloadUrlToStorage.js | 21 +++-- 4

[pve-devel] [V3 PATCH common 1/1] fix #4849: download file from url: add opt parameter for a decompression command

2023-07-31 Thread Philipp Hufnagl
Signed-off-by: Philipp Hufnagl --- src/PVE/Tools.pm | 59 +++- 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index 9ffac12..ab97129 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -92,23 +92,

[pve-devel] [V3 PATCH storage/manager/common 0/3]fix #4849: allow download of compressed ISOs

2023-07-31 Thread Philipp Hufnagl
Many web pages offer the download of the disk images compressed. This patch allows the download of archives (like .gz), automatically detects the format and decompresses it Changes since v2: * move compression code to the download function in common * minor code improvements Changes since v1