* make login form more mobile-friendly
Disable autocomplete, autocorrect, autocapitalize, and spellcheck on username and password input forms.
* Update logon.inc.php
* Add state support FAN, Power Supply Avaya VSP
Adding FAN and Power Supply support for Avaya VOSS(VSP operating systems platform)
* Update avaya-vsp.inc.php
* Update avaya-vsp.inc.php
$index has been changed to rcChasFanOperStatus.$index and rcChasPowerSupplyOperStatus.$index in discover_sensor and create_sensor_to_state_index
* Update avaya-vsp.inc.php
its always the details. nice to have another pair of eyes. :-)
* fix: Fixed http-auth not honouring http_auth_guest
* Always fall back to http_auth_guest.
Make sure $username is set, otherwise, we won't try to authenticate.
* reverted elseif to default to http-auth-guest
* Update authenticate.inc.php
simplify logic
* append Avaya VSP HW revision to serial number
The old way added the HW revision to the sysDescr. When managing a bunch of switches with different versions this made it look like you had a lot of different kinds of switches. These are all the switches. Just add it to the serial number so you can have the hw version for reference if needed. Just makes more sense not to appended to sysDescr.
* Update avaya-vsp.inc.php
* Update avaya-vsp.inc.php
forgot to add the $hardware variable so Platform would populate
* Update avaya-vsp.inc.php
* Add TiMOS temperature and power supply state sensors.
* Refactor the sensor discovery, making it a little cleaner
* Discover TiMOS device serial number
Pull proper hardware OID instead of parsing sysDescr
* Make the style gods happy
* Refactoring for some of the requested changes
* Break out the arrays into variables as scrutinizer requests...
* Fix missing semicolon
* fix: take another crack at fixing uptime
It looks like we weren't using sysUpTime before???
Simplify the code and just max all the time values.
* inline bad checks
* fix: Two-Factor Auth
Moved library to a class to take advantage of namespacing and auto loading.
Update the two factor code to use the AuthenticationException for error messages.
Fix remember me to work with 2fa.
* missing change
* Committer: Chris A. Evans <thecityofguanyu@outlook.com>
Add basic support for MRV OptiDriver Optical Transport Platform
* OS Detection
* Sensors
* Chassis temperature
* State
* Tx/Rx Optical Interface Power
* Power Supply
* Fan
* renamed: includes/definitions/mrv-optidriver.yaml -> includes/definitions/mrv-od.yaml
new file: includes/discovery/sensors/dbm/mrv-od.inc.php
deleted: includes/discovery/sensors/dbm/mrv-optidriver.inc.php
renamed: includes/discovery/sensors/pre-cache/mrv-optidriver.inc.php -> includes/discovery/sensors/pre-cache/mrv-od.inc.php
renamed: includes/discovery/sensors/state/mrv-optidriver.inc.php -> includes/discovery/sensors/state/mrv-od.inc.php
new file: includes/discovery/sensors/temperature/mrv-od.inc.php
deleted: includes/discovery/sensors/temperature/mrv-optidriver.inc.php
renamed: includes/polling/os/mrv-optidriver.inc.php -> includes/polling/os/mrv-od.inc.php
* modified: includes/discovery/sensors/dbm/mrv-od.inc.php
Added missing ')' in the if conditionals.
* Requested changes
modified: includes/definitions/mrv-od.yaml
modified: includes/discovery/sensors/state/mrv-od.inc.php
modified: includes/discovery/sensors/temperature/mrv-od.inc.php
modified: includes/polling/os/mrv-od.inc.php
removed extensions from all new mib files
* Add snmprec file to satisfy test units
new file: tests/snmpsim/mrv-od.snmprec
Added support for the HipChat V2 API (it detects if "v2" is in the API URL) and also changed the default coloring so any non-recovery/reboot messages get colored as red.
* newdevice: HPE RT3000 UPS
* newdevice: HPE RT3000 UPS
* changed polling to snmp_get_multi_oid, fixed divisor for load and voltage
* fixed blank line in functions.inc.php
* fix: minimize session open time
page/graphs speedup part 2
Write close the session as soon as we no longer need to write to it. Prevents the session from blocking other requests.
Do not run through full authentication functions if the session is already authenticated.
Removes password from the session as well as some items to prevent session fixation from #4608.
WARNING: This will cause issues for ad/ldap users who do not have a bind user configured!
* Do no erase username when using cookie auth.
Properly close the session in ajax_setresolution.php
* write close the session as soon as possible in ajax_setresolution.php
* Remove session regeneration. It is not compatible with the current code and would require more changes.
* Totally refactor authentication. Extract code to functions for re-use and improved readability
* Use exceptions for authentication and error logging
Tested: mysql, ad_auth with and without bind user
* fix a couple scrutinizer issues
* fix reauthenticate in radius
* feature: Added script (scripts/test-template.php) to test alert templates
* moved remaining functions, fixed php 5.3 and include dir
* added docs on use for test-template script
* refactor: move default alert rules into the collection
Also adds the wireless rules to the default set.
* Added additional defaults to extra
* Fix up the extra value
Also, missed `rule` column when creating default rules