]>
git.proxmox.com Git - pve-manager.git/log
Fabian Ebner [Thu, 6 May 2021 12:16:31 +0000 (14:16 +0200)]
ui: backup window: switch to two-column layout
in preparation to add more items in the future, e.g. removal settings, note
container.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Thu, 6 May 2021 12:16:30 +0000 (14:16 +0200)]
ui: backup window: switch to proxmox input panel
It's not an Ext.form.Panel, so there is no fieldDefaults.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Thu, 6 May 2021 12:16:29 +0000 (14:16 +0200)]
ui: backup window: set loading mask early enough
but not too early. Because of an ExtJS bug/limitation, it can only happen after
the window is rendered, so use an afterrender listener. Without setting the
mask there, the window will be active already before the storage selectors
change listener triggers, which can only happen after the storage selectors
store is loaded.
Made noticable by the new "filling in defaults" behavior, but the issue was
already present earlier, where the compression selector for PBS storages would
be disabled late, after the window was already active.
Also move the setValue call into the afterrender listener, so ordering is easy
to verify/more stable.
Reported-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Thu, 6 May 2021 12:16:28 +0000 (14:16 +0200)]
ui: backup window: also set initialDefaults variable in failure case
so that mailto and mode are not overwritten if the first /vzdump/defaults call
failed, but a later one succeeds.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Thu, 6 May 2021 12:16:27 +0000 (14:16 +0200)]
ui: backup window: avoid issuing API call with null/empty parameter
could be triggered when there are no backup storages at all configured or if
the 'Backup now' button is clicked before the storage selector from the guests
'Backup' tab could load its store.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Thu, 17 Jun 2021 14:29:00 +0000 (16:29 +0200)]
ui: parser: make comment single-line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 17 Jun 2021 14:27:44 +0000 (16:27 +0200)]
api: nodes: fix typo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Ebner [Wed, 16 Jun 2021 07:26:55 +0000 (09:26 +0200)]
ui: storage: update hint about prune-backups default
and also remove the keepLastEmptyText, which too suggested the old default.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Wed, 16 Jun 2021 07:26:54 +0000 (09:26 +0200)]
pve6to7: add check for CIFS credentials
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Grünbichler [Wed, 16 Jun 2021 11:26:38 +0000 (13:26 +0200)]
pve6to7: improve vzdump.cron check
handle errors, and fix filename referenced in the warning.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Ebner [Wed, 16 Jun 2021 07:26:53 +0000 (09:26 +0200)]
pve6to7: add checks for backup retention options
Note that it's not possible to use read_vzdump_defaults() and storage_config(),
because they auto-converts maxfiles already.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Wed, 16 Jun 2021 09:22:45 +0000 (11:22 +0200)]
ui: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 15 Jun 2021 11:07:35 +0000 (13:07 +0200)]
ui: ceph: select Pacific as default release
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 15 Jun 2021 10:28:41 +0000 (12:28 +0200)]
add beta text with link to bugtracker
Thomas Lamprecht [Thu, 10 Jun 2021 07:16:38 +0000 (09:16 +0200)]
ui: TFA: use correct user-id value when creating TOTP QR code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:46 +0000 (15:49 +0200)]
cli: pveceph: remove outdated comment
Already removed by commit
00fa70bfd9acbcd4ff20d426c1c5bf9fb82d9ee9 .
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:45 +0000 (15:49 +0200)]
api: ceph: osd: create: rename size parameters
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:44 +0000 (15:49 +0200)]
api: ceph: remove moved 'flags' calls
living below /cluster/ceph now. Frontend was adapted as part of the move in
commit
1225095df1c326ce55b71bac994a91a1a71168fb
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:43 +0000 (15:49 +0200)]
api: ceph: remove obsoleted disks call
replaced by /nodes/{node}/disks/list
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:42 +0000 (15:49 +0200)]
api: move cpu path into qemu/capabilities
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:41 +0000 (15:49 +0200)]
api: nodes: remove deprecated upgrade parameter for vncshell
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:40 +0000 (15:49 +0200)]
api: nodes: remove deprecated upgrade parameter for spiceshell
The change not to pass the 'upgrade' parameter in the frontend was made in
953f6e9bb3ab31ad074f1040d7143ecfa79e11e8 (the commit doesn't talk about it, it's
likely an accidental squash of two changes)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:39 +0000 (15:49 +0200)]
api: nodes: remove deprecated upgrade parameter for xtermjs
The switch to 'cmd' was made by commit
af39a6f09651e15d1c83536e25493a2212efd7d3
in the pve-xtermjs repo and is included in 4.7.0
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:38 +0000 (15:49 +0200)]
Revert "VZDump: add TARFILE to environment for hookscripts"
This reverts commit
5d0d14f179a740a13359d002f7e030665ee0f21e .
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:37 +0000 (15:49 +0200)]
test: vzdump: adapt to new default
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:36 +0000 (15:49 +0200)]
configs: vzdump: use prune-backups instead of the deprecated maxfiles
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 4 Jun 2021 13:49:35 +0000 (15:49 +0200)]
vzdump: remove deprecated size parameter
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Thomas Lamprecht [Wed, 2 Jun 2021 14:31:31 +0000 (16:31 +0200)]
bump version to 7.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Fabian Ebner [Fri, 23 Apr 2021 10:15:01 +0000 (12:15 +0200)]
ui: disk list: enable wipe disk button
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Ebner [Fri, 23 Apr 2021 10:15:00 +0000 (12:15 +0200)]
ui: add task description for wipe disk
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Fabian Grünbichler [Tue, 1 Jun 2021 09:30:17 +0000 (11:30 +0200)]
d/control: bump versioned dependencies on pve-access-control
to -2 containing 'Pool.Audit'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 1 Jun 2021 09:04:01 +0000 (11:04 +0200)]
d/control: add libpod-parser-perl to B-D
'podselect' was moved there in bullseye.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Tue, 1 Jun 2021 08:54:28 +0000 (10:54 +0200)]
d/control: add pve-eslint to B-D
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Lorenz Stechauner [Thu, 20 May 2021 10:03:40 +0000 (12:03 +0200)]
fix #3402: add Pool.Audit permission
everywhere where Pool.Allocate was unnecessarly used it was replaced
with Pool.Audit.
`/cluster/resources` now returns pool infomation for guests only if
the requesting user has the Pool.Audit permission on the pool.
`/pool/` now returns only pools where the requesting user has the
Pool.Audit permission.
Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
Thomas Lamprecht [Thu, 27 May 2021 12:49:57 +0000 (14:49 +0200)]
actually install pve6to7 tool
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 28 May 2021 09:12:57 +0000 (11:12 +0200)]
buildsys: www: touch incremental-lint in check target to avoid triggering twice
Without this the check and the, through the 'install' target
triggered, incremental lint target triggered a full eslint run.
Makes it similar to what PBS did from the beginning of eslint
inclusion..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 28 May 2021 09:11:15 +0000 (11:11 +0200)]
buildsys: www: make 'all' target a no-op
preparatory steps for better make dependencies when executing the
lint check.
People can still just make the .js targets directly or use the
install target.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 27 May 2021 11:42:48 +0000 (13:42 +0200)]
ui: ceph/Status: fix icon in status grid
there was a spurious leftover single quote("'"), that prevented
the correct css class to be inserted
(e.g., fa-exclamation' instead of fa-exclamation)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:12 +0000 (11:01 +0200)]
ui: form/CalendarEvent: remove displayField from config
in extjs 7.0, setting the displayField overwrites the displayTpl, which
we use here
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:11 +0000 (11:01 +0200)]
ui: tree/SnapshotTree: use beforedestroy instead of destroy
on extjs 7.0, this triggers when the handler is not available anymore,
so use the beforedestroy event instead
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:10 +0000 (11:01 +0200)]
ui: panel/ConfigPanel: return early on no selection
treelist technically allows deselection and this happens on destruction
in extjs 7.0 so simply return early to avoid errors accessing
components that do not exist anymore
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:09 +0000 (11:01 +0200)]
ui: panel/ConfigPanel: change ui class to pve-nav
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:08 +0000 (11:01 +0200)]
ui: ResourceGrid: move first update to afterrender
else with extjs 7.0, the first render does not happen yet, because
the grid is not visible at that time
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 26 May 2021 09:01:07 +0000 (11:01 +0200)]
ui: form/VMCPUFlagSelector: mark radio-buttons as 'not form fields'
else they might get picked up individually
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 26 May 2021 15:38:22 +0000 (17:38 +0200)]
influxdb: rework comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Lorenz Stechauner [Wed, 26 May 2021 09:25:11 +0000 (11:25 +0200)]
fix #3440: influxdb: remove duplicate vmid tag
remove vmid from data part, it is already contained in object part.
this is accomplished by adding the parameter $excluded to
build_influxdb_payload().
Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
Thomas Lamprecht [Tue, 25 May 2021 08:48:41 +0000 (10:48 +0200)]
bump version to 7.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 23 May 2021 16:04:13 +0000 (18:04 +0200)]
ui: nav: move bg-color override to CSS class
colors overrides really must not happen inline...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Thu, 20 May 2021 14:59:16 +0000 (16:59 +0200)]
ui: ResourceGrid: correctly remove ResourceStore listener
while the function in '.on' and '.un' are identical, they are not the
*same* function, thus the '.un' does not really remove the listener,
and we have leftover references to the grid which means it will never
really garbage-collected
instead, use '.mon' on the grid, which automatically cleans up the
listeners
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 20 May 2021 14:59:15 +0000 (16:59 +0200)]
ui: dc/RoleView: add variableRowHeight
otherwise the grid is confused about the row height (since it is
variable here) and renders the scrollbars weirdly
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 20 May 2021 14:59:14 +0000 (16:59 +0200)]
ui: Parser: fix bind and dev mounts for lxc
match returns 'null' if the regex does not match, which is not
destructurable. so we have to save the match and check if it valid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 20 May 2021 18:55:02 +0000 (20:55 +0200)]
pveceph: allow to select test repository on installation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 20 May 2021 18:54:52 +0000 (20:54 +0200)]
enable ceph 16.2 pacific
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 20 May 2021 18:54:07 +0000 (20:54 +0200)]
buildsys: change upload/config dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 20 May 2021 18:52:52 +0000 (20:52 +0200)]
Revert "buildsys: change upload/repo dist to bullseye"
pushed by mistake, please ignore this and the previous one
This reverts commit
4816c96931fb52993dac6ba966303ebf25d30a12 .
Thomas Lamprecht [Thu, 20 May 2021 12:55:53 +0000 (14:55 +0200)]
buildsys: change upload/repo dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 16:15:54 +0000 (18:15 +0200)]
d/control: order ifupdown2 first so that it gets prefered
Lets still allow the old on for backwards compatibility, we may want
to phase that out with Bookworm or so
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 16:15:24 +0000 (18:15 +0200)]
d/copyright: update years
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 16:15:05 +0000 (18:15 +0200)]
d/rules: catch all dh rules goes to top
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 16:14:17 +0000 (18:14 +0200)]
d/control: update dh compat level to 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 17:02:51 +0000 (19:02 +0200)]
pve5to6: preparatory steps for when 7 is released
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 17:01:51 +0000 (19:01 +0200)]
add pve6to7 WIP
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 16:25:45 +0000 (18:25 +0200)]
pveceph install: fix fallback for default version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 15:51:51 +0000 (17:51 +0200)]
bump version to 6.4-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:56:50 +0000 (16:56 +0200)]
enable eslint on build
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:49:41 +0000 (16:49 +0200)]
ui: form/storage selector: re-validate after storage list was reloaded
two style fixes thrown in
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:51:16 +0000 (16:51 +0200)]
ui: window/Migrate: avoid triggering another info request if already in-progress
use the node as key, so that a target switch would still trigger a
new one - else there's a slight chance that a user could get the
check out-of-sync (from another node).
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:48:27 +0000 (16:48 +0200)]
ui: window/Migrate: eslint fixes and code cleanup/refactoring/modernize
Use the Proxmox.Async.api2 helper to avoid deep nesting
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:10:17 +0000 (16:10 +0200)]
ui: window/Browser Settings: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:10:04 +0000 (16:10 +0200)]
ui: window/FW Log Rate: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:08:52 +0000 (16:08 +0200)]
ui: window/wizard: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:08:14 +0000 (16:08 +0200)]
ui: window/ceph install: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:08:01 +0000 (16:08 +0200)]
ui: window/bulkaction: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 14:07:51 +0000 (16:07 +0200)]
ui: window/startup: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 12:17:50 +0000 (14:17 +0200)]
ui: snapshot tree: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 10:56:22 +0000 (12:56 +0200)]
ui: panel/StatusPanel: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 10:56:21 +0000 (12:56 +0200)]
ui: panel/RunningChart: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 10:56:20 +0000 (12:56 +0200)]
ui: panel/NotesView: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 10:56:19 +0000 (12:56 +0200)]
ui: panel/IPSet: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 10:56:18 +0000 (12:56 +0200)]
ui: panel/ConfigPanel: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 12:00:59 +0000 (14:00 +0200)]
ui: resource tree: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:30:06 +0000 (12:30 +0200)]
ui: form/pci: add simple IOMMU group renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:29:29 +0000 (12:29 +0200)]
ui: qemu/PCI Edit: code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 09:14:19 +0000 (11:14 +0200)]
ui: storage/PBS edit: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Dominic Jäger [Wed, 19 May 2021 09:14:18 +0000 (11:14 +0200)]
ui: qemu: eslint fixes
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:11:46 +0000 (12:11 +0200)]
ui: node/ZFS-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:11:37 +0000 (12:11 +0200)]
ui: node/LVM-Thin-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:11:27 +0000 (12:11 +0200)]
ui: node/LVM-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 10:11:19 +0000 (12:11 +0200)]
ui: node/directory-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 09:17:24 +0000 (11:17 +0200)]
ui: node/command menu: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 09:07:32 +0000 (11:07 +0200)]
ui: node certs: use new loadFile helper to avoid confusion
we did not handle those cert related files like SSH keys, so do not
suggest so.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 09:07:03 +0000 (11:07 +0200)]
ui: utils: split out general "load local file" helper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 09:05:18 +0000 (11:05 +0200)]
ui: node/certs: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 09:03:28 +0000 (11:03 +0200)]
ui: node certs: make delete button safer, add confirmation
IMO the behavior was really dangerous prev., possibly causing
downtime of API accessing stuff with a single mistaken click.
Follow our general pattern and ask for confirmation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 08:19:07 +0000 (10:19 +0200)]
ui: lxc/context cmd: factor out confirmed CT command
unifying CT and VM command menu would be pretty easy now, but I need
to wrap the eslint stuff up, so cannot chase all tails..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 08:18:48 +0000 (10:18 +0200)]
fixup! ui: qemu/context cmd: code cleanup/refactoring/modernize
Thomas Lamprecht [Wed, 19 May 2021 08:14:18 +0000 (10:14 +0200)]
ui: lxc/context cmd: code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 08:00:57 +0000 (10:00 +0200)]
ui: menu/item: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 07:58:35 +0000 (09:58 +0200)]
ui: menu/template: hide clone/migrate button if not possible
Depending on permissions and cluster state those action may not make
sense to be shown.
This streamlines behavior with the one we already have for
non-templates.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 19 May 2021 07:56:50 +0000 (09:56 +0200)]
ui: menu/template: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>