mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 19:14:35 -04:00
bump laravel version to 5.8, include new GCS storage library
This commit is contained in:
parent
fb4fc93279
commit
63f8700db1
@ -40,8 +40,8 @@ class QueryLogging
|
|||||||
$time = $timeEnd - $timeStart;
|
$time = $timeEnd - $timeStart;
|
||||||
Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time);
|
Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time);
|
||||||
|
|
||||||
if($count > 20)
|
// if($count > 20)
|
||||||
Log::info($queries);
|
// Log::info($queries);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ class UserObserver
|
|||||||
*/
|
*/
|
||||||
public function updated(User $user)
|
public function updated(User $user)
|
||||||
{
|
{
|
||||||
event(new UserWasUpdated($user));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,13 +24,15 @@
|
|||||||
"fideloper/proxy": "^4.0",
|
"fideloper/proxy": "^4.0",
|
||||||
"hashids/hashids": "^3.0",
|
"hashids/hashids": "^3.0",
|
||||||
"laracasts/presenter": "^0.2.1",
|
"laracasts/presenter": "^0.2.1",
|
||||||
"laravel/framework": "5.7.*",
|
"laravel/framework": "5.8.*",
|
||||||
"laravel/socialite": "^3.1",
|
"laravel/socialite": "^3.1",
|
||||||
"laravel/tinker": "^1.0",
|
"laravel/tinker": "^1.0",
|
||||||
"league/fractal": "^0.17.0",
|
"league/fractal": "^0.17.0",
|
||||||
"nwidart/laravel-modules": "^4.0",
|
"nwidart/laravel-modules": "^4.0",
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
"sentry/sentry-laravel": "^1.0",
|
"sentry/sentry-laravel": "^1.0",
|
||||||
|
"simshaun/recurr": "^4.0",
|
||||||
|
"superbalist/laravel-google-cloud-storage": "^2.2",
|
||||||
"webpatser/laravel-countries": "dev-master#75992ad",
|
"webpatser/laravel-countries": "dev-master#75992ad",
|
||||||
"wildbit/postmark-php": "^2.6"
|
"wildbit/postmark-php": "^2.6"
|
||||||
},
|
},
|
||||||
|
@ -63,7 +63,15 @@ return [
|
|||||||
'bucket' => env('AWS_BUCKET'),
|
'bucket' => env('AWS_BUCKET'),
|
||||||
'url' => env('AWS_URL'),
|
'url' => env('AWS_URL'),
|
||||||
],
|
],
|
||||||
|
'gcs' => [
|
||||||
|
'driver' => 'gcs',
|
||||||
|
'project_id' => env('GOOGLE_CLOUD_PROJECT_ID', 'your-project-id'),
|
||||||
|
'key_file' => env('GOOGLE_CLOUD_KEY_FILE', null), // optional: /path/to/service-account.json
|
||||||
|
'bucket' => env('GOOGLE_CLOUD_STORAGE_BUCKET', 'your-bucket'),
|
||||||
|
'path_prefix' => env('GOOGLE_CLOUD_STORAGE_PATH_PREFIX', null), // optional: /default/path/to/apply/in/bucket
|
||||||
|
'storage_api_uri' => env('GOOGLE_CLOUD_STORAGE_API_URI', null), // see: Public URLs below
|
||||||
|
'visibility' => 'public', // optional: public|private
|
||||||
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@ -241,7 +241,6 @@ class ClientTest extends TestCase
|
|||||||
|
|
||||||
$this->assertNotNull($client);
|
$this->assertNotNull($client);
|
||||||
|
|
||||||
Log::error(print_r($client,1));
|
|
||||||
/* Make sure we have a valid settings object*/
|
/* Make sure we have a valid settings object*/
|
||||||
$this->assertEquals($client->getSettings()->timezone_id, 15);
|
$this->assertEquals($client->getSettings()->timezone_id, 15);
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ class LoginTest extends TestCase
|
|||||||
$response = $this->actingAs($user)->post('/logout',[
|
$response = $this->actingAs($user)->post('/logout',[
|
||||||
'_token' => csrf_token()
|
'_token' => csrf_token()
|
||||||
]);
|
]);
|
||||||
$response->assertStatus(200);
|
$response->assertStatus(302);
|
||||||
|
|
||||||
// $this->assertGuest();
|
// $this->assertGuest();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user