Commit Graph

191 Commits

Author SHA1 Message Date
Neil Lathwood
4f4719b66a webui: Updated all tables to have the same set number of items showing (#6798) 2017-06-08 22:10:30 -05:00
Neil Lathwood
3fbdc749e0 webui: Allow iframe in notes widget (#6773)
* webui: Allow iframe in notes widget

* added height+width to notes widget
2017-06-03 17:14:16 +01:00
Neil Lathwood
34c35f3627 webui: Updated remaining display options where we do not show sysName if hostname is IP (#6585)
* webui: Updated remaining display options where we do not show sysName if hostname is IP

* renamed function + simplified
2017-05-05 06:25:58 -05:00
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
Ryan Medlyn
3712ca91fe Localizes alerts_grid variable to fix errors with multiple alerts tables (#6285) 2017-03-28 16:00:09 +01:00
towster
7bb9d58a07 feature: Store the username in eventlog for any entries created through the Webui (#6032)
* Added identification of user who removed a device to eventlog entry

* Fixed spaces

* updated to store username for all eventlog where applicable

* moved sql file

* updated
2017-03-11 07:03:52 -06:00
philmd
ad6dafd3a5 webui: display sysnames/hostnames instead of ip addresses #4155
When a network is mostly assigned using RFC 1918, DNS resolution is not useful
and devices are displayed by IP address.

When $config['force_ip_to_sysname'] is enabled, use ip_to_sysname() to display
the device hostname or SNMP sysName if present instead of the device IP address.

UI modified by this patch:
- Hover in Dashboard Availability Map (/overview)
- Name in Availability Map (/availability-map/)
- Title of device page (/device/device=...)

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

GitHub-issue: #4155
Suggested-by: Andres Rahn <andreser@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-03-03 19:48:53 +00:00
towster
d06aaaa222 fix: Modify worldmap tooltip and popup to use ip_to_sysname (#5914)
* Update discovery-protocols.inc.php

Allow invalid hostnames if discovery by IP is true

* Update AUTHORS.md

signing

* Update AUTHORS.md

signing

* CDP discovery by IP modification

CDP would not discover devices that had invalid DNS value for cdpCacheDeviceId - modified to accept 
Also exclude adding devices whose hostname matches the IP

* Update AUTHORS.md

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

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

* Made tooltip and popup on worldmap show sysName when ip_to_sysname is config'd

* fixed style
2017-02-16 08:18:40 +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
Robert Verspuy
27417f72ad fix: incorrect hostname in the mouse-over of the services in the availability-map #5734 2017-02-02 16:57:42 +00:00
Neil Lathwood
981e974a70 fix: Check lat/lng are numeric rather than !empty #5585 (#5657) 2017-01-31 08:07:27 +00:00
Neil Lathwood
fa92cc5e24 fix: top-devices widget now will honour for ip to sysName config #5388 (#5643) 2017-01-28 00:58:43 +00:00
Richard Mayhew
6a1fd3ec05 webui: Additional Font Awesome icons (#5572) 2017-01-25 17:42:26 +00:00
Tony Murray
da2c6c5d3c feature: support large vendor logos (#5573)
These are often wider than icons, with a fallback to icons if the logo is not present
Logos are stored in /html/images/logos
SVG is preferred for HiDPI
2017-01-24 22:16:01 +00:00
Søren Rosiak
cdef7885aa webui: Small Best Practice Fixes 2017-01-02 00:03:23 +00:00
Neil Lathwood
78f5c26cd6 fix: Allow html but not script, head and html tags in notes widget #4898 (#5006) 2016-11-26 20:54:49 +00:00
Tony Murray
6708c7cb81 fix: eventlog type variable collision (#5046) 2016-11-22 14:27:16 +00:00
Tony Murray
2aad2683b9 webui: availability map compact view, use square tiles instead of rectangles (#5038) 2016-11-22 13:47:47 +00:00
Neil Lathwood
58582c82c1 fix: Fixed loaded modules for ajax search (#5043)
* fix: Fixed loaded modules for ajax search

* fixed eventlog widget
2016-11-22 09:46:41 +00:00
Jonathon Koyle
138e20da13 remove service type from uniform display 2016-11-10 14:35:52 -07:00
Andreser
b790317178 webui: Update Availability-Map Widget to use sysName when IPs used and config enabled (#4968) 2016-11-10 21:30:56 +00:00
Neil Lathwood
4a854e02ce fix: Added support for https links in alerts procedure url (#4872) 2016-11-01 18:04:01 +00:00
jonathon-k
6996576a90 webui: Further decouple the avail-map page from the widget (#4887) 2016-10-30 20:20:55 +00:00
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