Commit Graph

4961 Commits

Author SHA1 Message Date
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
Thomas Lamprecht
d380f56bce d/control: versioned dependency for pve-doc-generator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 21:08:58 +02:00
Thomas Lamprecht
82601c6d9e bump version to 6.2-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 21:07:36 +02:00
Thomas Lamprecht
6d3dbf0ef5 ui: sdn: move anycast addresses to advanced items
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 21:02:31 +02:00
Thomas Lamprecht
f3c1eac7f0 sdn: add onlineHelp references and various nits
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 21:00:49 +02:00
Thomas Lamprecht
4047ea2461 api: apt/versions: track libpve-network-perl as optional package
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 17:14:04 +02:00
Thomas Lamprecht
1b695a97b1 re-bump do 6.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-09 19:33:04 +02:00
Thomas Lamprecht
63308ba742 ui: memory field: third time's a charm...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-09 18:17:35 +02:00
Thomas Lamprecht
4aec2728e9 bump version to 6.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 17:46:01 +02:00
Thomas Lamprecht
a5e503c7e1 update aplinfo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 17:43:31 +02:00
Thomas Lamprecht
45dbb18177 ext. metric server: workaround stupid MTU problem..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 17:22:35 +02:00
Thomas Lamprecht
5c77a34f08 metric server: improve flush on big data updates
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 17:15:44 +02:00
Thomas Lamprecht
7788262afb ui: cluster join: hide all fields in assited mode until we got some info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 13:33:39 +02:00
Tim Marx
4081db0708 ui: clusterjoin: fix cluster network field visibility
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2020-05-08 13:33:37 +02:00
Thomas Lamprecht
9a9f1ac5aa ui: cluster: code cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-08 13:33:37 +02:00
Dominik Csapak
f433ad19d2 dc/Realms: fix adding of new ldap realm
we cannot pass 'delete' on create api call, and we have to make
sure that 'default_opts' and 'sync_attributes' are alwyas available,
since they are used in onGetValues
(they were only created during setValues, which is not called
when adding a new realm)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-08 10:20:17 +02:00
Thomas Lamprecht
050d86a8b0 ui: also set minimum memory's maxValue to higher default initially
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 23:15:44 +02:00
Thomas Lamprecht
2d05caaa5f update aplinfo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 22:02:31 +02:00
Thomas Lamprecht
33ed392613 bump version to 6.2-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 21:49:14 +02:00
Thomas Lamprecht
e01302b764 api acme: reduce after validation-request delay, print status on err
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 21:47:53 +02:00
Thomas Lamprecht
ffc65752f2 d/control: bump versioned build-dependency to doc-generator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 21:43:00 +02:00
Thomas Lamprecht
0f14518fe9 ui: acme view: use "Challenge Plugins" name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 21:40:06 +02:00
Thomas Lamprecht
b0bff8c3af ui: acme plugin edit: allow to overwrite label and add a hint
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 20:55:34 +02:00
Thomas Lamprecht
228846472f ui: acme dns plugin edit: wider labels, = as separator
Some API endpoints hvae very long variable names..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 20:52:34 +02:00
Thomas Lamprecht
4a566eda62 ui: acme dns plugin edit: add online help
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 20:52:01 +02:00
Thomas Lamprecht
77496e1be3 fix #2708: ui: increase default memory in VM create wizard to 2GiB
as nowadays a lot of VMs won't even start the installer with 512 MB.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 15:09:29 +02:00
Dominik Csapak
796a8b7483 ui: dc/ACMEClusterView: show TaskProgress on account removal
this is not a synchronous api call, so open a taskprogress window
and reload after the task is done

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-07 14:32:55 +02:00
Dominik Csapak
efca2bbbc6 ui: dc/ACMEClusterView: load the correct store on reload
if we use a diff/update store combo, we have to load the updatestore
not the diff store, else we get spurious empty grids

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-07 14:32:55 +02:00
Dominik Csapak
fc40915c7c ui: ACMEAccountCreate: make name only optional if no default exists
if the 'default' account exists, make the name field required and
remove the emptytext

get the information by querying the grid store. this may be not
up-to-date, but it is less intrusive that an extra api call that
blocks the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-07 14:32:55 +02:00
Thomas Lamprecht
a72428b8c6 ACME: add comment for implicit standalone plugin fallback
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 13:53:05 +02:00