Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | inc/functions: a plugin/type instance may contain a dot | Pim van den Berg | 2015-06-22 | 1 | -7/+2 |
| | | | | Closes #123 | ||||
* | plugin: move local plugins from conf/plugin to plugin/local | Pim van den Berg | 2015-06-22 | 4 | -8/+9 |
| | |||||
* | Merge branch 'local_plugins' | Pim van den Berg | 2015-06-22 | 2 | -5/+18 |
|\ | | | | | | | Closes #114 | ||||
| * | Adding support for local plugin json to override the global stuff | David Severwright | 2015-06-22 | 2 | -5/+18 |
| | | |||||
* | | responsive: introduce a hamburger navicon to toggle the menu on smaller devices | Pim van den Berg | 2015-06-21 | 6 | -23/+86 |
| | | |||||
* | | responsive: make the host page look nice on all media | Pim van den Berg | 2015-06-21 | 2 | -0/+15 |
| | | |||||
* | | responsive: make the overview page look nice on all media | Pim van den Berg | 2015-06-21 | 3 | -1/+11 |
| | | |||||
* | | add responsive css | Pim van den Berg | 2015-06-21 | 4 | -1/+4 |
| | | | | | | | | | | | | | | | | For 4 types of devices: a. desktop / tablet 10" landscape (default) b. tablet 10" portrait / tablet 7" landscape c. tablet 7" portrait / smartphone landscape d. smartphone portrait | ||||
* | | replace table on overview page by divs | Pim van den Berg | 2015-06-21 | 2 | -25/+28 |
| | | | | | | | | This works better in a responsive design. | ||||
* | | inc/html: remove continue statements to prevent from incomplete html | Pim van den Berg | 2015-06-21 | 1 | -25/+23 |
| | | |||||
* | | Merge pull request #121 from michaelsalmon/swapdfpercent | Pim van den Berg | 2015-06-06 | 2 | -0/+40 |
|\ \ | | | | | | | added percent types to swap and df | ||||
| * | | added percen types to swap and df | Michael Salmon | 2015-06-05 | 2 | -0/+40 |
|/ / | |||||
* | | type/GenericIO: in case of negative_io draw percentile line also on the ↵ | Pim van den Berg | 2015-05-28 | 1 | -1/+5 |
| | | | | | | | | | | | | negative y-axis Closes #119 | ||||
* | | inc/functions: merge functions GET and validate_get | Pim van den Berg | 2015-05-25 | 5 | -35/+74 |
| | | | | | | | | And make sure all input from $_GET variables are parsed and validated. | ||||
* | | inc/functions: make type argument of validate_get function exactly the same ↵ | Pim van den Berg | 2015-05-25 | 5 | -23/+23 |
| | | | | | | | | as $_GET value | ||||
* | | inc/html: s/licence/license/ | Pim van den Berg | 2015-02-26 | 1 | -1/+1 |
|/ | | | | Closes #117 | ||||
* | plugin/apache: don't use network_datasize for apache_bytes | Pim van den Berg | 2014-12-14 | 1 | -1/+1 |
| | | | | | | network_datasize expects the source to be in bits. Closes #107 | ||||
* | plugin/mysql: remove defined colors from mysql_handler but rollback | Pim van den Berg | 2014-12-14 | 1 | -30/+0 |
| | | | | I'd like rollback to be black. I don't care about the rest. | ||||
* | plugin/mysql: replace TI by PI in title | Pim van den Berg | 2014-12-14 | 1 | -1/+1 |
| | | | | Closes #112 | ||||
* | plugin/vmem: improve vmpage_io | Pim van den Berg | 2014-12-14 | 1 | -1/+11 |
| | |||||
* | inc/collectd: vmem/vmpage_io should be split to multiple graphs per type ↵ | Pim van den Berg | 2014-12-14 | 1 | -4/+5 |
| | | | | | | instance Closes #113 | ||||
* | layout: make timeago smaller and give it some opacity | Pim van den Berg | 2014-12-14 | 1 | -1/+6 |
| | |||||
* | Revert "make detail page accessible when using "canvas" graph_type" | Peter Wu | 2014-12-14 | 5 | -26/+2 |
| | | | | | | | This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf. Breaks async rendering, see https://github.com/pommi/CGP/issues/106#issuecomment-66896905 | ||||
* | inc/html: include jquery from local source | Pim van den Berg | 2014-12-14 | 1 | -1/+1 |
| | | | | So we don't depend on a remote source. | ||||
* | js: import jquery 2.1.1 | Pim van den Berg | 2014-12-14 | 1 | -0/+4 |
| | |||||
* | dashboard: showtime: load jquery + timeago.js when config is set | Pim van den Berg | 2014-12-13 | 2 | -2/+10 |
| | |||||
* | dashboard: timeago: show seconds, refresh every 5 seconds | Pim van den Berg | 2014-12-13 | 1 | -2/+2 |
| | |||||
* | dashboard: make timeago dynamic using jquery + timeago | Pim van den Berg | 2014-12-13 | 3 | -1/+227 |
| | |||||
* | Adding option to show time since last update on dashboard. | David Severwright | 2014-12-13 | 3 | -0/+19 |
| | | | | Closes #110 | ||||
* | js/CGP: scroll wheel zoom center position | Peter Chiocchetti | 2014-12-13 | 1 | -2/+4 |
| | | | | Closes #111 | ||||
* | plugins/ping: show ping_droprate in percentage | Pim van den Berg | 2014-12-09 | 1 | -1/+3 |
| | | | | Closes #109 | ||||
* | jsrrdgraph: Set original step when change time interval. | Manuel Luis Sanmartín Rozada | 2014-11-14 | 3 | -4/+8 |
| | |||||
* | jsrrdgraph: Fix invalid function call | Peter Wu | 2014-11-14 | 1 | -1/+1 |
| | | | | During conversion from PHP, this function was apparently missed. | ||||
* | jsrrdgraph: Fix undefined variables | Peter Wu | 2014-11-14 | 1 | -15/+13 |
| | | | | | | | Fixed various typos in references to variables. Also throw an exception if a variable is not found in GPRINT for debugging purposes and move some variable declarations. | ||||
* | jsrrdgraph: Guard out antique browsers for happier debugging | Peter Wu | 2014-11-14 | 1 | -2/+6 |
| | | | | | | | | Comment out more code that existed solely for IE10 and older. This prevents breaking the "Break on exceptions" functionality of the Chromium developer tools for no gain. This also removes the final jshint warnings from this file. | ||||
* | jsrrdgraph: Simplify matching logic | Peter Wu | 2014-11-14 | 1 | -10/+8 |
| | | | | | | Instead of using a flag for determining whether a value is set or not, set values that will never match and test for the validity of the results instead of checking the flags. | ||||
* | jsrrdgraph: Improve performance for graphs in the future | Peter Wu | 2014-11-14 | 1 | -2/+14 |
| | | | | | | | | The RRD file has finer details for more recent data points. When looking for a match for a graph past the last update ("the future"), a RRA would be picked which has a step size of 1. As we know that no data points are available, optimise this and return earlier with the full range set to NaN. | ||||
* | jsrrdgraph: Fix undefined value issue in RrdDataFile | Peter Wu | 2014-11-14 | 1 | -4/+6 |
| | | | | | | | | | | | | `RRDRRAInfo.pdp_cnt` does not exist. A reference to the pdp_cnt member in a struct exists, this is available via the `getPdpPerRow()` method, so use that. (actually, `getMinStep() * getPdpPerRow()` can be simplified further, see below). While at it, replace the combination `RRDRRAInfo.getPdpPerRow() * RRAInfo.pdp_step` by `RRDRRAInfo.getStep()` since this is the same thing. As `RRDHeader.pdp_step` is copied into `RRDRRAInfo`, this can also be substituted. | ||||
* | make detail page accessible when using "canvas" graph_type | Pim van den Berg | 2014-11-11 | 5 | -2/+26 |
| | | | | Closes #106 | ||||
* | type/base: allow rrdtool graph -l (lower-limit) to be configured via config ↵ | Pim van den Berg | 2014-09-25 | 1 | -1/+4 |
| | | | | | | or plugin json Closes #104 | ||||
* | type/base: escape space character in rrdcached FLUSH command | Pim van den Berg | 2014-09-25 | 1 | -1/+1 |
| | | | | Closes #105 | ||||
* | move " on <HOSTNAME>" suffix in graph title to JSON | Łukasz Kostka | 2014-08-25 | 45 | -142/+144 |
| | | | | Closes #101 | ||||
* | fix rrd_escape() not escaping colons | Brad Jorgensen | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | inc/html: add deprecation message about collectd 4 | Pim van den Berg | 2014-08-14 | 2 | -2/+19 |
| | |||||
* | type/base: fix undefined variable rrd_url when graph_type != canvas | Pim van den Berg | 2014-08-10 | 1 | -4/+6 |
| | |||||
* | Merge remote-tracking branch 'lekensteyn/custom-urls' | Pim van den Berg | 2014-08-10 | 3 | -5/+23 |
|\ | |||||
| * | Support customized RRD URLs | Peter Wu | 2014-08-10 | 3 | -5/+23 |
| | | | | | | | | | | | | | | | | | | | | | | Use case: I would like to bypass PHP for serving the RRD files and allow the webserver (nginx) to compress it to reduce load on the Raspberry Pi. I could go through all kinds of URL rewriting, but it is much easier to set `$CONFIG['rrd_url'] = 'rrd/{file}';` instead and add a corresponding location + alias directive to the nginx configuration. This depends on https://github.com/manuelluis/jsrrdgraph/pull/17 to avoid breaking on '='. | ||||
* | | jsrrdgraph: Fix parsing of rrdfiles containing escapes | Peter Wu | 2014-08-10 | 1 | -5/+7 |
| | | | | | | | | | | | | This fixes parsing of URLs such as 'rrd.php?path=some%3Ffile.rrd', and if people really insist, paths such as 'C:\bar.rrd' (must be written as 'C\:\\bar.rrd', add additional escapes for Javascript strings if needed). | ||||
* | | Add README file | Peter Wu | 2014-08-10 | 3 | -3/+119 |
|/ | | | | | | Documents requirements, installation instructions (obsoleting doc/INSTALL) and performance hints. Added a nginx server configuration example that optimises for performance. | ||||
* | Merge (a)sync code, reformat CGP.js | Peter Wu | 2014-08-02 | 4 | -150/+136 |
| | | | | | | | | | | | | | | | | | | | | Best viewed with `git diff -w`. Since CGP-sync.js and CGP-async.js are almost equal except for one function call, merge them into a single function. While at it, reformat CGP.js to expose a single namespace (`CGP`) which exports the symbol `drawAll`. Remove `alert()` and add a `console.error()` call instead. This is less intrustive to users (who will notice a broken graph anyway) and be more helpful for developers (who can examine the call trace in the Developer Console. Add `"use strict"` and use the standard four spaces as indent. Process the script through `js-beautify` which re-indented the code and added some spaces between operators. Replace double by single quotes for consistency. Rename `catch(e)` to `catch(ex)` to supress a jshint warning about IE8. |