Commit Graph

5685 Commits

Author SHA1 Message Date
Jellyfrog
258505ed44
Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
Tony Murray
c5b63bde86
New Blade Components: x-device-link, x-port-link, x-graph-row, x-popup (#13197)
* working popover

* popup component

* cleanup

* finalize device-link component

* attributes WIP

* working graph component

* widgets WIP

* More dynamic configs

* Graph row component

* Build CSS so we can use a dark theme

* graph row set columns

* only one popup visible at a time.

* Just set graph row width statically

* responsive WIP

* rsponsive option for graph-row "working"

* remove @deviceLink and @portLink

* fix non-responsive graph row

* update js/css

* fix style

* bad type?

* types

* types

* types #3

* remove testing code

* full rebel, no closing tags for meta and link

* match previous formatting

* fix vlans display

* restore newline

* remove silly comment

* remove unused line

* style I guess
2021-09-10 08:07:08 -05:00
Jellyfrog
26b95c0ccc
Apply fixes from StyleCI (#13208) 2021-09-08 23:35:56 +02:00
Jellyfrog
57cedd5158
Add support for description texts in Settings page (#13104) 2021-09-01 18:58:51 -05:00
Tony Murray
79de1ca28e
Select dynamic fixes (#13187)
* Fix select-dynamic changes
require validation for select-dynamic
allow 0 in config:set

* fix zero_or_exists

* validate, not validation :D
2021-08-31 20:43:02 +02:00
Negatifff
9a635232dc
add serial search in ajax search process (#13185) 2021-08-30 14:49:10 +02:00
Tony Murray
d646562e4e
Dynamic Select setting (#13179)
* Dynamic Select setting
embeds select2 and uses ajax to call to backend for options
poller-group included

* fix validation a bit

* fix typehint

* move minProperties into the select schema

* Change dashboard-select to select-dynamic
Love deleting code

* Change dashboard-select to select-dynamic
Love deleting code
wire up a few select2 options

* fix whitespace

* Not a model, just an object

* Suggestion from @SourceDoctor autocomplete values of select and select-dynamic

Got a little creative with InternalHttpRequest...
2021-08-28 06:46:53 -05:00
Tony Murray
d74bb37971
Show port speed on port graphs, optionally set scale (#11858)
* Show ifSpeed on Graph
Drop ifHighSpeed, we really don't want to store that value.

* safer truth check

* Allow global setting and per-graph variable

* match surrounding case

* Style fixes

* Remove old function usage

* update schema

* remove some old usages

* cleanup more ifHighSpeed references

* update test data to remove ifHighSpeed

* fix down migration

* Add button on graph page
Change default
tweak wording
2021-08-23 06:47:44 -05:00
Facundo Caselles
8bb6eec732
Dark mode improvements (#13141)
* Changes to dark theme.
- Tables with white background now has dark background.
- Listbox in searchbar now has dark background.

* Minor change to internal css to modify all tables without 'table' class applied. (view screenshot)

* -Transparency on mini graphs on ports

* bootgrid-table td.no-results now has dark background

* Changes suggested by @Talkabout
2021-08-21 20:06:13 +02:00
paulierco
d6fee82e1a
Add OSAG OS (#13156) 2021-08-20 19:25:07 +02:00
Facundo Caselles
9723c44479
Improvements to dark theme (#13139)
- Tables with white background now has dark background.
- Listbox in searchbar now has dark background.
2021-08-15 09:27:14 +02:00
VTS
636dce43d2
sort port selector dropdown (#13135) 2021-08-13 16:45:22 +02:00
Kevin Zink
7c41698e4b
Add logo for Scientific Linux (#13075) 2021-07-27 16:27:50 +02:00
Russell Morris
5056fe5416
Add logo for Linux Mint (#13055)
* Add logo for Linux Mint

* Remove width and height from svg file - as required.

* And add viewBox
2021-07-19 09:44:16 +02:00
mathieu-artic
784c19587a
add support for ucopia appliances (#13031) 2021-07-11 23:11:35 +02:00
martinberg
131f5c7e87
Option to filter Oxidized groups (#12966)
* Add support for Liebert humidity setpoint and UPS powerfactor

* Option to ignore groups so they are not sent to Oxidized

* Revert "Add support for Liebert humidity setpoint and UPS powerfactor"

This reverts commit c338528aba.

* Updated docs

* Added ignore_groups option

* Added descriptions and updated translations

* Update settings.php

* Fixed typo

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-06-28 12:53:16 +02:00
Ray Lyon
03aa453893
Added logo svg for Rocky Linux (#12977)
* rocky linux logo

* removed width and height attributes

* added back viewbox
2021-06-23 15:48:17 +02:00
Kevin Zink
7ef302a8b9
EUROstor RAID (#12969)
* Proware Controller in EuroStore RAID Chassis

* fix style

* Eurostore

* renew testdata

* Fix style
2021-06-21 10:13:40 +02:00
Tony Murray
50dd6c1685
Fix ldap/ad group webui settings (#12967)
* Fix LDAP groups UI WIP

* fix up ldap and ad group settings

* production compiled assets
2021-06-19 16:16:02 +02:00
Kevin Zink
3a0c164a5d
Add Barco Clickshare (#12927)
* Add Barco Clickshare

* correct type

* and testdata
2021-05-31 00:15:24 +02:00
mathieu-artic
15da7faef1
Add support for oneaccess router (#12850)
* add oneaccess

* add oneaccess mibs

* modify cpu description

* delete .mib

* add cpu name

* update tests files

* add text
2021-05-29 09:08:28 -05:00
Jellyfrog
556c265934
Initial HAProxy ALOHA support (#12889) 2021-05-25 15:33:18 +02:00
Tony Murray
d10a3db5e0
Fix server stats widget (#12864)
* Fix Server Stats Widget
JustGage update
removed title feature, so re-implement

* Improve layout
2021-05-12 12:39:49 -05:00
Tony Murray
2d752925b0
Oxidized improvements (#12773)
* Oxidized API cleanup
Import more settings to the UI
use lnms config:set

* validate os and type exist

* map settings WIP

* oops

* editing working.  Needed to add new property to pass update state to child

* implement deleting and handle text overflow a little better.

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* revert change

* fix style

* add return

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-05-11 08:08:59 -05:00
Tony Murray
3d62be5003
Jquery upgrade (#12802)
* WIP js upgrades

* trying 3.0

* Event handler changes

* fix alert rule collection loading

* blur fix

* jQuery 3.5
homescreen no warnings

* actually 3.6 include js

* Update bootstrap to 3.4.1

* missed file

* Update and test install process

* cleanup

* attempt to version js files that were updated.
2021-05-11 08:08:06 -05:00
PipoCanaja
fff8b8e832
Collect OUI Database and do OUI lookups (#12842)
* first draft

refresh time

refresh time

* return codes

style

style

* presentation

* Exception details

more

fix

fix

* add tooltips

fixes for dns display

* create WebUI config option

languages

* refresh data every 7 to 11 days, keep it 15 days max

* 'Ports' and 'Port' ARP table

* Stp page support

style

style

* fix dnsname column finding when vendor is added/removed

fix dnsname column finding when vendor is added/removed

* nac vendor column

nac

* filter fields to reduce size of AJAX reply

filter fields to reduce size of AJAX reply

* fix typo on dns column detection

* default enabled
2021-05-10 14:56:48 -05:00
Denny Friebe
1734e3af04
Fix allow_unauth_graphs (#12829) 2021-05-04 07:49:16 -05:00
Tony Murray
61c89794e4
Remove debug globals (#12811)
* Remove $debug global
and $vdebug global
makes these variables more accessible and protects from collisions.

* the on boot set sends application as the first parameter, just handle that

* Relocate other debug related functions

* Log debug to stdout

* Wrong output

* remove stupid constants

* Fix lint and style issues
2021-04-29 22:42:18 -05:00
SourceDoctor
ea75435990
Filter Ports out by Interface Type (#12590)
* Filter Ports +out by Interface Type

* style fix

* style fix

* .

* .

* change code

* .

* move filter to main filter function

* reduce to bad_iftype in settings
2021-04-27 21:43:52 +02:00
Torch
62c5759bd1
Device: Added basic support for BKtel Optical Amplifier (#12754)
* added basic bktel oa support

* renamed bktel mibs
2021-04-16 13:50:56 +02:00
Tony Murray
c36fe928e4
Fix mini graphs (#12738)
Remove the polyfill, if the noscript tag isn't removed it breaks graphs
Ajax tables should not use lazy loading anyway...
2021-04-12 02:40:47 +02:00
Tony Murray
04407db85b
Use native browser lazy load (#12720)
* Use native browser lazy load
Polyfill for older

* Add intersection polyfill for IE and older browsers
2021-04-08 11:24:53 +02:00
Tony Murray
500f50e867
JS fixes for IE (#12721)
* JS fixes for IE
just a couple that caused the issues with graph loading and widget settings not saving.

* remove polyfill

* Update ports.inc.php
2021-04-08 11:22:44 +02:00
Tony Murray
1c379dcd05
Remove legacy function calls (#12651)
* massive inlines

* fix style and wtf

* remove rrdtool.inc.php include

* fix CommonFunctions namespace issues

* looking for missing class space, fix undefined class issues

* style fixes
2021-03-29 00:25:30 +02:00
Lucas Dousse
afa43a1b7f
add css text center (#12608) 2021-03-11 18:26:06 +01:00
SourceDoctor
09d30ce75d
Global Settings - SNMP Timeout (#12579)
* Global Settings - SNMP Timeout

* omit snmp timeout if it is 1

* add retries field

* filter default retries too

* fix typo

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-03-04 20:18:26 -06:00
SourceDoctor
75a0a5e374
Use DNS Location Record for Location (#12409)
* Use DNS Location Record for Location

* .

* .

* .

* grammar fix

* dns class

* code changes

* composer update

* add missing composer.lock update

* reposition Location record parsing

* composer update

* default yes ; change lookup order

* merge master

* .

* move Location Record Parser to Model Level

* .

* fix location record code

* Location precedence with tests
Setting from UI disables all lookups

* update composer.lock and mix-manifest.json

* Style fixes

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-02-22 11:17:40 +01:00
Jellyfrog
20b4215204
Swich links to https (#12511)
* Switch librenms links to https

* Convert librenms links in comments

* Switch gnu.org url to https

* switch php urls to https
2021-02-09 00:29:04 +01:00
balkandude
8fbe1b3153
Network map fix Css/img (#12498)
* Add files via upload

* Delete zoomExtends.png

* Delete upArrow.png

* Delete minus.png

* Delete plus.png

* Delete leftArrow.png

* Delete downArrow.png

* Delete rightArrow.png

* Create test

* Add files via upload

* Create readme

* Add files via upload

* Delete downArrow.png

* Delete leftArrow.png

* Delete minus.png

* Delete plus.png

* Delete rightArrow.png

* Delete test

* Delete upArrow.png

* Delete zoomExtends.png

* Update readme
2021-02-06 18:23:26 +01:00
Negatifff
d201c4ff9d
Socomecpdu support (#12481)
* socomecpdu-support

* added newline

* test added

* test added

* test json added

* fix1

* fix2
2021-02-02 16:12:41 +01:00
Martin
41570c46b1
Support new lines in login_message again (#12469)
Introducing own css class for customization

Fix problem introduced with #12460
2021-01-27 08:06:20 -06:00
Tony Murray
60d3d54554
Fix poller frequency display bug and warn (#12466)
* Fix poller frequency display bug and warn
Make warning more obvious.

* Fix typo
2021-01-27 10:10:23 +01:00
Martin
cdd93b695c
Remove unnecessary horizontal scroll bars in allert widgets (#12464)
* Remove unneeded horizontal scroll bars for alert widgets

Fixes #12454

* Always hide horizontal scroll bars

Width of the widget_body class is set to 100% which hides them anyway, with correct css margins
2021-01-25 23:07:11 -06:00
Martin
4779e7952e
Improving readability of tables on dark theme dashboards (#12455)
lighten the text color in widget tables such as syslog or eventlog (it was black on grey)
2021-01-23 00:18:06 -06:00
Tony Murray
b07b81021a
Output image for graphs with no data (#11865)
* Output image for graphs with no data

* add font

* Fix graph error, try to detect rrd missing

* centralize graph_error
use it for graph_text_and_exit()

* Add SVG, right now the text can get a little big...

* fix style
2021-01-13 07:23:47 -06:00
Jellyfrog
d7e88bf311
Upgrade to Laravel Mix 6 (#12421) 2021-01-06 20:18:43 -06:00
paulierco
575ce64f77
New device OS: McafeeWebGateway (#12418)
* McafeeWebGateway OS

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-01-04 23:04:07 +01:00
Ramūnas Lukoševičius
10eb7b2c2a
Added support for Motorola and Thomson DOCSIS Cable Modems. (#12386)
* Added tv_signal sensor class (TV signal in dBmV (decibells to millivolt))

* Added OS motorola-cm (Motorolla DOCSIS Cable Modem)

* Added OS thomson-cm (Thomson DOCSIS Cable Modem)
2021-01-03 22:35:32 +01:00
Lucas Dousse
2a98076515
New Logo Opnsense (#12359)
* Logo with best definition

* png to svg

* png to svg

* Change filename in test

* minify svg
2020-11-26 21:49:02 +01:00
Tony Murray
e8d0548317
Fix nets can't add (#12341)
fix some issues with the list settings widget
update Laravel Mix
update javascript
2020-11-24 19:47:40 -06:00