18005 Commits
Author SHA1 Message Date
JellyfrogandGitHub 6dba2555a7 Convert blade to panel component (#11957) 2020-07-23 23:13:00 -05:00
Tony MurrayandGitHub 020c5fd7e1 Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global

* remove unused things

* fix some additional graphs

* Fix graphs persisting too soon

* correct name for poller module performance graph

* only one type of graph is used here
2020-07-23 09:57:22 -05:00
JellyfrogandGitHub 2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
Anael MobiliaandGitHub 0b5a9106d8 Update Smokeping.md (#11956)
* Update Smokeping.md

Add smokeping URL path on the config example

* fix quote
2020-07-22 16:01:14 +02:00
JellyfrogandGitHub 86220eed9e Add more types to settings page (#11918)
* Add a executable type to settings page

This allow us to validate the value is a valid executable

* Add a directory type to settings page

This allow us to validate the value is a valid directory

* fixes
2020-07-21 20:51:23 -05:00
JellyfrogandGitHub 3c78e0ccc7 Add permission support to Oxidized config search (#11928) 2020-07-21 20:34:42 -05:00
SourceDoctorandGitHub dba165c49e Sort Neighbors by ifName, not bei ifAlias (#11951) 2020-07-21 20:23:44 -05:00
HenryandGitHub 224f423ced Fix wrong str::finish (#11955)
As per https://laravel.com/docs/7.x/helpers#method-str-finish

Fixes UI errors (for example wrong base href).
2020-07-22 01:32:23 +02:00
SourceDoctorandGitHub b4d149b4af Show SysName in Availability Widget (#11953) 2020-07-22 00:22:12 +02:00
Tony MurrayandGitHub a4c5502066 Make sure base_url always ends with / (#11949) 2020-07-21 07:27:21 -05:00
SourceDoctorandGitHub 5a45060e57 LLDP Neighbour List - alphabetic sort (#11944) 2020-07-20 18:32:18 +02:00
SourceDoctorandGitHub e8f2c2e396 Show Location on Poller Log (#11945)
* Show Location on Poller Log

* .

* .
2020-07-20 18:23:28 +02:00
NotARobotDudeandGitHub 912247f2f0 Change text from black to white availability-map (#11946)
Before :
https://pasteboard.co/JiqHdlA.jpg

After : 
https://pasteboard.co/JiqIsoT.jpg
2020-07-20 00:54:10 +02:00
Cirno the StrongestandGitHub 6448682b21 Fix missing Munin controller tab definition (#11943) 2020-07-18 18:15:19 -05:00
2886f8b210 Bump lodash from 4.17.15 to 4.17.19 (#11942)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-18 16:02:41 +02:00
seros1521andGitHub 389b271073 CBQoS improvement (#11926)
* Deduplicate CBQoS code

* Additional CBQoS metrics
2020-07-18 00:36:27 +02:00
SourceDoctorandGitHub dcab027c1f Enhance AlertLog Table View (#11936) 2020-07-18 00:26:17 +02:00
TheGreatDocandGitHub 1a8c4df880 Fix QNAP os polling (#11938)
* Remove old qnap code.

* Fixed test
2020-07-18 00:14:16 +02:00
Tony MurrayandGitHub 334d50467c Simpler Python requirements check (#11939)
Don't require the full requirements.txt
If we do that we are likely to send users back to the python2 support branch when new dependencies arise.
2020-07-18 00:12:18 +02:00
arrmoandGitHub c1418c12af Correct link for Rule, Location (Alerts, and several other pages) (#11937)
- wherever generate_url is used
- does not address hostname (device), separate PR for that
2020-07-17 15:32:30 +02:00
Tony MurrayandGitHub 0e96589879 Fix bug when timeout exceeded (#11934)
Uncaught exception probably causing some of the "unpolled" reports.
2020-07-15 07:45:09 -05:00
a5bb437216 Added basic EndRun support (#11932)
* Added basic EndRun support

* Fixed spaces as indicated by Travis

* Changes applied as per request and suggestions

Incorporated @murrant's suggestions.

* Update Endrun.php

* Update endrun.json

Co-authored-by: Tony Murray <[email protected]>
2020-07-14 11:22:40 -05:00
TheGreatDocandGitHub 8235860ab8 QNAP NAS - Added state rules to collection (#11931) 2020-07-14 17:37:25 +02:00
TheGreatDocandGitHub 95c52308e5 Added RAID states for each volume. (#11930) 2020-07-14 17:33:24 +02:00
twelch24andGitHub 5d2fe2e8c5 Black legend text in dark theme (#11933)
using the dark theme the legend text is the same color as background on the latency page. Change to black.
2020-07-14 17:31:09 +02:00
JellyfrogandGitHub 3759a03b0f Only flush if there is something to flush (#11927) 2020-07-13 16:24:31 +02:00
Tony MurrayandGitHub 514b3efd01 Pull in fixed string blade (#11925)
* Work around force string blade to register

* better app access

* Fixed upstream, pull in new hash
2020-07-10 14:18:54 -05:00
32f72bc1ab Fix SQL injections in ajax_table.php (#11920)
* Fix SQL injections via searchPhrase parameter

* Fix SQL injections via address parameter

* Fix sort injection

Co-authored-by: Tony Murray <[email protected]>
2020-07-10 09:17:09 -05:00
Tony MurrayandGitHub 290398bd9b Fix missing doc OpenWRT (#11924) 2020-07-10 08:35:17 -05:00
Tony MurrayandGitHub 6e6fde94c3 Fix sql injection (#11923)
in custom oid code

Thanks to loginsoft p.v.t l.t.d india for the report!
Website: https://www.loginsoft.com/
2020-07-10 10:45:39 +02:00
Nick PeelmanandGitHub 8af976a951 Mult graphs bits spacing (#11907)
* Make Multiport-Bits-Separated graph Description field wider for larger and medium graphs

* Fix Aggregate Graph In/Out Alignment; make Consistent with Interface I/O Alignment

* Remove misplaced slashes

* Align headers...

* Fix Total units

* Fix code climate gripe
2020-07-10 10:45:01 +02:00
8899ad6d5a Initial Release, wireless sensor support for Openwrt (#11768)
* Initial Release, wireless sensor support for Openwrt

* Extend Openwrt support, add more sensors

* Add documentation for Openwrt Wireless Sensor support

* Moved location of Openwrt.md

* Update openwrt.json

Co-authored-by: Tony Murray <[email protected]>
2020-07-09 16:13:58 -05:00
Tony MurrayandGitHub 0c334f130d Fix users that set a non-array for cors (#11921)
* Fix users that set a non-array for cors
combine two Env util classes

* Used the wrong thing.
2020-07-09 15:03:12 -05:00
JellyfrogandGitHub a3ae3805d1 Sanitize graph title input (#11919) 2020-07-09 12:48:36 -05:00
AndreasandGitHub 98d6fc1ace Fix graphing with generic_v3_multiline_float (#11916)
#11853 introduced a bug which broke graphing (e.g. for the pi-hole app)
2020-07-09 08:29:56 -05:00
Adam BishopandGitHub d075915a75 Dell included a typo in their sysDescr (#11917)
The latest firmware revision drops the 'T' from COMPELLENT. Maybe it'll come back at some point, but for now it's gone.
2020-07-09 08:27:47 -05:00
f526ba326b Laravel 7.x Shift (#11676)
* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Shift Laravel dependencies
Add laravel/ui dependency
Use our fork of string-blade-compiler

* Shift config files

Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

Restore config header comment

* Remove duplicate named routes

* add basic trust host middleware

* Trusted proxies should be default null

* Fix missed rename

* wip

* Rename routes

* Update trustedproxy.php

* Update Kernel.php

* revert trustedproxy.php

It only accepted '*' and not ['*']

* Fix tests

fake request was causing the error

Co-authored-by: Laravel Shift <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
2020-07-09 08:22:50 -05:00
Tony MurrayandGitHub e5bb6d80bc Fix settings access (#11915)
normal users could access
2020-07-08 18:04:48 -05:00
javierandGitHub a30fcbde0a Support NetMan 204 (#11913)
* Update riello.yaml

Fix NetMan 204 snm cards not always identified as Power bug Generic devices

* Update riello.snmprec
2020-07-08 22:32:22 +02:00
KodApa85andGitHub a3cd90da05 newdevice: Added support for Fortinet FortiVoice devices (#11914)
* newdevice: added supprot for Fortinet FortiVoice

* Renamed fortivoice yaml file

* Added test date for FortiVoice OS

* Matching Fortinet to be like FortiSwitch

* Corrected test data...
2020-07-08 17:55:50 +02:00
db7ac390b2 Added check for incorrect ifConnectorPresent truth values, if invalid… (#11634)
* Added check for incorrect ifConnectorPresent truth values, if invalid, save it as false

* Added space after comma line 629

* Update ports.inc.php

Updated per murrant and tested.

* Update ports.inc.php

* Update ports.inc.php

Changed to check if ifConnector is set and if the response is not true or false, set it to null.

* Update ports.inc.php

* Update ports.inc.php

Fixed the codeclimate space issue

* Update test data

* fix differing escapes

* fix ciena-sds eol

* Revert timos.json

Co-authored-by: Tony Murray <[email protected]>
2020-07-08 08:44:45 -05:00
Tony MurrayandGitHub 560fd71ef6 CORS settings in webui (#11912)
* Change CORS implementation
allows for upstream integration of Laravel 7

* migrate config

* skip implementing patterns for now

* Expose settings to the webui

* Make db settings apply
2020-07-08 07:36:51 -05:00
KodApa85andGitHub 726a762944 newdevice: Added support for Eltek SmartPack2 Touch (#11909)
* newdevice: Added support for Eltek SmartPack2 Touch

* Remove test data

* Added test data.
2020-07-08 13:41:02 +02:00
Nick PeelmanandGitHub e4b2d98222 only try to optimize port polling when it is enable by the global setting. (#11908) 2020-07-06 19:31:45 -05:00
Nick PeelmanandGitHub d5e0c6ca57 Add Divisors to Eaton Matrix sensors (#11906)
* Add Divisors to Eaton Matrix sensors

* Fix tests

* Update sensor_limits
2020-07-06 18:14:19 +02:00
OirbsiuandGitHub 465372b28d Correct interface names in response to the SNMP query of cpwVcName (#11851)
* Update cisco-pw.inc.php

To correct Interface names that use escaped '/' e.g. GigabitEthernet0_4_0_12 
and translate the underscore back to a slash - e.g. GigabitEthernet0/4/0/12

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php
2020-07-06 15:59:53 +02:00
23368faa61 Ciena SDS (#11857)
* Added discovery for temp/dbm graphs for LEOS mibs.

* Cleaned up Typo on Index lines for LEOS MIBs

* Cleaned up Typo for LEOS System MIB

* Added CPU Util graphs for LEOS MIBs

* Added test data and a MIB

* Shortened Index fields

* Update ciena-sds.yaml

* Update ciena-sds.json

* Update ciena-sds.yaml

Co-authored-by: Tony Murray <[email protected]>
2020-07-06 15:40:43 +02:00
allwaysoftandGitHub 249b343c64 Simplify Chinese lang Translation (#11905)
* Add files via upload

* Create auth.php

* Add files via upload
2020-07-06 11:23:45 +02:00
Tony MurrayandGitHub a82018698e Restore device alert tab 2020-07-05 20:05:30 +01:00
Pierfrancesco PasseriniandGitHub 505ab86471 Update italian translation (#11901)
* Update it.json

Removed all  \'/  single quote, very common in italian , to avoid problem on page loading

* Update it.json

small fix
2020-07-05 14:14:51 +02:00