3998 Commits

Author SHA1 Message Date
Thomas Lamprecht
5774dcf729 d/control: bump version dependency to libpve-access-control
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
9f197c22b5 ui: support u2f authentication and configuration
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
ca52c8e381 ui: always show otp field
But make it optional.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
db3496c517 ui: add qrcode.min.js
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
13588ca260 add u2f-api.js
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
7abd16a0d0 store u2f challenges in the rpc environment
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
eaa62fca55 fixup whitespaces
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 12:56:28 +02:00
Friedrich Ramberger
e60cdf1df0 Add Ceph, iscsi and more disk and zfs information to pvereport
Following items added to pvereport:

* more details about disks
* iscsi information
* more zfs information
* ceph information (only when ceph.conf exists)

When running from command line now report progress is shown at the console (STDERR)
2019-04-03 12:53:05 +02:00
Christian Ebner
b545329ad9 fix: #1145 enable CT/VM firewall by default on creation via WebUI
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-03 11:25:25 +02:00
Thomas Lamprecht
c3924a0aec follow up: newline at end of file
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-02 12:53:32 +02:00
Dominik Csapak
f399e19ff2 adapt ceph log for new logview
since there is no 'doAttemptLoad' anymore, we use the
failCallback to overwrite the behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-02 12:52:42 +02:00
Christian Ebner
d898fa7a42 Allow to set the firewall log rate limit and burst from the UI
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-01 14:59:16 +02:00
Tim Marx
c7933e18f1 ui: ceph installer: set initial tab depending on current state
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-04-01 13:58:47 +02:00
Thomas Lamprecht
7203288bb7 ui: ct/vm: add tooltip to hibernate and stop button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-30 15:21:12 +01:00
Dominik Csapak
710ad2e318 gui: show Resume button if suspended
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 14:36:31 +01:00
Dominik Csapak
3c3b966acc gui: add Hibernate/Pause to CmdMenu/Shutdown Menu
and have it in order of impact on the guest
(pause, hibernate, poweroff, stop)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 14:36:31 +01:00
Dominik Csapak
9380c82786 gui: CmdMenu: rename suspend to paus
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 14:36:31 +01:00
Dominik Csapak
f3b1d7e64e gui: CmdMenu: hide the start and suspend button conditionally
only to disable them wastes space for no reason and might confuse users

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 14:36:31 +01:00
Thomas Lamprecht
9c993417ea fixup trailing whitespaces
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-29 13:12:11 +01:00
Tim Marx
bf0d58d9e2 ui: ceph install: remove advanced option pg_bits
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Tim Marx
b8f48f8a15 ui: ceph: differentiate between install & configure only
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Thomas Lamprecht
b14d9045b5 followup: remove unnecessary references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:53:30 +01:00
Thomas Lamprecht
6ff80f10ce fix schema error: do not submit efidisk checkbox value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:51:47 +01:00
Dominik Csapak
ee23a846a8 gui: qemu/HardwareView: add machine to HardwareView
so the user can edit this via the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
1a786760e8 gui: qemu/HardwareView: move scsihw and bios to HardwareView
it is guest hardware and not really an option, and we have it now
in the wizard, so it makes sense to have it here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
365df2437b gui: qemu/HardwareView: remove Keyboard setting
this is deprecated and should not be necessary anymore, since
qemu and novnc can handle this better if no keyboard layout is set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
796be2884f gui: qemu/HardwareView: add space between groups
so that we can add items between them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
cf7ed2b571 gui: add system panel to the vm creation wizard
for this we have to adapt the scsiController logic slightly, so that
the ostype change sets the viewmodel, which in turn changes the
bound fields (one one the system tab, and the displayfield on the hd tab)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
4446b5caab gui: add qemu/SystemEdit
contains the inputpanel for the coming system tab in the vm creation
wizard, where the user can configure the vm system hardware like
the scsi controller, display, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
82afbfaee8 gui: DiskStorageSelector: implement disabling
this patch implements disabling for the DiskStorageSelector, which
resets the storage and triggers a validity change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
d79b57f2c8 gui: qemu/HardwareView: prepare Hardwareview for font-awesome icons
we want to be able to use fontawesome icons directly instead of having
to use extracted png in css classes

this patch makes it possible to use 'iconCls' with the font-awesome icon name

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Thomas Lamprecht
e652ef9a67 ceph install/config: add hint for additional monitors
this info was already here in the heading once, add it as pve-hint
styled display field at the bottom.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:00:34 +01:00
Thomas Lamprecht
7716c62a3d ceph install/config: remove node displayfield
does not brings real value here, one sees the selected node also
through the blur, and it shouldn't matter at this point, the cluster
config is for all nodes (using ceph) and the monitor has its own node
selector anyway, so do not cloud user interface to much.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:59:04 +01:00
Thomas Lamprecht
ad36ea7dd2 fixup: ceph: do not scream at user with html headings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:57:45 +01:00
Tim Marx
91f234d574 ui: ceph installer: mask configuration if not needed & add monitor
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 16:21:51 +01:00
Thomas Lamprecht
d264c0cff5 fixup: remove allowBlank and ensure interworking of size is correct
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:17:39 +01:00
Tim Marx
5e1c441c18 ui: ceph installer: make replicas & minreplicas fields dependent
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 16:17:36 +01:00
Tim Marx
6b892dd0ec ui: ceph installer: adapt wording of further instructions
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 14:18:14 +01:00
Tim Marx
762bea6d93 api: ceph: ensure calls get proxied to correct node
If calls aren't proxied to the selected node, which seems legit in
 some cases, this will cause some misleading errors while ceph is
 not installed on that node. Therefor the calls should now always get
 proxied.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 14:16:49 +01:00
Oguz Bektas
d6370b38ad add 'pvs' to pvereport
get information about physical volumes

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-03-28 14:12:22 +01:00
Thomas Lamprecht
e7f407aa08 pveceph install: be a bit more verbose
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 13:24:12 +01:00
Dominik Csapak
c239084b6a add tooltips to the tree
to give the user better feedback about the various icons (play, pause,
warning, error, etc) add a tooltip to the tree elements which
contain that information

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-26 08:50:19 +01:00
Dominik Csapak
b3f1c7e9a5 use localhost instead of 127.0.0.1 to listen with spiceterm
that is the name we use to connect from spiceproxy and can be either
ipv4 or ipv6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-26 07:18:42 +01:00
Thomas Lamprecht
f4a9b51332 api/ceph: allow default value for service start/stop
it's a bit strange that one cannot pass the default value explicitly,
helpfull when calling this API path through the CLI envrionment,
which currently cannot have optional fixed-positioned default values

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-25 13:33:07 +01:00
Dominik Csapak
4090c97885 allow deletion of mac prefix
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-22 14:01:40 +01:00
Dominik Csapak
6285bbf70b gui: show lock in status bar of vms/cts
also add 'tbarSpacing' parameter to ConfigPanel, that controls
the spacing after the title

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-21 18:39:27 +01:00
Thomas Lamprecht
d6a504878b ui: ceph install: do not translate replicas
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 10:42:22 +01:00
Thomas Lamprecht
0cf38b0587 followup: move to advanced column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 09:58:02 +01:00
Christian Ebner
aa56e96eac fix: # 2123 Logging of user defined firewall rules
This patch relies on the corresponding patch to pve-firewall, adding the user
defined log levels for firewall rules.

By this, the user can select a per-rule log level for self defined rules. These
are independent of the global log level, which is defined in the firewall options.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-03-20 08:55:28 +01:00
Thomas Lamprecht
fda04dd4e1 api/apt: remove unused variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-19 14:48:21 +01:00