Commit Graph

17771 Commits

Author SHA1 Message Date
Jellyfrog
973a39a0ac Add type hinting to devicecache (#11975)
Prevents sql query from executing as string
2020-07-31 07:52:18 -05:00
pobradovic08
cb0686d0f3 Cisco SLA jitter tag (#11983)
* Update cisco-sla.inc.php

* Update cisco-sla.inc.php
2020-07-30 22:38:52 +02:00
Tony Murray
52e61490f0 Full path to python requirements check (#11982) 2020-07-30 22:29:16 +02:00
Tony Murray
04e7afe9ed python requirements use sys.exit (#11981)
script was using the wrong exit
2020-07-30 19:05:49 +02:00
TheGreatDoc
ff3926d28e Fix latency.blade.php to show smokeping integration (#11980) 1.66 2020-07-30 00:35:34 -05:00
Tony Murray
9fdea8c3b5 Bump version to 1.66 2020-07-30 00:27:39 -05:00
Tony Murray
573b9e7d4b Changelog for 1.66 2020-07-30 00:27:37 -05:00
Tony Murray
a413187564 Fix encoded html entities in page title (#11979)
* Fix encoded html entities in page title
Seems short sections escape the content

* extra comment for clarification
2020-07-30 00:27:10 -05:00
Tony Murray
7822293da4 Fix USW detection again (#11978)
* Fix USW detection again
Please UBNT fix your SNMP.  sysObjectID for each model is all I ask.

* Add test data
2020-07-30 00:04:35 -05:00
Tony Murray
38cfab612b Dispatch Service Fix maintenance issues (#11973)
If daily.sh exited with non-zero it would kill the maintenance thread, stopping daily.sh
The maintenance lock was never released, this wouldn't cause an issue in normal operation as it should expire.
2020-07-29 23:12:13 -05:00
kleinem86
a4f5af069c Added Proxy support for Api Transport (#11968) 2020-07-29 16:00:55 +02:00
Tony Murray
b0b62aa999 Fix .env path (#11972) 2020-07-29 07:58:54 -05:00
Tony Murray
3ebed45d81 Fix netflow links (#11971) 2020-07-29 07:53:26 -05:00
Hans Erasmus
fe79029494 Update RRDCached.md (#11967)
Tested the steps for CentOS 7 on CentOS8 today, worked for me?
2020-07-28 23:09:55 +02:00
Wooboy
35488d89be Update canonprinter.yaml (#11959)
add definition for Canon iPF series
2020-07-24 19:39:02 +02:00
Nick Peelman
57362c1ff5 Refresh device_bits graph; align column headers, use wider descriptio… (#11922)
* Refresh device_bits graph; align column headers, use wider description on wider graphs

* Fix a couple of code climate issues...

* use float_precision variable like we do everywhere else...

* remove unnecessary substr
2020-07-23 23:14:36 -05:00
Jellyfrog
6dba2555a7 Convert blade to panel component (#11957) 2020-07-23 23:13:00 -05:00
Tony Murray
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
Jellyfrog
2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
Anael Mobilia
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
Jellyfrog
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
Jellyfrog
3c78e0ccc7 Add permission support to Oxidized config search (#11928) 2020-07-21 20:34:42 -05:00
SourceDoctor
dba165c49e Sort Neighbors by ifName, not bei ifAlias (#11951) 2020-07-21 20:23:44 -05:00
Henry
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
SourceDoctor
b4d149b4af Show SysName in Availability Widget (#11953) 2020-07-22 00:22:12 +02:00
Tony Murray
a4c5502066 Make sure base_url always ends with / (#11949) 2020-07-21 07:27:21 -05:00
SourceDoctor
5a45060e57 LLDP Neighbour List - alphabetic sort (#11944) 2020-07-20 18:32:18 +02:00
SourceDoctor
e8f2c2e396 Show Location on Poller Log (#11945)
* Show Location on Poller Log

* .

* .
2020-07-20 18:23:28 +02:00
NotARobotDude
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 Strongest
6448682b21 Fix missing Munin controller tab definition (#11943) 2020-07-18 18:15:19 -05:00
dependabot[bot]
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] <support@github.com>

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

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

* Fixed test
2020-07-18 00:14:16 +02:00
Tony Murray
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
arrmo
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 Murray
0e96589879 Fix bug when timeout exceeded (#11934)
Uncaught exception probably causing some of the "unpolled" reports.
2020-07-15 07:45:09 -05:00
Hans Erasmus
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 <murraytony@gmail.com>
2020-07-14 11:22:40 -05:00
TheGreatDoc
8235860ab8 QNAP NAS - Added state rules to collection (#11931) 2020-07-14 17:37:25 +02:00
TheGreatDoc
95c52308e5 Added RAID states for each volume. (#11930) 2020-07-14 17:33:24 +02:00
twelch24
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
Jellyfrog
3759a03b0f Only flush if there is something to flush (#11927) 2020-07-13 16:24:31 +02:00
Tony Murray
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
Jellyfrog
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 <murraytony@gmail.com>
2020-07-10 09:17:09 -05:00
Tony Murray
290398bd9b Fix missing doc OpenWRT (#11924) 2020-07-10 08:35:17 -05:00
Tony Murray
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 Peelman
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
arrmo
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 <murraytony@gmail.com>
2020-07-09 16:13:58 -05:00
Tony Murray
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
Jellyfrog
a3ae3805d1 Sanitize graph title input (#11919) 2020-07-09 12:48:36 -05:00