forked from librenms/librenms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information
1 parent
e5bb6d8
commit f526ba3
Showing
19 changed files
with
963 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Http\Middleware\TrustHosts as Middleware; | ||
|
||
class TrustHosts extends Middleware | ||
{ | ||
/** | ||
* Get the host patterns that should be trusted. | ||
* | ||
* @return array | ||
*/ | ||
public function hosts() | ||
{ | ||
return [ | ||
$this->allSubdomainsOfApplicationUrl(), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,14 @@ | |
"issues": "https://github.com/librenms/librenms/issues/", | ||
"irc": "irc://irc.freenode.org/#librenms" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:librenms/StringBladeCompiler.git" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.2", | ||
"php": "^7.2.5", | ||
"ext-curl": "*", | ||
"ext-gd": "*", | ||
"ext-json": "*", | ||
|
@@ -38,10 +44,9 @@ | |
"easybook/geshi": "^1.0.8", | ||
"ezyang/htmlpurifier": "^4.8", | ||
"fico7489/laravel-pivot": "^3.0", | ||
"fideloper/proxy": "^4.0", | ||
"fruitcake/laravel-cors": "^2.0", | ||
"fideloper/proxy": "^4.2", | ||
"influxdb/influxdb-php": "^1.14", | ||
"laravel/framework": "^6.18", | ||
"laravel/framework": "^7.11", | ||
"laravel/tinker": "^2.0", | ||
"librenms/laravel-vue-i18n-generator": "^0.1.46", | ||
"oriceon/toastr-5-laravel": "dev-master", | ||
|
@@ -53,22 +58,25 @@ | |
"symfony/yaml": "^4.0", | ||
"tecnickcom/tcpdf": "~6.2.0", | ||
"tightenco/ziggy": "^0.8.0", | ||
"wpb/string-blade-compiler": "4.0.x-dev", | ||
"xjtuwangke/passwordhash": "dev-master" | ||
"wpb/string-blade-compiler": "dev-laravel-7-and-autoload-blade-custom-directives", | ||
"xjtuwangke/passwordhash": "dev-master", | ||
"laravel/ui": "^2.0", | ||
"fruitcake/laravel-cors": "^2.0", | ||
"guzzlehttp/guzzle": "^6.3" | ||
}, | ||
"require-dev": { | ||
"barryvdh/laravel-debugbar": "^3.2", | ||
"barryvdh/laravel-ide-helper": "^2.6", | ||
"barryvdh/laravel-ide-helper": "^2.6.7", | ||
"fzaninotto/faker": "^1.9.1", | ||
"justinrainbow/json-schema": "^5.2", | ||
"laravel/dusk": "^5.8", | ||
"mockery/mockery": "^1.0", | ||
"nunomaduro/collision": "^3.0", | ||
"laravel/dusk": "^5.9", | ||
"mockery/mockery": "^1.3.1", | ||
"nunomaduro/collision": "^4.1", | ||
"php-parallel-lint/php-parallel-lint": "^1.1", | ||
"phpunit/phpunit": "^8.0", | ||
"phpunit/phpunit": "^8.5", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"staudenmeir/dusk-updater": "^1.1", | ||
"facade/ignition": "^1.4" | ||
"facade/ignition": "^2.0" | ||
}, | ||
"suggest": { | ||
"ext-memcached": "Required if you utilize distributed polling", | ||
|
Oops, something went wrong.