Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-07-25 | support php versions without json support and show a warning message | Pim van den Berg | 1 | -0/+13 | |
2014-07-23 | Update html.inc.php | François LASSERRE | 1 | -6/+6 | |
Fix a link when no class selected. | |||||
2014-07-20 | Defensive programming: more urlencode/htmlentities | Peter Wu | 1 | -47/+51 | |
Make build_url return an URL, not HTML. This separates presentation from data. plugin_header's return value is unused, remove the unnecessary return. At places where `printf("<tag att='%s'>", $x);` is used, it is now converted to `printf("<tag att=\"%s\">", htmlentities($x));` since the single quote is not escaped by default by htmlentities. In case the canvas style is used, JS should use `textContent` instead of `innerHTML` to avoid reading `"` instead of `"`. Nobody (should) use(s) IE6 anymore, so it is a safe change. While at it, use the standard charset attribute of meta to specify the character set (UTF-8). | |||||
2014-06-28 | Use config time_range for canvas graphs | Vincent Brillault | 1 | -0/+1 | |
2014-05-14 | inc/html.inc.php: fix canvas graphs | Pim van den Berg | 1 | -1/+1 | |
Include graph.php instead of non-existing plugin/$plugin.php. | |||||
2014-05-03 | move collectd_flush function to base class | Pim van den Berg | 1 | -1/+5 | |
2014-05-03 | inc: mv graphs_from_plugin, build_url functions to html.inc.php | Pim van den Berg | 1 | -1/+68 | |
They generate html. | |||||
2014-04-15 | overview: disable showmem by default, add percent sign | Pim van den Berg | 1 | -25/+25 | |
And change all spaces to tabs. | |||||
2014-04-14 | overview: show used memory percentage | Bogdan Rădulescu | 1 | -1/+25 | |
2014-04-06 | overview: only calculate cores when config option showload is enabled | Pim van den Berg | 1 | -2/+2 | |
Closes: https://github.com/pommi/CGP/issues/60 | |||||
2014-02-10 | use & instead of & in html | Pim van den Berg | 1 | -3/+3 | |
2014-01-12 | Add a configuration option for sync/async choice for the canvas graphs | Vincent Brillault | 1 | -0/+11 | |
2013-12-29 | automatic page refresh support + config setting | Pim van den Berg | 1 | -0/+6 | |
Closes: https://github.com/pommi/CGP/pull/35 | |||||
2013-06-22 | add viewport meta tag for better experience on mobile devices | Pim van den Berg | 1 | -0/+1 | |
2013-06-22 | overview: add color to load averages | Pim van den Berg | 1 | -4/+11 | |
The load average number turns: * orange When the load is higher than the number of cpu cores. * red When the load is more than twice as high as the number of cpu cores. | |||||
2013-06-22 | start using fieldset + legend for showing data | Pim van den Berg | 1 | -3/+6 | |
2013-05-18 | integrate jsrrdgraph in CGP | Pim van den Berg | 1 | -0/+31 | |
2012-12-28 | remove arguments overview_plugins and other_plugins from plugins_list function | Pim van den Berg | 1 | -11/+24 | |
Those can be gathered within the function. | |||||
2012-12-28 | don't show plugins the host doesn't have | Pim van den Berg | 1 | -2/+4 | |
2012-12-28 | resolve php warning/notices when plugin doesn't exist | Pim van den Berg | 1 | -0/+4 | |
For example when a non existing plugin is defined in $CONFIG['overview'] it causes a lot of php warnings/notices. | |||||
2012-12-21 | remove ajax js code | Pim van den Berg | 1 | -1/+0 | |
This isn't needed with the new navigation menu anymore. | |||||
2012-12-21 | remove in-html comments by xian310 | Pim van den Berg | 1 | -1/+1 | |
2012-12-21 | replace the ajax expand system by a navigation menu | xian310 | 1 | -12/+47 | |
Signed-off-by: Pim van den Berg <pim@nethuis.nl> | |||||
2011-10-08 | include trailing slash in config weburl variable | Pim van den Berg | 1 | -5/+5 | |
When running CGP in the root, the header didn't link to the overview page because the href was empty. Reported-by: Nikoli <Nikoli@lavabit.com> | |||||
2011-04-21 | resolve php notices | Karol Nowacki | 1 | -10/+11 | |
Including a lot of undefined $_GET values. | |||||
2011-03-10 | fallback to non-annotated tags in version detection | Pim van den Berg | 1 | -1/+1 | |
2011-03-09 | add version information to footer | Pim van den Berg | 1 | -1/+15 | |
2011-03-01 | add links to footer | Pim van den Berg | 1 | -1/+2 | |
2010-05-29 | Define alternating odd/even css classes for rows in main summary | Edmondo Tommasina | 1 | -1/+7 | |
To select different background colors for the rows in the main summary page, just uncomment the tr.odd/tr.even background definition in layout/style.css and set the color. | |||||
2010-03-06 | configuration option to show load averages on overview page | Pim van den Berg | 1 | -14/+16 | |
2010-01-12 | add compatibility if rrdinfo doesn't work as expected | Pim van den Berg | 1 | -3/+17 | |
2010-01-12 | make rrdtool executable configurable | Pim van den Berg | 1 | -1/+1 | |
2010-01-01 | better validation of possible user input (get) | Pim van den Berg | 1 | -5/+8 | |
2009-12-28 | replace duplicate code by function plugin_header | Pim van den Berg | 1 | -0/+16 | |
2009-12-05 | load plugins on the host page via ajax | Pim van den Berg | 1 | -0/+1 | |
2009-11-04 | add unixsock flush support | Pim van den Berg | 1 | -0/+2 | |
Via the UnixSock plugin of Collectd it is possible to send commands to the Collectd daemon. One of the commands is the FLUSH command, which you can use to let the daemon write cached data to the rrd files. CGP uses the FLUSH command before generating a graph and before showing the load information on the main page. In this case the information shown via CGP is always up-to-date. Also when you have configured the RRDTool plugin of Collectd with a CacheTimeout setting. This commit includes code based on functions collectd_identifier and collectd_flush from php-collection by Bruno Prémont. | |||||
2009-10-25 | make dynamic title more detailed | Pim van den Berg | 1 | -4/+17 | |
Include information in the title about the host, plugin, plugin instance, type and type instance. | |||||
2009-10-10 | dynamic title | Pim van den Berg | 1 | -1/+7 | |
Show the host and plugin in the title to have a better browsing history. | |||||
2009-09-29 | layout improvement based on daniel's patch | Pim van den Berg | 1 | -0/+9 | |
The page is divided into a header, content and footer. It is styled better and the header links to the main page. Patch from Daniel von Fange (Leancoder): http://pommi.nethuis.nl/storage/software/cgp/leancoder-css.cgp-v-0-1.patch | |||||
2009-09-28 | change webdir/weburl and include/require usage | Pim van den Berg | 1 | -3/+5 | |
- Don't depend on includes from files that are included. - Don't use webdir with includes/requires (also because webdir couldn't be available in some cases). - Use common.inc.php instead of config.php in all plugins to have all configuration settings available. | |||||
2009-09-23 | add a footer to each page | Pim van den Berg | 1 | -0/+1 | |