Commit Graph

4631 Commits

Author SHA1 Message Date
Thomas Lamprecht
94b4089d95 bump version to 6.0-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-16 08:26:04 +02:00
Thomas Lamprecht
757d69ea56 update trustedkeys
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-16 08:21:53 +02:00
Tim Marx
4ddaf2909e ui: migrate: add checkbox to enable offline migration with local resources
Added to make use of [0] and because it does make sense for non HA vm's
as well, in accordance with #2241.

[0] pve-ha-manager: 6e8b0c225405da9472f56fe5c94c94b204259caa
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-10-14 13:38:46 +02:00
Dominik Csapak
4143529241 gui: qemu: allow move disk for EFI Disk again
with commit 0ea3b8499b we changed how
we define isUsedDisk, which was true for efidisks before, but not
after

use the existing 'isEfi' varable to include them for the move_btn
(but not the resize_btn)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-10-11 12:22:50 +02:00
Thomas Lamprecht
ea6a4b5251 ui: vm opts: clarify QGA option
To make it more clear that PVE does not somehow magically injects a
QHA into the VM, but that this can be set if one has installed the
QGA in the VM themself.

So slightly adapt the label by prepending "Use" and adding a hint for
further details.

Also ensure we call it the real name everywhere, i.e., "QEMU Guest
Agent", this makes it a bit more consistent and easier to find
information for users.

Suggested-by: Aaron Lauterer <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-10 17:50:23 +02:00
Thomas Lamprecht
cd8f0fc54b ui: refactor pveQemuBiosEdit widget
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-10 17:25:12 +02:00
Stoiko Ivanov
f71b7c28ff change .pve-hint to .pmx-hint css-class
With introducing pmx-hint to pmg as well, by adding a 'pmx-hint' css-class
to proxmox-widget-toolkit, it makes sense to use the definition everywhere.
this patch drops the .pve-hint class from pve's css and replaces all occurences
in the GUI-source.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-10-09 09:11:04 +02:00
Thomas Lamprecht
37ad60a3a3 ui: vm/qga selector: convert to schematic style
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-08 14:41:05 +02:00
Thomas Lamprecht
3b0facc93f ui: vm/options: use 'none' if no spice enhancement is set
to make it more clear that this is not a single option which can be
disabled or enabled, but that it consists of multiple options

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-07 16:21:46 +02:00
Aaron Lauterer
9c22da325d ui: vm-options: add spice enhancements
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-10-07 16:16:34 +02:00
Aaron Lauterer
1d73b8d9f5 ui: add spice enhancements form component
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-10-07 16:16:34 +02:00
Thomas Lamprecht
9cd36f8d85 bump version to 6.0-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-04 16:42:00 +02:00
Thomas Lamprecht
4a7248d4ea ui: make parsePropertyString less picky
simply return a empty object for cases we would get an exception
anyway, this is not wrong and allows easier usage for cases where
it's not sure if the value is set or not.

We could still do a Ext.isDebugEnabled() check and then throw up, but
this really should not matter much and I do not like if my debug mode
breaks and the non-debug not..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-04 16:20:24 +02:00
Mira Limbeck
a19aa23819 fix #2389: ceph wizard showing network of target node
Before this patch the wizard shows the available networks for the node
one is connected to, not the actual target node where ceph is
configured. This patch changes this to access the network information of
the target node instead of the local one.
It could be that not every node in the cluster is part of the ceph
cluster (and the same network) which makes this useful.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-10-04 14:59:48 +02:00
Thomas Lamprecht
a3c30fbca3 ui: settings/xterm.js: add margin between reset/save button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-04 14:40:24 +02:00
Thomas Lamprecht
0ddacca181 ui: labelWidth gets px suffixed so auto won't work
This is a common mistake with widths in ExtJS, most of them have the
'px' unit implicit, so using things like 'auto' or '100%' does not
works with them.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-04 14:38:34 +02:00
Dominic Jäger
bd7aef8664 Harmonize reset buttons in "My Settings"
- Rename both buttons to a single word as it is clear where they belong
  to. Use "Reset" instead of "Clear" as you can rather "Reset a saved
  user name" than "Clear a layout".
- Use container instead of panels as they are simpler (e.g. no "border:
  false" necessary) and sufficient.
- Align the buttons at the right for visual appeal.
- Use title case for the user name label for consistency.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2019-10-03 12:26:12 +02:00
Thomas Lamprecht
e87bc6bee4 ui: cpuselector: use QEMU and Host as vendors instead of Other
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-02 16:17:00 +02:00
Stefan Reiter
06dd1330df Make CPU Model Selector a searchable grid view
Uses a ComboGrid with search feature and a column for vendor. Can be
sorted by both columns.

Default sort is as given in this file, I tried to align it as
* AMD
* Intel
* Other
alphabetically and in QEMU order (as before, seems to be release date?)
within those "groups".

Doesn't work with value set in widget definition (would need to be
preferredValue), but we always call setValue() anyway (and if we don't,
value will be '', aka the default, which is correct too), so just remove
that from ProcessorEdit.js.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-02 13:35:44 +02:00
Thomas Lamprecht
af89f6820b ui: openVNCViewer: mobile has no Ext.state.Manager
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 16:01:29 +02:00
Thomas Lamprecht
627548d6fb mobile: implement login with OTP based TFA enabled
roughly copied over from the full-fledged manager UI, but enough
differences between manager <-> mobile and ExtJS <-> Sencha Touch to
just adapt it here instead of having a force-shared implementation
with lots of corner case checks and even more callback methods..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 16:01:29 +02:00
Thomas Lamprecht
ab17ebcdc4 mobile: workspace: reuse Proxmox.Utils.setAuthData
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 16:00:44 +02:00
Thomas Lamprecht
3986c86786 mobile: datacenter: fix version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 16:00:44 +02:00
Thomas Lamprecht
57e61f82c9 ui: loginwindow: reduce empty whitespace cluttering
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 16:00:44 +02:00
Thomas Lamprecht
c570b6a96e ui: vm/efi: always allow to add EFI disk even if OVMF is not yet set
As this is annoying else, especially if the change from default to
ovmf BIOS is already a pending change..

A simple hint is enough, we do not do anything with the EFI disk if
OVMF is not set to be used anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-01 09:30:06 +02:00
Alexandre Derumier
3683e43216 cpumodel: qemu 4.0: add Skylake-Server, Cascadelake-Server, KnightsMill
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-09-30 16:47:10 +02:00
Aaron Lauterer
536336130a ui: qemubiosedit: add gettext to efi disk hint
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-30 16:46:17 +02:00
Thomas Lamprecht
60a7c0a03c updated shipped aplinfo index
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-27 15:56:06 +02:00
Thomas Lamprecht
bce6af8520 ui: usbselector: show product name and enable anyMatch search
Show "Product (usbid)" instead of only "usbid" for slightly better
UX.

Still allows to only enter a USBID and hit enter, even if the ID is
not in the store (i.e., currently unplugged).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 18:05:24 +02:00
Thomas Lamprecht
ff49fd4623 ui: usbselector: refactor USB Speed rendering, add USB 3.1
Fixes also an issue where unregonized (often faster) devices would
get recognized as "USB 1.x" due to the else fallback.

Now, if we do not recognize the speed value, just print the speed
with the MBps unit (it's not exactly megabit per second, but mega
baud (= symbols) per second - the effective rate is dependent on the
used signal encoding)

adapt widths a bit further

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 18:04:32 +02:00
Thomas Lamprecht
2278a74bc2 ui: usbselector: add empty text for UX
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 18:00:18 +02:00
Aaron Lauterer
98dcc9fb54 ui: vm/usbselector: cleanup unused code
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-26 17:25:25 +02:00
Aaron Lauterer
0d077e8150 ui: vm/usbedit: simplify USB3 handling
Enable USB3 by default. There are no restrictions anymore that the speed
of the dev must match the USB3 speed. The xhci controller can deal with
USB 2 and 1 devices. USB3 devices can be plugged in a USB2 (ehci)
controller. As discussed in [0]

When using a USB device for SPICE passthrough my tests showed that USB2
devices connecting to the xhci controller work but a USB3 device passed
via Spice cannot connect to an ehci controller (no USB3 enabled).

qemu-server 6.0-9 supports USB3 also for Spice USB passthrough. See
commit 733234b [1].

All this means we can get rid of the separate handling of USB3 and non
USB3 devices and leave the decision to the user if USB3 should be
enabled or not.

[0]: https://pve.proxmox.com/pipermail/pve-devel/2019-September/039131.html
[1]: https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=733234be04d585febd74c655d8b82d17ebf9e133

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 17:02:23 +02:00
Thomas Lamprecht
d155bbc960 ui: usbselector/usbedit: make widths a bit larger
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 16:39:02 +02:00
Thomas Lamprecht
dcf22a4bca ui: usbselector: return string not false when invalid
If the return value is not exact Boolean(true) this is used for
error, so false gets converted to string and shown in error tooltip,
address that

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-26 16:36:25 +02:00
Aaron Lauterer
cc9c5af4aa ui: vm/usbedit: add gettext to label
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-26 07:31:18 +02:00
Thomas Lamprecht
17f6a3f6f4 ui: vm/usbedit: don't use getUSBValue to avoid possible duplicate "usb3"
As getUSBValue() always added the "usb3" property if the selected
device was recognized as USB3. But we can now also pass such a device
as USB2 so lift this restriction - which also fixes a bug for USB3
selected devices with the USB3 checkbox set.

The solution also avoids the me.down query, which is nice too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-23 17:08:08 +02:00
Thomas Lamprecht
2e8f031f99 ui: vm/usbedit: code & indentation cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-23 10:01:27 +02:00
Thomas Lamprecht
7c72eb5112 ui: vm/usbedit: cleanup and refactor usb selector change
split the long ternary operation into a common if/else, to make it
readable.

Also, remove the usb3field.isDisabled check as:
1. we do not disable it anywhere anymore
2. if we would, it makes sense to do this anyhow

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-23 08:42:25 +02:00
Thomas Lamprecht
4292a318ee ui: vm/usbedit: use simple bind for radio button changes
reduces code and is more expressive

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-23 08:18:15 +02:00
Thomas Lamprecht
410313f8b2 ui: vm/usbedit: omit usb3 changes for spice completely
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-23 08:17:56 +02:00
Aaron Lauterer
4d51f6572b usb: Enable USB3 for Spice USB passthrough
Instead of having two times the check if the USB3 setting needs to be
added to the config string it is now checked at one place only.

If USB3 is checked for a non USB3 device it will be attached to the USB2
root hub of the xhci controller.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-23 07:44:57 +02:00
Alexandre Derumier
e06c0dab3d api2 : network : use vtysh for frr reload instead systemd
avoid extra dep on frr-pythontools and parse error messages

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-09-19 15:17:09 +02:00
Aaron Lauterer
e7d6f69490 ui: Add online help reference to VM bios settings
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-19 15:07:34 +02:00
Aaron Lauterer
d2d16a78b8 ui: Add online help reference to VM display settings
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-19 15:07:17 +02:00
Thomas Lamprecht
f07d8e6050 ui: power menu: add more tooltips
For reset and reboot.
Shutdown and pause is pretty self-explanatory, so omit that

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-19 14:12:38 +02:00
Dominik Csapak
c48535b16c gui: qemu: add reboot button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-09-19 13:21:17 +02:00
Aaron Lauterer
fbd0335fbf Cleanup: align backslashes in manager6 Makefile
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2019-09-18 12:00:53 +02:00
Thomas Lamprecht
4547052ec5 update appliance info for PMG 6.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-10 11:45:25 +02:00
Dominik Csapak
ecf4b557ae fix login window on chrome
labelWidth: 'auto' is not valid since extjs simply
adds 'px' and sets it as width which would result in:

width: 'autopx';

which is not valid css. chrome/chromium had a change such that this now
produces the wrong height in the login bottom 'button bar'

250 should be enough for all translations and we do not have
any other element there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-09-06 16:22:44 +02:00