* deactivate deprecated auto-mapping * use native month-picker with fallback on old browser * bump dependencies to new major versions * replace deprecated ARRAY column type with JSON * named arguments * nullable arguments * native lazy ghosts * update routes to use php config * disable PHP < 8.4 * use static RTL configuration * new qr code package * clear out env file * recipe updates * fix deprecations * preset new env variable if not existing * bump maria db version examples * remove deprecated api-token support * fix validator deprecations * remove timesheet category column * fix broken validator autoconfiguration * stabilize tests * fix migration syntax compatibility * fix doctrine deprecation * fix datetime format * remove constructor dependency * only include visible preferences in invoice templates * fix test container dependency * removed ProjectConstraint multi-constraint logic * allow to disable plugins in certain environments * refactor TimesheetConstraint to non-service * activate new interface methods * prevent update issues with .env * improved customer fixture * removed $user->isExportDecimal()
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
|
parameters:
|
|
env(TRUSTED_PROXIES): ''
|
|
env(TRUSTED_HOSTS): ''
|
|
|
|
framework:
|
|
secret: '%env(APP_SECRET)%'
|
|
csrf_protection: true
|
|
annotations: false
|
|
handle_all_throwables: true
|
|
disallow_search_engine_index: true
|
|
set_content_language_from_locale: true
|
|
|
|
serializer:
|
|
enable_attributes: true
|
|
|
|
trusted_proxies: '%env(string:TRUSTED_PROXIES)%'
|
|
trusted_hosts: '%env(string:TRUSTED_HOSTS)%'
|
|
|
|
exceptions:
|
|
App\Validator\ValidationFailedException:
|
|
log_level: debug
|
|
|
|
default_locale: en
|
|
http_method_override: false
|
|
|
|
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
|
# Remove or comment this section to explicitly disable session support.
|
|
session:
|
|
name: KIMAI_SESSION
|
|
handler_id: App\Security\SessionHandler
|
|
cookie_secure: auto
|
|
cookie_samesite: lax
|
|
cookie_httponly: true
|
|
storage_factory_id: session.storage.factory.native
|
|
|
|
php_errors:
|
|
log: true
|
|
|
|
property_info:
|
|
with_constructor_extractor: true
|
|
|
|
mailer:
|
|
dsn: '%env(MAILER_URL)%'
|
|
|
|
validation:
|
|
email_validation_mode: html5
|
|
enable_attributes: true
|
|
|
|
when@dev:
|
|
framework:
|
|
mailer:
|
|
dsn: 'null://null'
|
|
|
|
when@test:
|
|
framework:
|
|
test: true
|
|
session:
|
|
storage_factory_id: session.storage.factory.mock_file
|
|
mailer:
|
|
dsn: 'null://null'
|