Commit Graph

4499 Commits

Author SHA1 Message Date
Thomas Lamprecht
6e48ebf9ad d/control: bump widget-toolkit version dependency
It's not that nothing would work without it, but ceph cannot be
configured via gui, and knowing that some user want to do strange
things with mixing package versions, we save us some hassle just
recording this to ensure one cannot run into this..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 06:08:13 +00:00
Mira Limbeck
16a83f8991 fix ceph install wizard not accepting ipv6
changes the vtype to the newly defined IP64CIDRAddress. depends on the
introduction of the IP64CIDRAddress vtype in proxmox-widget-toolkit.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-04-16 05:41:57 +00:00
Dominic Jäger
5dcd61c4bc d/control: bump doc-generator build dependency version
When building a current version of pve-manager a dependency to the
documentation is missing, as it ships new references used by our
onlineHelp tooling this is required.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2019-04-16 05:30:19 +00:00
Thomas Lamprecht
fa6f371649 cleanup Status plugins use statements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-11 09:22:04 +02:00
Thomas Lamprecht
0bd2dc09e4 followup: code cleanup, remove unnecessary type check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-11 09:11:07 +02:00
Dominik Csapak
035452b97f fix #1326: allow multiple status server definitions per type
we allow an id like storage.cfg but leave it optional (so we do not
break existing configs):

 influxdb: name

so that one can export the data to multiple servers of the same type

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-11 08:11:43 +02:00
Thomas Lamprecht
af17f0ad57 bump version to 5.4-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 16:11:34 +02:00
Thomas Lamprecht
bb469a1176 ui: dc/options: allow to edit cluster wide migration settings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 16:04:34 +02:00
Thomas Lamprecht
41ca346587 followuop: ui/dc/options: fix default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 15:35:38 +02:00
Thomas Lamprecht
8f17b4965a ui: dc/options: allow to edit HA shutdown policy
add some helpers handling this, can be re used for adding the
migration field, maybe we want to move this to widget-toolkits parent
ObjectGrid class, a bit cleaned up.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 15:31:24 +02:00
Thomas Lamprecht
d42ef8da91 ui: lxc: do not disable complete add resource button if no disk caps
While for now you only have elements which require the add disk
capability in the add sections it makes no sense to hide it, as it
would suggest that one can add no resource at all, and can easily
introduce a bug if we add another type of resource here, independent
of disk add cap.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 09:56:17 +02:00
Dominik Csapak
d35b5b2afb fix #1814: do not enable disk related buttons for audit user
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-10 09:50:05 +02:00
Thomas Lamprecht
2d41c7e6f2 ui: u2f: refactor error code map out and use in login window
to avoid showing numbers as error codes to users, even though the
strings are not much more helpful either...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 09:49:13 +02:00
Dominik Csapak
35e8d081ec remove non-existant property
vmComboSelector does not have such a property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-10 09:31:04 +02:00
Christian Ebner
677bb0e87b ui: Restore: Fix error where the textfield did not default to next free VMID
This was introduced when refactoring our seprated CT & VM ID
selectors into an unified one in
commit ed416f2024

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-10 09:09:10 +02:00
Dominik Csapak
e09330e03f use correct icon for hibernate in cmdmenu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-09 13:51:42 +02:00
Dominik Csapak
7a42fc552f fix jslint warning
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-09 13:51:39 +02:00
Thomas Lamprecht
a21acc04c5 bump version to 5.4-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 17:43:33 +02:00
Thomas Lamprecht
13d5806de9 d/control: bump version dependency to libpve-access-control
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 17:38:09 +02:00
Thomas Lamprecht
a7a84cb446 api: ceph/mon: improve no ip error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 17:36:54 +02:00
Thomas Lamprecht
db2af54904 ui: tfa: add onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 17:31:03 +02:00
Thomas Lamprecht
3a958fd5d7 ui: qemu system panel: set onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 17:24:32 +02:00
Alwin Antreich
7491160403 Ceph MON - Reword error message on IP config
Reword the error message in find_mon_ip to make it more clear, that
there is no active IP configuration for the ceph public network.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2019-04-08 17:04:27 +02:00
Thomas Lamprecht
1102bcb160 ui: tfa login: wording followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 16:59:50 +02:00
Thomas Lamprecht
45980a92d2 ui: login: remove fixed OTP field completely
we now have the TFALoginWindow which pops up if TFA is configured,
so use only this single stream lined approach.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 15:48:34 +02:00
Wolfgang Bumiller
313eb589de ui: use 2-step authentication for non-tfa realms
(Ext.Msg.prompt() fails on firefox...)

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-08 14:14:52 +02:00
Wolfgang Bumiller
af81354f07 HTTPServer: verify_ticket now returns a hash
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-08 14:14:52 +02:00
Wolfgang Bumiller
9807f21a62 Revert "ui: always show otp field"
This reverts commit 1702b529b6.
2019-04-08 14:14:52 +02:00
Thomas Lamprecht
3ef34e3c0f ui: ceph install: open ceph.com in new window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 12:30:07 +02:00
Thomas Lamprecht
01c8f6fe7d pvereport: only comput report def if we generate a report.
it's really not a good idea to start doing exec, file exist checks,
... on every module load of this, this may even hang completely
differen parts if something pull us in, and confuse one completely...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reported-by: Wolfgang Link <w.link@proxmox.com>
2019-04-08 12:25:59 +02:00
Thomas Lamprecht
4711d99862 followup: reduce wording, less text has better chance to be read
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 09:20:22 +02:00
Wolfgang Link
fc29d1382c cleanup format. 2019-04-08 09:18:08 +02:00
Wolfgang Link
cf6b10042a Supplementary Ceph installation summary
Add installation node for the other participant Ceph Node.
2019-04-08 09:18:05 +02:00
Thomas Lamprecht
40504ed2bb update shipped aplinfo index
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-06 16:21:58 +02:00
Dominik Csapak
b878689988 ui: improve datacenter summary ceph node selection
instead of trying a single random node 3 times, try all nodes
until we either find one with ceph, or until we tried them all

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-05 18:25:56 +02:00
Dominik Csapak
841f1ed4e1 ui: make Datacenter subscription info clickable when not valid
to make it easier for the user to buy the subscriptions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-05 13:34:23 +02:00
Dominik Csapak
9ccc0edbbd ui: fix blinking subscription info panel
not having a subscription trumps having mixed subscriptions, so we
check that correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-05 13:34:18 +02:00
Thomas Lamprecht
cea0f76433 ui: tfa: also include validity check for password field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-05 13:33:19 +02:00
Thomas Lamprecht
54416bb319 ui: tfa: use userid directly for totp url generation
as name is now a displayfield, which by default does not
gets submitted, so just use the fixed userid directly

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-05 12:31:57 +02:00
Thomas Lamprecht
2f21247048 ui: tfa: show username as read only display field for info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-05 12:26:45 +02:00
Thomas Lamprecht
9390af7b1e ui: tfa: remove fixed labelwidth
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-05 12:26:22 +02:00
Dominik Csapak
0509c444e9 ui: tfa: allow apply only on valid inputs
only when the totp form and the challenge is valid, allow pressing the
apply button, default is disabled, as the 'user_tfa' data binding was
not used anywhere else replace it with something more fitting.

change allowBlank for the challenge

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-05 10:35:50 +02:00
Thomas Lamprecht
af6390f0a9 ui: qemu: change suspend to disk icon to fa-download
it ressembles a state downloaded to disk, so quite fitting for
hibernate/suspend to disk

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-05 09:53:12 +02:00
Dominik Csapak
7bc701927e add a filter mask for the TFA Secret
this way a user cannot (easily) enter wrong characters
else if an invalid Character is entered, one can still hit apply
but not all characters will be used for the secret

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-05 09:20:47 +02:00
Dominik Csapak
805a7cb8b2 ui: parser use parseBoolean for firewall
so we detect on/ff,true/false,1/0

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-04 16:59:04 +02:00
Thomas Lamprecht
d7d4dc47ab bump version to 5.4-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 16:11:50 +02:00
Thomas Lamprecht
95e77b22cc ui: ct: fix displaying nic firewall if explicitly 0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 16:11:28 +02:00
Thomas Lamprecht
8b030d0848 ui: restore: add tooltip for unique checkbox and declare static
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 12:37:17 +02:00
Christian Ebner
c517e21226 fix: #1218 Expose unique MAC address generation on restore of VMs and CTs in UI
Adds a checkbox to the restore window, allowing the user to avoid MAC address
collisions when restoring a VM/CT to a different vmid.
When restoring to the same vmid the checkbox is not visible.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-04 11:54:31 +02:00
Thomas Lamprecht
a23ffa167a ui: followup trailing comma fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 11:54:19 +02:00