[pve-devel] [PATCH xtermjs 2/3] check if event is set

2018-04-27 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- src/www/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/www/main.js b/src/www/main.js index 0b09cbf..644ef7f 100644 --- a/src/www/main.js +++ b/src/www/main.js @@ -271,7 +271,7 @@ function tryReconnect() { var time_since_st

[pve-devel] [PATCH xtermjs 1/3] focus terminal when starting

2018-04-27 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- src/www/main.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/www/main.js b/src/www/main.js index 6fec72f..0b09cbf 100644 --- a/src/www/main.js +++ b/src/www/main.js @@ -172,7 +172,11 @@ function runTerminal() { socket.send(P

[pve-devel] [PATCH xtermjs 3/3] reload on container reboot

2018-04-27 Thread Dominik Csapak
if the container stays on the same node and the state is running, we reload to reconnect Signed-off-by: Dominik Csapak --- src/www/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/www/main.js b/src/www/main.js index 644ef7f..ac437f8 100644 --- a/src/www/main.js +++ b/src/www/ma

[pve-devel] applied: [PATCH xtermjs 1/3] focus terminal when starting

2018-04-27 Thread Thomas Lamprecht
applied series, thanks! On 4/27/18 11:17 AM, Dominik Csapak wrote: > Signed-off-by: Dominik Csapak > --- > src/www/main.js | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/www/main.js b/src/www/main.js > index 6fec72f..0b09cbf 100644 > --- a/src/www/main.js > ++

[pve-devel] applied: [PATCH container] support Fedora 28

2018-04-27 Thread Thomas Lamprecht
Signed-off-by: Thomas Lamprecht --- src/PVE/LXC/Setup/Fedora.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC/Setup/Fedora.pm b/src/PVE/LXC/Setup/Fedora.pm index 2da9c30..d19b162 100644 --- a/src/PVE/LXC/Setup/Fedora.pm +++ b/src/PVE/LXC/Setup/Fedora.pm @@ -11,7

[pve-devel] [PATCH manager 3/3] give vms with 'io-error' an error icon

2018-04-27 Thread Dominik Csapak
so that one can see that the vm has an error, even when not directly investigating the status of that vm Signed-off-by: Dominik Csapak --- www/css/ext6-pve.css | 11 +++ 1 file changed, 11 insertions(+) diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css index ee2a531a..a7edbfd9 10

[pve-devel] [PATCH widget-toolkit/manager] show qmpstatus for vms

2018-04-27 Thread Dominik Csapak
this series make the qmpstatus visible in the summary when available. for this we need to implement multifield infopanels also shows a warning symbol in the tree for some of them (io-error, internal-error and guest-panicked) proxmox-widget-toolkit: Dominik Csapak (1): add returnCompleteRecord

[pve-devel] [PATCH widget-toolkit 1/1] add returnCompleteRecord to ObjectStore

2018-04-27 Thread Dominik Csapak
this can be useful when needing multiple fields Signed-off-by: Dominik Csapak --- data/ObjectStore.js | 10 ++ 1 file changed, 10 insertions(+) diff --git a/data/ObjectStore.js b/data/ObjectStore.js index 1e3771f..ec35cbf 100644 --- a/data/ObjectStore.js +++ b/data/ObjectStore.js @@ -6,

[pve-devel] [PATCH manager 1/3] implement multiField renderer for infopanels

2018-04-27 Thread Dominik Csapak
we can use this for fields which use more than one value of the guest status Signed-off-by: Dominik Csapak --- www/manager6/panel/StatusView.js | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/manager6/panel/StatusView.js b/www/manager6/panel/StatusView.js index 57df

[pve-devel] [PATCH manager 2/3] show qmpstatus if available

2018-04-27 Thread Dominik Csapak
this patch shows the qmpstatus if it is available on the summary and the normal status if not this shows things like 'suspended' and 'io-error' Signed-off-by: Dominik Csapak --- www/manager6/panel/GuestStatusView.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/ma

[pve-devel] [v3 manager/docs 0/7] ACME library and certificate management

2018-04-27 Thread Fabian Grünbichler
cluster and common parts remain identical to v2, thus not resent. changes since v2: - added CLI and update mechanism via pveupdate - renew now errors out if no custom certificate exists - deactivated account files get renamed - fixed return type of custom certificate removal endpoint Fabian Grünb

[pve-devel] [v3 manager 1/7] add CertHelpers utility

2018-04-27 Thread Fabian Grünbichler
PVE-specific certificate helper functions Signed-off-by: Fabian Grünbichler --- PVE/Makefile | 1 + PVE/CertHelpers.pm | 107 + 2 files changed, 108 insertions(+) create mode 100644 PVE/CertHelpers.pm diff --git a/PVE/Makefile b/PVE/M

[pve-devel] [v3 manager 3/7] add ACME account API endpoints

2018-04-27 Thread Fabian Grünbichler
for registering, updating, refreshing and deactiving a PVE-managed ACME account, as well as for retrieving the (optional, but required if available) terms of service of the ACME API provider / CA. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 + PVE/API2/ACMEAccount.pm | 36

[pve-devel] [v3 manager 5/7] add certificates API endpoints

2018-04-27 Thread Fabian Grünbichler
to allow retrieval of certificate information, and uploading or removing of custom certificate files. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile| 1 + PVE/API2/Certificates.pm | 207 +++ PVE/API2/Nodes.pm| 8 ++ 3 files

[pve-devel] [v3 manager 6/7] add pvenode CLIHandler

2018-04-27 Thread Fabian Grünbichler
Signed-off-by: Fabian Grünbichler --- PVE/CLI/Makefile | 2 +- bin/Makefile | 2 +- PVE/CLI/pvenode.pm | 198 + bin/pvenode| 8 +++ 4 files changed, 208 insertions(+), 2 deletions(-) create mode 100644 PVE/CLI/pvenode.pm

[pve-devel] [PATCH docs] add pvenode.adoc

2018-04-27 Thread Fabian Grünbichler
Signed-off-by: Fabian Grünbichler --- this obviously needs more work, but a dummy is required for building of the CLI part.. pvenode.1-synopsis.adoc | 140 pvenode.adoc| 30 +++ 2 files changed, 170 insertions(+) create mode

[pve-devel] [v3 manager 7/7] pveupdate: add ACME certificate renewal

2018-04-27 Thread Fabian Grünbichler
renew certificate if an acme config entry and a custom certificate exists on the local node and the certificate expires soon. Signed-off-by: Fabian Grünbichler --- this seems like a good place until the pvestatd refactoring.. bin/pveupdate | 21 + 1 file changed, 21 insertio

[pve-devel] [v3 manager 2/7] add node configuration file and API

2018-04-27 Thread Fabian Grünbichler
this currently only contains a description and the node-specific ACME configuration, but I am sure we can find other goodies to put there. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 + PVE/Makefile | 1 + PVE/API2/NodeConfig.pm | 101

[pve-devel] [v3 manager 4/7] add ACME certificate API endpoints

2018-04-27 Thread Fabian Grünbichler
for creating/ordering a new certificate and renewing respectively revoking an existing one. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 + PVE/API2/ACME.pm | 328 ++ 2 files changed, 329 insertions(+) create mode 100644 PVE/

[pve-devel] applied: [PATCH widget-toolkit] PendingObjectGrid: fix display of deletion of multikey fields

2018-04-27 Thread Thomas Lamprecht
applied thanks! On 4/10/18 4:36 PM, Dominik Csapak wrote: > we did only check if the first field of a mulitfield key is being deleted, > resulting in showing no pending change at all when deleting any other, > and as long as only deletions were taking place > > also when deleting the 'main' key o

[pve-devel] applied: [PATCH widget-toolkit v2] add apiCallDone callback for window.edit

2018-04-27 Thread Thomas Lamprecht
applied v2 of this for wtk, will give the manager code another look On 4/26/18 8:45 AM, Dominik Csapak wrote: > we sometimes want/need to do something when the api call > finished and need to know whether it was successful or need the result > > Signed-off-by: Dominik Csapak > --- > window/Edit

[pve-devel] applied: [PATCH v2 cluster] cluster: add cfs_lock_acme

2018-04-27 Thread Thomas Lamprecht
applied this cluster patch On 4/19/18 2:01 PM, Fabian Grünbichler wrote: > to lock an ACME account config file > > Signed-off-by: Fabian Grünbichler > --- > data/PVE/Cluster.pm | 8 > 1 file changed, 8 insertions(+) > > diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm > index ef

Re: [pve-devel] [PATCH v2 common 3/4] acme: add challenge plugins

2018-04-27 Thread Thomas Lamprecht
On 4/19/18 2:01 PM, Fabian Grünbichler wrote: > Signed-off-by: Fabian Grünbichler > --- > src/PVE/ACME/Challenge.pm | 22 ++ > src/PVE/ACME/StandAlone.pm | 74 > ++ > 2 files changed, 96 insertions(+) > create mode 100644 src/PVE/ACME/Cha

Re: [pve-devel] [PATCH manager 2/3] show qmpstatus if available

2018-04-27 Thread Thomas Lamprecht
On 4/27/18 12:28 PM, Dominik Csapak wrote: > this patch shows the qmpstatus if it is available on the summary > and the normal status if not > > this shows things like 'suspended' and 'io-error' > > Signed-off-by: Dominik Csapak > --- > www/manager6/panel/GuestStatusView.js | 6 +- > 1 file