{% extends "aa_recruitment/base.html" %} {% load i18n %} {% block recruitment_content %} {% include "aa_recruitment/includes/vetting_styles.html" %}

{% translate "Every automatic check, what it looks at, its thresholds and the findings it can raise. Changes apply to the next vetting run." %} {% if changed_count %}{% blocktranslate count n=changed_count %}{{ n }} check changed{% plural %}{{ n }} checks changed{% endblocktranslate %}{% endif %}

{% translate "Check data sources" %}
{% if not can_edit %}
{% translate "Read only: changing settings needs the recruitment admin permission." %}
{% endif %}
{% csrf_token %}
{% translate "Character Audit site" %} {% if source.backend == "remote" %}{% translate "other Auth via API" %}{% elif source.backend %}{% translate "this Auth" %} · {{ source.backend }} {{ source.version }}{% else %}{% translate "no audit app" %}{% endif %}

{% translate "Where wallet, assets, skills, contracts, mail, mining and contacts come from, and where the Character Audit button in the dossier points to. Leave it empty or use this Auth's address to read this Auth's own database. Use another Auth (for example Prod while testing on Dev) to read its Character Audit through its API." %}

{% translate "Now reading" %}: {% if source.backend == "remote" %}{{ source.effective_url }} ({% translate "API" %}){% else %}{% translate "this Auth's database" %}{% if source.this_site %} ({{ source.this_site }}){% endif %}{% endif %}

{% translate "A page link such as …/audit/r/123/account/wallet also works." %}{% if source.url_from_settings %} {% translate "AA_RECRUITMENT_AUDIT_SITE_URL in local.py overrides this field." %}{% endif %}
{% if source.session_set and not source.session_from_settings and can_edit %}
{% endif %} {% if source.session_from_settings %}
{% translate "Set in local.py (AA_RECRUITMENT_AUDIT_SESSION)." %}
{% endif %}
{% translate "How to get the session cookie, and what to watch out for" %}
  1. {% translate "Log in to the other Auth in your browser with a user that can see applicants in Character Audit." %}
  2. {% translate "Press F12 → Application (Chrome/Edge) or Storage (Firefox) → Cookies → the site → copy the value of 'sessionid'." %}
  3. {% translate "Paste it here and press Save, then Test connection." %}

{% translate "This cookie logs in to that site as you. Never share it, keep it out of screenshots, and remove it when testing is done. Logging out there makes it invalid. Putting it in local.py (AA_RECRUITMENT_AUDIT_SESSION) keeps it out of the database." %}

{% translate "Through the API, mail bodies are not available (subjects only) and mining is grouped per day and ore." %}

{% if can_edit %} {% endif %}
{% for c in checks %}
{% csrf_token %}
{{ c.title }} {{ c.key }} {% if c.changed %}{% translate "changed" %}{% endif %}
{% if c.key != "scoring" %}
{% else %}{% endif %}

{{ c.description }}

{{ c.source }}

{% if c.params %}
{% translate "Parameters" %}
{% for p in c.params %} {% endfor %}
{% translate "Setting" %}{% translate "Value" %}{% translate "Default" %}
{{ p.label }}{% if p.unit %} ({{ p.unit }}){% endif %}
{% if p.help %}
{{ p.help }}
{% endif %}
{% if p.kind == "list" %}
{% translate "One per line (or comma separated)." %}
{% else %} {% endif %}
{% if p.kind == "list" %}
{% translate "show" %}
{{ p.default }}
{% else %}{{ p.default }}{% endif %}
{% endif %} {% if c.findings %}
{% translate "Findings" %} ({{ c.findings|length }})
{% for f in c.findings %} {% endfor %}
{% translate "Finding" %}{% translate "Default" %}{% translate "Severity" %}
{{ f.title }} {{ f.default }}

{% translate "{…} is filled in by the check. 'hidden' leaves the finding out of the report and the score." %}

{% endif %}
{% if can_edit %} {% endif %}
{% endfor %}
{% endblock %}