* fix: AD authentication when auth_ad_base_dn is an OU
OUs don't have SID, so we can't use them to figure out the domain SID
* Only match leading OUs
* Actually, might be best to remove everything except the domain components.
* now creates a component with all the DBs in it
* add the function get_postgres_databases
* add multi DB support to the Postgres device app page
* add multi DB support to the Postgres graphs
* whoops removed the udpate bit, readd it
* white space cleanup
* now use json for storing DB names
* provide the list of DBs in a cleaner manner
* Update postgres.inc.php
* Fix the definition. Should be mef instead of mef-evc
* Added Coriant TNMS Hardware page.
* Polling and discovery modules for TNMS Network Equipements.
* SQL in one line.
* Only show when OS is coriant
* Fix conflict file
* Conflict file
* Added missing COLLATE
* Refactor poller code for more data to be inserted into DB in the future.
Removed the discovery module and merged it into poller code.
* Removed tnms-nbi discovery also in the yaml
* Removing debug
* Code updates and fixes + schema rename
* bootstrapify the code.
Renamed the sql file
* Bloody tabs !
* Add db_schema.yaml update.
* api: API allow cidr network searches of the ARP table
* Allow non-encoded / in request
I also noticed that all is allowed to be called without device, which the sql query does not support.
* Add support for custom MySQL unix-socket
* NULL must be lowercase!
* Naive edit of html/install.php
* fixup
* Refactor dbConnect
Use it everywhere
* $config needs to be global
Don't need to set $database_link
* small cleanups
* Added device discoery for Teradici PCoIP card
* Removed redundant arguments from snmp_get and comments in os definition
* Added 'workstations' as a device type
* Fix redirect on login for instances
On instances where base_url has been set for use behind a reverse proxy, logins are incorrectly redirected.
This happens because REQUEST_URI is set by the proxy:
1. librenms has base_url set to http://site.com/nms/
2. Browser requests http://site.com/nms/
3. nginx reverse proxies /nms/ to librenms at http://somehost:1234/
4. librenms sees REQUEST_URI as "/"
5. librenms logs the user in, but sends "Location: /" to the browser. This redirects to the wrong location.
To resolve, concatenate REQUEST_URI (which is relative) to base_url. As base_url is slash-terminated, crop the trailing slash. This should have no effect on users with default settings and will correctly redirect instances behind reverse proxies.
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* Adding comment explaining redirect logic on login
* Use rtrim instead of substr
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* Add mitsubishi logo for Sinetica UPS
* Update to SVG logos
* 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
* fix: move user preferences dashboard and twofactor out of users table
This allows them to work with any authentication method
Add set_user_pref() and get_user_pref() helper functions
* fix edit users for other users
* Fix updated_at default timestamp
* Update and rename 183.sql to 184.sql
* removed commented out debug
* add get_fail2ban_jails functions
* now do component stuff for fail2ban for tracking jails
* now use get_fail2ban_jails for getting a list of jails
* readd the accidentally deleted update app bit
* white space cleanup
* Update fail2ban component code
* remove unneeded variable
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.
* missing global (but still may not be working)
* always return a value from reauthenticate()
* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.
* Refine auth_test.php a bit more
A few small cleanups in other places of the auth
* Add auth_test.php to docs
Some more improvements in the auth_test.php output.
* Update Authentication.md
* Fix height of widget boxes
This pracitcally reverts #5644 and instead applies the correct fix by
calculating the dimensions of the widget box correctly.
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* Added detection for Hirschmann Railswitch
* Update AUTHORS.md
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* Fixes for PR 6207 requested changes
* Fixes for PR 6207 requested changes
* Fixes for PR 6207 requested changes
* Fix for PR 6207 requested changes
* Fix for PR 6207 requested changes
* Fix for PR 6207 requested changes (old states and temperatures directories removal)
* fix for PR 6207 : state fileupdated
* webui: improve the text alignment for tab bars
Margin tweaks no longer needed since we use font awesome icons everywhere
Add role presentation for improved accessibility
Clean up some of the permissions logic on the device page (tested)
* fix style