{% load i18n misago_capture %} {% if not all_ok %}

{% trans "System checks" %}

{% if not checks.debug.is_ok %}
{% trans "Site is running in DEBUG mode." %}
{% blocktrans trimmed %} Error pages displayed in DEBUG mode will expose site configuration details like secrets and tokens to all visitors. This is MAJOR security risk. {% endblocktrans %}
{% endif %} {% if not checks.released.is_ok %}
{% trans "Site is running using unreleased version of Misago." %}
{% blocktrans trimmed %} Unreleased versions of Misago can lack security features and there is no supported way to upgrade them to release versions later. {% endblocktrans %}
{% endif %} {% if not checks.address.set_address %}
{% trans "The settings.py is missing MISAGO_ADDRESS value." %}
{% trans "Misago uses this setting to build correct links in e-mails sent to site users." %}
{% elif not checks.address.is_ok %}
{% trans "The settings.py value for MISAGO_ADDRESS appears to be incorrect." %}
{% capture trimmed as set_address %} {{ checks.address.set_address }} {% endcapture %} {% capture trimmed as correct_address %} {{ checks.address.correct_address }} {% endcapture %} {% blocktrans trimmed with configured_address=set_address|safe correct_address=correct_address|safe %} Your MISAGO_ADDRESS is set to {{ configured_address }} while correct value appears to be {{ correct_address }}. {% endblocktrans %}
{% trans "Misago uses this setting to build correct links in e-mails sent to site users." %}
{% endif %} {% if not checks.https.is_ok %}
{% trans "Site is not running over HTTPS." %}
{% blocktrans trimmed %} Browsers may warn users visiting the site about it being insecure. Search engines will lower its position in search results. {% endblocktrans %}
{% endif %} {% if not checks.cache.is_ok %}
{% trans "Cache is disabled." %}
{% blocktrans trimmed %} This will cause degraded performance and increased CPU usage by the site, possibly leading to increased hosting costs. {% endblocktrans %}
{% endif %} {% if not checks.data_downloads.is_ok %}
{% blocktrans trimmed count downloads=checks.data_downloads.count %} There is {{ downloads }} unprocessed data download request. {% plural %} There are {{ downloads }} unprocessed data download requests. {% endblocktrans %}
{% blocktrans trimmed %} Cron task that should process user data download requests is not running. {% endblocktrans %}
{% endif %} {% if not checks.inactive_users.is_ok %}
{% blocktrans trimmed count users=checks.inactive_users.count %} There is {{ users }} inactive user accounts. {% plural %} There are {{ users }} inactive users accounts. {% endblocktrans %}
{% blocktrans trimmed %} Your site may be targeted by bots, is not sending activation e-mails, or is not configured to delete inactive user accounts. {% endblocktrans %}
{% endif %}
{% endif %}