]>
git.proxmox.com Git - pve-manager-legacy.git/log
Dominik Csapak [Wed, 8 May 2019 09:12:23 +0000 (11:12 +0200)]
ui: NodeSelector: check status field for offline nodes
the memory stat is not available if the user has no audit privilges on
/nodes/NODENAME but the status is always available
also it makes simple more sense to check if it is online not only if the
memory value is there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 3 May 2019 07:28:52 +0000 (09:28 +0200)]
add new parameters cidr(6) to the network api
to also allow to set it directly and not via address/netmask
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 7 May 2019 17:51:02 +0000 (17:51 +0000)]
followup: do not break on mixed, as one with no level could follow
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 7 May 2019 17:49:43 +0000 (17:49 +0000)]
followup code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 3 May 2019 12:06:13 +0000 (14:06 +0200)]
fix #2183: fix blinking subscription and show unknown status
we skip offline nodes, check for nodes without subscription,
and finally check for different levels
if for some reason we do not get any subscription status (should not happen)
we show 'unknown'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 7 May 2019 13:22:20 +0000 (15:22 +0200)]
ui: TFAEdit: use new tfa api call
with the api call to userid/tfa we get the users tfa type as well
as the realm tfa type, so we can replace the call to the realm
with this
to properly show the loadmask, we want to initiate the api call when
the window is already shown, the 'show' event works for this
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 7 May 2019 13:22:19 +0000 (15:22 +0200)]
ui: TFAEdit: change tfa_type default to null
If a dependency of a formula returns undefined, it will not get updated,
even if the other parts of the formula would work.
So we change the default to 'null' which gets handled differently,
but serves the same purpose for us.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 7 May 2019 13:30:50 +0000 (13:30 +0000)]
follouwp: reduce duplicate code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tim Marx [Tue, 7 May 2019 11:46:03 +0000 (13:46 +0200)]
ui: storage: handle empty response in case of file upload error
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Thomas Lamprecht [Wed, 24 Apr 2019 11:28:35 +0000 (11:28 +0000)]
bump version to 5.4-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 24 Apr 2019 11:27:52 +0000 (11:27 +0000)]
api: handle undefined shellcmd parameter better
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 24 Apr 2019 10:24:21 +0000 (10:24 +0000)]
api: ceph/osd: conciser metadata array to hash mapping
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 24 Apr 2019 10:22:58 +0000 (10:22 +0000)]
followup: refactor & code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 19 Apr 2019 14:02:05 +0000 (16:02 +0200)]
adapt osd api call for ceph nautilus
ceph nautilus changed the structure of 'pg dump osds'
they moved the data one level below
parse both new and old format, and bail if it returns anything else
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominic Jäger [Tue, 23 Apr 2019 07:04:49 +0000 (09:04 +0200)]
Fix #482: Add timestamps to backup create task log
Adding timestamps to the log messages facilitates troubleshooting.
We only log this in the task log, as the syslog and the backup log
(stored together with the backup on the target storage) already have
date/time prefixed, so only the task log missed this info in case of
multiple backups tasks for a single job.
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Fabian Grünbichler [Thu, 18 Apr 2019 08:54:53 +0000 (10:54 +0200)]
call cfs_update() before retrieving cluster status
otherwise this potentially returns outdated information (like the
cluster being quorate when corosync has crashed on all nodes 5 minutes
ago).
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Wed, 17 Apr 2019 12:31:22 +0000 (14:31 +0200)]
fix #1910: urlencode usernames in UserEdit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 17 Apr 2019 12:28:22 +0000 (14:28 +0200)]
ui: tfa: handle if TFA setup with no specific type set
if we have no info about TFA in the userview (x as key instead of
x!oath or x!u2f) we disabled the whole window and the only action
was to delete
instead show all options, so the user can overwrite the setting
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 14:24:05 +0000 (14:24 +0000)]
bump version to 5.4-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 14:31:48 +0000 (14:31 +0000)]
ui: tfa edit: fix initial state of delete button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 14:16:21 +0000 (14:16 +0000)]
vzdump: code cleanup empty newlines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 14:08:54 +0000 (14:08 +0000)]
vzdump: use strftime for backup basename assembly
we already use POSIX strftime a lot in the stack, so nothing new,
also just use the perl built in localtime
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 15 Apr 2019 13:45:18 +0000 (13:45 +0000)]
fix #263: only include node rrd stats if user has Sys.Audit
It makes sense to not give users without Sys.Audit permissions to
much information over a node and this is relatively easy and cheap to
check and enforce at those two points.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Oguz Bektas <o.bektas@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 12:05:47 +0000 (12:05 +0000)]
followup: code cleanup and print error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alwin Antreich [Tue, 9 Apr 2019 08:44:43 +0000 (10:44 +0200)]
pveceph: install ceph service print sucess message
This patch adds a success message on successful ceph.service
installation. And adds a newline to make a successful ceph package
installation more visible.
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Wolfgang Bumiller [Tue, 16 Apr 2019 11:37:50 +0000 (13:37 +0200)]
fix #2177: use getValue() to get otp value
as '.value' isn't always valid
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 07:54:01 +0000 (07:54 +0000)]
tfa: disable, not mask, other cards if tfa is already setup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 07:53:27 +0000 (07:53 +0000)]
tfa: comment that TOTP secret is meant to be base32
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 07:46:59 +0000 (07:46 +0000)]
make jslint happier
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Thu, 11 Apr 2019 09:32:02 +0000 (11:32 +0200)]
ui: tfa: set initial tab based on current tfa type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Apr 2019 09:32:01 +0000 (11:32 +0200)]
ui: tfa: mask panels for not currently used types
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Apr 2019 09:32:00 +0000 (11:32 +0200)]
ui: user view: show tfa type name
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Apr 2019 09:31:59 +0000 (11:31 +0200)]
www: parser: add parseTfaType helper
The tfa keys can now contain the type as additional
information, so let's parse it out.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Tue, 16 Apr 2019 06:08:10 +0000 (06:08 +0000)]
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>
Mira Limbeck [Mon, 15 Apr 2019 13:12:17 +0000 (15:12 +0200)]
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>
Dominic Jäger [Mon, 15 Apr 2019 10:17:43 +0000 (12:17 +0200)]
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>
Thomas Lamprecht [Thu, 11 Apr 2019 07:21:12 +0000 (09:21 +0200)]
cleanup Status plugins use statements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 11 Apr 2019 07:11:07 +0000 (09:11 +0200)]
followup: code cleanup, remove unnecessary type check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Wed, 10 Apr 2019 12:49:00 +0000 (14:49 +0200)]
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>
Thomas Lamprecht [Wed, 10 Apr 2019 14:11:34 +0000 (16:11 +0200)]
bump version to 5.4-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 10 Apr 2019 14:04:34 +0000 (16:04 +0200)]
ui: dc/options: allow to edit cluster wide migration settings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 10 Apr 2019 13:35:38 +0000 (15:35 +0200)]
followuop: ui/dc/options: fix default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 10 Apr 2019 13:17:47 +0000 (15:17 +0200)]
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>
Thomas Lamprecht [Wed, 10 Apr 2019 07:56:14 +0000 (09:56 +0200)]
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>
Dominik Csapak [Tue, 9 Apr 2019 11:56:56 +0000 (13:56 +0200)]
fix #1814: do not enable disk related buttons for audit user
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 10 Apr 2019 07:48:13 +0000 (09:48 +0200)]
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>
Dominik Csapak [Wed, 10 Apr 2019 07:31:04 +0000 (09:31 +0200)]
remove non-existant property
vmComboSelector does not have such a property
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Christian Ebner [Tue, 9 Apr 2019 12:11:25 +0000 (14:11 +0200)]
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
dd0f5ef3d57ac16783fca6d52c2efe6e78655235
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Dominik Csapak [Tue, 9 Apr 2019 10:32:49 +0000 (12:32 +0200)]
use correct icon for hibernate in cmdmenu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 9 Apr 2019 10:32:48 +0000 (12:32 +0200)]
fix jslint warning
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 15:43:33 +0000 (17:43 +0200)]
bump version to 5.4-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 15:38:09 +0000 (17:38 +0200)]
d/control: bump version dependency to libpve-access-control
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 15:36:54 +0000 (17:36 +0200)]
api: ceph/mon: improve no ip error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 15:31:03 +0000 (17:31 +0200)]
ui: tfa: add onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 15:24:32 +0000 (17:24 +0200)]
ui: qemu system panel: set onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alwin Antreich [Mon, 8 Apr 2019 11:50:18 +0000 (13:50 +0200)]
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>
Thomas Lamprecht [Mon, 8 Apr 2019 14:59:50 +0000 (16:59 +0200)]
ui: tfa login: wording followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 13:48:32 +0000 (15:48 +0200)]
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>
Wolfgang Bumiller [Mon, 8 Apr 2019 11:58:30 +0000 (13:58 +0200)]
ui: use 2-step authentication for non-tfa realms
(Ext.Msg.prompt() fails on firefox...)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 8 Apr 2019 11:58:29 +0000 (13:58 +0200)]
HTTPServer: verify_ticket now returns a hash
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 8 Apr 2019 11:58:28 +0000 (13:58 +0200)]
Revert "ui: always show otp field"
This reverts commit
ca52c8e381fc5b619ee945f59f8b93f7593523e2 .
Thomas Lamprecht [Mon, 8 Apr 2019 10:30:07 +0000 (12:30 +0200)]
ui: ceph install: open ceph.com in new window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 8 Apr 2019 10:25:57 +0000 (12:25 +0200)]
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>
Thomas Lamprecht [Mon, 8 Apr 2019 07:20:22 +0000 (09:20 +0200)]
followup: reduce wording, less text has better chance to be read
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Link [Mon, 8 Apr 2019 06:43:34 +0000 (08:43 +0200)]
cleanup format.
Wolfgang Link [Mon, 8 Apr 2019 06:43:33 +0000 (08:43 +0200)]
Supplementary Ceph installation summary
Add installation node for the other participant Ceph Node.
Thomas Lamprecht [Sat, 6 Apr 2019 14:21:58 +0000 (16:21 +0200)]
update shipped aplinfo index
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 5 Apr 2019 14:08:31 +0000 (16:08 +0200)]
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>
Dominik Csapak [Fri, 5 Apr 2019 11:02:46 +0000 (13:02 +0200)]
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>
Dominik Csapak [Fri, 5 Apr 2019 11:02:45 +0000 (13:02 +0200)]
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>
Thomas Lamprecht [Fri, 5 Apr 2019 11:33:19 +0000 (13:33 +0200)]
ui: tfa: also include validity check for password field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 5 Apr 2019 10:31:54 +0000 (12:31 +0200)]
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>
Thomas Lamprecht [Fri, 5 Apr 2019 10:26:45 +0000 (12:26 +0200)]
ui: tfa: show username as read only display field for info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 5 Apr 2019 10:26:22 +0000 (12:26 +0200)]
ui: tfa: remove fixed labelwidth
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 5 Apr 2019 08:31:41 +0000 (10:31 +0200)]
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>
Thomas Lamprecht [Fri, 5 Apr 2019 07:53:11 +0000 (09:53 +0200)]
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>
Dominik Csapak [Fri, 5 Apr 2019 06:33:00 +0000 (08:33 +0200)]
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>
Dominik Csapak [Thu, 4 Apr 2019 14:59:04 +0000 (16:59 +0200)]
ui: parser use parseBoolean for firewall
so we detect on/ff,true/false,1/0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 14:11:50 +0000 (16:11 +0200)]
bump version to 5.4-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 14:11:28 +0000 (16:11 +0200)]
ui: ct: fix displaying nic firewall if explicitly 0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 10:37:17 +0000 (12:37 +0200)]
ui: restore: add tooltip for unique checkbox and declare static
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Christian Ebner [Wed, 3 Apr 2019 11:35:30 +0000 (13:35 +0200)]
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>
Thomas Lamprecht [Thu, 4 Apr 2019 09:54:19 +0000 (11:54 +0200)]
ui: followup trailing comma fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 09:09:49 +0000 (11:09 +0200)]
ui: tfa: fix secret validator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 09:25:23 +0000 (11:25 +0200)]
ui: user view: improxe "has TFA" check
detect also our old variant for TFA, so all users where the keys
values is non-empty have TFA
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 09:15:46 +0000 (11:15 +0200)]
ui: user edit: move TFA key IDs field to advanced section
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 08:18:52 +0000 (10:18 +0200)]
LoginWindow: make static
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 08:07:25 +0000 (10:07 +0200)]
ui: tfa: move qrcode creation to controller
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 07:31:27 +0000 (09:31 +0200)]
ui: tfa: make lint happy, declare globals
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 07:17:54 +0000 (09:17 +0200)]
ui: tfa: also do not allow to delete TFA if not set
better UX
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 07:09:38 +0000 (09:09 +0200)]
ui: tfa: pregenerate secret if user has not setup TFA yet
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 06:49:54 +0000 (08:49 +0200)]
ui: userview: show TFA column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 4 Apr 2019 06:35:26 +0000 (08:35 +0200)]
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>
Thomas Lamprecht [Thu, 4 Apr 2019 06:34:50 +0000 (08:34 +0200)]
ui: tfa: follow up cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Apr 2019 13:26:19 +0000 (15:26 +0200)]
ui: tfa: s/Code/Verification Code/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Apr 2019 13:18:07 +0000 (15:18 +0200)]
ui: tfa: ExtJS debug complains about - in references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Apr 2019 13:17:27 +0000 (15:17 +0200)]
ui: tfa: make jsliunt a bit more happy
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Apr 2019 13:16:24 +0000 (15:16 +0200)]
ui: tfa: move randomize button right of secret field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Apr 2019 12:36:11 +0000 (14:36 +0200)]
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>
Thomas Lamprecht [Wed, 3 Apr 2019 12:08:34 +0000 (14:08 +0200)]
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>