{% extends "settings_layout.html" %} {# A setting the view depends on, as a link to its control on the Settings page. #} {% macro setting(control, label, value, tone='secondary') -%} {{ label }} {{ value }} {%- endmacro %} {% macro toggle(control, label, on) -%} {{ setting(control, label, 'On' if on else 'Off', 'success' if on else 'secondary') }} {%- endmacro %} {% set verification = management.verification %} {% set verification_on = verification.enabled and keys_valid %} {% macro verification_setting() -%} {% if verification.enabled and not keys_valid %}{{ setting('verifyFilesCheck', 'Verification', 'Needs keys', 'warning') }} {% else %}{{ setting('verifyFilesCheck', 'Verification', ('Full hash' if verification.depth == 'hash' else 'Signature only') if verification.enabled else 'Off', 'success' if verification.enabled else 'secondary') }}{% endif %} {%- endmacro %} {% set tiles = [('all', 'All files'), ('unidentified', 'Unidentified'), ('verification', 'Verification issues'), ('duplicates', 'Duplicates'), ('outdated', 'Outdated updates'), ('pending', 'Pending')] %} {% block panel %}

Files

Manage library files, actions run as tasks.

{# Per view: what it lists, then the settings it depends on with their current values. #}

Every file in all libraries.

Files Ownfoil could not match to any known content in the metadata database.

{{ setting('consoleKeysInput', 'Console keys', 'Valid' if keys_valid else 'Missing', 'success' if keys_valid else 'warning') }}

Files whose signature or content hash check failed, and files not verified yet.

{{ verification_setting() }} {% if not keys_valid %}{{ setting('consoleKeysInput', 'Console keys', 'Missing', 'warning') }}{% endif %}

For each content with several copies, the copy kept and why it wins over the others. Switch a group off to keep all its copies.

{{ toggle('deleteDuplicatesCheck', 'Automatic deletion', management.deduplication.enabled) }} {{ setting('preferMulticontentCheck', 'Prefer bundles', 'Yes' if management.deduplication.prefer_multicontent else 'No') }}

Update files older than the newest update owned for the same title. Bundles are never deleted.

{{ toggle('deleteOlderUpdatesCheck', 'Automatic deletion', management.delete_older_updates) }}

Files with processing still due given the current settings.

{{ toggle('organizerEnabledCheck', 'Organizer', management.organizer.enabled) }} {{ verification_setting() }} {{ toggle('compressFilesCheck', 'Compression', management.compression.enabled) }}

{% endblock %} {% block panel_scripts %} {% endblock %}