Commit Graph

20 Commits

Author SHA1 Message Date
Tony Murray
a21c0bccc4 fix: Fixed device group rule suggest, Auth before init (#8538)
* Fix Auth before init

* Fix Auth before init
2018-04-10 16:56:22 +01:00
Tony Murray
7250376104 refactor: Don't access $_SESSION directly for Auth (#8513)
* Don't access $_SESSION directly for Auth

* fix style

* add property annotations
2018-04-07 21:55:28 +01:00
Tony Murray
b2762d9fa7 refactor: Prevent function collisions with Laravel (#8166)
Make function call compatible
drop insensitive starts_with and ends_with for now as they aren't needed.
2018-01-29 21:58:21 +00:00
Tony Murray
d6db01abb5 refactor: Refactor fix php codesniffer 3.x issues (#7816)
We cannot use 3.x because it  requires php 5.4, so update to 2.9.1 or newer 2.x release.
2017-11-29 08:23:19 +00:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
laf
8a142aa53f feature: Added the option to select alert rules from a collection 2016-10-29 10:56:59 +00:00
David Bell
f00c383d60 fix: Stop irc bot crashing on .reload #4353
* Removed duplicate include

* Move set_debug into functions.php, and restore the (re)loading of includes/defaults

* Move debug call until after function has been included
2016-09-07 18:42:49 +01: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
pblasquez
1b4dfd2fc6 Update ajax_rulesuggest.php 2016-02-04 18:18:40 -08:00
Daniel Preussker
7832868dd6 Added generic memcached support to dbFacile.*
Remove now obsolete memcached code in:
  html/ajax_rulesuggest.php

Remove all the broken memcached code in:
  html/pages/device/health/mempool.inc.php
  html/pages/device/overview/generic/sensor.inc.php
  html/pages/device/overview/mempools.inc.php
  html/pages/device/port.inc.php
  html/pages/device/ports.inc.php
  html/pages/health/sensors.inc.php
  includes/polling/functions.inc.php
  includes/polling/mempools.inc.php
  includes/polling/ports.inc.php
  includes/polling/storage.inc.php
2015-09-27 19:33:17 +00:00
Mike Rostermund
5369112d48 Fix some scrutinizer coding style issues 2015-08-04 18:36:03 +02:00
laf
1cbd142ad7 Fixed some scrut issues 2015-07-23 17:48:22 +01:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
f0o
ef74acb6cb Adds:
`bills` to `html/ajax_rulesuggest.php`
	`generate_bill_url` to `html/includes/functions.inc.php`
	Link to bills in `html/includes/table/alerts.inc.php`
2015-05-07 20:43:02 +00:00
f0o
da624fa136 Added Macros in Alert-Rule syntax 2015-04-24 19:14:10 +00:00
Neil Lathwood
1df57b7254 Added a fix for matching table names 2014-12-19 17:37:15 +00:00
Neil Lathwood
45e3323f38 Fix variable assignment issue 2014-12-18 21:50:26 +00:00
Neil Lathwood
ef28a9fe03 Scrutinizer issues fixed 2014-12-16 21:10:11 +00:00
Neil Lathwood
1140768bd2 Scrutinizer issues fixed 2014-12-16 20:49:55 +00:00
laf
807fc9a3ba Alerts gui commit 2014-12-16 20:03:19 +00:00