Re: [pve-devel] [PATCH pve-manager] Use Ext.apply instead of applyIf when loading a task window

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH pve-manager v2] SafeDestroy.js: allow to submit the form with Enter key

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [RFC manager] vzdump: use sendmail from tools

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [RFC common] Tools: add sendmail

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [RFC PATCH common] Tools: tempfile and tempfile_contents

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH common] fix O_PATH value

2016-04-04 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [RFC common] Tools: add sendmail

2016-04-04 Thread Thomas Lamprecht
can be used to send multipart (HTML, plain) mails to one or more recipients at once. Signed-off-by: Thomas Lamprecht --- src/PVE/Tools.pm | 63 1 file changed, 63 insertions(+) diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index 1d1f4b

[pve-devel] [RFC] factor out sendmail

2016-04-04 Thread Thomas Lamprecht
As sendmail could also be used by other, especially me if I want to sent a mail on a failed HW fence try, factor it out from VZDump and implement a more general one in PVE::Tools. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.c

[pve-devel] [RFC manager] vzdump: use sendmail from tools

2016-04-04 Thread Thomas Lamprecht
use the factored out sendmail from the PVE::Tools package Signed-off-by: Thomas Lamprecht --- PVE/VZDump.pm | 114 +- 1 file changed, 33 insertions(+), 81 deletions(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index d951e79..a4fa8c1 10064

Re: [pve-devel] [RFC PATCH common] Tools: tempfile and tempfile_contents

2016-04-04 Thread Fabian Grünbichler
> Wolfgang Bumiller hat am 4. April 2016 um 14:43 > geschrieben: > > > --- > This might be useful for the ssh-key code: since ssh-keygen apparently > needs seekable files (iow. doesn't work with pipes) we need a place > to temporarily store keys. This code currently is a bit more flexible > tha

[pve-devel] [RFC PATCH common] Tools: tempfile and tempfile_contents

2016-04-04 Thread Wolfgang Bumiller
--- This might be useful for the ssh-key code: since ssh-keygen apparently needs seekable files (iow. doesn't work with pipes) we need a place to temporarily store keys. This code currently is a bit more flexible than necessary - the basic usage is as follows: my ($filename, $handle) = tempfile_co

[pve-devel] [PATCH common] fix O_PATH value

2016-04-04 Thread Wolfgang Bumiller
--- The values in C are octal, not hex. (The old value didn't match any existing flag so it had no effect, and not using O_PATH isn't an actual problem either, it's just an optimization in our cases.) src/PVE/Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/To

[pve-devel] [PATCH manager 0/4] first icon patch

2016-04-04 Thread Dominik Csapak
this series adds font-awesome (newest version 4.5) and the corresponding css this is used with the action buttons and contextmenus also make the contextmenus status-sensitive Dominik Csapak (4): add font-awesome use font-awesome icons for action buttons and cmdmenu make contextmenus status

[pve-devel] [PATCH manager 2/4] use font-awesome icons for action buttons and cmdmenu

2016-04-04 Thread Dominik Csapak
this patch makes use of font-awesome for lxc/qemu action buttons (start/shutdown etc.) node actions buttons (restart/shutdown etc.) and lxc/qemu cmdmenus Signed-off-by: Dominik Csapak --- www/manager6/lxc/CmdMenu.js | 14 +++--- www/manager6/lxc/Config.js| 18 --

[pve-devel] [PATCH manager 3/4] make contextmenus status-sensitive

2016-04-04 Thread Dominik Csapak
for example, allow starting from contextmenu only if vm/ct is stopped, etc. Signed-off-by: Dominik Csapak --- www/manager6/lxc/CmdMenu.js | 21 + www/manager6/qemu/CmdMenu.js | 21 + 2 files changed, 42 insertions(+) diff --git a/www/manager6/lxc/CmdMenu

[pve-devel] [PATCH manager 4/4] fix trailing whitespaces

2016-04-04 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- www/manager6/lxc/CmdMenu.js | 7 +++ www/manager6/qemu/CmdMenu.js | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/www/manager6/lxc/CmdMenu.js b/www/manager6/lxc/CmdMenu.js index 5f0c428..909fd50 100644 --- a/www/manager6/lxc/CmdMen

[pve-devel] [PATCH 1/3] Select test form command

2016-04-04 Thread Wolfgang Link
It is possible to select the test what should run. synopsis: run_test_zfspoolplugin.pl [ | ] --- test/run_test_zfspoolplugin.pl | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl index 8e43b7b..fc681

[pve-devel] [PATCH 3/3] In path use parsed volname not the volid and add 'basevol'

2016-04-04 Thread Wolfgang Link
--- PVE/Storage/ZFSPoolPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index c381648..7e91625 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -148,7 +148,7 @@ sub path { m

[pve-devel] [PATCH 2/3] add test PVE::Storage::path

2016-04-04 Thread Wolfgang Link
--- test/run_test_zfspoolplugin.pl | 181 - 1 file changed, 180 insertions(+), 1 deletion(-) diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl index fc68195..2512db9 100755 --- a/test/run_test_zfspoolplugin.pl +++ b/test/run_test_

[pve-devel] [PATCH manager 2/2] use split button for shutdown/stop for vm/ct

2016-04-04 Thread Dominik Csapak
uses the new split button for the shutdown action to reduse the number of buttons, and reduce confusion also make the stop button 'dangerous' (shows just a different symbol on the confirm dialog) Signed-off-by: Dominik Csapak --- www/manager6/lxc/Config.js | 14 +- www/manager6/qem

[pve-devel] [PATCH manager 1/2] add split button

2016-04-04 Thread Dominik Csapak
the same code base as our pveButton (selectionchange handling, confirm,etc.) but with a split button (a button with a menu) Signed-off-by: Dominik Csapak --- the realHandler/handlerWrapper code is not really nice, but i couldn't think of a better alternative, plus it works ;) www/manager6/Makef

[pve-devel] [PATCH pve-manager] Use Ext.apply instead of applyIf when loading a task window

2016-04-04 Thread Emmanuel Kasper
Without this the window title is not displayed --- www/manager6/window/TaskViewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/window/TaskViewer.js b/www/manager6/window/TaskViewer.js index c3cea39..0750ffd 100644 --- a/www/manager6/window/TaskViewer.js +++

[pve-devel] [PATCH pve-manager v2] SafeDestroy.js: allow to submit the form with Enter key

2016-04-04 Thread Emmanuel Kasper
also set focus on the confirm field of the Destroy Window on display --- www/manager6/window/SafeDestroy.js | 8 1 file changed, 8 insertions(+) diff --git a/www/manager6/window/SafeDestroy.js b/www/manager6/window/SafeDestroy.js index ec4a2f5..047c48b 100644 --- a/www/manager6/window/S

Re: [pve-devel] [PATCH pve-manager] SafeDestroy.js: allow to submit the form with Enter key

2016-04-04 Thread Emmanuel Kasper
On 03/31/2016 10:29 AM, Dietmar Maurer wrote: > >> @@ -102,7 +108,12 @@ Ext.define('PVE.window.SafeDestroy', { >> fieldLabel: gettext('Please enter the {item.type} ID to >> confirm'), >> }, >> hideTrigger: true, >> -allowBlank