13 Commits

Author SHA1 Message Date
Maurice den Braber 9f5b42b028 webui: Allow full search on devices page (#8364)
* Update devices.inc.php

* Update devices.inc.php

* Replace $_POST with $vars

Better protection for SQL injection attempts; Need to verify other files for same issue.

* Fixed whitespace.

*sigh*

* More search options & sql injection fixes.

+Allow full search on devices page;
+Allow sysName search on alertlog page;
+Allow sysName search on alerts page;
+Allow sysName search on eventlog page;
+Allow sysName search on poll-log page;
+Allow sysName search on ports page;

*Replaced all occurrences of $_POST with $vars in librenms/html/includes/table. ($vars are sanity-checked).

* Whitespace fix

* Fixed $where & $param

* Add files via upload

* Whitespaces....

Sometimes you want'em, sometimes you hate'em.
2018-03-25 21:50:09 +01:00
Neil Lathwood 1bbbaff58b refactor: Moved ifLabel -> cleanPort and updated the usage (#6288)
* refactor: Moved ifLabel -> cleanPort and updated the usage

* added list of tags allowed

* few updates as per comments from @murrant

* Added simple unit tests

* double display for javascript popover

* Remove ifNameDescr() function
Fix realtime port page

* remove accidental temp code

* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
Neil Lathwood 9b9c10e204 fix: Cleanup printing ifAlias (#4874) 2016-12-12 14:25:48 +00:00
Bennett Blodinger 07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
laf 2bffc5c1b7 updates as per comments from murrant 2016-07-01 10:27:15 +01:00
laf 0eb35c0c88 Initial setup for customising ifSpeed on devices 2016-06-24 14:10:09 +01:00
laf 668f14f74a Parameter to get_dev_attrib() is an array not a int, updated 2016-01-21 12:32:20 +00:00
laf 84863586b5 rrdtune code 2015-11-17 02:20:23 -08:00
laf 3757bae5c2 more updates 2015-08-30 19:51:25 +00:00
laf 3ae4372e68 Initial work on port override 2015-08-30 17:33:54 +00:00
laf 57540aacbc Added search and sorting support 2015-07-20 14:03:09 +01:00
laf c579805292 Updated edit ports page to use bootstrap 2015-07-20 13:55:35 +01:00