Commit Graph

5190 Commits

Author SHA1 Message Date
Dominik Csapak
201b89dbd5 ui: add checkbox for vmid filter for backupview
instead of hardcoding the text 'type-id-' into the searchbar
to accomodate for the additional size, add an overflowHandler
to the toolbar (for very small display sizes)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-03 16:21:11 +02:00
Thomas Lamprecht
23b316a325 ui: ceph/pool: allow autoscale on create
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 16:15:55 +02:00
Alwin Antreich
d4dba076a6 ceph: extend pveceph pool ls
to present more data on pools and a nicer formated output on the command
line.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 16:08:27 +02:00
Alwin Antreich
06bd1c5215 ceph: extend the pool view
to add the pg_autoscale_mode since its activated in Ceph Octopus by
default and emmits a waring (ceph status) if a pool has too many PGs.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 16:08:27 +02:00
Thomas Lamprecht
fdf79b4e66 ceph: avoid fork/exec overhead for every ceph_cluster_status call
detect heuristically if we need to get the full mon and mgr map extra
for Octopus

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 15:30:06 +02:00
Thomas Lamprecht
45221aae94 ui: ceph/StatusDetail: cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 15:25:39 +02:00
Alwin Antreich
e25dda254c Make PVE6 compatible with supported ceph versions
Luminous, Nautilus and Octopus. In Octopus the mon_status was dropped.
Also the ceph status was cleaned up and doesn't provide the mgrmap and
monmap.

The rados queries used in the ceph status API endpoints (cluster / node)
were factored out and merged to one place.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 14:23:38 +02:00
Thomas Lamprecht
df9f3d6e7c ui: followup: use title case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 14:22:21 +02:00
Alexandre Derumier
a724fe23c1 sdn: vlan : add mtu field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 14:22:21 +02:00
Alexandre Derumier
d0da259e35 sdn: add vlan aware option to vnet
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 14:22:21 +02:00
Thomas Lamprecht
9ad4656d57 sdn: use new helper methods to update config
and do a breaks on older network package as we do not depend on it
due to it being an optional/experimental feature, so reverse the
depends with the breaks.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 14:22:21 +02:00
Dietmar Maurer
071e573a13 PVE/VZDump.pm: use new --quiet option for proxmox-backup-client prune 2020-06-03 11:08:50 +02:00
Dominik Csapak
f018c2d668 ui: fix HotplugFeatureSelector
we recently changed the setValue behaviour of the inputpanel and editwindow
(we now set all fields with the same names), which leads to wrong
behaviour here

use a different name for the internal checkboxes to avoid this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 16:53:57 +02:00
Dominik Csapak
c46a13b023 ui: fix missing change from 'pve-' to 'pmx-' models
we forgot to change these

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 16:53:53 +02:00
Thomas Lamprecht
769d716bcf ui: dc/summary: sync height of first two panels with others
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-02 12:23:51 +02:00
Thomas Lamprecht
78db118252 d/control: bump version of proxmox-widget-toolkit dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-02 12:15:56 +02:00
Dominik Csapak
bcb8a59c51 css: remove icon colors
they are now in the widget-toolkit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 11:47:43 +02:00
Dominik Csapak
1081c005f2 ui: Replication: use render_duration from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 11:47:43 +02:00
Fabian Grünbichler
1a664b0f9d api: improve node index with missing/broken cert
since this API endpoint is used for the node selector in the GUI, which
causes quite widespread breakage.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-06-02 10:28:56 +02:00
Thomas Lamprecht
dea23f32b0 pveceph: make installing luminous on PVE 6 experimental
It's only available for the upgrade from 5.4 anyway

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-28 15:25:12 +02:00
Thomas Lamprecht
6181940384 pveceph: allow installing octopus as experimental option
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-28 15:25:12 +02:00
Thomas Lamprecht
d15ba1e1ad bump version to 6.2-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:31:07 +02:00
Thomas Lamprecht
4de2b2e700 ui: grammar followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:17:57 +02:00
Thomas Lamprecht
dc54cdf82a ui: node/subscription: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:15:00 +02:00
Thomas Lamprecht
bc12fba5fc ui: fix system report window indentation + cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:11:16 +02:00
Thomas Lamprecht
b8af8f2d01 ui: order remove button later and add separator to sys report
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:10:47 +02:00
Thomas Lamprecht
e82ed1675b subscription delete: followup fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 13:39:13 +02:00
Moayad Almalat
85222f8237 api, ui: allow to remove subscription
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 13:28:27 +02:00
Thomas Lamprecht
bc92b15f84 ui: vm/options: increase localtime edit window width
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 19:12:57 +02:00
Fabian Ebner
0beff18b8e Fix 2718: GUI: handle localtime option correctly
The backend treats an undefined value and 0 differently. If the option
is undefined, it will still be set for Windows in config_to_command.
Replace the checkbox with a combobox covering all options.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-05-26 19:09:21 +02:00
Thomas Lamprecht
baed2b7c41 fix #2574: ui: permission-path selector: push each unique path only once
In clusters a storage was pushed as many times as there are nodes
using it. Ensure we only push a path once, do this with a memory
oriented solution, i.e., build a extra object to remember what we
already pushed. This is preferred over a me.findExact call as it's a
o(n) vs o(n^2) solution compute wise and we make the user wait if
this would need long, so reducing compute time over memory use is
here a good choice - even if we will seldom run into situations where
this actually will make a difference with such small data counts.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-24 02:10:50 +02:00
Thomas Lamprecht
d6d084dc14 ui: some eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-24 02:09:40 +02:00
Thomas Lamprecht
2a080be165 ceph: get_local_version: allow optional v prefix for version number
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-22 18:45:07 +02:00
Dominik Csapak
f23e78f4ef use RealmCombobox from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-22 17:18:19 +02:00
Dominik Csapak
8eb4061bff ui: use RoleSelector from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-22 17:18:19 +02:00
Thomas Lamprecht
433645160f ui: qemu: stop pending changes in correct scope
I saw some cases where the pending changes just continued to get
triggered for some VMs, even if they shouldn't anymore - effectively
resulting in 3 - 4 concurrent pending changes call at a time.

It could be this, or not, but it's cleaner this way so go for it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-22 17:16:37 +02:00
Thomas Lamprecht
17e852abce ui: refactor pool edit window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-22 17:16:04 +02:00
Thomas Lamprecht
069a28ebac ui: QinQ: indentation and stricter limits
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 21:42:13 +02:00
Alexandre Derumier
3f0b3e3aa2 qinq: add vlan-protocol option
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-05-19 21:25:55 +02:00
Alexandre Derumier
872f9a0546 sdn: restrict zone && vnet name to 8 characters
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-05-19 21:25:55 +02:00
Alexandre Derumier
6d5cd98562 vnetview: remove mtu field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-05-19 21:25:55 +02:00
Thomas Lamprecht
a6ac82556f ui: TokenEdit: change default focus to tokenide field
Avoids that the user selector always pops up and tokenid is normally
more likely to change as the userid gets pre-selected to the one from
the logged in user.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 21:00:59 +02:00
Thomas Lamprecht
fbfe1e39d4 fix #2747: ui: API token create: always reset base submit URL
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-18 18:50:38 +02:00
Thomas Lamprecht
2abb52cb02 d/control: bump versioned to proxmox-widget-toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-18 18:42:16 +02:00
Dominik Csapak
2892e74479 ui: remove Realm model and RealmComboBox
and use it from widget-toolkit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-18 18:42:16 +02:00
Dominik Csapak
d1efcadf38 ui: use PMX.image.Logo from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-18 18:42:16 +02:00
Thomas Lamprecht
1d5c5ba19a acme: account: hide TOS checkbox during load and reuse field references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 16:28:39 +02:00
Thomas Lamprecht
e023535e15 ui: acme: label account name field as such
As else some people could be confused and put in their name, as below
is the email field, and name+email are quite often pairs.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 16:27:08 +02:00
Dominik Csapak
04a8058e28 ui: ACMEAccountCreate: improve layout of account dialog
by increasing the space for the link, and using a boxLabel instead
of fieldLabel, which has better spacing for longer text

also move the e-mail before the directory to have all textboxes together

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-14 16:11:30 +02:00
Dominik Csapak
9e669fa047 ui: dc/ACME: fix not refreshing api column
When using a diffstore, we have to specify all fields that are
displayed, otherwise the store does not know which fields to check for
change

for the acme plugin view, 'api' was missing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-11 17:06:27 +02:00