Commit Graph

46 Commits

Author SHA1 Message Date
Jellyfrog
77c531527c
Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI

* Disable style check
2020-09-21 14:54:51 +02:00
Tony Murray
f3ba8947f7
Use Config helper (#10339)
remove usage of global variable
2019-06-23 00:29:12 -05:00
Richard Lawley
10829893ec api: Added Billing Graphs & Data (#8245)
* Move Billing/Bandwidth Graphs to common format, extract data generation to central function

* Add API functions to access billing graphs and graph data

* Scrutinizer fixes

* Fix transfer graphs with from/to

* Scrutinizer Fix

* Fix docs, transfer page and missing from API param

* Document and fix reducefactor, Add Graph Stats to Graph Data

* Standardise times in graphdata

* Fixed renamed function for History GraphData
2018-02-20 14:57:56 +00:00
Neil Lathwood
5ffb320997 webui: Allow billing to use un-auth graphs (#5449) 2017-01-19 22:56:56 +00:00
Tony Murray
e20a242785 refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
Neil Lathwood
7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
laf
5f8705bd37 Changed package names 2016-08-20 12:21:13 +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
Tony Murray
bf2c522c89 Move third party software to html/lib form html/includes 2016-08-15 13:16:10 -05:00
laf
07dc5ffaed Removed additional ; 2016-07-03 19:42:27 +01:00
laf
e5e1e89331 Sanity check the in/out_delta value, if it's out of the range of the
ifSpeed then we use the previous value
2016-06-15 16:25:14 +00:00
Richard Lawley
069c06716e Make billing graphs take times from bill_hist_id and use that for 95th 2016-03-08 21:43:10 +00:00
laf
ef6d7b9565 Fixed some scrut issues labelled Major 2015-07-15 22:04:19 +01:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Alexander Sosna
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
laf
791fa19a88 Updated the use of REMOTE_ADDR to a function then replaced its use 2015-03-18 19:14:51 +00:00
Neil Lathwood
cd43e11032 Fixed some scrut major issues 2015-02-22 19:28:09 +00:00
Paul Gear
3184a35268 Revert boilerplate changes 2013-10-29 05:38:12 +10:00
Brad Peczka
985330f638 Updated copyright and package notices. 2013-10-28 21:39:08 +08:00
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Tom Laermans
c95f4db6b8 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2973 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 15:01:58 +00:00
Adam Amstrong
d0cee15757 billing fixes and improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@2764 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 13:52:46 +00:00
Adam Amstrong
a1e96f708f billing rewrite (disabling svn after)
git-svn-id: http://www.observium.org/svn/observer/trunk@2758 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-06 22:17:37 +00:00
Adam Amstrong
295a13c02e improved bandwidth and billing graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@2746 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-01 12:29:52 +00:00
Adam Amstrong
8b82c99ca9 fixes and advocent discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2712 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-03 12:26:45 +00:00
Tom Laermans
a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans
9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
2c2a7ea914 update billing graph include for jpgraph
git-svn-id: http://www.observium.org/svn/observer/trunk@2449 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-12 10:53:05 +00:00
Adam Amstrong
770ccc46a3 updates to billing setup
git-svn-id: http://www.observium.org/svn/observer/trunk@2448 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-12 10:51:50 +00:00
Adam Amstrong
b03bb8181c fixes to billing. add realtime graphs for port bits.
git-svn-id: http://www.observium.org/svn/observer/trunk@2424 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 02:57:02 +00:00
Adam Amstrong
6bcc4f4e48 fix some stuff, break some stuff (ports disaply is missing some stuff atm)
git-svn-id: http://www.observium.org/svn/observer/trunk@2290 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 22:14:56 +00:00
Tom Laermans
f55a30f744 some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
Adam Amstrong
51e242b896 FFFFFFFffffffuuuuuuuuuuuuuuuuuuuuuu
git-svn-id: http://www.observium.org/svn/observer/trunk@2028 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-05 14:16:27 +00:00
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Tom Laermans
a32bff3c81 html pages cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@1902 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 11:48:03 +00:00
Adam Amstrong
dacdaf7267 billing system fixes (make moar sexypants)
git-svn-id: http://www.observium.org/svn/observer/trunk@1592 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-31 21:08:35 +00:00
Adam Amstrong
019e3c347a make billing usable (shonky interface it now has!)
git-svn-id: http://www.observium.org/svn/observer/trunk@1227 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-21 04:18:06 +00:00
Tom Laermans
fca6fafb60 include defaults.php before config.php, not FROM config.php
git-svn-id: http://www.observium.org/svn/observer/trunk@966 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-27 14:44:38 +00:00
Adam Amstrong
e227df8ef2 rename some gui include files
git-svn-id: http://www.observium.org/svn/observer/trunk@891 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-20 17:37:42 +00:00
Adam Amstrong
7249a1d947 add jpgraph (Q LICENSE)
git-svn-id: http://www.observium.org/svn/observer/trunk@358 61d68cd4-352d-0410-923a-c4978735b2b8
2009-03-17 20:49:01 +00:00
Adam Amstrong
b7c9a6eb11 fixing things, adding better security
git-svn-id: http://www.observium.org/svn/observer/trunk@351 61d68cd4-352d-0410-923a-c4978735b2b8
2009-03-11 14:50:24 +00:00
Adam Amstrong
e146a966b1 fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@267 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-03 14:40:54 +00:00
Adam Amstrong
698bf64ff9 Adding billing...
git-svn-id: http://www.observium.org/svn/observer/trunk@127 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-09 17:49:23 +00:00