{% load i18n misago_capture %}

{% trans "System checks" context "admin checks title" %}

{% trans "Loading..." context "admin version check" %}
{% trans "Checking Misago version used by the site..." context "admin version check" %}
{% blocktrans trimmed context "admin version check" %} Version check feature relies on the API operated by the Python Package Index (pypi.org) to retrieve the latest Misago release version. {% endblocktrans %}
{% if not checks.debug.is_ok %}
{% trans "The site is running in DEBUG mode." context "admin debug check" %}
{% blocktrans trimmed context "admin debug check" %} 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.address.set_address %}
{% trans "Forum address is not configured." context "admin site address check" %}
{% trans "Links in e-mails sent by Misago will be broken." context "admin site address check" %}
{% elif not checks.address.is_ok %}
{% trans "Configured forum address appears to be incorrect." context "admin site address check" %}
{% 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 context "admin site address check" %} Your forum address is set to {{ configured_address }} while correct value appears to be {{ correct_address }}. {% endblocktrans %}
{% trans "Links in e-mails sent by Misago may be broken." context "admin site address check" %}
{% endif %} {% if not checks.https.is_ok %}
{% trans "The site is not running over HTTPS." context "admin https check" %}
{% blocktrans trimmed context "admin https check" %} 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." context "admin cache check" %}
{% blocktrans trimmed context "admin cache check" %} This will cause degraded performance and increased CPU usage by the site, leading to worse user experience and increased hosting costs. {% endblocktrans %}
{% endif %} {% if not checks.data_downloads.is_ok %}
{% blocktrans trimmed count downloads=checks.data_downloads.count context "admin data downloads check" %} There is {{ downloads }} unprocessed data download request. {% plural %} There are {{ downloads }} unprocessed data download requests. {% endblocktrans %}
{% blocktrans trimmed context "admin data downloads check" %} 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 context "admin inactive users check" %} There is {{ users }} inactive user accounts. {% plural %} There are {{ users }} inactive users accounts. {% endblocktrans %}
{% blocktrans trimmed context "admin inactive users check" %} The site may be targeted by bots, is not sending activation e-mails, or is not configured to delete inactive user accounts. {% endblocktrans %}
{% endif %}