Swashy and Tony Murray
8174b9a13c
Incorrect reference to non-existent table 'bill_hist'. Corrected to 'bill_history' ( #9634 )
2019-01-09 19:36:12 -06:00
Tony Murray and Neil Lathwood
2720ca5f1f
Workaround for bill quota/cdr bigint ( #9053 )
...
Real fix is to install mysqlnd
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-08-21 22:15:25 +01:00
Tony Murray and Neil Lathwood
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 and Neil Lathwood
9e30d3fd7b
Fix some issues with globals ( #8709 )
...
Some variables aren't global anymore.
Make $vars global.
2018-05-14 18:31:46 +01:00
Richard Lawley and Neil Lathwood
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
Richard Lawley and Neil Lathwood
763c86fc11
refactor: Removed Unused Billing PDF reports ( #8235 )
2018-02-08 20:56:40 +00:00
Tony Murray and Neil Lathwood
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
Neil Lathwood and GitHub
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 and Tony Murray
cca6cbb1af
fix: Stop autorefresh on bill edit page #6182 ( #6193 )
2017-03-14 09:37:14 -05:00
Tony Murray and Neil Lathwood
af752afb18
Unused sql ( #6164 )
...
* These tables do not exist anymore.
* missed one.
2017-03-11 14:12:41 +00:00
Richard Mayhew and Neil Lathwood
6a1fd3ec05
webui: Additional Font Awesome icons ( #5572 )
2017-01-25 17:42:26 +00:00
Neil Lathwood and GitHub
9b9c10e204
fix: Cleanup printing ifAlias ( #4874 )
2016-12-12 14:25:48 +00:00
Neil Lathwood and Tony Murray
7dec670494
refactor: Updated a lot of references to LibreNMS - copyright still left intact ( #4339 )
2016-09-08 08:12:23 -05: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
Richard Lawley
b2c015b58c
Add Interface at bill create screen
2016-03-14 19:18:53 +00:00
Neil Lathwood
d996a7af3c
Merge pull request #3195 from richardlawley/issue-3151
...
Historical Billing Graphs use correct values for 95th line
2016-03-10 12:50:09 +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
Richard Lawley
bd640ebc08
Update History Page to match
2016-03-08 18:45:55 +00:00
Richard Lawley
9f136c06de
Update Billing UI to match rest of app
2016-03-08 18:21:29 +00:00
Rosiak
76a3be4abb
small changes
2015-12-25 01:14:58 +01:00
Rosiak
d134af0ecb
Bill cleanup
...
A bit of cleanup
2015-12-25 00:54:13 +01:00
YellowDuck
eacad10eaf
Fixed remove-btn onclick
2015-12-21 15:22:25 +02:00
0xbad0c0d3
6f3b6dedf5
fixed remove JS
2015-12-21 15:19:20 +02:00
Rosiak
767c9b410b
Fix #2517
...
Minor cleanup
2015-11-29 00:53:58 +01:00
Mike Rostermund
eed3a89948
Fix for percentage bars in billing pages.
2015-11-11 22:54:21 +01:00
Neil Lathwood
9afdb745fc
Merge pull request #2029 from arjitc/patch-12
...
Fix table
2015-10-01 12:25:58 +01:00
Arjit Chaudhary
69d4335b34
Fix table
2015-10-01 01:51:55 +05:30
Arjit Chaudhary
7aae685323
Fix table
2015-10-01 01:49:00 +05:30
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
Job Snijders
ebd0f6fc35
Apply "Squiz" code style on old (pre-2014) files
2015-07-11 16:12:35 +02:00
laf
baac647893
Fixed removing port from bills JS error
2015-06-24 16:02:14 +01:00
laf
6496e6ece4
Consistent date formatting from MySQL
2015-05-22 13:38:52 +01:00
Neil Lathwood
a4d3c8709d
Fixed the scrut coding style issues
2015-02-22 16:45:40 +00:00
laf
d9a5d11782
More fixes to CDR and Quota values
2014-12-02 21:38:32 +00:00
laf
13712b1aed
Fixed bill display issues when calculating CDR
2014-12-02 21:16:08 +00:00
laf
012fc614eb
Removed link to pdf in billing history
2014-03-02 16:05:58 +00:00
laf
e535ec2e47
Resolved critical bugs from scrutinizer
2014-02-22 15:47:57 +00:00
laf
fc7404a3c4
Updates bringing forms / tables inline with Bootstrap v3, also adds Global search box
2014-01-13 10:08:59 +00:00
Paul Gear
a33db38f02
Remove remaining live references to observium.org
2013-10-29 21:06:32 +10:00
Adam Amstrong
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55
# -> / for phpdoc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
4db1454e92
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
2667649d3c
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +00:00
Adam Amstrong
14a703ceef
Bill reset page (from CodeKiller)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2949 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-04 10:47:40 +00:00
Adam Amstrong
02356017e0
fix overlibs on billing forms
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2903 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-18 17:00:32 +00:00
Adam Amstrong
9aa41ac04c
prettier billing editing/adding
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2902 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-18 16:23:49 +00:00
Adam Amstrong
4badb107dc
disable pdf for now
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2781 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-14 21:52:25 +00:00
Adam Amstrong
70af11e466
fixes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2768 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 18:33:27 +00:00
Adam Amstrong
3c6ad5b1e5
foo
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2767 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 17:00:26 +00:00
Adam Amstrong
d50d4eed08
billing cleanups
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2766 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 14:48:04 +00:00