Commit Graph

1171 Commits

Author SHA1 Message Date
Tony Murray
abc6a5b799 PSR-2 Final cleanup (#4247)
refactor: Final PSR2 cleanup
2016-08-28 23:32:55 +01:00
Tony Murray
7b93b564da Centralize class loader (#4169)
Move the classloader to as early as possible in defaults.inc.php
This should cover all application entrances.
Set install_dir based on the location of defaults.inc.php
2016-08-22 23:59:59 +01:00
Tony Murray
e80a385b7f RRDtool dual process (remote creation/check) (#4104)
* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.

* Enable dual process and remote rrd check/creation

* remove full path for remote commands

* Doc updates
minor fix to rrdtool_tune()

* Set up bootstrap for phpunit
Fix issues with FileExistsException

* Attempt to fix phpunit

* Fix classloader and bootstrap to use full paths only (not depending on $config)

* Fix phpunit tests, config.php does not exist.
2016-08-22 16:32:05 +01:00
Tony Murray
65f929d1f2 Fix log entries with timestamps included and incorrect time (leading * or .)
Issue #3316
2016-04-12 00:05:16 -05:00
Tony Murray
81a626713a Fix indentation. 2016-03-09 14:31:00 -06:00
Tony Murray
d59fc01b61 Another test case for the cisco syslog timestamp prefix. 2016-03-09 10:49:12 -06:00
Tony Murray
33c4cca8a4 Reduce memory cosumption for tests by running one assert at a time rather than building all the data then testing. 2016-03-09 09:07:00 -06:00
Tony Murray
bca965e2ae Some devices have "logging timestamp" enabled, try to remove that from the start of the message.
Fixes #3199
2016-03-09 08:20:51 -06:00
Neil Lathwood
ab67f7870c Merge pull request #3171 from Ultra2D/syslog-trim
Syslog trim whitespace
2016-03-05 11:26:09 +00:00
Ultra2D
f97f9c824b Added syslog Procurve unit testing 2016-03-05 11:59:49 +01:00
Ultra2D
fb34fb7ab5 Syslog trim whitespace 2016-03-05 11:06:29 +01:00
Neil Lathwood
7ea7bd4c92 Merge pull request #3036 from Ultra2D/issue-3035
Linux syslog processing cleanup
2016-03-04 23:34:00 +00:00
Ultra2D
488f7f44c4 array_walk does not work like that, apparently input is trimmed later on 2016-03-04 15:51:49 +01:00
Ultra2D
99cd9f96cf Proper tags and facilities; additional example 2016-03-04 15:18:24 +01:00
Ultra2D
24d7926ea6 Fix build failure 2016-03-04 13:10:07 +01:00
Ultra2D
70ad24157f PHPunit tests for Linux syslog parsing 2016-03-04 12:32:06 +01:00
Ultra2D
9773b3bade Tabs to spaces 2016-03-04 11:30:11 +01:00
laf
f395cbdefe Updated to work with php 5.3 2016-03-03 21:21:28 +00:00
laf
89f0952bc3 Couple of small fixes 2016-03-03 19:56:18 +00:00
Tony Murray
2af1b517e5 Notifcation and tab->spaces fix. 2016-03-03 06:46:39 -06:00
Tony Murray
734d1bcd9d PHPunit tests for Cisco syslog parsing. 2016-03-03 00:06:53 -06:00