Commit Graph

13 Commits

Author SHA1 Message Date
Tony Murray
eeb3d58f5b Improved Logging and Debugging (#8870)
Use Log facility when Laravel is booted.
Update init.php so we can easily boot Laravel for CLI scripts. (and just Eloquent, but that may go away)
Move all debug setup into set_debug() function and use that across all scripts.
Log Laravel database queries.
Send debug output to librenms log file when enabling debug in the webui.
Allow for colorized Log CLI output. (currently will leave % tags in log file output)

** Needs testing and perhaps tweaking still.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-07-13 23:08:00 +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
1d0294f82d fix: Fixed normal user access to performance tab (#8150) 2018-01-25 20:55:37 +00:00
crcro
b63c2ac3bf webui: device page refresh (#7963)
* various device page style fixes and alignments with new look

* blank line fix
2017-12-28 23:36:49 -06:00
Bennett Blodinger
ac2b878607 font-awesome datetimepicker
Forces jquery-datetimepicker to use font-awesome icons
2016-09-22 10:47:25 -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
fbbab3dac6 Fixed broken performance chart due to deprecated visjs option 2016-05-03 16:18:21 +00:00
Arjit Chaudhary
e6965765f5 Various UI changes 2015-09-21 01:30:23 +05:30
Arjit Chaudhary
26e19a76a5 Change <center> to <div class="center-block"> 2015-09-13 01:59:32 +05:30
Arjit Chaudhary
6c25cecced Center the From to selector/form
Screenshot: http://i.imgur.com/ET17Z8d.png
2015-09-12 22:41:39 +05:30
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
a81e5b636f Default to only two days performance data but data picker available 2015-07-13 21:45:40 +01:00
laf
eee2ae5be1 Added support for logging packet loss and min/max/avg response times on fping 2015-06-22 21:55:31 +01:00