[pve-devel] [PATCH manager 03/10] ui: refactor sortByPreviousUsage and nextFreeDisk

2021-09-20 Thread Dominik Csapak
we'll use them outside of the controllerSelector soon Signed-off-by: Dominik Csapak --- www/manager6/Utils.js | 46 + www/manager6/form/ControllerSelector.js | 45 +--- 2 files changed, 54 insertions(+), 37 deletions(-) diff --git a/

[pve-devel] [PATCH manager 08/10] ui: Utils: add capture group for the id in bus_match

2021-09-20 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- www/manager6/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index 8631a67c..71e5fc9a 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -13,7 +13,7 @@ Ext.define('PVE.Utils

[pve-devel] [PATCH manager 04/10] ui: form/ControllerSelector: add updateVMConfig and getConfId

2021-09-20 Thread Dominik Csapak
those are helpers that will be useful when we want to change the vmconfig for the ControllerSelector on the fly Signed-off-by: Dominik Csapak --- www/manager6/form/ControllerSelector.js | 16 1 file changed, 16 insertions(+) diff --git a/www/manager6/form/ControllerSelector.js

[pve-devel] [PATCH manager 02/10] ui: form/ControllerSelector: set correct max value for the device-id

2021-09-20 Thread Dominik Csapak
the 'diskControllerMaxIDs' object in Utils does not describe the 'maximum ids', but the maximum *number* of ids, so the max is one less correctly set that instead the api rejected those values (e.g. ide4) already, so its only a ui change Signed-off-by: Dominik Csapak --- www/manager6/form/Cont

[pve-devel] [PATCH manager 10/10] ui: add qemu/MultiHDEdit and use it in the wizard

2021-09-20 Thread Dominik Csapak
this adds a new panel where a user can add multiple disks. Has a simple grid for displaying the already added disks and displays a warning triangle if the disk is not valid. This allows also to create a vm without any disk by removing all of them. Signed-off-by: Dominik Csapak --- www/manager6

[pve-devel] [PATCH manager 01/10] ui: qemu/HDEdit: move Bandwidth options to a different tab

2021-09-20 Thread Dominik Csapak
for that we have to nest the now two tabs in a tabpanel into an inputpanel. to prevent the options to be collected twice, we override the 'getValues' function of the 'sub-inputpanels' to return an empty object. (we could make that an option for the inputpanel, but not necessary for now) also we ha

[pve-devel] [PATCH manager 09/10] ui: form/ControllerSelector: add option for selecting free on inital config

2021-09-20 Thread Dominik Csapak
we will sometimes directly give it a config, so the id can be selected at the start Signed-off-by: Dominik Csapak --- www/manager6/form/ControllerSelector.js | 4 1 file changed, 4 insertions(+) diff --git a/www/manager6/form/ControllerSelector.js b/www/manager6/form/ControllerSelector.js

[pve-devel] [PATCH manager 07/10] ui: qemu/OSTypeEdit: drop throwing an error on multiple widgets

2021-09-20 Thread Dominik Csapak
we will have multiple panels with the same widget. Instead of raising an error in that case, simply ignore it, since we normally only want to set the default initially, not when users configured something else Signed-off-by: Dominik Csapak --- www/manager6/qemu/OSTypeEdit.js | 2 +- 1 file chang

[pve-devel] [PATCH manager 00/10] multi tab disk panel & multi disk wizard

2021-09-20 Thread Dominik Csapak
this series is intended to replace dominics and my previous attempts at this [0][1][2] splits the bandwidth options into their on tab on the disk panel and introduces a 'MultiHDEdit' panel which creates/deletes the HDEdit panels on demand. The UX is modeled after Dominics first attempt, but a ver

[pve-devel] [PATCH manager 06/10] ui: qemu/HDEdit: fire an event when the disk id changes

2021-09-20 Thread Dominik Csapak
e.g. from scsi0 to scsi1 or from scsi0 to virtio0 Signed-off-by: Dominik Csapak --- www/manager6/qemu/HDEdit.js | 10 ++ 1 file changed, 10 insertions(+) diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js index bbd4a2c6..2142c746 100644 --- a/www/manager6/qemu/HDEdit

[pve-devel] [PATCH manager 05/10] ui: qemu/HDEdit: use me instead of this

2021-09-20 Thread Dominik Csapak
more in line with our remaining code style Signed-off-by: Dominik Csapak --- www/manager6/qemu/HDEdit.js | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js index ae7e3fde..bbd4a2c6 100644 --- a/www/manager6/qe

[pve-devel] [PATCH i18n] update and improve turkish translations

2021-09-20 Thread Oguz Bektas
Signed-off-by: Oguz Bektas --- tr.po | 401 ++ 1 file changed, 206 insertions(+), 195 deletions(-) diff --git a/tr.po b/tr.po index 4476071..96e06ff 100644 --- a/tr.po +++ b/tr.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: proxmox tran

Re: [pve-devel] [PATCH dab 1/1] Add https support for download

2021-09-20 Thread Thomas Lamprecht
On 19.09.21 11:09, Xylle wrote: > --- > DAB.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/DAB.pm b/DAB.pm > index 9282789..3c6b948 100644 > --- a/DAB.pm > +++ b/DAB.pm > @@ -517,7 +517,7 @@ sub new { > my $sources = undef; > > foreach my $s (@{$config

[pve-devel] [PATCH storage] btrfs: call free_image correctly

2021-09-20 Thread Fabian Ebner
Currently, 'PVE::Storage::DirPlugin' is implicitly passed along as $class, which means that if the base class's free_image calls another method (e.g. filesystem_path) then the DirPlugin's method will be used, rather than the one from BTRFSPlugin. Change it so that $class itself is passed along. S

[pve-devel] [PATCH manager] fix #3629: ui: rng: increase default ratelimit to 2048 B/s

2021-09-20 Thread Stefan Reiter
FreeBSD 13 VMs will bug out and consume loads of idle CPU time if the ratelimit is 1024 B/s or lower. Increasing to 2048 fixes the issue, confirmed experimentally, and doesn't seem much worse as a default. Signed-off-by: Stefan Reiter --- On the one hand this *really* sounds like a FreeBSD bug t

[pve-devel] [PATCH dab 0/1] Add https support for download

2021-09-20 Thread Xylle
*** BLURB HERE *** Xylle (1): Add https support for SOURCE ou MIRROR in dab.conf DAB.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/

[pve-devel] [PATCH dab 1/1] Add https support for download

2021-09-20 Thread Xylle
--- DAB.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DAB.pm b/DAB.pm index 9282789..3c6b948 100644 --- a/DAB.pm +++ b/DAB.pm @@ -517,7 +517,7 @@ sub new { my $sources = undef; foreach my $s (@{$config->{source}}) { - if ($s =~ m@^\s*((http|ftp)://\S+