2011-06-01 12:13:39 +02:00
|
|
|
<?php
|
2013-12-03 16:18:22 +01:00
|
|
|
|
2017-01-21 23:07:20 +01:00
|
|
|
// To change settings create a config.php
|
|
|
|
|
|
|
|
return [
|
|
|
|
// MySQL-Connection Settings
|
2017-08-31 12:25:06 +02:00
|
|
|
'database' => [
|
2018-01-14 01:48:50 +01:00
|
|
|
'host' => env('MYSQL_HOST', (env('CI', false) ? 'mariadb' : 'localhost')),
|
|
|
|
'database' => env('MYSQL_DATABASE', 'engelsystem'),
|
|
|
|
'username' => env('MYSQL_USER', 'root'),
|
|
|
|
'password' => env('MYSQL_PASSWORD', ''),
|
2017-01-21 23:07:20 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
// For accessing stats
|
2017-08-31 12:25:06 +02:00
|
|
|
'api_key' => '',
|
2017-01-21 23:07:20 +01:00
|
|
|
|
|
|
|
// Enable maintenance mode (show a static page)
|
2018-08-12 23:44:46 +02:00
|
|
|
'maintenance' => (bool)env('MAINTENANCE', false),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-10-05 15:35:14 +02:00
|
|
|
// Application name (not the event name!)
|
|
|
|
'app_name' => env('APP_NAME', 'Engelsystem'),
|
|
|
|
|
2017-01-21 23:07:20 +01:00
|
|
|
// Set to development to enable debugging messages
|
2018-08-12 23:44:46 +02:00
|
|
|
'environment' => env('ENVIRONMENT', 'production'),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2020-04-07 15:08:49 +02:00
|
|
|
// Application URL and base path to use instead of the auto detected one
|
|
|
|
'url' => env('APP_URL', null),
|
|
|
|
|
2019-12-28 21:46:52 +01:00
|
|
|
// Header links
|
|
|
|
// Available link placeholders: %lang%
|
|
|
|
'header_items' => [
|
|
|
|
//'Foo' => 'https://foo.bar/batz-%lang%.html',
|
|
|
|
],
|
|
|
|
|
2018-10-24 14:54:37 +02:00
|
|
|
// Footer links
|
|
|
|
'footer_items' => [
|
|
|
|
// URL to the angel faq and job description
|
2020-12-06 00:16:15 +01:00
|
|
|
'FAQ' => env('FAQ_URL', '/faq'),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-10-24 14:54:37 +02:00
|
|
|
// Contact email address, linked on every page
|
|
|
|
'Contact' => env('CONTACT_EMAIL', 'mailto:ticket@c3heaven.de'),
|
|
|
|
],
|
2019-05-31 04:03:19 +02:00
|
|
|
|
2020-12-06 00:16:15 +01:00
|
|
|
// Text displayed on the FAQ page, rendered as markdown
|
|
|
|
'faq_text' => env('FAQ_TEXT', null),
|
|
|
|
|
2019-05-05 15:23:13 +02:00
|
|
|
// Link to documentation/help
|
2019-05-31 04:03:19 +02:00
|
|
|
'documentation_url' => 'https://engelsystem.de/doc/',
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-09-05 13:40:03 +02:00
|
|
|
// Email config
|
|
|
|
'email' => [
|
2021-12-20 21:07:00 +01:00
|
|
|
// Can be mail, smtp, sendmail or log or an symfony mailer dsn string like smtps://[usr]:[pass]@smtp.foo.bar:465
|
2018-10-24 14:05:50 +02:00
|
|
|
'driver' => env('MAIL_DRIVER', 'mail'),
|
2018-09-05 13:40:03 +02:00
|
|
|
'from' => [
|
|
|
|
// From address of all emails
|
2022-03-23 12:38:59 +01:00
|
|
|
'address' => env('MAIL_FROM_ADDRESS', 'noreply@example.com'),
|
2019-04-20 20:02:22 +02:00
|
|
|
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Engelsystem')),
|
2018-09-05 13:40:03 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
'host' => env('MAIL_HOST', 'localhost'),
|
|
|
|
'port' => env('MAIL_PORT', 587),
|
2021-12-20 21:07:00 +01:00
|
|
|
// If tls transport encryption should be used
|
|
|
|
'tls' => env('MAIL_TLS', null),
|
2018-09-05 13:40:03 +02:00
|
|
|
'username' => env('MAIL_USERNAME'),
|
|
|
|
'password' => env('MAIL_PASSWORD'),
|
2018-09-26 21:28:49 +02:00
|
|
|
'sendmail' => env('MAIL_SENDMAIL', '/usr/sbin/sendmail -bs'),
|
2018-09-05 13:40:03 +02:00
|
|
|
],
|
2017-07-17 22:17:58 +02:00
|
|
|
|
2021-11-29 22:13:49 +01:00
|
|
|
# Your privacy@ contact address
|
|
|
|
'privacy_email' => '',
|
|
|
|
|
2021-05-23 11:24:01 +02:00
|
|
|
// Initial admin password
|
|
|
|
'setup_admin_password' => env('SETUP_ADMIN_PASSWORD', null),
|
|
|
|
|
2020-11-15 18:47:30 +01:00
|
|
|
'oauth' => [
|
|
|
|
// '[name]' => [config]
|
|
|
|
/*
|
2020-11-22 14:45:24 +01:00
|
|
|
'[name]' => [
|
|
|
|
// Name shown to the user (optional)
|
|
|
|
'name' => 'Some Provider',
|
2020-11-15 18:47:30 +01:00
|
|
|
// Auth client ID
|
|
|
|
'client_id' => 'engelsystem',
|
|
|
|
// Auth client secret
|
|
|
|
'client_secret' => '[generated by provider]',
|
|
|
|
// Authentication URL
|
|
|
|
'url_auth' => '[generated by provider]',
|
|
|
|
// Token URL
|
|
|
|
'url_token' => '[generated by provider]',
|
|
|
|
// User info URL which provides userdata
|
|
|
|
'url_info' => '[generated by provider]',
|
|
|
|
// Info unique user id field
|
|
|
|
'id' => 'uuid',
|
|
|
|
// The following fields are used for registration
|
|
|
|
// Info username field (optional)
|
|
|
|
'username' => 'nickname',
|
|
|
|
// Info email field (optional)
|
|
|
|
'email' => 'email',
|
|
|
|
// Info first name field (optional)
|
|
|
|
'first_name' => 'first-name',
|
|
|
|
// Info last name field (optional)
|
|
|
|
'last_name' => 'last-name',
|
2021-12-03 23:00:37 +01:00
|
|
|
// User URL to provider, linked on provider settings page (optional)
|
2020-11-15 18:47:30 +01:00
|
|
|
'url' => '[provider page]',
|
2021-12-11 23:28:03 +01:00
|
|
|
// Whether info attributes are nested arrays (optional)
|
|
|
|
// For example {"user":{"name":"foo"}} can be accessed using user.name
|
|
|
|
'nested_info' => false,
|
2020-11-15 18:47:30 +01:00
|
|
|
// Only show after clicking the page title (optional)
|
|
|
|
'hidden' => false,
|
|
|
|
// Mark user as arrived when using this provider (optional)
|
|
|
|
'mark_arrived' => false,
|
2021-12-10 01:22:02 +01:00
|
|
|
// If the password field should be enabled on registration (optional)
|
|
|
|
'enable_password' => false,
|
2021-12-03 23:00:37 +01:00
|
|
|
// Allow registration even if disabled in config (optional)
|
|
|
|
'allow_registration' => null,
|
2021-11-23 11:59:53 +01:00
|
|
|
// Auto join teams
|
|
|
|
// Info groups field (optional)
|
|
|
|
'groups' => 'groups',
|
|
|
|
// Groups to team (angeltype) mapping (optional)
|
|
|
|
'teams' => [
|
|
|
|
'/Lorem' => 4, // 4 being the ID of the angeltype
|
|
|
|
'/Foo Mod' => ['id' => 5, 'supporter' => true], // 5 being the ID of the angeltype
|
|
|
|
],
|
2020-11-15 18:47:30 +01:00
|
|
|
],
|
|
|
|
*/
|
|
|
|
],
|
|
|
|
|
2017-07-20 01:14:28 +02:00
|
|
|
// Default theme, 1=style1.css
|
2020-11-13 20:41:29 +01:00
|
|
|
'theme' => env('THEME', 1),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2021-04-29 21:58:20 +02:00
|
|
|
'themes' => [
|
2021-12-27 18:46:20 +01:00
|
|
|
15 => [
|
|
|
|
'name' => 'Engelsystem rC3 (2021)',
|
|
|
|
'type' => 'dark',
|
|
|
|
'navbar_classes' => 'navbar-dark',
|
|
|
|
],
|
2021-04-29 21:58:20 +02:00
|
|
|
14 => [
|
|
|
|
'name' => 'Engelsystem rC3 teal (2020)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
13 => [
|
|
|
|
'name' => 'Engelsystem rC3 violet (2020)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
12 => [
|
|
|
|
'name' => 'Engelsystem 36c3 (2019)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
10 => [
|
|
|
|
'name' => 'Engelsystem cccamp19 green (2019)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
9 => [
|
|
|
|
'name' => 'Engelsystem cccamp19 yellow (2019)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
8 => [
|
|
|
|
'name' => 'Engelsystem cccamp19 blue (2019)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
7 => [
|
|
|
|
'name' => 'Engelsystem 35c3 dark (2018)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2022-05-14 17:33:37 +02:00
|
|
|
'navbar_classes' => 'navbar-primary navbar-dark bg-black border-primary',
|
2021-04-29 21:58:20 +02:00
|
|
|
],
|
|
|
|
6 => [
|
|
|
|
'name' => 'Engelsystem 34c3 dark (2017)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
5 => [
|
|
|
|
'name' => 'Engelsystem 34c3 light (2017)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'light',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-light bg-light',
|
|
|
|
],
|
|
|
|
4 => [
|
|
|
|
'name' => 'Engelsystem 33c3 (2016)',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-08-05 01:00:12 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-body border-dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
],
|
|
|
|
3 => [
|
|
|
|
'name' => 'Engelsystem 32c3 (2015)',
|
2021-07-24 20:31:40 +02:00
|
|
|
'type' => 'light',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
2 => [
|
|
|
|
'name' => 'Engelsystem cccamp15',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'light',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-light bg-light',
|
|
|
|
],
|
|
|
|
11 => [
|
|
|
|
'name' => 'Engelsystem high contrast',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
|
|
|
0 => [
|
|
|
|
'name' => 'Engelsystem light',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'light',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-light bg-light',
|
|
|
|
],
|
|
|
|
1 => [
|
|
|
|
'name' => 'Engelsystem dark',
|
2021-07-24 12:38:23 +02:00
|
|
|
'type' => 'dark',
|
2021-04-29 21:58:20 +02:00
|
|
|
'navbar_classes' => 'navbar-dark bg-black border-dark',
|
|
|
|
],
|
2017-07-20 01:14:28 +02:00
|
|
|
],
|
|
|
|
|
2019-03-07 13:01:52 +01:00
|
|
|
// Redirect to this site after logging in or when pressing the top-left button
|
2020-12-18 18:27:10 +01:00
|
|
|
// Must be one of news, meetings, user_shifts, angeltypes, questions
|
2020-10-12 01:42:43 +02:00
|
|
|
'home_site' => env('HOME_SITE', 'news'),
|
2019-03-07 13:01:52 +01:00
|
|
|
|
2017-01-21 23:07:20 +01:00
|
|
|
// Number of News shown on one site
|
2020-10-12 01:42:43 +02:00
|
|
|
'display_news' => env('DISPLAY_NEWS', 10),
|
2017-08-31 12:25:06 +02:00
|
|
|
|
2017-09-20 12:18:08 +02:00
|
|
|
// Users are able to sign up
|
2018-08-12 23:44:46 +02:00
|
|
|
'registration_enabled' => (bool)env('REGISTRATION_ENABLED', true),
|
2017-09-20 12:18:08 +02:00
|
|
|
|
2017-08-31 12:25:06 +02:00
|
|
|
// Only arrived angels can sign up for shifts
|
2020-10-22 17:08:00 +02:00
|
|
|
'signup_requires_arrival' => (bool)env('SIGNUP_REQUIRES_ARRIVAL', false),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2019-03-06 19:28:07 +01:00
|
|
|
// Whether newly-registered user should automatically be marked as arrived
|
2020-10-12 01:42:43 +02:00
|
|
|
'autoarrive' => (bool)env('ANGEL_AUTOARRIVE', false),
|
2019-03-06 19:28:07 +01:00
|
|
|
|
2017-12-03 04:05:02 +01:00
|
|
|
// Only allow shift signup this number of hours in advance
|
|
|
|
// Setting this to 0 disables the feature
|
2020-10-22 17:08:00 +02:00
|
|
|
'signup_advance_hours' => env('SIGNUP_ADVANCE_HOURS', 0),
|
2017-12-03 04:05:02 +01:00
|
|
|
|
2020-11-04 17:52:09 +01:00
|
|
|
// Allow signup this many minutes after the start of the shift.
|
|
|
|
// If signup_post_fraction is set, first applies that before adding the number of minutes specified by this.
|
2020-10-22 17:08:00 +02:00
|
|
|
'signup_post_minutes' => env('SIGNUP_POST_MINUTES', 0),
|
2020-09-01 12:46:44 +02:00
|
|
|
|
2020-11-04 17:52:09 +01:00
|
|
|
// Allow signup this fraction of the shift length after the start of the shift.
|
|
|
|
// Example: If this is set to 1, signup is allowed until the end of a shift
|
|
|
|
// If this is set to 0.5, signup is allowd for the first half of a shift
|
|
|
|
// If signup_post_minutes is set, first applies this and then adds the signup_post_minutes on top.
|
|
|
|
'signup_post_fraction' => env('SIGNUP_POST_FRACTION', 0),
|
|
|
|
|
2018-09-06 16:04:41 +02:00
|
|
|
// Number of hours that an angel has to sign out own shifts
|
2020-10-22 17:08:00 +02:00
|
|
|
'last_unsubscribe' => env('LAST_UNSUBSCRIBE', 3),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-11-27 12:01:36 +01:00
|
|
|
// Define the algorithm to use for `password_verify()`
|
2018-09-06 16:04:41 +02:00
|
|
|
// If the user uses an old algorithm the password will be converted to the new format
|
2018-11-27 12:01:36 +01:00
|
|
|
// See https://secure.php.net/manual/en/password.constants.php for a complete list
|
|
|
|
'password_algorithm' => PASSWORD_DEFAULT,
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-09-26 21:28:49 +02:00
|
|
|
// The minimum length for passwords
|
2020-10-12 01:42:43 +02:00
|
|
|
'min_password_length' => env('PASSWORD_MINIMUM_LENGTH', 8),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2021-12-09 23:39:46 +01:00
|
|
|
// Whether the Password field should be enabled on registration.
|
2021-12-10 01:51:04 +01:00
|
|
|
// This is useful when using oauth, disabling it also disables normal
|
|
|
|
// registration without oauth.
|
2021-10-24 19:55:56 +02:00
|
|
|
'enable_password' => (bool)env('ENABLE_PASSWORD', true),
|
|
|
|
|
2019-04-23 12:42:01 +02:00
|
|
|
// Whether the DECT field should be enabled
|
2020-10-22 17:08:00 +02:00
|
|
|
'enable_dect' => (bool)env('ENABLE_DECT', true),
|
2019-04-23 12:42:01 +02:00
|
|
|
|
2022-10-16 17:29:34 +02:00
|
|
|
// Whether the mobile number can be shown to other users
|
|
|
|
'enable_mobile_show' => (bool)env('ENABLE_MOBILE_SHOW', false),
|
|
|
|
|
2019-08-24 10:56:59 +02:00
|
|
|
// Enables prename and lastname
|
2020-10-22 17:08:00 +02:00
|
|
|
'enable_user_name' => (bool)env('ENABLE_USER_NAME', false),
|
2019-08-24 10:56:59 +02:00
|
|
|
|
2019-12-26 19:07:51 +01:00
|
|
|
// Enable displaying the pronoun fields
|
2022-05-28 17:10:14 +02:00
|
|
|
'enable_pronoun' => (bool)env('ENABLE_PRONOUN', true),
|
2019-12-26 19:07:51 +01:00
|
|
|
|
2019-04-24 11:01:37 +02:00
|
|
|
// Enables the planned arrival/leave date
|
2020-10-22 17:08:00 +02:00
|
|
|
'enable_planned_arrival' => (bool)env('ENABLE_PLANNED_ARRIVAL', true),
|
2019-04-23 12:23:35 +02:00
|
|
|
|
2018-09-06 16:04:41 +02:00
|
|
|
// Enables the T-Shirt configuration on signup and profile
|
2020-10-22 17:08:00 +02:00
|
|
|
'enable_tshirt_size' => (bool)env('ENABLE_TSHIRT_SIZE', true),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2022-06-10 23:03:25 +02:00
|
|
|
// Enables the goody configuration on signup and profile
|
2021-11-30 00:19:44 +01:00
|
|
|
'enable_goody' => (bool)env('ENABLE_GOODY', false),
|
|
|
|
|
2022-06-10 23:03:25 +02:00
|
|
|
// Enables the food voucher in the user profile
|
|
|
|
'enable_voucher' => (bool)env('ENABLE_VOUCHER', true),
|
|
|
|
|
2017-01-21 23:07:20 +01:00
|
|
|
// Number of shifts to freeload until angel is locked for shift signup.
|
2020-10-22 17:08:00 +02:00
|
|
|
'max_freeloadable_shifts' => env('MAX_FREELOADABLE_SHIFTS', 2),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2018-09-06 16:04:41 +02:00
|
|
|
// Local timezone
|
2019-06-04 15:26:45 +02:00
|
|
|
'timezone' => env('TIMEZONE', ini_get('date.timezone') ?: 'Europe/Berlin'),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2017-03-02 08:11:52 +01:00
|
|
|
// Multiply 'night shifts' and freeloaded shifts (start or end between 2 and 6 exclusive) by 2
|
2018-09-17 12:33:15 +02:00
|
|
|
'night_shifts' => [
|
2020-10-22 17:08:00 +02:00
|
|
|
'enabled' => (bool)env('NIGHT_SHIFTS', true), // Disable to weigh every shift the same
|
|
|
|
'start' => env('NIGHT_SHIFTS_START', 2),
|
|
|
|
'end' => env('NIGHT_SHIFTS_END', 6),
|
|
|
|
'multiplier' => env('NIGHT_SHIFTS_MULTIPLIER', 2),
|
2018-09-17 12:33:15 +02:00
|
|
|
],
|
2017-01-21 23:07:20 +01:00
|
|
|
|
2017-03-02 08:11:52 +01:00
|
|
|
// Voucher calculation
|
2017-01-21 23:07:20 +01:00
|
|
|
'voucher_settings' => [
|
2020-10-22 17:08:00 +02:00
|
|
|
'initial_vouchers' => env('INITIAL_VOUCHERS', 0),
|
|
|
|
'shifts_per_voucher' => env('SHIFTS_PER_VOUCHER', 0),
|
|
|
|
'hours_per_voucher' => env('HOURS_PER_VOUCHER', 2),
|
2019-12-25 16:26:59 +01:00
|
|
|
// 'Y-m-d' formatted
|
2020-10-22 17:08:00 +02:00
|
|
|
'voucher_start' => env('VOUCHER_START', null) ?: null,
|
2017-01-21 23:07:20 +01:00
|
|
|
],
|
|
|
|
|
2020-04-19 19:18:56 +02:00
|
|
|
// Available locales in /resources/lang/
|
2017-01-21 23:07:20 +01:00
|
|
|
'locales' => [
|
2019-07-08 01:47:01 +02:00
|
|
|
'de_DE' => 'Deutsch',
|
|
|
|
'en_US' => 'English',
|
2017-01-21 23:07:20 +01:00
|
|
|
],
|
|
|
|
|
2018-09-06 16:04:41 +02:00
|
|
|
// The default locale to use
|
2019-07-08 01:47:01 +02:00
|
|
|
'default_locale' => env('DEFAULT_LOCALE', 'en_US'),
|
2017-01-21 23:07:20 +01:00
|
|
|
|
|
|
|
// Available T-Shirt sizes, set value to null if not available
|
2018-09-06 16:04:41 +02:00
|
|
|
'tshirt_sizes' => [
|
2018-12-03 02:11:44 +01:00
|
|
|
'S' => 'Small Straight-Cut',
|
|
|
|
'S-G' => 'Small Fitted-Cut',
|
|
|
|
'M' => 'Medium Straight-Cut',
|
|
|
|
'M-G' => 'Medium Fitted-Cut',
|
|
|
|
'L' => 'Large Straight-Cut',
|
|
|
|
'L-G' => 'Large Fitted-Cut',
|
|
|
|
'XL' => 'XLarge Straight-Cut',
|
|
|
|
'XL-G' => 'XLarge Fitted-Cut',
|
|
|
|
'2XL' => '2XLarge Straight-Cut',
|
|
|
|
'3XL' => '3XLarge Straight-Cut',
|
|
|
|
'4XL' => '4XLarge Straight-Cut',
|
2017-01-21 23:07:20 +01:00
|
|
|
],
|
2018-08-13 16:30:27 +02:00
|
|
|
|
2020-08-20 14:29:27 +02:00
|
|
|
'metrics' => [
|
|
|
|
// User work buckets in seconds
|
|
|
|
'work' => [1 * 60 * 60, 1.5 * 60 * 60, 2 * 60 * 60, 3 * 60 * 60, 5 * 60 * 60, 10 * 60 * 60, 20 * 60 * 60],
|
|
|
|
'voucher' => [0, 1, 2, 3, 5, 10, 15, 20],
|
|
|
|
],
|
|
|
|
|
2019-12-27 18:58:27 +01:00
|
|
|
// Shifts overview
|
|
|
|
// Set max number of hours that can be shown at once
|
2020-10-22 17:08:00 +02:00
|
|
|
// 0 means no limit
|
2021-05-23 11:24:01 +02:00
|
|
|
'filter_max_duration' => env('FILTER_MAX_DURATION', 0),
|
2019-12-27 18:58:27 +01:00
|
|
|
|
2018-09-15 17:24:59 +02:00
|
|
|
// Session config
|
|
|
|
'session' => [
|
|
|
|
// Supported: pdo or native
|
|
|
|
'driver' => env('SESSION_DRIVER', 'pdo'),
|
|
|
|
|
|
|
|
// Cookie name
|
2020-10-22 17:08:00 +02:00
|
|
|
'name' => env('SESSION_NAME', 'session'),
|
2018-09-15 17:24:59 +02:00
|
|
|
],
|
2018-09-30 19:31:14 +02:00
|
|
|
|
2018-08-13 16:30:27 +02:00
|
|
|
// IP addresses of reverse proxies that are trusted, can be an array or a comma separated list
|
2018-09-26 21:28:49 +02:00
|
|
|
'trusted_proxies' => env('TRUSTED_PROXIES', ['127.0.0.0/8', '::ffff:127.0.0.0/8', '::1/128']),
|
2018-10-27 12:11:37 +02:00
|
|
|
|
|
|
|
// Add additional headers
|
|
|
|
'add_headers' => (bool)env('ADD_HEADERS', true),
|
|
|
|
'headers' => [
|
|
|
|
'X-Content-Type-Options' => 'nosniff',
|
|
|
|
'X-Frame-Options' => 'sameorigin',
|
|
|
|
'Referrer-Policy' => 'strict-origin-when-cross-origin',
|
2021-07-24 19:15:03 +02:00
|
|
|
'Content-Security-Policy' => 'default-src \'self\' \'unsafe-inline\' \'unsafe-eval\'; img-src \'self\' data:;',
|
2018-10-27 12:11:37 +02:00
|
|
|
'X-XSS-Protection' => '1; mode=block',
|
|
|
|
'Feature-Policy' => 'autoplay \'none\'',
|
|
|
|
//'Strict-Transport-Security' => 'max-age=7776000',
|
|
|
|
//'Expect-CT' => 'max-age=7776000,enforce,report-uri="[uri]"',
|
|
|
|
],
|
2018-12-21 23:12:04 +01:00
|
|
|
|
|
|
|
// A list of credits
|
|
|
|
'credits' => [
|
|
|
|
'Contribution' => 'Please visit [engelsystem/engelsystem](https://github.com/engelsystem/engelsystem) if '
|
2022-07-23 18:45:19 +02:00
|
|
|
. 'you want to contribute, have found any [bugs](https://github.com/engelsystem/engelsystem/issues) '
|
2018-12-21 23:12:04 +01:00
|
|
|
. 'or need help.'
|
2020-11-15 18:47:30 +01:00
|
|
|
],
|
2019-10-31 19:09:30 +01:00
|
|
|
|
|
|
|
// var dump server
|
2021-05-23 11:24:01 +02:00
|
|
|
'var_dump_server' => [
|
2019-10-31 19:09:30 +01:00
|
|
|
'host' => '127.0.0.1',
|
|
|
|
'port' => '9912',
|
|
|
|
'enable' => false,
|
|
|
|
],
|
2016-10-01 10:48:19 +02:00
|
|
|
];
|