Thomas Lamprecht
1ab6a20939
bump version to 7.0-15
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Thomas Lamprecht
4922508517
d/control: bump versioned dependency on proxmox-widget-toolkit to 3.4-1
...
to have new TFA related widgets available
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Thomas Lamprecht
f855078bc3
d/control: bump versioned dependency on libpve-access-control-perl
...
to ensure we're compatible regarding TFA stuff
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Fabian Ebner
775e0cbeb1
jobs: rename function to better distinguish job state and task status
...
Also, default to 'internal error' if the task status within the lock
is undef, which shouldn't actually be possible.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 21:04:34 +01:00
Fabian Ebner
99f0309185
jobs: started_job: rename variable to $msg
...
it's not always an error, but can also be 'OK'.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 21:04:34 +01:00
Fabian Ebner
db101be037
pvescheduler: simplify code for sleep time calculation
...
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 21:04:34 +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
16c005449e
ui: index: set Proxmox.NodeName variable
...
similar to PBS. This doesn't gives unauthenticated users more info as
we already set it in the title element anyway.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +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
Thomas Lamprecht
b53157c01e
ui: schedule sim: fix right alignment of simulate button
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +01:00
Thomas Lamprecht
c20699493a
api: cluster: add jobs sub-directory index and set its permissions
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +01:00
Thomas Lamprecht
7cced7126b
api: cluster: sort index
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:03 +01:00
Thomas Lamprecht
584a57ea3c
calendar event simulator: rename number parameter to iterations
...
in sync with the same option of `systemd-analyze calendar` and number
is so generic.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 20:53:13 +01:00
Dominik Csapak
f493f5685d
remove pvescheduler manpage generation
...
pve-docs-generator does this now
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 18:35:52 +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
e190bc2cc8
api: cluster: add jobs/schedule-analyze api call
...
a simple api call to simulate calendar event triggers
takes a schedule, an optional number (default 10), an optional starttime
(default 'now') and returns a list with unix timestamps, as well as
humanly readable utc timestamps.
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
4243d7490f
d/control: bump versioned dependency on libpve-cluster-api-perl
...
for new webauthn config
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 18:35:29 +01:00
Dominik Csapak
02c1e98e83
pveceph: add 'fs destroy' command
...
with 'remove-storages' and 'remove-pools' as optional parameters
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
fe681357e6
ui: ceph/fs: allow creating multiple cephfs
...
but only if there are any standby mds
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
786e7d8328
ui: storage/cephfs: make ceph fs selectable
...
by adding a CephFSSelector and using it in the CephFSEdit window
(similar to the poolselector/textfield)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
6ec3dc437b
api: cephfs: add 'fs-name' for cephfs storage
...
so that we can uniquely identify the cephfs (in case of multiple)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
999df1c25e
ui: ceph/fs: show fs for active mds
...
so that the user can see which mds is responsible for which cephfs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
89c0472127
ui: ceph/ServiceList: refactor controller out
...
we want to reuse that controller type by overriding some functionality
in the future, so factor it out.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
352a0e5c93
api: cephfs: add fs_name to 'is mds active' check
...
so that we check the mds for the correct cephfs we just added
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
028af34e3d
api: cephfs: more checks on fs create
...
namely if the fs is already existing, and if there is currently a
standby mds that can be used for the new fs
previosuly, only one cephfs was possible, so these checks were not
necessary. now with pacific, it is possible to have multiple cephfs'
and we should check for those.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
0ab69d6e88
api: cephfs: refactor {ls, create}_fs
...
no function change intended
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
7d88e195b2
ui: ceph: catch missing version for service list
...
when a daemon is stopped, the version here is 'undefined'. catch that
instead of letting the template renderer run into an error.
this fixes the rendering of the grid backgrounds
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Dominik Csapak
c51db18c42
api: ceph-mds: get mds state when multple ceph filesystems exist
...
by iterating over all of them and saving the name to the active ones
this fixes the issue that an mds that is assigned to not the first
fs in the list gets wrongly shown as offline
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-11 17:52:08 +01:00
Thomas Lamprecht
82536c370d
ui: form/CalendarEvent: remove 'first saturday each month' example
...
Originally-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 17:50:47 +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
f744796310
www: switch to new tfa login format
...
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
Fabian Ebner
358d3efd1d
ui: calendar event: fix descriptions for examples
...
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 10:09:47 +01:00
Wolfgang Bumiller
6b2028cb73
depend on and use libjs-qrcodejs
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 08:37:31 +01:00
Thomas Lamprecht
e82d35836c
ui: storage: avoid deleting preallocation setting on creation
...
reported in the forum: https://forum.proxmox.com/threads/.99471/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 22:03:13 +01:00
Wolfgang Bumiller
a6a681b950
pvestatd: broadcast version info
...
broadcast the built-in, statically available version info, e.g.:
{
"release" : "7.0",
"repoid" : "3ce05d40",
"version" : "7.0-14"
}
We can expand this by more actual package version info in the future,
but that certainly needs more elaborate update control mechanisms as
the oneshot at boot we have now.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:44:32 +01:00
Thomas Lamprecht
9a621f7177
ui: form/calendar event: add some more complex examples
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:32:14 +01:00
Thomas Lamprecht
8e57774e2a
ui: form/calendar event: increase width of combobox picker
...
makes it more readable and will allow for some more complex examples
without wrapping (which is hard to grasp without row styling
otherwise)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:31:18 +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