Thomas Lamprecht
4c86db122c
LoginWindow: make static
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 10:18:52 +02:00
Thomas Lamprecht
7b8d68fe5e
ui: tfa: move qrcode creation to controller
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 10:07:25 +02:00
Thomas Lamprecht
6a1c9c29d2
ui: tfa: make lint happy, declare globals
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 09:31:27 +02:00
Thomas Lamprecht
aa8d628fc8
ui: tfa: also do not allow to delete TFA if not set
...
better UX
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 09:18:00 +02:00
Thomas Lamprecht
28ec45b20d
ui: tfa: pregenerate secret if user has not setup TFA yet
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 09:09:38 +02:00
Thomas Lamprecht
bf0754fd8d
ui: userview: show TFA column
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 08:49:54 +02:00
Thomas Lamprecht
2c2197a37e
ui: tfa: hide digit/duration fields as some auth apps are broken
...
Google Authenticator, for example, just ignores it and thus one
cannot use they produced verification codes...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 08:35:28 +02:00
Thomas Lamprecht
31675561eb
ui: tfa: follow up cleanups
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 08:34:50 +02:00
Thomas Lamprecht
0abfdbfa98
ui: tfa: s/Code/Verification Code/
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
b688436d44
ui: tfa: ExtJS debug complains about - in references
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
34c08874de
ui: tfa: make jsliunt a bit more happy
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
a8740316e3
ui: tfa: move randomize button right of secret field
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
a12805fbd4
ui: include qrcode and u2f libs also if debug is on
...
because it's really not ideal if enabling debug breaks things...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
ef50fb2903
ui: TFA: hide accout name
...
It's best to let this to the users real account name, it just
clutters the interface, an there's no real value in it.
One can already use the "issuer" field to add personalized info.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
7385f1edcb
d/control: bump version dependency to proxmox-widget-toolkit
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 15:26:37 +02:00
Thomas Lamprecht
cdf1873cb4
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
24d2ed8c27
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
1702b529b6
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
16e13d2aef
ui: add qrcode.min.js
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
8c6ad4f6d1
add u2f-api.js
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-03 15:26:37 +02:00
Wolfgang Bumiller
7541d6a788
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
2bdf85f84c
fixup whitespaces
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 12:56:28 +02:00
Friedrich Ramberger
1cf7db21c5
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
b29918337e
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
facb06239b
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
0d3edfa945
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
40120a3120
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
4e36fbabe8
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
833b048f9f
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
38f7580279
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
af856c9082
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
a33f612bcf
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
995a8ea2c6
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
7412755d27
fixup trailing whitespaces
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-29 13:12:11 +01:00
Tim Marx
bf996912e2
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
f992ef807e
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
11515a43dd
followup: remove unnecessary references
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:53:30 +01:00
Thomas Lamprecht
c24fdb62b9
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
aae2273c61
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
439d78210a
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
755f4e5469
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
8d554444e6
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
471d03aa6b
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
a1ee14a296
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
5d660cf56b
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
6a040799f4
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
71798b4b02
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
e072b27906
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
218c9be50b
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
8ba2d6692f
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