Commit Graph

732 Commits

Author SHA1 Message Date
Denny Friebe
0f74406dbd
Fixed Ubiquiti Airfiber LTU retrieval (#11844)
* Fixed Ubiquiti Airfiber LTU retrieval
* Fixed Rx/Tx modulation rate
* Fixed eth0 retrieval
* Fixed quality retrieval
* Fixed Tx/Rx rate
* Fixed distance retrieval
* Added Rx power chain0
* Added Rx power chain1
* Removed eth0 port status
* Removed duplicate Tx EIRP

* UBNT AF LTU: Remove the now useless eth0 port status sensor
eth0 is now logged by the port module, so we don't need a separate state sensor to log the status of the port.
This change was mentioned in the previous commit, but I forgot to include it...

* UBNT AF LTU: Updated test data

* UBNT AF LTU: Fix incorrect spaces

* UBNT AF LTU: Use getnext

* UBNT AF LTU: Add some type checks and fixes

* UBNT AF LTU: Passing sensor values to WirelessSensor calls

* UBNT AF LTU: Cast sensor value to int

* Revert changes made to the test data

* UBNT AF LTU: Add new test data

* UBNT AF LTU: Add discoverWirelessQuality function for quality discovery

* UBNT AF LTU: Use snmpwalk_cache_oid

* UBNT AF LTU: Remove blank line at start of control structure

* UBNT AF LTU: Fix RX Ideal Power Chain 1

* UBNT AF LTU: Fix distance sensor

* UBNT AF LTU: Update CPU usage OID

* UBNT AF LTU: Update test json

* UBNT AF LTU: Update test json 1.4.0
2020-08-18 08:39:41 -05:00
Hans Erasmus
13e0da2f0f
Expand endrun os support (#12008)
* Expanded EndRun OS Support

* Added forgotten test data

* Fixed Travis' spacing complaints

* Fixed typo

* Fixed typo 2

* Fixed spacing,again

* Split up test data

* Fixed testing data

* Fixed discovery code blunder

* Fixed yaml definitions

* Fixed broken discovery

* Updated discovery definitions
2020-08-17 13:27:07 +02:00
craig-nokia
d29343db71
Nokia 7705 packet microwave (#12007)
* Nokia MW Rx support for the 7705 SAR platform

* Nokia MW Rx support for the 7705 SAR platform

* updated timos.snmprec for wireless

* restored tests/snmpsim/timos_*.snmprec

* Added timos test entries for wireless
2020-08-17 10:33:00 +02:00
pobradovic08
95c04de501
Changed row counts for default RRD definition (#11995) 2020-08-07 07:51:23 -05:00
arrmo
752b3e7db3
Updated documentation and Discovery, to match recent findings (#11999)
from review of Asuswrt-Merlin PR.
2020-08-06 13:45:33 +02:00
arrmo
54e5dc3df7
Wireless support for Asuswrt-Merlin (the same as Openwrt) (#11964) 2020-08-05 21:24:55 +02:00
Jozef Rebjak
eb2bb4242a
Added support for FS NMU (#11965)
* Added support for FS NMU

* travis fix

* another travis fix

* Migrated OS polling to new format
2020-08-05 15:02:47 +02:00
Jellyfrog
f992b7dc9f Remove duplicate changelog entries 2020-08-04 14:40:10 +02:00
Jellyfrog
eaed9e8195 Don't count self-merges in changelog stats 2020-08-04 14:40:10 +02:00
Jellyfrog
baaabadd69 Fix for deleted github users 2020-08-04 14:40:10 +02:00
Tony Murray
ab6fa22c46
Hide pip3 missing error (#11987)
we don't care.
2020-08-01 09:27:59 -05:00
Jellyfrog
973a39a0ac
Add type hinting to devicecache (#11975)
Prevents sql query from executing as string
2020-07-31 07:52:18 -05:00
Tony Murray
9fdea8c3b5 Bump version to 1.66 2020-07-30 00:27:39 -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
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
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
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
Tony Murray
a4c5502066
Make sure base_url always ends with / (#11949) 2020-07-21 07:27:21 -05: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
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
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
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 <shift@laravelshift.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-09 08:22:50 -05:00
Tony Murray
8a6de3ef23 Bump version to 1.65 2020-07-03 00:50:46 -05:00
Tony Murray
014928accd
Release wording change (#11892) 2020-07-03 00:15:05 -05:00
TheGreatDoc
dd8844980f
Move qnap to yaml discovery + extended discovery (#11882)
* Move qnap to yaml discovery + extended discovery

* Fix pre-cache
2020-07-01 06:53:59 -05:00
Derova
c606659e11
Added support for Integra E radios (#11871)
* Added support for Integra E radios

* Update saf-integra-e.json

* Update saf-integra-e.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-06-30 16:12:00 +02:00
Tony Murray
38d0398728 fix some str_i_contains usages 2020-06-29 17:58:55 -05:00
Tony Murray
aac25798ed
Merge pull request #11867 from murrant/more-install-changes
Fix validation and other issues when config.php is missing
2020-06-29 17:49:28 -05:00
Tony Murray
63ba612fe8
Drop group write validation (#11873)
causes more pain than it highlights issues
New install docs mitigate the original issue
2020-06-29 16:29:43 +02:00
Tony Murray
9de48cfae2
Merge pull request #11866 from SourceDoctor/fix_availability_device_query
Alternative/Better Availability Calculation Method
2020-06-29 09:15:43 -05:00
SourceDoctor
82a1d7b8ec remove unneeded use 2020-06-29 10:27:52 +02:00
SourceDoctor
2241ba1df9 reduce to new algorithm 2020-06-29 10:16:45 +02:00
Tony Murray
4aec56dc42
Merge pull request #11868 from murrant/fping6
Make fping work when fping6 is not present
2020-06-29 01:06:56 -05:00
Tony Murray
6573ef84a5 simpler logic 2020-06-28 21:58:19 -05:00
Tony Murray
3cd240daf4
Merge pull request #11870 from murrant/remove-session-validate
PHP session is no longer required
2020-06-28 20:56:24 -05:00
Tony Murray
d4add95e1f reorganize code to be better 2020-06-28 20:48:11 -05:00
Tony Murray
dad79ae69b PHP session is no longer required 2020-06-28 20:07:20 -05:00
SourceDoctor
5e24d12994 CodeClimate 2020-06-28 14:28:07 +02:00
SourceDoctor
56f58e22a9 . 2020-06-28 14:06:36 +02:00
SourceDoctor
13705ef98e alternative calculation method 2020-06-28 13:47:26 +02:00
Tony Murray
79c46cbce0 Make fping work when fping6 is not present 2020-06-28 00:46:39 -05:00
Tony Murray
23c33f753f WIP validation cleanup missing config 2020-06-27 22:57:29 -05:00
SourceDoctor
030cd5e9b2 Get Outage Data from for the requested Device 2020-06-27 17:49:58 +02:00
Tony Murray
3ab0a92de9 catch config() error in a more deliberate way to prevent issues with future code changes. 2020-06-27 07:47:08 -05:00
Tony Murray
5fff03cff1 restore render 2020-06-27 07:47:08 -05:00
Tony Murray
46f0ad2110 style fixes 2020-06-27 07:47:08 -05:00
Tony Murray
de7d0aae97 handle config() call outside of Laravel 2020-06-27 07:47:08 -05:00
Tony Murray
0175872d87 run artisan key:generate externally 2020-06-27 07:47:08 -05:00