this shows the validation status immediatly if no node is selected (for
instance because no node is online or you have only one node and open
the migration window)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
extjs saves the state including the sorter, but cannot serialize the
sorter function. when restoring the state, it is not a valid sorter,
so we delete it before saving
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
the buffered renderer does not work with auto height, and was disabled.
to enable it, we set a fixed height
when nothing is found, display 'none' to indicate nothing was found
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
with extjs 6.2 the charts are initialized differently, so that we can
not do this in the afterrender event, instead we do it in the
initComponent, after calling callParent
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
in extjs 6.2, this property will not be set in ApplyIf, so we move it
into the static configuration, so that the headers will not be visible
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This allows to display a 'CT', a 'VM', or a 'CT/VM' label
to be displayed, depending on the context.
Currently when restoring a CT backup or creating a CT via the
wizard, we are asked to enter a *VM* ID, which is confusing.
since most people do not have many login realms to choose from, making
this search/editable makes no sense
but by making this non-editable, you can now click anywhere on the text
to open the options, instead of only the little arrow
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this adds a default sort for the user, group and realmselector
so that the entries are in a consistent order
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
by mistake we checked if me.vtype is 'qemu'
but the property is me.vmtype, so we would always show
restart mode
note that this error was purely cosmetic, behaviour was correct
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
for now we have to explicitely define the
onlineHelp: 'blockid'
string, so that the parser picks it up
in the future we should refactor that window, so that we define the
blockid when declaring the component
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this patch adds a set/unset noout button (for easy maintenance of your
ceph cluster) and reorders the buttons so that global actions (reload,
add osd, set noout) are left, and osd specific actions are on the right
to reduce confusion, there is now a label left of the osd actions which
displays the selected osd
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
The UTF-8 characters it uses otherwise may be not handled correctly
when some users sent the report to us.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
The actual 4.3-12 release is done in a separate
branch "hotfix-4.3-12", because we cannot release
commit a94749851 now (requires updated pve-cluster
package).
we did not allow to use parameters in the delete handler in pvesh,
but we make use of them (e.g. force on snapshot deleting)
as the get/set and delete handler do the same, refactor the if/else
paths of them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
we changed the ssh public key field to a pvetextfield, which return not
an empty string but null, so the .length check failed with an exception
we do not need to delete the field because it does not exists, when
no key is given
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
since we often use the kvcombobox not statically but load its store at
runtime, we need to check the store and not the comboItems
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>