Commit Graph

5814 Commits

Author SHA1 Message Date
Wheel
1129fa1d64
New OS broadworks / broadsoft (#16078)
* New OS broadworks / broadsoft

* Remove unused and cleanup commented lines

* Update and rename BW-BroadworksMediaServer.mib to BW-BroadworksMediaServer

* Update and rename BW-BroadworksApplicationServer.mib to BW-BroadworksApplicationServer

* Update and rename BW-BroadworksNetworkServer.mib to BW-BroadworksNetworkServer

* Update and rename BroadworksMaintenance.mib to BroadworksMaintenance

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-06-30 19:33:35 -05:00
Tony Murray
5ab2f685b4
Fix device ports VRF display (#16146)
impossible to display before
2024-06-28 08:45:50 -05:00
Slashdoom
56f36f094d
omit dark media left (#16152) 2024-06-24 19:41:41 -05:00
Andy Norwood
6f030b7082
Update styles.css (#16138)
Left align text for dashboard widgets
2024-06-18 07:49:54 -05:00
Tony Murray
075ba4c932
Ports UI update (#16115)
* WIP Device Ports porting to Laravel

* WIP port links

* Port Links WIP

* Port Links

* in_array -> isset

* Add request to DeviceTab data

* Add initial Pagination

* Missing select component

* Collapsed and expandable port neighbors
New expandable component

* Port sorting

* Fix port transfer

* Use menu entries to filter ports

* Add translatable strings

* style fixes and cleanup

* update css

* graph views and tidy controller
basic port link view

* cleanup

* port row blade to reuse in legacy port view

* Legacy tab url handling
work properly in subdirectory
remove includes from sub tab directory to prevent oddity

* fallback to detail list when the view doesn't exist

* Use named variable to simplify

* Fix issue from file that was a symlink

* Submenu handle sub items and query string urls

* extract pageLinks to improve readability

* fix typo

* Apply fixes from StyleCI

* phpstan was not happy using the relationship HasMany query

* Don't allow *bps etc to be on a second line

* Improve table on small screens

* Fix sort

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-06-16 11:29:06 -05:00
Tony Murray
7ac1b3303f
ESRI ArcGIS geo map support (#16059) 2024-06-05 08:16:33 -05:00
Tony Murray
fa16c025ba
Fix popup toast messages (Remove Flasher) (#16090)
* Remove flasher
Just use a bit of custom code to interface with toastr js
This is able to retain our custom theme and work properly

* Fix style issues

* Missed reference rename

* Remove test code :)

* Fix a missed rename

* Fix one more missed reference

* Fix typo
2024-06-05 08:07:42 -05:00
Gonza
b8e20bf615
Fix for issue #15841 && #15495 (#16083)
* Centering of <thead> in device summary table

I add the property "text-align: center;" to class ".gridster *"

* Adding lines in app.css

I add these two lines to the style sheet:

.select2-dropdown:is(.tw-dark *) {background-color: #2E3338;}

.select2-results__group:is(.tw-dark *) {border: 1px solid #1f2225;}
2024-06-02 11:18:52 -05:00
Tony Murray
f0966f4d23
Widget hot refresh & worldmap cleanup (#16053)
* Iterate in javascript and separate processing

* Widget refresh/destroy events

* Remove old dom and unbind events

* fix whitespace

* Fix up bootgrid tables, they inserted a div before the first div breaking event propagation
switch to regular js function to scope variables instead of jquery

* Handle settings the same way as the normal widget

* Use standard init_map and add layer control

* May need L.Control.Locate now

* Set maxZoom for marker cluster

* Try setMaxZoom

* worldmap size 100 and resize on refresh/widget resize

* Add resize event (and throttle it a bit)

* Further worldmap cleanup

* Move most javascript to common js, will cause js errors until page is reloaded, but better in the long run
2024-05-22 21:23:39 -05:00
Tony Murray
7c4f04ab9d
Manage Maps limit width (#16055) 2024-05-22 10:04:05 -05:00
Tony Murray
0d246a6ffc
Custom Maps: geo map and color backgrounds (#16020)
* Custom Maps: geo map and color background
tabs blade component
geo-map blade component and related script enhancements

* Update css/js

* style fixes

* update db_schema.yaml

* fix db_schema hand edit

* ignore phpstan being wrong

* Handle null

* another possible null spot

* Use standard file cache for custom map background images

* Create map->image as jpeg so we can compress it

* whitespace fix

* Fix background cancel button when other type is selected than the saved type

* Save and restore layer

* Map must exist before creating static image

* Don't show set as image button for Google and Bing.
Bing gives an odd error, but Google won't work.
2024-05-13 08:12:59 -05:00
Jarod2801
9ee7139f68
Added FibroLAN devices (#15967)
* Added FibroLAN devices

* Added FibroLAN devices including json files

* removed FibroLAN uFalcon-S
2024-05-07 22:55:55 -05:00
Tony Murray
5b20886732
Map Management: Show Groups (#16005)
* Map Management: Show Groups

* reorganize group selector a bit

* Use uuid to prevent issues with unicode strings and other oddities

* Edit buttons should not be primary

* Reactivity for small screens
2024-05-03 18:30:03 -05:00
Jarod2801
acd92e822b
Add support for ULAF+ (#15997) 2024-04-30 14:38:01 +02:00
Tony Murray
43e6846cbc
Custom Map: Show crosshairs when adding (#15978)
* Custom Map: Show crosshairs when adding
When adding a node or edge, give cursor feedback.
Updates js deps

* Missed package-lock.json
2024-04-25 15:36:16 -05:00
Tony Murray
f78edf4d11
New Map Menu (#15969)
* Map Menu
New top level Map menu.
Ability to group custom maps.
Ajax Select controller improvements

* Fix style
2024-04-25 15:32:33 -05:00
Tony Murray
5828907b23
Fix graph selection when to/from missing from url (#15946)
* Fix graph selection when to/from missing from url
fixes #15840

* Update js cache value
2024-04-14 16:48:01 -05:00
OSIRIS-REx
393e954664
Added support for new device OS Westermo WeOS (#15674)
* Added support for new device OS Westermo WeOS

updated high limits

* Removed config regarding discovery and polling modules

* First test with moving sensor discovery to YAML

* Updates to discovery snr sensor, new test data, deleted sensors written in php

* Fix for SNR discovery sensor descr

* Removed shdsl from bad_iftype

---------

Co-authored-by: OSIRIS-REx <sphinxes@protonmail.com>
2024-04-10 18:14:11 +02:00
Jeff Engleman
c83d362e59
supermicro bmc updates (#15862)
* merge templates

* fix merge issues

* fix bad merge

* adding snmprec for x11 variant

* better description for psu and vbat sensors + update overview

* oid name

* adding snmp_bulk: false back in so as to not break older hardware

* make atenpdu more specific so it does not match supermicro-bmc devices

* update x10 variant json

* updated supermicro logo and fixed data json

* updated supermicro logo

* json and snmprec got out of sync somehow
2024-03-04 23:54:46 +01:00
Justin Lentz
80e0ee44f5
Update Port Real Time Graph error (#15846)
* Update graph-realtime.php

Fix Typo

* Update realtime.inc.php
2024-02-22 03:04:32 +01:00
eskyuu
3d94c53438
Modify the date selector to use the session timezone (#15783)
* Modified the date selector to use the session timezone

* Set the timezone in the datetime picker and make sure it is always passed a moment date object, then altered the submit javascript function to use the existing moment object instead of creating its own

* Update the poll log to display in the correct timezone

* Fix the poll log to make the search work and be timezone aware

* Fix the displayed time on the device overview event log

* Style fixes
2024-02-21 11:45:12 -06:00
OSIRIS-REx
d6ce29c052
Support for new os/devices, CTS (#15790)
* Support for new OS - CTS

* Added test data for CTS

* Added sensors support, new test data

* Fixed POETotalPower num_oid

* Removed comment

---------

Co-authored-by: OSIRIS-REx <sphinxes@protonmail.com>
2024-02-06 16:42:36 +01:00
eskyuu
30953c386f
Add functionality for custom maps (weathermaps) (#15633)
* Initial commit with editor.

* Added custom map models and database migrations.
Modified the controller and view to support saving the custom map settings to the database

* Added menu items and sorted out access permissions for maps and nodes

* Cleaned up some of the conditions in the javascript section of the blade

* Started work on the map data save

* Save of map nodes and edges is complete

* Got the map to load data on page load and added the delete functionality

* Fixed a typo and made link colour black if intertface is down

* Various usability fix-ups

* Show the save button on node and edge delete

* Fixed up access for users without global read

* Increase typeahead search size and standardised the way modals are triggered.

* Update data fetch to copy values into array so I can add more fields

* Convert blank array check to use count()

* Formatting changes

* More formatting fixes

* Formatting again

* DB schema update

* Revert previous commit

* Pass device id to pages

* Remove bad characters from javascript

* Re-add the - character in search results

* Update to avoid background colour being set to the current colour for offline devices

* Fixed a bug in speed detection when no suffix is given

* Fixed up the speed colour calculation and added comments

* Update default edge font size to 12

* Reduce arrow size

* Formatting fix

* Update the custom map controller to handle null interface speeds

* Alter JSON columns to be longtext instead

* Only refresh map data on successful save

* Update labels on default settings to make it clear that they are not saved

* Added timestamps to all custom map tables
Use HasFactory instead of static definitions for custom map tables
convert JSON DB fields to longtext and updated PHP to do the appropriate JSON decoding as a result

* Added missing vis.js images for the editor

* Split the custom map blade into different pages

* formatting fixes

* Initial commit with editor.

* Added custom map models and database migrations.
Modified the controller and view to support saving the custom map settings to the database

* Added menu items and sorted out access permissions for maps and nodes

* Cleaned up some of the conditions in the javascript section of the blade

* Started work on the map data save

* Save of map nodes and edges is complete

* Got the map to load data on page load and added the delete functionality

* Various usability fix-ups

* Show the save button on node and edge delete

* Fixed up access for users without global read

* Increase typeahead search size and standardised the way modals are triggered.

* Convert blank array check to use count()

* Formatting changes

* More formatting fixes

* Formatting again

* DB schema update

* Revert previous commit

* Pass device id to pages

* Remove bad characters from javascript

* Re-add the - character in search results

* Update to avoid background colour being set to the current colour for offline devices

* Reduce arrow size

* Only refresh map data on successful save

* Update labels on default settings to make it clear that they are not saved

* Added timestamps to all custom map tables
Use HasFactory instead of static definitions for custom map tables
convert JSON DB fields to longtext and updated PHP to do the appropriate JSON decoding as a result

* Added missing vis.js images for the editor

* Split the custom map blade into different pages

* Updated the custom maps to use the select2 searches for ports and devices

* Fix port search clearing with select2

* Update DB schema to add timestamps

* Add the ability to set a node alignment value where nodes will align to a grid

* Add a checkbox to re-center edge lines

* Schema update for node alignment

* Removed unused route

* Fixups after rebase

* Remove DevicePortSearchController

* Rebase fixups

* Remove unneeded controller

* Formatting fixes

* Update all network map documentation

* Fixed typo in doc

* Change background imgae database migration

* Update migration for custom map background to fix schema error

* Place a try/catch around the BLOB->MEDIUMBLOB migration

* Formatting fix

* Moved custom map background image location and added some SVG images to test as image options

* Updated the editor to use a static set of device images

* Update the image logic in the editor and added to the viewer

* DB Schema update

* Formatting

* remove svg height/width attributes

* Added some more icon options for arrows

* Added database migration to allow nodes to link to another custom map
Fixed an error in the image migration

* Added the ability to link a node to another custom map

* Formatting fixes

* DB Schema update

* Remove images-custom directory

* Explicitly cast map ID to int

* Made the image selection list dynamic based on the contents of the custom map icons directory

* Formatting fix

* Double-clicking on a link will take you to the link

* Remove whitespace

* Add translations
fix an xss and hopefully not add any new ones
refactor node image to use translations with fallback

* split modals out into separate files
return width/height to avoid js scope issues

* Formatting fixes

* refactor edit select page into a "manage" page
Still left:
validation/custom request
Controller refactor
ui tweaks

* MapSettingsRequest

* Refactor more routes, policy, controller
I think this is the last refactor. Everything is now organized in a standard way.
Missing a method to check if a user has access to a map

* Fix booleans and style

* Add versioning to the background image to prevent browser caching

* Fixed the background image update by splitting it into a separate modal
Changed the delete button on the map editor screen to return to the map list

* Formatting fix

* Added double-click actions in editor to edit nodes and edges

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-01-31 08:56:59 -06:00
Tozz
7228dbfa23
Support for new Lancom devices (#15779)
* Lancom SNMPrec

* Lancom test data

* Lancom MIBS

* Lancom discovery

* Lancom LX/SX support

* Lancom

* Style CI

* Delete tests/snmpsim/lcossx_gs3510xp.snmprec

This device returns all possible vlans as interfaces, so we get roughly 4k interfaces. This makes the test file too big (>25M). Deleting this device as test data

* Update Lcossx.php

* New Lancom logo

* Remove height/width attribute

* SVG

* Add files via upload
2024-01-30 15:03:08 +01:00
Justin Lentz
ee114218d4
Add PollerGroup as an option for OxidizedMap (#15696)
* Update SettingOxidizedMaps.vue

* Update api_functions.inc.php

* Update app.js

* Update app.js

* Style

* Update mix-manifest.json
2024-01-15 22:55:20 +00:00
Jellyfrog
071ca9bc2a
Apply fixes from StyleCI (#15698)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-04 22:39:12 -06:00
Arnold
1170dc50c5
Updating the logo to higher resolution one (#15669) 2023-12-24 14:46:56 +01:00
Tony Murray
6a32fcec2d
Update javascript dependencies (#15651) 2023-12-15 11:42:09 -06:00
PipoCanaja
a54a82aa36
device - McAfee Web Gateway -> SkyHigh Web Gateway (#15596)
* Trellix

* Trellix

* logos

* tests

* mibs
2023-12-15 10:22:30 -06:00
Ville Hukkamäki
624eb5aa09
Add support for Forcepoint NGFW 6.10 and older (#15632)
* Add support for Forcepoint NGFW 6.10 and older
* Update forcepoint_forcepoint-ngfw-330.json
* Proc. discovery fix
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2023-12-13 23:29:53 +01:00
MaxPecc
afb7a61793
Added support of new OS for NTP/PTP systems: Meinberg OS, Safran (Orolia), Oscilloquartz (Adva) (#15453)
* Added support of new OS for NTP/PTP systems:
- support of Meinberg microSync OS (mbg-meinbergos)
- support of Safran (Orolia) SecureSync OS (orolia-securesync)
- support of Adva OSA (5401 and 5412) OS (adva_fsp150cm)

* Fix Safran (Orolia) images

* Added Test-unit JSON files

* Changed SVG images

* Changed SVG images

* Changed SVG images
2023-12-03 00:36:31 +01:00
eskyuu
cc7e02cbcd
Device links formatting changes (#15580)
Make the images inline so they appear side by side
Put newlines between the major device information sections (name, model/OS, location)
2023-11-16 08:54:29 -06:00
Kevin Zink
c1abbdc2c2
Add Quantum Scalar I6000 Tape Library (#14915)
* Add Quantum Scalar I6000 Tape Library

* Update quantum.yaml

Poller  deactivation removed

* Update quantum_scalari6000.json

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-11-02 00:29:08 -05:00
Wooboy
3cf5a6ceae
Add definition fujifilmprinter (#15381)
* Add support for Fujifilm printer

* Add support for Fujifilm printer

* fix Fujifilmprinter.yaml

* Add Fujifilm printer test unit

* remove snmprec supply descr contains utf8 character

* fix discovery yaml
2023-11-01 23:03:45 -05:00
Nick Peelman
30c95b7a76
Add Support for Samlex America PSR-1200-48 Inverters (#15515) 2023-10-28 23:34:16 +02:00
QWERin
1d361c9447
Fix Top menu search on mobile respo (#15439) 2023-10-13 22:27:52 -05:00
SourceDoctor
0f0f49697f
muteabel acknowledged alert notifications (#15456) 2023-10-13 22:20:51 -05:00
Tony Murray
a5198d7d57
Remove some lightly used or unused dbFacile functions (#15418)
* Remove some lightly used or unused dbFacile functions
['NULL'] legacy behavior seems unsupported, replace with actual nulls

* Fix refactor mishap

* another

* update baseline

* these were very wrong... what happened?
2023-10-12 09:15:03 -05:00
Luis Henrique Wolfarth
5745fcb1f6
Updating Datacom logo (#15427)
* Updating Datacom logo

Updating Datacom images (Teracom Telematica  Ltda) according to the current logo:

https://www.datacom.com.br/

* Optimize datacom.svg

* Optimize "D"

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-10-11 10:21:12 -05:00
Tony Murray
087053ae91
Add Fortinet logo (#15359)
* Add Fortinet logo

* better viewbox
2023-09-29 00:08:14 +02:00
Tony Murray
f4ab1ab64d
Update aviat logos to SVG (#15360) 2023-09-29 00:07:55 +02:00
Tony Murray
efb763d8c5
Vertically center device icons (#15361) 2023-09-29 00:07:23 +02:00
Tony Murray
723c51be32
Calix logo update (#15348) 2023-09-27 07:18:20 -05:00
Cyril LAVIER
f9ef5fe3fe
Add model for Christie Digital projectors (#15088) 2023-09-25 18:39:20 -05:00
Wheel
52bc8dc7de
Device stulz WIB8000 (#15271)
* Device stulz WIB8000

* Fix multiplier oid is in bar + 1 decimal

* Fixed multiplier

* More stulz sensors
2023-09-20 06:41:31 -05:00
Tony Murray
30b5c40961
Add ui description for reporting dump_errors (#15264)
* Add ui description for reporting dump_errors
People were enabling this setting and breaking their installs for some reason.
Hopefully, this makes them think a little before enabling this setting.
It is intended for debugging purposes only.

* Fix style
2023-08-30 19:33:39 +02:00
Tony Murray
2cd207028a
Implement RBAC (only built in roles) (#15212)
* Install bouncer

* Seeder and level migration

* Display and edit roles

* remove unused deluser page

* Update Radius and SSO to assign roles

* update AlertUtil direct level check to use roles instead

* rewrite ircbot auth handling

* Remove legacy auth getUserlist and getUserlevel methods, add getRoles
Set roles in LegacyUserProvider

* Small cleanups

* centralize role sync code
show roles on user preferences page

* VueSelect component WIP and a little docs

* WIP

* SelectControllers id and text fields.

* LibrenmsSelect component extracted from SettingSelectDynamic

* Handle multiple selections

* allow type coercion

* full width settings

* final style adjustments

* Final compiled assets update

* Style fixes

* Fix SSO tests

* Lint cleanups

* small style fix

* don't use json yet

* Update baseline for usptream package issues

* Change schema, not 100% sure it is correct
not sure why xor doesn't work
2023-08-28 00:13:40 -05:00
Tony Murray
51400245b9
Update Alpine Linux logos to SVG (#15185)
* Update Alpine Linux logos to SVG

* remove logo whitespace
2023-08-02 23:42:48 +02:00
Tony Murray
4f5e31c88f
Fix select2 search field focus (#15171)
Some jQuery version broke the focus search field on open, this should fix that.
2023-07-31 13:11:36 -05:00
eggbeater98
510d5dc94b
Update dark.css (#15155)
Change text for services to white for visibility.
2023-07-19 22:22:42 -05:00