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>
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>
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>
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>
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
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>
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>
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
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>
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.
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.