457 Commits

Author SHA1 Message Date
Thomas Lamprecht
452bdb03ed ui: backuo job detail: show next-run info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Thomas Lamprecht
8aeb7146f9 ui: backuo jobs: move next-run column beside schedule one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Dominik Csapak
c048ad30c8 vzdump: add new 'next-run' field for vzdump job listing
and calculate it by getting the next event after 'now' since
we currently have no way to get the last run time for jobs only running
on different cluster nodes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-01-13 15:33:41 +01:00
Fabian Ebner
392e3cf11d sorters: use correct property 'direction' and keep default 'ASC'
Ext.util.Sorter does not have an 'order' property, so 'order: DESC'
didn't have an effect. The default is 'ASC' and it is arguably the
preferred direction for all affected sorters anyways.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-12-16 10:11:48 +01:00
Thomas Lamprecht
c24be90e01 ui: dc/openID realm: allow to edit acr values
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:30:38 +01:00
Thomas Lamprecht
381bc55b51 ui: dc/openID realm: allow to edit prompt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:30:30 +01:00
Thomas Lamprecht
a72024ab47 ui: dc/openID realm: allow to edit scopes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:30:14 +01:00
Thomas Lamprecht
41a58b353d ui: openID: make username-claim field editable for arbitrary values
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:04:38 +01:00
Thomas Lamprecht
80cfedf852 ui: dc/options: fix renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-12 18:29:33 +01:00
Thomas Lamprecht
fcb267e361 ui: backup: add retention column
half of this patch has already applied with the last commit by
mistake..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-12 18:19:20 +01:00
Thomas Lamprecht
c680135252 ui: ceph: fixup optional chaining operator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-12 17:06:50 +01:00
Dominik Csapak
1a8bd90108 ui: dc/Backup: fix 'run now' button for jobs with comments
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-12 11:00:59 +01:00
Thomas Lamprecht
fd6c879471 ui: dc options: fix indentation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:04 +01:00
Thomas Lamprecht
411a4577ee ui: tfa: include cluster or node name in issuer
As else people may have a hard time of figuring out for which host a
factor is valid.

As a factor is valid for every cluster node we prefer the cluster
name and for single-nodes we use the node name as fallback.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:04 +01:00
Thomas Lamprecht
6e850b390c ui: backup view: move tbar schedule-sim button to the right
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +01:00
Thomas Lamprecht
2577d492c3 ui: schedule sim: slight title adaption
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +01:00
Dominik Csapak
4d6215bcf5 ui: dc/Backup: add schedule simulator button
so that a user can simply simulate the schedule

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 18:35:52 +01:00
Dominik Csapak
611ef47558 ui: dc/Backup: fix comment sort
without this, jobs without comments will not be included in the sort
properly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 18:35:52 +01:00
Dominik Csapak
3446e5bb26 ui: dc/Backup: never show id input field, autogenerate id
similar to pbs sync jobs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 18:35:52 +01:00
Thomas Lamprecht
a2e0725adb ui: dc/options: show depreacation notice in u2f settings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 17:44:03 +01:00
Thomas Lamprecht
cca2aea8b2 ui: dc/options: display WebAuthn and add editor
mostly copied 1:1 from PBS, we could move this to widget toolkit
sometimes though..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 17:38:15 +01:00
Wolfgang Bumiller
e90127be83 www: redirect user TFA button to TFA view
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:31 +01:00
Wolfgang Bumiller
8ff8f43512 www: add TFA view to config
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:31 +01:00
Wolfgang Bumiller
3c02565699 www: use af-address-book-o for realms
we do this in PBS, and use the key for TFA

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:31 +01:00
Wolfgang Bumiller
69c33cffe8 www: use UserSelector from wtk
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:23 +01:00
Wolfgang Bumiller
d35665de6c www: use render_u2f_error from wtk
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:23 +01:00
Thomas Lamprecht
01c9294f37 ui: backup job: limit ID to 20 chars for now
we're thinking of maybe just auto-filling it or allowing to edit it,
in any way, the comment field can/should be used for longer, free
form info.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:29:40 +01:00
Thomas Lamprecht
91380e55e6 ui: backup job: ellipsize read-only ID on edit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 19:26:56 +01:00
Thomas Lamprecht
04da73f851 ui: backup job: avoid row wrapping due to overly long label
We can express that it's a notification in the combobox.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 19:25:56 +01:00
Dominik Csapak
d9e05d3404 ui: dc/Backup: add comment field and column
and hide the ID column by default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-10 16:11:42 +01:00
Dominik Csapak
e177268741 ui: dc/BackupEdit: use correct validation
we use a 'pve-configid', so use the 'ConfigId' vtype

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-10 16:11:42 +01:00
Dominik Csapak
20d15804f6 ui: dc/backup: show id+schedule instead of dow+starttime
we can now show the id (since its not autogenerated anymore),
and we can always show/edit the schedule instead of the dow+starttime

also add an 'ID' field to the edit/create window and update the
backupinfo window as well

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-10 16:11:00 +01:00
Dominic Jäger
bd800443db ui: close #3504: Add datacenter notes
Like notes for nodes.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-09 18:33:47 +01:00
Thomas Lamprecht
1b72acbf2f ui: join info: rework error handling/checking for no-cluster
check if error is set before trying to access it and check for the
new HTTP code a newer pve-cluster may return, and do a more fuzzy
match for older ones.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-07 21:01:55 +01:00
Thomas Lamprecht
6152988ea6 ui: join info: code cleanup and future proof
we may want to return null or an empty object for the join info on a
node without a cluster in the future (i.e., PVE 8.0+), so get
compatible for that now already as it costs not much and as we can
now use es2020 we even can write the object access nicer..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-07 20:57:39 +01:00
Dominik Csapak
9ab0c06954 ui: dc/Cluster: show errors on 'join' info in the view
so instead of getting the 'standalone node' message, the grid
is masked with the actual api error

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-05 14:34:15 +01:00
Fabian Ebner
e9e7d150d4 ui: cluster backup: only restrict storages to node when it's selected
Previously, only the storages for the local node would be shown, which
prevented configuring a job for remote nodes when the storage is not
available on the local node.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-21 15:25:37 +02:00
Thomas Lamprecht
faee421957 ui: backup job detail view: factor out to own file
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 17:45:13 +02:00
Thomas Lamprecht
2a7785a4a0 ui: backup job detail view: shrink code for set values of keep-X fields
makes it quite concise, but there's nothing really complex happening,
so should be still easy to grasp (especially with the comment added)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:14:02 +02:00
Thomas Lamprecht
021838f8d3 ui: backup job detail view: show retention settings in three columns
to safe vertical space for the actual guest+disk list

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:13:05 +02:00
Thomas Lamprecht
18af64dc99 ui: backup job detail view: merge mail notification when/to fields
While it surely is nice to follow the layout of the job creation/edit
panel for sharing familiarity, it does not means that we need to show
the data 1:1, we can profit from the read-only fact and merge stuff a
bit, like the mail to/when field.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:09:45 +02:00
Thomas Lamprecht
3f85cce836 ui: backup job detail view: simplify node renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:09:19 +02:00
Thomas Lamprecht
1226f0baa8 ui: backup job detail view: simplify enabled renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 13:38:25 +02:00
Fabian Ebner
bbb3e6f801 ui: backup job detail: also show retention settings
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-08 13:37:11 +02:00
Thomas Lamprecht
87336f4c74 ui: backup job detail view: fix coding style, xtype goes first
the code is unnecessarily hard to read else and goes against our
common style.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 13:37:11 +02:00
Thomas Lamprecht
57513f7639 ui: rename pveEditPruneInputPanel to pveBackupJobPrunePanel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 12:56:15 +02:00
Fabian Ebner
759c752c36 fix #1803: ui: cluster backup: handle job-specific retention options
This was already possible via API (or manually editing vzdump.cron)
for a long time, but the settings were not visible in the UI at all.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-07 11:13:18 +02:00
Fabian Ebner
3e70f3c530 ui: cluster backup: fix running backup with prune settings
The API expects a property string for retention settings, so make sure
that's what's passed in.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-07 11:13:18 +02:00
Thomas Lamprecht
013cd17be7 ui: dc: add comment to odd condition for showing SDN
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-08-24 11:13:28 +02:00
Thomas Lamprecht
30179cc0d7 ui: dc/guests: set line-height again and increase font-size
the 14px over 13px is not much, but as that is the font-size intended
for font-awesome it makes it all look nicer together

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-05 12:58:50 +02:00