This allows the user to only show logs from a specific date span.
For that two date picker and a 'Update' button were added to the
header bar.
For the until date we assume always 23:59:59 o'clock, as witouth
a specific time journalctl assumes 00:00 which would result in an
empty log if we only wanted to look at todays log.
As the LogView is shared with others (e.g. ceph log) use an boolean
variable to set if we want to show those date pickers)
Fixes timeout when the user has a long uptime and or persistent logs
add htmlEnode as a renderer to fields which lets you
input arbitrary strings, to prevent html tags
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
avoid to init the rrd with default timeframe,
then reload with timefrom state manager
this avoid to reload twice the rrds
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Currently when we open a new summary panel
- we display the rrd with default hour timeframe
- then we refresh it
- then we update from timeframe selector
With this patch:
- We display the rrd with timeframe from selector, or if not defined default hour
- We update from timeframe selector value if timeframe && cf are differents from current value
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>