Commit Graph

243 Commits

Author SHA1 Message Date
Neil Lathwood
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
Tony Murray
4b9f3f37d7 fix: move user preferences dashboard and twofactor out of users table (#6286)
* 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
2017-04-01 22:18:00 +01:00
VVelox
acd11955d2 use components for fail2ban jails list (#6221)
* 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
2017-03-29 22:54:02 -05:00
VVelox
0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
markabrahams
54deb1d429 fix: API call for graphs not working (#6184) (#6186)
* fix: API call for graphs not working (#6184)

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md

* updated set_image_type to use new function
2017-03-13 16:39:43 +00:00
Tony Murray
58495a3910 Add php docs for log_event, small cleanups (#6141)
* Add php docs for log_event, clean up eventlog_severity a bit.

* Update functions.php
2017-03-12 13:05:31 +00:00
Robbie Penziol
afb838bc10 webgui: Added ability to set warning percentage for CPU, mempools from device edit page (#5895) 2017-03-03 15:07:12 +00:00
VVelox
354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
VVelox
6844f29217 feature: add get_disks function (#6058) 2017-03-03 14:27:33 +00:00
VVelox
7f91fab663 webui: Cleanup white backgrounds on certain graphs 2017-03-02 18:07:55 +00:00
Søren Rosiak
db58fea2d2 feature: Add Basic Oxidized Node List (#6017)
* feature: Add Basic Oxidized Node List
2017-02-27 22:32:13 +00:00
VVelox
252d0c1055 add a nicecase instance for PHP-FPM (#6007)
* add single pool based poller for php-fpm
2017-02-26 13:46:16 +00:00
Neil Lathwood
a8691680ab feature: Added ability to output graphs as svg (#5959)
* feature: Added ability to output graphs as svg

* Update graph.inc.php

* added ability to gzip various files for web servers
2017-02-22 06:08:18 -06:00
Neil Lathwood
e9d729eedc webui: added link to APs for alert details #5878 (#5898)
* webui: Add links to accesspoints in alerts #5878

* webui: added link to APs for alert details #5878
2017-02-15 07:55:03 +00:00
Richard Mayhew
5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
rockyluke
45c5c20ee1 webui: Replace Ntp with NTP in Apps menu (#5791) 2017-02-06 22:46:21 +00:00
Neil Lathwood
bc72ab916e webui: Remove ifIndex from ports list and add debug button for data access (#5679) 2017-02-03 15:20:25 -06:00
Neil Lathwood
6b0ed757f3 webui: Added function to shorten strings, used for storage overview display #5317 (#5678) 2017-02-01 20:15:50 +00:00
Richard Mayhew
5be1ea9132 webui: Final Font Awesome conversion (#5652) 2017-01-28 23:44:36 +00:00
David Bell
d83d08e268 fix: Allow overlib_link to accept a null class #5522 2017-01-20 18:03:06 +00:00
crcro
a9a02a0f80 feature: Added exim-stats to applications #5008 2017-01-20 08:47:13 +00:00
Søren Rosiak
92aab1608d feature: Oxidized basic config search (#5333) 2017-01-09 19:09:02 +00:00
Neil Lathwood
da5783d917 feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY (#5327)
* feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY

* fix all schema errors and update system
2017-01-07 11:32:38 -06:00
Neil Lathwood
9b9c10e204 fix: Cleanup printing ifAlias (#4874) 2016-12-12 14:25:48 +00:00
Tony Murray
48b0e53a54 fix: use password type for SMTP Auth #5051 2016-11-24 08:55:34 +00:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
laf
8a142aa53f feature: Added the option to select alert rules from a collection 2016-10-29 10:56:59 +00:00
Karl Shea
daf2cf7a24 app: Add GPSD application (#4754) 2016-10-08 21:25:50 +01:00
Neil Lathwood
9936aa77ff Feature: Added alerts output to capture system (#4574)
* Feature: Added alerts output to capture system

* Renamed $output to $content

* removed duplicate functions
2016-09-26 16:27:27 -05:00
Neil Lathwood
0c0c553d74 Merge pull request #4566 from laf/fix-ad-auth
fix: AD auth stop alerts being generated
2016-09-25 10:41:14 +01:00
crcro
7f8f302686 rewrite ups-apcups 2016-09-24 23:49:35 +03:00
Neil Lathwood
00d59362f2 fix: AD auth stop alerts being generated 2016-09-23 22:45:51 +01:00
Neil Lathwood
f94b352dbe Merge pull request #4429 from crcro/availability-map-update-5
webui: More updates for availability map
2016-09-23 19:32:21 +01:00
Bennett Blodinger
07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
Eldon Koyle
5749179cf5 feature: Add the ability to include an LDAP filter for users/groups in AD (#4494)
* Add auth_ad_(group|user)_filter options

* use global

* Fix some AD annoyances

Use the power of the LDAP filter to minimize the number of queries and
hopefully help performance in get_userlist, change semantics of
auth_ad_(user|group)_filter in $config to be anded with
samaccountname=USERNAME.

* remove unused variable

* update documentation

* Update Authentication.md
2016-09-21 14:42:59 -05:00
crcro
2927550a88 Merge branch 'availability-map-update-5' of https://github.com/crcro/librenms into availability-map-update-5 2016-09-14 01:23:48 +03:00
Neil Lathwood
a8efda8f30 Revert "Updated to remove passwords from sessions" (#4422) 2016-09-13 09:10:42 -05:00
crcro
7da4cca4e4 feature: new app: ups-nut (#4386)
* app: ups-nut

* newline ...

* removed code from another pr

* added battery charge status

* added battery charge status

* be happy travis...

* added UPS-nut to Applications
2016-09-12 21:59:33 -05:00
Neil Lathwood
deb4b74bc9 webui: remove passwords from sessions, 'remember me' works for all auth types (#4134)
* Updated to remove passwords from sessions

* Remove users sessions when user deleted

* Updated when cookies are set

* Updated setcookies to always contain a value

* Added destroy_cookies() to remove users cookies on failed login

* Removed debug line

* Fixed graph issues
2016-09-12 21:41:19 -05:00
Tony Murray
d1ae83a378 webui: Paginate the all ports pages (#4401)
* feature: Paginate the all ports pages
fixes: #2705

* Stopped ports not belonging to any devices from showing up

* phpcs fix
2016-09-11 16:23:16 +01:00
crcro
de707a259f refactor: ntp apps (#4333)
* updated nicecase function for ntp server and client app

* ntp applications refactoring

* removed agent for ntp-server: reported as not working

* removed ntpd from agent polling. thx @murrant
2016-09-10 07:37:00 -05:00
crcro
d1130818dd fix functions.php, sql queries 2016-09-06 02:55:29 +03:00
crcro
23e31bd030 fix functions.php, sql queries 2016-09-06 02:54:13 +03:00
crcro
aad9b675c3 more options to amap 2016-09-06 02:01:15 +03:00
Eldon Koyle
787c4f09f7 Config option for global default dashboard (#4080)
* Config option for global default dashboard

Add config option to set a global default dashbord.  This will be used
instead of the user's "Default" dashboard unless they have changed their
default dashboard in their user settings.

* Use a dropdown for the default_dashboard option

Update generate_dynamic_config_panel to allow assoc arrays with
`'value'` and `'description'` as keys and change to a select box.

* Fix PHP style issues lost during merge
2016-08-23 19:37:12 +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
f3a78d8136 NTPD Application
Support the unix agent
Add to documention.
Renamed so it will be automatically enabled by the unix-agent.
2016-08-15 23:54:13 -05:00
crcro
1281ae4bd3 ipmiSensorName 2016-08-12 00:53:25 +03:00
crcro
16f123451d fix indentation in functions.inc.php 2016-08-05 17:11:01 +03:00
crcro
1476650740 app-dhcp-stats initial release 2016-08-05 14:46:29 +03:00