Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository

This commit is contained in:
2025-08-13 19:10:44 +02:00
parent 004507e233
commit db0e030900
171 changed files with 474 additions and 345 deletions

View File

@@ -1,4 +1,4 @@
titel: "Mobilizon on {{ primary_domain | upper }}"
titel: "Mobilizon on {{ PRIMARY_DOMAIN | upper }}"
features:
central_database: true
oidc: true
@@ -14,9 +14,9 @@ server:
unsafe-eval: true
domains:
canonical:
- "event.{{ primary_domain }}"
- "event.{{ PRIMARY_DOMAIN }}"
aliases:
- "events.{{ primary_domain }}"
- "events.{{ PRIMARY_DOMAIN }}"
docker:
services:
database:

View File

@@ -30,7 +30,7 @@ MOBILIZON_REPLY_EMAIL={{ users["administrator"].email }}
# The loglevel setting.
# You can find accepted values here: https://hexdocs.pm/logger/Logger.html#module-levels
# Defaults to error
MOBILIZON_LOGLEVEL={% if enable_debug | bool %}debug{% else %}error{% endif %}
MOBILIZON_LOGLEVEL={% if MODE_DEBUG | bool %}debug{% else %}error{% endif %}
######################################################
# Database settings #