Commit Graph

13 Commits

Author SHA1 Message Date
Dominik Csapak
7f9a65672a reduce syslog api calls
do not poll the syslog api call multiple times simultaneously,
since it can be very costly, depending on the journal size

with this, there is always only one per client

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-30 13:28:00 +00:00
Dominik Csapak
65bb3b678f rework panel/LogView
use the view, viewmodel, controller style code, which makes the logic
much more understandable

this adds two features to it, namely a viewBuffer range, which controls
the distance to the end of the data on which the panel loads the next data
and an optional failCallback, which will be used for the cephlog

this also fixes #2151

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-02 12:52:05 +02:00
Dominik Csapak
33a4fc355c add advanced options to the input panel
with this, you can now put items in the
advancedColumn1/2/B and show/hide it with
setAdvancedVisible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-06 10:05:33 +02:00
Dominik Csapak
4b23ab8806 rename pve(Show|Hide)Help events
we renamed them in the helpButton, we also have to rename them here
this prevented the help button to show up in the vm/ct creation wizard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-13 16:12:50 +01:00
Dominik Csapak
cf4ecb2bfe check earlier if the logview is destroyed
this is a port from pve-manager commit:
bde1efbf66cf8794d99708b41d92b2106c44f192

which fixes a problem with destroying the logview in extjs 6.2
2018-01-11 14:48:13 +01:00
Dominik Csapak
9950ec0f7d RRDChart.js: add the seriesConfig parameter
so that we can override the the series with custom options like 'color'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:46:50 +02:00
Dominik Csapak
fcb5b70f0e RRDChart.js: add the noTool parameter
so that we can omit the panel header

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:39 +02:00
Dominik Csapak
51613acea2 RRDChart.js: use the fieldtitle or fieldname as axistitle
if no unit applies

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:45:06 +02:00
Dominik Csapak
e7ff021c57 add GaugeWidget from PVE
and adds the functionality to set a different fontsize

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:41:30 +02:00
Dietmar Maurer
0c786d2b08 add RRDChart class 2017-08-29 08:43:50 +02:00
Dietmar Maurer
cc315e82e8 InputPanel: allow 4 column layout 2017-02-28 16:31:57 +01:00
Dietmar Maurer
89796c1a8e add InputPanel.js
Copied from pve-manager
2017-01-31 17:08:47 +01:00
Dietmar Maurer
de2e10b511 add log viewer class
Copied from pve-manager
2017-01-31 11:58:53 +01:00