Commit Graph
19669 Commits
Author SHA1 Message Date
StyleCI Bot b9144b623b Apply fixes from StyleCI 2022-10-24 17:35:03 +00:00
Shift 0f5a8a34f7 Shift cleanup 2022-10-24 17:34:10 +00:00
Shift 6251e1aee3 Adopt anonymous migrations 2022-10-24 17:31:25 +00:00
Shift 3d10a41a9f Use <env> tags for configuration
`<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI.

Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/
2022-10-24 17:29:39 +00:00
Shift 6759aa08dc Bump Laravel dependencies 2022-10-24 17:29:38 +00:00
Shift 03a771bb53 Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2022-10-24 17:29:37 +00:00
Shift 6c2ee5876e Shift config files 2022-10-24 17:29:35 +00:00
Shift c4a41922bc Convert deprecated $dates property to $casts 2022-10-24 17:28:55 +00:00
Shift cf9796b741 Adopt class based routes 2022-10-24 17:28:54 +00:00
Shift 2daba3fb70 Convert route options to fluent methods
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
2022-10-24 17:28:47 +00:00
Shift 77e2710bc9 Remove unnecessary $model property 2022-10-24 17:28:45 +00:00
Shift 27b5bb7a6c Convert optional() to nullsafe operator 2022-10-24 17:28:37 +00:00
Shift b924e42b74 Shift core files 2022-10-24 17:28:34 +00:00
Shift 3a005cb4bf Upgrade to Flysystem 3.0 2022-10-24 17:28:16 +00:00
Shift 04f8b40263 Streamline $commands property 2022-10-24 17:27:42 +00:00
Shift cbf9926c9e Remove fruitcake/laravel-cors dependency 2022-10-24 17:27:42 +00:00
Shift d68a670414 Shift registered middleware 2022-10-24 17:27:41 +00:00
Shift 3dab3d253b Move resources/lang folder 2022-10-24 17:27:29 +00:00
Shift 6499df1edf Convert string references to ::class
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
2022-10-24 17:25:53 +00:00
Shift 4dac706231 Apply code style 2022-10-24 17:25:02 +00:00
JellyfrogandGitHub 045dcc7499 Remove unused phpstan tests (#14503) 2022-10-24 18:56:35 +02:00
Mark WesterterpandGitHub db4dce298a Fortinet FortiADC detection and basic statistics (#14434)
* FortiADC detection and basic statistics

* Style fix

* Fixed test data

* Fix test data

* Recollected all test data

* Add num_oid
2022-10-24 18:28:47 +02:00
Tony MurrayandGitHub 62aa77c0a0 Fix AlertRule relationships (#14500) 2022-10-24 09:54:59 -05:00
Lucas GasenzerandGitHub 707f2cd29f Check if service_name is empty or equal to service_type (#14499)
* Check if name empty or name == service

* Linting ("" → '')
2022-10-23 20:00:29 +02:00
André KellerandGitHub 056dbc9a57 Add discovery support for Riedo Networks UPDU (#14496)
* Add discovery support for Riedo Networks UPDU

* Add full test data

* Use correct filename for MIB

* Extract hardware, serial and firmware version

* Make pattern more consistent

* Fix incomplete test data
2022-10-23 00:24:31 +02:00
6372041d39 Fix update_device hostname handling #14435 (#14448)
* Fix device_update hostname handling #14435

* Use Eloquent

* Update Device.php

Co-authored-by: Tony Murray <[email protected]>
2022-10-22 15:45:47 -05:00
Tony MurrayandGitHub e053b9ff7b Docker quick install (#14475)
* Docker quick install

* Update Docker.md

* Update Docker.md
2022-10-22 22:45:11 +02:00
Tony MurrayandGitHub aefd14d3aa Graph API use new code path (#14493)
* Graph API use new code path
Improves error handling significantly

* Actually base64 encode it
2022-10-22 14:58:51 -05:00
SourceDoctorandGitHub 04f0574132 show id on device dependencies (#14497) 2022-10-22 19:52:51 +02:00
mprins-RAMandGitHub ad2ef227da Userlist description fix (#14482)
* Fix for displaying user description when F2A isnt used

* Revert "Fix for displaying user description when F2A isnt used"
This reverts commit d9f170d7e6.

* Fix for displaying user description when F2A isnt used
2022-10-22 11:47:24 +02:00
JellyfrogandGitHub 9422b34294 RFC1628: Correct upsBypassVoltage oid (#14488)
* RFC1628: Correct upsBypassVoltage oid

* Update istars.json
2022-10-22 11:46:51 +02:00
JellyfrogandGitHub 19cff69c28 Liebert: use correct description oid (#14489)
* Update liebert.json

* Update liebert.inc.php
2022-10-22 11:46:34 +02:00
Tony MurrayandGitHub 4b97abe225 Add --forgot-key to key:rotate command (#14495)
Destroys all encrypted data
2022-10-22 11:45:58 +02:00
Tony MurrayandGitHub 0155f2fc3f Composer php minimum version to 8.1 (#14494) 2022-10-22 10:21:17 +02:00
Zane C. Bowers-HadleyandGitHub a166df006a base64 gzip compression support for json_app_get (#14169)
* add lnms_return_optimizer

* add compression test using zfs-v1

* minor style fix

* save the original output if not json

* replace gzinflate with gzdecode as apparently that does not require yanking the header

* Minor comment cleanup. Also note it in the application notes as well.

* update docs on how it is called

* update the spelling of it in a few places

* and a few more

* dev docs updated a bit

* the suricata extend has native support for this now

* add exception handling for base64 and gzip decoding failure

* minor cleanup for new exceptions

* minor misc changes

* minor formatting fix

* more phpdoc tweaks

* minor formatting tweak

* remember to actually include the new exceptions

* more phpdoc tweaking

* correct name in JsonAppGzipDecodeException

* add debug and verbose output

* style fix

* not base64 is it starts with a line with only a integer
2022-10-21 10:05:49 -05:00
0f13b37b4c Fix fetch ifEntry logic (#14483)
* Fix fetch ifEntry logic

* Update includes/polling/ports.inc.php

Co-authored-by: Tony Murray <[email protected]>

Co-authored-by: Tony Murray <[email protected]>
2022-10-21 07:28:41 -05:00
JellyfrogandGitHub 3848941d55 hpe ilo: fix filesystem type regex (#14485)
* Update hpe-ilo.inc.php

* Update hpe-ilo_4_with_bat_checks.json

* Update hpe-ilo_5_with_bat_checks.json
2022-10-20 22:50:00 +02:00
JellyfrogandGitHub 56d0c7af19 intelliflash: correct variable typo (#14486)
* intelliflash: correct variable typo

* Update intelliflash.json
2022-10-20 22:49:46 +02:00
Tony MurrayandGitHub da8befca06 Add instance id to error reports (#14444)
* Add instance id to error reports

Alternative to #14261

* lint fix
2022-10-19 18:45:27 -05:00
JellyfrogandGitHub b18ba17af0 Miscellaneous cleanup - part 4 (#14452)
* Miscellaneous cleanup - part 4

* wip

* wip
2022-10-19 01:33:06 +02:00
JellyfrogandGitHub 31a237b114 Miscellaneous cleanup - part 3 (#14450)
* Miscellaneous cleanup - part 3

* Apply fixes from StyleCI
2022-10-19 00:34:19 +02:00
JellyfrogandGitHub 34a58c3f9f Miscellaneous cleanup, mostly undefined variables - part2 (#14445)
* Miscellaneous cleanup, mostly undefined variables - part2

* wip

* Update Number.php

* Update BridgeMib.php

* Update Xdsl.php

* Update cisco.inc.php

* Update Cisco.php

* Update entity-sensor.inc.php

* Update entity-sensor.inc.php

* Update entity-sensor.inc.php

* Update avtech.inc.php

* Update functions.inc.php

* Update HostResources.php

* Update ports.inc.php

* Update route.inc.php

* Update cisco.inc.php

* Update Cisco.php
2022-10-18 13:30:42 +02:00
JellyfrogandGitHub 1c9234adf1 Hikvision: Dont include empty storage sensor (#14453) 2022-10-18 12:33:41 +02:00
JellyfrogandGitHub 2e187d82b2 Benuos: Remove undefined sensors (#14449) 2022-10-18 12:33:19 +02:00
JellyfrogandGitHub 2ca4596594 Drac: use correct low warn limit variable (#14447) 2022-10-18 12:32:10 +02:00
Tony Murray ddf24809d4 Bump version to 22.10.0 22.10.0 2022-10-17 23:47:05 -05:00
Tony Murray 9cb0342213 Changelog for 22.10.0 2022-10-17 23:47:04 -05:00
Tony MurrayandGitHub 7dd3a224fa Block disabled user session auth (#14473)
Do not allow users that are disabled to be logged in via cookie.
Allow all auth methods to disable users
2022-10-17 12:39:15 -05:00
Tony MurrayandGitHub 722791d086 Fix XSS when deleting device and port groups (#14472) 2022-10-17 12:38:16 -05:00
Tony MurrayandGitHub d86cbcd96d Fix alert rules XSS (#14471)
Fixes html injection for map items
2022-10-17 12:32:58 -05:00