aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/host.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add another small help instruction.onefang2019-12-101-0/+1
|
* explicitly set Content-Type header to text/htmlPim van den Berg2016-01-051-0/+2
| | | | Closes #128
* responsive: introduce a hamburger navicon to toggle the menu on smaller devicesPim van den Berg2015-06-211-0/+5
|
* inc/functions: merge functions GET and validate_getPim van den Berg2015-05-251-2/+2
| | | | 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 Berg2015-05-251-2/+2
| | | | as $_GET value
* Remove from all files the ending php tagFrançois LASSERRE2014-07-231-2/+0
|
* Fix overly permissive hostname validation, fix host checkPeter Wu2014-07-211-1/+1
| | | | | | | | | `[\w\W]` matches EVERYTHING. Validation failed. Also remove `\d` as that `\w` is a superset of it. Also check that the host parameter is actually non-empty, otherwise `collectd_plugins` will happily return results as the directory `$CONFIG['datadir'] . '/' . ''` trivially exists...
* Escape HTML in GET-provided hostnameNicolas Iooss2014-06-301-2/+2
| | | | | | | A malicious user can enter javascript code in "h" GET parameter and this code gets executed because this parameter is copied in the HTML output without any escaping. This patch escape the output before it is checked it is valid.
* inc/collectd: consistently return false instead of an empty array or falsePim van den Berg2014-05-031-3/+1
| | | | | | | | | This means we have to check the return value of these functions for example before doing a foreach. We can't just do a foreach and assume the return value of a function is an array, while it can be false and results in a PHP warning. Closes: https://github.com/pommi/CGP/pull/68
* host.php: remove immediate end tag in fieldsetPim van den Berg2014-02-101-1/+1
|
* start using fieldset + legend for showing dataPim van den Berg2013-06-221-1/+4
|
* rewrite some code of added overview_filter featurePim van den Berg2013-03-301-3/+1
| | | | Use less variables, less code.
* add feature to show a subset of graphs from a plugin on overview pageRohit Bhute2013-03-301-1/+3
|
* remove arguments overview_plugins and other_plugins from plugins_list functionPim van den Berg2012-12-281-7/+2
| | | | Those can be gathered within the function.
* don't show plugins the host doesn't havePim van den Berg2012-12-281-2/+4
|
* remove in-html comments by xian310Pim van den Berg2012-12-211-1/+1
|
* replace the ajax expand system by a navigation menuxian3102012-12-211-22/+14
| | | | Signed-off-by: Pim van den Berg <pim@nethuis.nl>
* resolve php noticesKarol Nowacki2011-04-211-2/+2
| | | | Including a lot of undefined $_GET values.
* better validation of possible user input (get)Pim van den Berg2010-01-011-2/+2
|
* replace duplicate code by function plugin_headerPim van den Berg2009-12-281-3/+3
|
* load plugins on the host page via ajaxPim van den Berg2009-12-051-4/+7
|
* replace plus and minus on host page by imagesPim van den Berg2009-10-111-3/+3
|
* remove laquo from navigationPim van den Berg2009-10-101-1/+1
| | | | | You can always return to the main page via the header. From the detail page you can return to the host page by clicking the hostname.
* layout improvement based on daniel's patchPim van den Berg2009-09-291-4/+4
| | | | | | | | 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
* change webdir/weburl and include/require usagePim van den Berg2009-09-281-0/+1
| | | | | | | | - 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.
* initial import of cgpPim van den Berg2009-09-201-0/+43
Collectd Graph Panel is a frontend for Collectd written in PHP. The goal of CGP is to provide an easy-to-use frontend for Collectd, starting with page that shows an overview of all the hosts you are managing with Collectd. In this initial import there is support for the plugins that are default enabled in Collectd. The supported plugins are located in the plugin directory.