Commit Graph
722 Commits
Author SHA1 Message Date
Tony MurrayandGitHub ab6fa22c46 Hide pip3 missing error (#11987)
we don't care.
2020-08-01 09:27:59 -05:00
JellyfrogandGitHub 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 MurrayandGitHub 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
kleinem86andGitHub a4f5af069c Added Proxy support for Api Transport (#11968) 2020-07-29 16:00:55 +02: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 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
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
Tony MurrayandGitHub a4c5502066 Make sure base_url always ends with / (#11949) 2020-07-21 07:27:21 -05: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
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
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
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 Murray 8a6de3ef23 Bump version to 1.65 2020-07-03 00:50:46 -05:00
Tony MurrayandGitHub 014928accd Release wording change (#11892) 2020-07-03 00:15:05 -05:00
TheGreatDocandGitHub 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
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 <[email protected]>
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 MurrayandGitHub 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 MurrayandGitHub 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 MurrayandGitHub 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 MurrayandGitHub 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 MurrayandGitHub 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
Tony Murray a5fbf853c9 validation fixes 2020-06-27 07:47:08 -05:00
Tony Murray d1ceb14b9a create .env if non-existing 2020-06-27 07:47:08 -05:00
Tony Murray b1f526be48 finish conversion 2020-06-27 07:47:08 -05:00
Tony Murray 229a501d4f refactor 2020-06-27 07:47:08 -05:00
Tony Murray 5f0388f0e3 Remove DB credentials from config.php
Better validation when config.php does not exist

Update docs and quote password

only populate legacy vars in config_to_json
drop .travis.yml config copy
remove credentials from config.php.default

Check for existance of .env instead of config.php in python scripts

legacy credential cleanup

tiny cleanups

consistent env for artisan server and artisan dusk
2020-06-27 07:47:08 -05:00
Tony Murray 27027428fa config file writing 2020-06-27 07:47:08 -05:00
Tony Murray 94a71f9f41 check for INSTALL environment var 2020-06-27 07:47:08 -05:00
Tony Murray d943df40db user create + db migrate 2020-06-27 07:47:07 -05:00
Tony Murray ad2da9fcdb Install to Laravel WIP 2020-06-27 07:47:07 -05:00
Tony MurrayandGitHub cab235c3e9 Merge pull request #11841 from murrant/loadbalancers-tests
Loadbalancers tests
2020-06-26 13:51:50 -05:00