mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
Update meta files for 5.7.0 #5757
This commit is contained in:
@@ -22,8 +22,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace FireflyIII\Http\Middleware;
|
namespace FireflyIII\Http\Middleware;
|
||||||
|
|
||||||
use Fideloper\Proxy\TrustProxies as Middleware;
|
use Illuminate\Http\Middleware\TrustProxies as Middleware;
|
||||||
use Illuminate\Contracts\Config\Repository;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class TrustProxies
|
* Class TrustProxies
|
||||||
@@ -32,14 +32,19 @@ use Illuminate\Contracts\Config\Repository;
|
|||||||
*/
|
*/
|
||||||
class TrustProxies extends Middleware
|
class TrustProxies extends Middleware
|
||||||
{
|
{
|
||||||
|
// After...
|
||||||
|
protected $headers =
|
||||||
|
Request::HEADER_X_FORWARDED_FOR |
|
||||||
|
Request::HEADER_X_FORWARDED_HOST |
|
||||||
|
Request::HEADER_X_FORWARDED_PORT |
|
||||||
|
Request::HEADER_X_FORWARDED_PROTO |
|
||||||
|
Request::HEADER_X_FORWARDED_AWS_ELB;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TrustProxies constructor.
|
* TrustProxies constructor.
|
||||||
*
|
|
||||||
* @param Repository $config
|
|
||||||
*/
|
*/
|
||||||
public function __construct(Repository $config)
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->proxies = (string)config('firefly.trusted_proxies');
|
$this->proxies = (string)config('firefly.trusted_proxies');
|
||||||
parent::__construct($config);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -140,4 +140,12 @@ class RemoteUserGuard implements Guard
|
|||||||
{
|
{
|
||||||
throw new FireflyException('Did not implement RemoteUserGuard::validate()');
|
throw new FireflyException('Did not implement RemoteUserGuard::validate()');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*/
|
||||||
|
public function hasUser()
|
||||||
|
{
|
||||||
|
// TODO: Implement hasUser() method.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"email": "james@firefly-iii.org",
|
"email": "james@firefly-iii.org",
|
||||||
"issues": "https://github.com/firefly-iii/firefly-iii/issues",
|
"issues": "https://github.com/firefly-iii/firefly-iii/issues",
|
||||||
"forum": "https://reddit.com/r/FireflyIII",
|
"forum": "https://gitter.im/firefly-iii/firefly-iii",
|
||||||
"wiki": "https://github.com/firefly-iii/help/wiki",
|
"wiki": "https://github.com/firefly-iii/help/wiki",
|
||||||
"source": "https://github.com/firefly-iii/firefly-iii",
|
"source": "https://github.com/firefly-iii/firefly-iii",
|
||||||
"docs": "https://docs.firefly-iii.org/"
|
"docs": "https://docs.firefly-iii.org/"
|
||||||
@@ -62,10 +62,6 @@
|
|||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
"url": "https://github.com/sponsors/JC5"
|
"url": "https://github.com/sponsors/JC5"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "paypal",
|
|
||||||
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L62W7DVD5ETPC&source=url"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
@@ -89,12 +85,11 @@
|
|||||||
"bacon/bacon-qr-code": "2.*",
|
"bacon/bacon-qr-code": "2.*",
|
||||||
"diglactic/laravel-breadcrumbs": "^7.1",
|
"diglactic/laravel-breadcrumbs": "^7.1",
|
||||||
"doctrine/dbal": "3.*",
|
"doctrine/dbal": "3.*",
|
||||||
"fideloper/proxy": "4.*",
|
|
||||||
"gdbots/query-parser": "^2.0",
|
"gdbots/query-parser": "^2.0",
|
||||||
"guzzlehttp/guzzle": "^7.4",
|
"guzzlehttp/guzzle": "^7.4",
|
||||||
"jc5/google2fa-laravel": "2.0.6",
|
"jc5/google2fa-laravel": "2.0.6",
|
||||||
"jc5/recovery": "^2",
|
"jc5/recovery": "^2",
|
||||||
"laravel/framework": "^8.83",
|
"laravel/framework": "^9",
|
||||||
"laravel/passport": "10.*",
|
"laravel/passport": "10.*",
|
||||||
"laravel/sanctum": "^2.14",
|
"laravel/sanctum": "^2.14",
|
||||||
"laravel/ui": "^3.4",
|
"laravel/ui": "^3.4",
|
||||||
@@ -107,7 +102,8 @@
|
|||||||
"psr/log": "<3",
|
"psr/log": "<3",
|
||||||
"ramsey/uuid": "^4.2",
|
"ramsey/uuid": "^4.2",
|
||||||
"rcrowe/twigbridge": "^0.13",
|
"rcrowe/twigbridge": "^0.13",
|
||||||
"spatie/data-transfer-object": "^3.7"
|
"spatie/data-transfer-object": "^3.7",
|
||||||
|
"nunomaduro/collision": "^6.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"barryvdh/laravel-debugbar": "^3.6",
|
"barryvdh/laravel-debugbar": "^3.6",
|
||||||
|
1230
composer.lock
generated
1230
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -109,7 +109,7 @@ return [
|
|||||||
'password' => env('DB_PASSWORD', $password),
|
'password' => env('DB_PASSWORD', $password),
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'schema' => envNonEmpty('PGSQL_SCHEMA', 'public'),
|
'search_path' => envNonEmpty('PGSQL_SCHEMA', 'public'),
|
||||||
'sslmode' => envNonEmpty('PGSQL_SSL_MODE', 'prefer'),
|
'sslmode' => envNonEmpty('PGSQL_SSL_MODE', 'prefer'),
|
||||||
'sslcert' => envNonEmpty('PGSQL_SSL_CERT'),
|
'sslcert' => envNonEmpty('PGSQL_SSL_CERT'),
|
||||||
'sslkey' => envNonEmpty('PGSQL_SSL_KEY'),
|
'sslkey' => envNonEmpty('PGSQL_SSL_KEY'),
|
||||||
|
Reference in New Issue
Block a user