| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
For consistency with the other buttons.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This adds "Select all", "Toggle selection" and "Select none" buttons to
the legend to allow bulk enabling and disabling individual metrics in
graphs.
This also switches to using Plotly.newPlot() over Plotly.redraw() (or
Plotly.react()) because Plotly has some issues if all traces are removed
from a graph and later re-added.
|
|
|
|
| |
Closes https://github.com/arthurdejong/munin-plot/issues/16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This upgrades to version 7 of eslint which results in some minor other
changes.
Sadly no fix for CVE-2022-46175 in json5 (a transitive dependency of
eslint) is available yet. This vulnerability should not affect
munin-plot because we don't run eslint on untrusted input.
Sadly no fix for a vulnerability in d3-color is available yet (no CVE
for GHSA-36jr-mh4h-2g58 has been assigned) because there is not yet a
version of plotly.js available that doesn't depend on a version of
d3-interpolate that doesn't depend on the vulnerable package. This could
affect munin-plot because d3 is used in the web application but we only
pass data to d3 (via plotly.js) that is output of the munin-plot
server-side component.
|
|
|
|
|
| |
The Compression Streams API is not yet widely supported in browsers
(i.e. is unsupported in FireFox).
|
|
|
|
|
| |
This generates a zip file with the source code of munin-plot as a
resource that can be downloaded.
|
|
|
|
|
|
|
|
|
| |
Whether this actually works is heavily dependant on the browser and in
some cases the screen size. Support in Plotly is not completely there
and there are also various bugs in browsers, e.g.:
https://github.com/plotly/plotly.js/issues/1275
https://bugs.chromium.org/p/chromium/issues/detail?id=697233
|
|
|
|
|
| |
This makes the dump slightly more compact which is particularly useful
for when including the dashboard in the URL.
|
|
|
|
| |
Fixes cdd68f1
|
|
|
|
|
| |
If only the anchor part of the URL changes the page is normally not
reloaded.
|
| |
|
|
|
|
|
|
|
|
|
| |
This allows saving the current dashboard to a shareable link that
contains a BASE64 encoded compressed JSON blob of the dashboard.
This also fixes an issue where the state from local storage was saved
instead of the current window state (this could result in saving the
wrong browser window if multiple windows were open).
|
| |
|
|
|
|
|
|
| |
This re-calculates the relative date/time ranges when opening the date
range picker to ensure we always get current information even if the
page has been loaded for a long time.
|
|
|
|
| |
This include a CSS tweak for a change in Bootstrap.
|
|
|
|
|
| |
Some Munin plugins specify the custom color as a numbered reference to
one of the built-in colors instead of a hexadecimal code.
|
|
|
|
|
|
|
| |
A part of the colored block or line disappeared behind the legend. This
makes the block smaller and avoids overlapping blocks.
Fixes cdd68f1
|
|
|
|
|
|
| |
This updates the events that are handled in Javascript to no longer use
jQuery and stops the use of Bootstrap tooltips. Bootstrap introduces
slightly different font sizes and we include some changes to padding.
|
|
|
|
| |
This includes some changes to import D3 ourselves.
|
| |
|
|
|
|
|
|
| |
This avoids confusing Plotly area plots where a value of 0 is plotted
instead. We cannot strip all nulls because that would make it not show
gaps in graphs.
|
|
|
|
|
| |
This gets rid of the two invocations of Plotly.d3.csv() function that
processed data slightly differently.
|
|
|
|
|
|
| |
We can no longer check if our data series are complete because the new
API returns null values for the whole date range so we check the time
range instead.
|
| |
|
| |
|
|
|
|
| |
This results in slightly more compact URLs without escaped spaces.
|
|
|
|
|
|
|
|
| |
This avoids mixing various data point densities in one single graph and
ensures that the vertical scales are reasonable for the data that is
shown.
This also changes the mechanism by which new data is fetched.
|
|
|
|
|
|
|
|
|
| |
Includes a fix for CVE-2020-7788 in ini npm package.
This upgrades to newer eslint and webpack and includes a few fixes for
that.
Closes https://github.com/arthurdejong/munin-plot/pull/6
|
| |
|
| |
|
|
|
|
|
| |
This allows copy-pasting the dashboard definition and loading graphs
from that.
|
|
|
|
|
| |
This puts JSON in the copy-paste buffer so it can be saved to a file by
the user.
|
|
|
|
|
| |
This makes all time periods relative time ranges based on the current
date and time.
|
| |
|
|
|
|
|
|
|
| |
This ensures that the legend for other graphs is correctly updated when
changing the date range (zoom or pan).
Fixes 63802b9
|
| |
|
|
|
|
|
| |
This only handles the event if the event contains a change in the X-axis
range.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This stores the traces that were manually hidden in the graph in local
storage and restores the hidden state when re-adding the graphs.
|
| |
|
|
|
|
|
| |
This adds all entry points to the munin-plot.js file as requirements.
This also allows us to ship a simple CSS file instead of a SCSS file.
|
| |
|
|
|
|
| |
This makes it clearer to the use what is going on.
|
|
|
|
|
| |
This ensures that the list of graphs is restored when the browser is
re-opened.
|
|
|
|
|
|
| |
This has a few minor tweaks to the styling, fixes issues with tooltips
lingering around after dragging and uses jQuery a bit more resulting in
slightly more compact code.
|