b8e9b2d917
Implement an autoloader ( #4140 )
...
* Implement an autoloader
When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings
This reduces the file includes needed and only loads classes when needed.
* Add teh autoloader to graph.php
* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
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
bf2c522c89
Move third party software to html/lib form html/includes
2016-08-15 13:16:10 -05:00
c80d9d8a59
Removed gc_maxlifetime setting
2016-05-03 22:53:09 +00:00
b31cbd8dae
Code for Radius authentication added
2015-12-13 15:37:55 +00:00
f77c712bfc
changes needed to run under web server subdirectory
2015-08-11 14:54:05 -07:00
945ca7f2ea
Revert "changes needed to run under web server subdirectory"
2015-08-11 21:25:23 +01:00
cc0f449fc9
changes needed to run under web server subdirectory
2015-08-07 11:10:43 -07:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
52004231a2
added exit after redirect
2015-04-12 09:22:08 +01:00
cd5d18fa36
Added redirect when a POST value is found
2015-04-11 21:01:33 +01:00
86a3019e89
Updated include to include_once
2015-04-08 10:52:44 +01:00
791fa19a88
Updated the use of REMOTE_ADDR to a function then replaced its use
2015-03-18 19:14:51 +00:00
12fc20f8a2
Removed un-needed header redirect
2015-02-01 17:34:06 +00:00
d66cec7017
Added TwoFactor Authentication (RFC4226)
...
Tested against Google-Authenticator app on Android 4.4.4
Made `verify_hotp` more efficient.
Added autofocus on twofactor input
Added GUI Unlock and Remove for TwoFactor credentials in /edituser/
Allow additional tries after elapsed time from last try exceeds configured parameter `$config['twofactor_lock']`.
If `$config['twofactor_lock']` is not defined or is set to `0`, administrators have to unlock accounts that exceed 3 failures via GUI.
Added Documentation
Moved TwoFactor form to logon.inc.php
Disabled autocomplete on twofactor input field
Updated Docs to include link to Google-Authenticator's install-guides
Moved authentication logic from authenticate.inc.php to twofactor.lib.php
typo in docblock for `twofactor_auth()`
Fixed scrutinizer bugs
To please scrutinizer
2014-12-28 15:40:40 +00:00
b563b8425d
Updated null to false for secure cookie
2014-08-20 16:42:09 +01:00
183c69e304
Removed session regeneration
2014-08-20 16:24:27 +01:00
41c3baaa6a
Restore _GET login ability
2014-05-01 14:08:13 +01:00
18f9b89639
Removed code that was previously commented out
2014-02-23 17:55:07 +00:00
005504ae6d
Updated session / cookie support
2014-02-03 22:39:37 +00:00
04a9f4a2f3
Updated mysql auth to use PHPass
2014-02-03 12:10:06 +00:00
b10ae234ac
Moved the header call to after setcookie, also added an exit statement.
2014-01-09 10:41:40 +00:00
850359711c
add memcached application graphing support. move applications to <<<app-$name>>> for easier detection. add connection tracking to mysql application. move logout to /logout/ not
...
/?logout=yes.
git-svn-id: http://www.observium.org/svn/observer/trunk@3096 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-27 17:18:26 +00:00
4a7fe31add
typo tmp -> temp
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2850 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-25 05:51:12 +00:00
4bb69ef697
fix password
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2374 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-26 21:50:27 +00:00
842eb28fdd
fix topnav and authenticate
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2285 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 20:01:24 +00:00
c5aee9205b
more auth fixes from lenwe.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2222 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 14:10:21 +00:00
6f26110c7d
patches from lenwe (remove crappy tiny if and fix auth)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2221 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 12:22:04 +00:00
cbbd3bfa04
kludge from lenwe
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2188 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-27 19:35:15 +00:00
7ffefc0d57
move authenticate to a little later, update CHANGELOG for VMware support, minor cleanups, prettify message- and errorboxes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1979 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-26 19:28:39 +00:00
2afb522333
just another cleanup commit, don't mind me...
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1885 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 18:28:52 +00:00
30bdd952ee
Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-20 14:04:07 +00:00
e1b3f25d94
can auth via _GET
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1634 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-03 12:09:38 +00:00
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
a212bf8a98
don't warn on non-writeable rrd dir (why would apache be allowed to write there?
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1338 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 13:50:27 +00:00
3a40db48b8
cleanup checks add some mibs
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1301 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 19:34:52 +00:00
96c74a23bb
improved authentication checks (not sure this file is the right place, but meh) from sovern (also some fixes for diskio_ops)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1299 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 19:19:19 +00:00
a549e37fff
cleanups code, YAY COMMIT 1000
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1000 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-07 22:22:29 +00:00
c0620baddc
more working less sucking
...
git-svn-id: http://www.observium.org/svn/observer/trunk@994 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-06 01:22:09 +00:00
1900cbb309
can has working pages? NO CAN HAS :(
...
git-svn-id: http://www.observium.org/svn/observer/trunk@993 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-06 01:19:06 +00:00
71bcc3abe4
userlevel via authmodule
...
git-svn-id: http://www.observium.org/svn/observer/trunk@992 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-06 01:15:52 +00:00
b719e22e8e
auth modules! please test http-auth again, i haven't, but i think i got it right...
...
git-svn-id: http://www.observium.org/svn/observer/trunk@973 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-28 13:04:07 +00:00
a8be5a36f8
Add HTTP-Auth (thanks Allen Parker <parker a isohunt o com>)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@972 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-28 02:20:05 +00:00
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