Dietmar Maurer
c6887a8a4d
remote config gui: add comment field
2020-05-29 06:46:56 +02:00
Dietmar Maurer
947f45252d
www/ServerStatus.js: use term "IO wait" for CPU iowait
...
Because we already use "IO delay" for the storage statistics.
2020-05-29 06:12:49 +02:00
Dietmar Maurer
c94e1f655e
rrd stats: improve io delay stats
2020-05-28 19:12:13 +02:00
Thomas Lamprecht
6161ac18a4
ui: remotes: fix remote remove buttons base url
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-28 17:29:54 +02:00
Dominik Csapak
6bba120d14
ui: fix RemoteEdit password change
...
we have to remove the password from the submitvalues if it did not
change
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-28 17:24:06 +02:00
Dietmar Maurer
91e5bb49f5
src/bin/proxmox-backup-proxy.rs: simplify code
...
and gather all stats for the root disk
2020-05-28 12:30:54 +02:00
Dietmar Maurer
4bf26be3bb
www/DataStoreStatistic.js: add transfer rate
2020-05-28 10:20:29 +02:00
Thomas Lamprecht
ed216fd773
ui: acl view: only update if component is activated
...
Avoid triggering non-required background updates during browsing a
datastores content or statistics panels. They're not expensive, but I
do not like such behavior at all (having traveled with trains and
spotty network to often)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 18:58:21 +02:00
Thomas Lamprecht
0f13623443
ui: tasks: add sync description+
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 18:36:58 +02:00
Thomas Lamprecht
dbd959d43f
ui: tasks: render reader with full info
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 18:36:58 +02:00
Thomas Lamprecht
f68ae22cc0
ui: factor out render_datetime_utc
...
will be reused in the next patch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 18:36:48 +02:00
Thomas Lamprecht
06c3dc8a8e
ui: task: improve rendering of backup/prune worker entries
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 13:37:57 +02:00
Thomas Lamprecht
26956d73a2
ui: datastore prune: remove debug logging
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 12:50:06 +02:00
Thomas Lamprecht
3f98b34705
ui: rework datastore content panel controller
...
Mostly refactoring, but actually fixes an issue where one seldom run
into a undefined dereference due to the store onLoad callback getting
triggered after some of the componet was destroyed - on quick
switching through the datastores.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 12:46:48 +02:00
Dominik Csapak
12710fd3c3
ui: add missing monStoreErrors
...
to actually show api errors on the list call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-26 12:38:57 +02:00
Dominik Csapak
9e2a4653b4
ui: add crud for remotes
...
listing/adding/editing/removing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-26 12:38:39 +02:00
Dietmar Maurer
1a0d3d11d2
src/api2/admin/datastore.rs: add rrd api
2020-05-26 12:26:14 +02:00
Dominik Csapak
bfa0146c00
ui: acls: include roleid into id and sort by it
...
this fixes missing acls on the gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-26 08:49:59 +02:00
Dietmar Maurer
880fa939d1
gui: move system stat RRDs to ServerStatus panel.
2020-05-26 07:33:00 +02:00
Thomas Lamprecht
8277f4ace5
ui: navigation: sort datastores entries
...
adding a new one after load will append it still at the end, though.
But datastores are not something which get frequently added after
initial setup, so don't care about that for now..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-25 19:46:47 +02:00
Thomas Lamprecht
9b1aa424b9
ui: add some task log description mappings
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-25 19:06:52 +02:00
Thomas Lamprecht
fef2b3e04c
css: fix load mask background image path
...
We're not using the exact same paths as in PVE/PMG here.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-25 18:41:14 +02:00
Thomas Lamprecht
7cebe5a1f4
ui: system config: reorder big panel to bottom
...
Gives a better look and feel if the flex'd big panel is at the bottom
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-25 16:41:54 +02:00
Thomas Lamprecht
dda246403c
ui: index: load widget toolkit CSS
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-25 15:44:39 +02:00
Dietmar Maurer
d8dc281992
www/DataStoreStatus.js: display loadavg stats
2020-05-25 11:54:15 +02:00
Dietmar Maurer
3e930f2bdc
www/DataStoreStatus.js: display root disk stats
2020-05-25 11:34:24 +02:00
Dietmar Maurer
c1b24fbf0b
www/DataStoreStatus.js: display swap stats
2020-05-25 10:39:54 +02:00
Dietmar Maurer
a608806f65
www/DataStoreStatus.js: display netin/netout
2020-05-24 19:02:35 +02:00
Dietmar Maurer
a4a3f7ca5e
rrd: pack multiple rrd values into th estat list
2020-05-23 14:03:44 +02:00
Dietmar Maurer
ba1c249eec
www/DataStoreStatus.js: add test for RRD api
2020-05-23 11:52:26 +02:00
Dominik Csapak
51c63475e1
ui: add '.' to path regex
...
since we use the path for datastore ids, which can contain a '.'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-20 16:33:26 +02:00
Dominik Csapak
c0ac207453
ui: add ACL panel to datastores
...
by introducing a datastorepanel (a TabPanel) which holds the content
and acl panel for now.
to be able to handle this in the router, we have to change the logic
of how to select the datastore from using the subpath to putting it
into the path (and extracting it when necessary)
if we need this again (e.g. possibly for remotes), we can further
refactor this logic to be more generic
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-20 13:27:13 +02:00
Dietmar Maurer
ee1458b61d
fixup
2020-05-20 13:27:13 +02:00
Dominik Csapak
0542cfdf4f
ui: add ACL panel to Configuration
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-20 13:23:00 +02:00
Dominik Csapak
2072aeaee6
ui: add UserSelector
...
this has to be different from pve for now, since the default of
'enabled' is reverted (pve: default disabled, pbs: default enabled)
if we decide to change this either here or in pve, we can refactor
it to the widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-20 13:22:01 +02:00
Dominik Csapak
88acc86129
ui: add UserManagement panel
...
to add/edit users
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-19 09:34:41 +02:00
Dominik Csapak
1d8ef0dcf7
ui: use Logo/RealmComboBox from widget-toolkit
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-19 09:34:19 +02:00
Dietmar Maurer
7b22acd0c2
src/config/network.rs: make it compatible with pve
...
and depend on proxmox 0.1.26
2020-05-07 09:28:25 +02:00
Dietmar Maurer
e325dbd4a3
www/Dashboard.js: fix status url
2020-04-30 12:58:41 +02:00
Dietmar Maurer
ecb53af6d9
add ServerStatus.js GUI with Reboot and Shutdown buttons
2020-04-30 12:12:20 +02:00
Dietmar Maurer
ebe556d0e7
www/DataStoreStatus.js: define Model for datastorte list
...
We want to use the admin/datastore api (instead of config/datastore),
to get the restricted list of datastores.
2020-04-30 06:50:45 +02:00
Dominik Csapak
f9e3b1104e
change index to templates using handlebars
...
using a handlebars instance in ApiConfig, to cache the templates
as long as possible, this is currently ok, as the index template
can only change when the whole package changes
if we split this in the future, we have to trigger a reload of
the daemon on gui package upgrade (so that the template gets reloaded)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-29 17:05:53 +02:00
Dietmar Maurer
acb428cdec
add DataStoreStatus.js dummy
2020-04-29 11:22:05 +02:00
Dietmar Maurer
de1f8f1d36
Revert "gui: display DataStoreConfig above DataStoreContent"
...
This reverts commit 555dfe7b8e
.
2020-04-29 11:09:35 +02:00
Dietmar Maurer
9abcae1b0e
gui: improve login view (use realms)
2020-04-09 13:37:14 +02:00
Dietmar Maurer
d16122cd87
gui: preview prune selection
2020-04-01 14:14:44 +02:00
Dominik Csapak
5b5ca60a07
fix 'keep-monthly' field name
...
else the backend complains about a non-existant parameter
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-03-31 08:46:52 +02:00
Dietmar Maurer
aeee4329b0
gui - DataStoreContent: avoid useless icons, display file path
2020-03-26 18:01:04 +01:00
Dietmar Maurer
5f44899207
gui - DataStoreContent: move control code into controller (cleanup)
2020-03-26 17:23:51 +01:00
Dietmar Maurer
b1127fd0d0
gui: add prune dialog
2020-03-26 13:23:28 +01:00