Commit Graph

168 Commits

Author SHA1 Message Date
Neil Lathwood
a2f2ccfd2c security: Fix some reported security issues (#4807) 2016-10-15 20:45:18 +01:00
jonathon-k
87ff439d8f webui: Option to display devices as a uniform size w/o labels in availability map widget 2016-10-15 17:58:27 +01:00
crcro
fb677beb72 fix: availability map multiple instances (#4773) 2016-10-14 19:04:38 +01:00
crcro
610c933997 fix: top widget multiple instances (#4757) 2016-10-14 19:01:26 +01:00
crcro
da32f7bb43 webui: Added sorting and poller time support to top-devices widget #4668 2016-10-03 18:59:31 +01:00
crcro
e3bdc2ff66 webui: top devices widget enhancement #4447
webui: top devices enhancement #4447

* code cleaning/optimization as per @laf instructions

* removed blank lines, some vars rename for easier understanding

* removed redundant var definition for graphs

* travis recomandation for string to array
2016-09-29 07:40:41 +01:00
crcro
d6f0d819f3 fixed fixing ignored/disabled (#4660) 2016-09-29 07:37:53 +01:00
crcro
88dc19a323 fix for disabled/ignored (#4623) 2016-09-27 09:17:36 -05:00
crcro
ac2da17164 widget titles for smaller size 2016-09-24 17:10:39 +03:00
crcro
48bfc600a6 code reduction 2016-09-24 14:56:44 +03:00
crcro
0b44335040 fix indented 2016-09-24 04:15:08 +03:00
crcro
11122a5a3d removed commented lines 2016-09-24 03:33:24 +03:00
crcro
73bb45e465 multiple fixes 2016-09-24 03:28:01 +03:00
Jonathon Koyle
121d16fc14 Update to check new setting for true and isset 2016-09-23 14:47:59 -06:00
Jonathon Koyle
5b43119cfd Leave serviceClass the same as device class for directPage view 2016-09-23 14:47:59 -06:00
Jonathon Koyle
01fc94b31b Add option for displaying ignored services and devices in availability-map 2016-09-23 14:47:59 -06: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
crcro
27235c3ab1 json_decode as array 2016-09-23 01:31:11 +03: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
crcro
cae9f57706 fix blank line 2016-09-22 00:27:12 +03:00
crcro
63f42acda6 general updates 2016-09-22 00:11:16 +03:00
Tony Murray
36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
jonathon-k
5b3ee62b33 webui: Update Alerts table (and widget) to re-sort rather than reload page when ack'ed (#4440)
* Update Alerts table to re-sort rather than reload page when ack'ing

* msg box updates
2016-09-15 08:44:22 +01: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
4001f8c60a webui: Updated bootgrid + added syslog colouring based on priority (#4287)
* Updated bootgrid + added syslog colouring based on priority

* Updated functions and removed uneeded file
2016-09-06 07:39:53 -05:00
crcro
4e5bd343b5 fix #4275 - custom title 2016-09-06 02:44:55 +03:00
crcro
aad9b675c3 more options to amap 2016-09-06 02:01:15 +03:00
crcro
8ce1d81b71 amap device box reverted to original size, fixes for device groups (#4334) 2016-09-04 07:04:53 -05:00
crcro
921d5b9ed5 webui: availability map update (#4300)
* a-map update 3

* pre-commit.php fixes

* moved group query inside if
2016-09-02 12:42:45 -05:00
crcro
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01:00
crcro
6190562d9a availability map updates (#4160)
* fix for services visibility if no service available or not enabled in config

* availability map option to switch to old view

* updates as guided by @laf
2016-08-22 19:12:44 +01:00
Tony Murray
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
Neil Lathwood
fb935cdb30 Merge pull request #4122 from murrant/more-avail
Availability: small changes
2016-08-20 01:13:58 +01:00
Tony Murray
cfe2cf8069 Merge remote-tracking branch 'upstream/master' into psr2-html 2016-08-19 13:54:45 -05:00
Bennett Blodinger
60e13a5d15 Update device-summary-vert.inc.php 2016-08-19 13:45:04 -04:00
Bennett Blodinger
aeb1c1fc43 Keep theme consistent on tables
Makes the tables a bit more uniform
2016-08-19 13:39:58 -04:00
Tony Murray
257cec197d Availability: small changes
Mouse pointer to indicate the labels are clickable.
<label> is a form element and should not be a child of <a>, use span
2016-08-19 09:51:21 -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
crcro
a4234a00f0 rewrite code for less repetition, removed unused css classes 2016-08-15 01:42:02 +03:00
crcro
1270028b2f forgot about widget host warning 2016-08-13 16:43:25 +03:00
crcro
889c02dd2a looks like services can have warning also, changed the warning labels to warn for readability 2016-08-13 16:38:47 +03:00
crcro
ccc88911f8 -fixed select position/size
-extra style for text on labels for readibility
-PSR-2 style
-added classes for all styles
2016-08-13 05:12:05 +03:00
crcro
e575271126 added linux os distro icon, fixed formatting 2016-08-13 03:20:55 +03:00
crcro
655363082c rewrite of availability-map 2016-08-12 22:51:29 +03:00
Florian Beer
adafda7773 Update syslog page
Brings Syslog page HTML in line with Eventlog page.
2016-08-05 14:30:06 +02:00
Neil Lathwood
42a8c27237 Merge pull request #3821 from adaniels21487/issue-3272-1
Component Update - Status
2016-07-25 20:13:25 +01:00
Aaron Daniels
52455e1128 Component Update - Status
- Align the component status field with the Nagios standard
  0=ok, 1=warning, 2=critical
- Modify existing modules to report these status' (Cisco-OTV)
- Add/Modify Alerting Macros to use these status'
- Add the a component status widget
- update edit page to report these status'
2016-07-11 16:51:01 +10:00
laf
a6723d954a Added forced refresh for generic images widget 2016-07-10 00:42:33 +01:00
Brandon Boudrias
1aab030f37 giving graph widgets option to manually specify port type 2016-06-30 17:05:55 -07:00
Brandon Boudrias
4ad75fb89d create common method for generating type_wheres 2016-06-30 17:05:55 -07:00