mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update meta files for 5.7.0 #5757
This commit is contained in:
parent
efb7d4275d
commit
b59723f276
@ -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
@ -50,7 +50,7 @@ $mysql_ssl_ciphers = envNonEmpty('MYSQL_SSL_CIPHER', null);
|
|||||||
$mysql_ssl_verify = envNonEmpty('MYSQL_SSL_VERIFY_SERVER_CERT', null);
|
$mysql_ssl_verify = envNonEmpty('MYSQL_SSL_VERIFY_SERVER_CERT', null);
|
||||||
|
|
||||||
$mySqlSSLOptions = [];
|
$mySqlSSLOptions = [];
|
||||||
$useSSL = envNonEmpty('MYSQL_USE_SSL', false);
|
$useSSL = envNonEmpty('MYSQL_USE_SSL', false);
|
||||||
if (false !== $useSSL && null !== $useSSL) {
|
if (false !== $useSSL && null !== $useSSL) {
|
||||||
if (null !== $mysql_ssl_ca_dir) {
|
if (null !== $mysql_ssl_ca_dir) {
|
||||||
$mySqlSSLOptions[PDO::MYSQL_ATTR_SSL_CAPATH] = $mysql_ssl_ca_dir;
|
$mySqlSSLOptions[PDO::MYSQL_ATTR_SSL_CAPATH] = $mysql_ssl_ca_dir;
|
||||||
@ -75,7 +75,7 @@ if (false !== $useSSL && null !== $useSSL) {
|
|||||||
return [
|
return [
|
||||||
'default' => envNonEmpty('DB_CONNECTION', 'mysql'),
|
'default' => envNonEmpty('DB_CONNECTION', 'mysql'),
|
||||||
'connections' => [
|
'connections' => [
|
||||||
'sqlite' => [
|
'sqlite' => [
|
||||||
'driver' => 'sqlite',
|
'driver' => 'sqlite',
|
||||||
'database' => envNonEmpty('DB_DATABASE', storage_path('database/database.sqlite')),
|
'database' => envNonEmpty('DB_DATABASE', storage_path('database/database.sqlite')),
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
@ -85,7 +85,7 @@ return [
|
|||||||
'database' => envNonEmpty('DB_DATABASE', storage_path('database/test_db.sqlite')),
|
'database' => envNonEmpty('DB_DATABASE', storage_path('database/test_db.sqlite')),
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
],
|
],
|
||||||
'mysql' => [
|
'mysql' => [
|
||||||
'driver' => 'mysql',
|
'driver' => 'mysql',
|
||||||
'host' => envNonEmpty('DB_HOST', $host),
|
'host' => envNonEmpty('DB_HOST', $host),
|
||||||
'port' => envNonEmpty('DB_PORT', $port),
|
'port' => envNonEmpty('DB_PORT', $port),
|
||||||
@ -100,7 +100,7 @@ return [
|
|||||||
'engine' => 'InnoDB',
|
'engine' => 'InnoDB',
|
||||||
'options' => $mySqlSSLOptions,
|
'options' => $mySqlSSLOptions,
|
||||||
],
|
],
|
||||||
'pgsql' => [
|
'pgsql' => [
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'host' => envNonEmpty('DB_HOST', $host),
|
'host' => envNonEmpty('DB_HOST', $host),
|
||||||
'port' => envNonEmpty('DB_PORT', $port),
|
'port' => envNonEmpty('DB_PORT', $port),
|
||||||
@ -109,13 +109,13 @@ 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'),
|
||||||
'sslrootcert' => envNonEmpty('PGSQL_SSL_ROOT_CERT'),
|
'sslrootcert' => envNonEmpty('PGSQL_SSL_ROOT_CERT'),
|
||||||
],
|
],
|
||||||
'sqlsrv' => [
|
'sqlsrv' => [
|
||||||
'driver' => 'sqlsrv',
|
'driver' => 'sqlsrv',
|
||||||
'host' => env('DB_HOST', 'localhost'),
|
'host' => env('DB_HOST', 'localhost'),
|
||||||
'port' => env('DB_PORT', '1433'),
|
'port' => env('DB_PORT', '1433'),
|
||||||
|
Loading…
Reference in New Issue
Block a user