Commit Graph

762 Commits

Author SHA1 Message Date
Dominik Csapak
5c41645953 filter backup always by vm type
currently, as soon as you type something in the backup search bar,
the filter for the vm type (e.g. lxc or qemu) gets cleared, and
you see *all* backups (also those not for the current type)

this patch adds the original filterFn to the filter when searching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 14:02:29 +01:00
Wolfgang Bumiller
283b450ec5 parser: fix case sensitivity when classifying mountpoints 2016-03-18 16:27:03 +01:00
Dominik Csapak
eafa845f86 deactivate (currently) not working lxc templates
this deactivates template creating for lxc in the gui,
since this does currently not work reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-15 09:20:25 +01:00
Wolfgang Bumiller
17ab437fab lxc: disable ACL settings for bind mounts 2016-03-14 17:28:59 +01:00
Dominik Csapak
b8187b26c7 disable template/upload button, fixes #483
with this patch, the upload/template buttons
are disabled, when the selected storage
has the respective contents disabled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:29:14 +01:00
Wolfgang Bumiller
41bfbd0a73 lxc: always allow blank mac address for autogeneration
Same as with KVM.
2016-03-09 17:47:54 +01:00
Dominik Csapak
89722698a9 fix LVM Content settings
when adding LVM Storage, do not overwrite user input for content
and if Storage and Container is selected
show the proper names

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-08 11:21:37 +01:00
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
Wolfgang Bumiller
9eef71f36e firewall: add ipfilter option 2016-03-03 09:45:33 +01:00
Wolfgang Link
a4998f22bd Remove content type Container from GlusterFS 2016-03-02 17:16:29 +01:00
Thomas Lamprecht
59e6da2d44 web-syslog: add date span selection
This allows the user to only show logs from a specific date span.
For that two date picker and a 'Update' button were added to the
header bar.

For the until date we assume always 23:59:59 o'clock, as witouth
a specific time journalctl assumes 00:00 which would result in an
empty log if we only wanted to look at todays log.

As the LogView is shared with others (e.g. ceph log) use an boolean
variable to set if we want to show those date pickers)

Fixes timeout when the user has a long uptime and or persistent logs
2016-03-02 06:25:33 +01:00
Wolfgang Bumiller
41380b4d5d firewall: add option to allow router advertisement 2016-02-27 10:26:31 +01:00
Wolfgang Bumiller
30164175f8 jslint...
*sigh*
2016-02-24 16:33:55 +01:00
Dietmar Maurer
69a30784fc ResourceEdit.js: use correct filed label 2016-02-23 16:46:15 +01:00
Wolfgang Bumiller
4a218fd947 lxc: disable edit button for non-root users for bindmounts 2016-02-23 16:37:43 +01:00
Wolfgang Bumiller
0c8efcf5d9 lxc: use mount point editor in create wizard 2016-02-23 16:36:57 +01:00
Wolfgang Bumiller
946eb8cd89 lxc: create/edit/remove mountpoints 2016-02-23 16:36:23 +01:00
Wolfgang Bumiller
ae8a861e5b parser: perform mountpoint classification 2016-02-23 16:34:16 +01:00
Wolfgang Bumiller
b521e9729e parser: parseLxcMountPoint, printLxcMountPoint 2016-02-22 16:31:27 +01:00
Dominik Csapak
0ed3141561 add lvmthin to gui
this patch adds the ability to add existing lvm thinpools to the
storage configuration via the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 10:17:24 +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
bda8855a5b firewall: add enable ndp option 2016-02-19 10:10:51 +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
Thomas Lamprecht
90c75580b6 add permissions to allow non root ceph configuration
Do not only allow root@pam to admin ceph server as some user do not
want to allow root logins and users with the Sys.Modify permission
should be able to modify ceph related stuff.

We use basically the following permissions:
 Sys.Modify:
    for any delete, add, modify action (POST, PUT, DELETE)
 Sys.Audit and Datastore.Audit:
    for any status/information view action (GET)
 Sys.Log:
    for viewing the Ceph log (was already implemented)

We have two exceptions creating and destroying osds. Those may only
be done by 'root@pam' for security reasons.

Also show users with any of those capabilities the ceph tab in the
web GUI.

Addresses bug#818
2016-02-12 08:22:16 +01:00
Wolfgang Bumiller
c7f3280811 Close #822: show the nodename in the page title 2016-02-11 12:05:08 +01:00
Wolfgang Bumiller
c2c8ca92b3 cleanup leftover debug output 2016-02-09 12:41:56 +01:00
Dominik Csapak
cba2c62be3 remove 'VZDump backup file' option from upload web gui
since we do not want to upload vzdump backup files (see bug #498),
it is confusing to expose this option in the gui, since currently
it can never succeed.

the correct way would probably allow it based on the users permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-02 18:12:12 +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
789536e7e8 PendingObjectGrid hasPendingChanges optimization
Break out of Ext.Array.each early by returning false when
we found a pending change.
2016-01-28 10:27:29 +01:00
Wolfgang Bumiller
0f2c29ad4f gui: preserve extra cpu options when changing CPU type 2016-01-27 16:44:59 +01:00
Dietmar Maurer
ffd96a3bf5 add correct display text for lvmthin and drbd storage type 2016-01-27 05:56:30 +01:00
Dietmar Maurer
cab2875f4f add description for vztemplate and vzclone tasks 2016-01-22 11:24:32 +01:00
Dietmar Maurer
6c545e91d3 lxc GUI: add 'Convert to template' 2016-01-22 11:24:31 +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
Wolfgang Bumiller
45a997c11e add Haswell-noTSX and Broadwell-noTSX cpu types 2016-01-22 11:24:28 +01:00
Dietmar Maurer
e581141e40 add hungarian translation 2016-01-22 11:24:26 +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
3a9295100f Sytem Report: place download button at bottom/right 2015-11-06 10:19:29 +01:00
Emmanuel Kasper
88605108ef Add report modal window, containing pvereport content
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2015-11-06 10:07:17 +01:00
Thomas Lamprecht
64e5196914 Improve HA UI for users with restricted permissions
Only show edit dialogs for HA resources and groups when an user
has the privileges to edit them.
2015-10-30 16:11:42 +01:00
Dietmar Maurer
73aeb2007e add Galician to GUI 2015-10-28 13:02:26 +01:00
Wolfgang Link
f99124fb8a add mouint point to GUI 2015-10-28 11:42:00 +01:00
Wolfgang Link
c2ee953ce8 add resize LXC Mountpoint at the GUI 2015-10-28 11:40:07 +01:00
Wolfgang Link
d807e210d5 move Root Disk form Options to Resources and add icon for it 2015-10-28 11:37:31 +01:00
Wolfgang Link
21855147bc add icons to resources 2015-10-28 11:36:37 +01:00
Dietmar Maurer
7216990dd2 RBD: select 'images' content type by default
because we also do not set KRBD flag by default.
2015-10-28 11:14:39 +01:00