Dominik Csapak
eb751f7ab5
combine if paths
...
we had the same actions for different if paths,
now they are combined
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 06:13:09 +01:00
Dominik Csapak
8bc518aca4
restrict lvm thin on qemu to storage type raw
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:49:45 +01:00
Dominik Csapak
3095fb1d08
add htmlEncode to various fields
...
add htmlEnode as a renderer to fields which lets you
input arbitrary strings, to prevent html tags
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:48:11 +01:00
Wolfgang Bumiller
b73df817a3
Fix 895: don't drop the other processor values on load()
...
(Introduced in a5d21db: preserve extra cpu options)
2016-02-18 09:33:52 +01:00
Wolfgang Bumiller
c2c8ca92b3
cleanup leftover debug output
2016-02-09 12:41:56 +01:00
Wolfgang Bumiller
d4575fb0d9
gui: use empty default cpu data for ProcessorInputPanel
...
Since the create wizard doesn't fill the cpu type we need a
default to avoid accessing undefined values.
2016-02-01 17:12:07 +01:00
Wolfgang Bumiller
730b25581f
gui: cpu: fix processor editing
...
The last processor editing commit broke various parts of the
cpu editor window.
Most noticeably switching between the default and non-default
cpu types dealt with empty values wrongly and tried to
delete the 'cputype' property rather than the cputype
portion of the cpu property string.
2016-02-01 17:10:49 +01:00
Wolfgang Bumiller
8aebff91f5
extjs: add parseBoolean for drive backup and iothreads
...
The backup and iothread options are now boolean types
internally instead of strings and need to be treated as
such.
Added a parseBoolean() function to deal with this with an
optional default value to use for undefined values.
The default for an undefined backup value is true.
2016-01-29 12:23:04 +01:00
Wolfgang Bumiller
0f2c29ad4f
gui: preserve extra cpu options when changing CPU type
2016-01-27 16:44:59 +01:00
Dietmar Maurer
cdac411263
update translation files
...
We try to avoid duplicate translation by using {0} instead if 'VM {0}'
and 'CT {0}'.
2016-01-22 11:24:31 +01:00
Dietmar Maurer
59d47ade01
add qemu BIOS option
2016-01-22 11:24:24 +01:00
Alexandre Derumier
b0e07e4481
add qemu agent gui option
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-01-22 11:24:19 +01:00
Dietmar Maurer
24bf5bd4d4
GUI: add new vtype ConfigId, use it for snapshot names
2015-10-12 08:15:45 +02:00
Alen Grizonic
d4e40874dd
GUI option for VM protection added
...
v2 changes:
GUI option for CT protection added
2015-09-06 11:32:51 +02:00
Dietmar Maurer
ad3e4c6042
do not show monitor and console for templates
2015-06-28 09:18:48 +02:00
Dietmar Maurer
6a4c551ced
cleanup embeded console code, add console for lxc containers
2015-06-27 12:08:50 +02:00
Alexandre Derumier
bf0d9a3b48
add embedded qemu novnc console
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-26 11:35:18 +02:00
Emmanuel Kasper
e4cb80cc99
Fix qemu create wizard when iothread is set
...
The variable to use to check the disk type is confid,
as set in line 16 with:
var confid = me.confid || (values.controller + values.deviceid);
2015-06-19 07:36:07 +02:00
w.link@proxmox.com
6cf2794e26
fix bug #640 : cd edit in gui
...
Signed-off-by: w.link@proxmox.com <Wolfgang Link>
2015-06-19 06:44:37 +02:00
Alexandre Derumier
b49ea621a0
add iothread option
...
only for virtio disk (virtio-scsi qemu 2.3 is not thread-safe currently)
improve me: grey-out/hidden the option if !virtio
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-10 11:01:27 +02:00
Alexandre Derumier
0659f05bb5
cpuoptions : add emptyText
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-08 12:52:09 +02:00
Dietmar Maurer
9af2d28238
always enable CPU option button, allow empty values
2015-06-05 17:37:48 +02:00
Alexandre Derumier
e8ee57105f
add cpu options form
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-05 07:39:55 +02:00
Dietmar Maurer
ec552509c5
GUI: add cpuunits and cpulimit to qemu hardware panel
2015-06-03 13:25:37 +02:00
Alexandre Derumier
4aa63024c4
add multiqueues field to nic form
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-13 07:05:01 +01:00
Dietmar Maurer
c014d116b9
GUI fixes for CDROM hotplug
2015-02-12 08:01:03 +01:00
Dietmar Maurer
1e23ad2dfe
use pveMemoryField for maxmemory
2015-02-10 12:41:08 +01:00
Dietmar Maurer
2d9b21c303
implement pveMemoryField
2015-02-10 12:35:13 +01:00
Dietmar Maurer
06294e9caa
MemoryEdit: avoid hardcoded constants
2015-02-10 11:34:11 +01:00
Alexandre Derumier
27b22399ec
memory form : hotplug improvements
...
we need to change memory field step dynamically, and also map values to dimm size.
Fixme : apply same behaviour for maxmemory field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-10 06:39:47 +01:00
Dietmar Maurer
2133163f38
GUI: implement hotplug feature selector
2015-01-27 12:19:54 +01:00
Wolfgang Link
9a553c4677
Gui storage: bind ZFSPoolEdit.js and set defaults
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-01-27 07:52:08 +01:00
Dietmar Maurer
7f18e79764
HardwareView: correctly enable/disable buttons
2015-01-23 09:04:05 +01:00
Dietmar Maurer
915c63d741
PendingObjectGrid: improve detection of pending changes
2015-01-22 12:55:23 +01:00
Dietmar Maurer
7de0626923
GUI: dynamically update VM config every 5 seconds.
2015-01-21 11:36:06 +01:00
Dietmar Maurer
0a1b8ecff1
change default value for hotplug to match QemuServer default
2015-01-21 09:20:42 +01:00
Alexandre Derumier
919b9c1ff9
add numa option to processor form
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-21 08:38:40 +01:00
Wolfgang Link
caea0c7925
implement the disconnect nic button on the network edit pannel.
...
Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
2015-01-20 10:09:58 +01:00
Dietmar Maurer
5a4100476c
correctly check for undefined values
2015-01-08 13:24:38 +01:00
Alexandre Derumier
5111fcc31c
implement revert button
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-08 12:57:07 +01:00
Dietmar Maurer
b08a3d7710
HardwareView: simplify rendering code
2015-01-08 12:56:21 +01:00
Alexandre Derumier
820aa71f74
fix bootorder rendering
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-08 10:45:56 +01:00
Dietmar Maurer
1ac9aa4467
HardwareView: better alignment
2015-01-08 10:28:19 +01:00
Alexandre Derumier
4e6053312d
fix pending cpu rendering
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-08 09:25:16 +01:00
Alexandre Derumier
4d3b2d7d90
forbid edit|delete of pending delete, and move_disk of pending disk
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-08 09:20:42 +01:00
Alexandre Derumier
4f517059c5
Implement pendinggrid and pendingstore
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-01-08 06:26:12 +01:00
Dan Hunsaker
47236d0a05
Add suspend/resume options to web UI CmdMenus
...
The PVE2 API supports suspend/resume of VMs (and now CTs), but the web UI
doesn't make these options available. This patch adds Suspend and Resume
items to the CmdMenus of OpenVZ and QEMU guests. I considered adding the
options to the toolbar, but since it is already pretty full, I opted
against doing so for the moment. Perhaps the various startup options can
be combined into a dropdown menu similar to how the console options are
set up, and the various shutdown opitons combined into another. That
would provide the necesarry space to add the Suspend and Resume options
there.
This patch also provides descriptions for Suspend and Resume tasks in the
task logs, bringing full suspend/resume support to the web GUI.
Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>
2014-10-09 09:25:55 +02:00
Dietmar Maurer
59c179fd1f
i18n: add missing gettext calls
2014-09-08 09:50:30 +02:00
Alexandre Derumier
fdefb2cdfd
add discard option to qemu drive
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-08-20 12:10:38 +02:00
Dietmar Maurer
6dd4c09492
use gettext for 'none'
2014-08-13 12:46:05 +02:00