Laravel 10 + Cachet Core

This commit is contained in:
James Brooks
2024-01-19 20:03:17 +00:00
parent 8b565ab7f0
commit cf674850dd
1271 changed files with 8105 additions and 123368 deletions

View File

@@ -1,66 +1,78 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------------------------------------------------------
| Cachet Timezone
| Cachet Enabled
|--------------------------------------------------------------------------
|
| The timezone Cachet uses for converting timezones on saving.
| This option determines if Cachet is enabled. If Cachet is not enabled,
| the status page will not be accessible. This is useful when you need
| to disable the status page for maintenance or other reasons.
|
*/
'timezone' => 'UTC',
'enabled' => env('CACHET_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Docker
|--------------------------------------------------------------------------
|
| Is the installation running under a Docker container?
|
*/
|--------------------------------------------------------------------------
| Cachet Path
|--------------------------------------------------------------------------
|
| This is the URI path where Cachet will be accessible from.
*/
'path' => env('CACHET_PATH', ''),
'is_docker' => env('DOCKER', false),
'guard' => env('CACHET_GUARD', null),
/*
|--------------------------------------------------------------------------
| Beacon
|--------------------------------------------------------------------------
|
| Has the installation agreed to sending us Beacon data?
|
| Default: true
|
*/
|--------------------------------------------------------------------------
| Cachet Domain
|--------------------------------------------------------------------------
|
| This is the domain where Cachet will be accessible from.
|
*/
'domain' => env('CACHET_DOMAIN'),
/*
|--------------------------------------------------------------------------
| Cachet Title
|--------------------------------------------------------------------------
|
| This is the title of the status page. By default, this will be the name
| of your application.
|
*/
'title' => env('CACHET_TITLE', env('APP_NAME').' - Status'),
/*
|--------------------------------------------------------------------------
| Cachet Middleware
|--------------------------------------------------------------------------
|
| This is the middleware that will be applied to the status page. By
| default, the "web" middleware group will be applied, which means
| that the status page will be accessible by anyone.
|
*/
'middleware' => [
'web',
],
'api_middleware' => [
'api',
],
/*
|--------------------------------------------------------------------------
| Cachet Major Outage Threshold
|--------------------------------------------------------------------------
|
| This is the threshold at which a major outage is declared.
|
*/
'major_outage' => 50.0,
'beacon' => env('CACHET_BEACON', true),
/*
|--------------------------------------------------------------------------
| Templates configurations
|--------------------------------------------------------------------------
|
| Security fix: now user can provide information which will be included to the Twig sandbox settings
|
| Default: Described below
|
*/
'twig' => [
'methods' => [],
'functions' => [],
'filters' => ['escape'],
'tags' => ['if'],
'props' => [],
],
];