{% extends "layout.html" %} {% block title %}Settings - BZOD{% endblock %} {% block active_settings %}active{% endblock %} {% block header_title %}System Settings{% endblock %} {% block content %} {% if let Some(msg) = success %}
{{ msg }}
{% endif %} {% if let Some(err) = error %}
{{ err }}
{% endif %}

Change Password

Analytics Retention Policy

Old visits logs are cleaned up daily. Changing this policy does not affect aggregated monthly/yearly summaries.

Maintenance & DB Utilities

Reclaims unused space and defragments all SQLite database files.

Download Backup (.tar.gz)

Generates a tarball of admin.db, content.db, and analytics.db.

Bulk QR Code Export

Generates a ZIP archive containing QR codes for all shortened links in your registry, alongside a manifest.csv file mapping codes to their destinations.

REST API Tokens

{% if api_keys.is_empty() %} {% else %} {% for key in api_keys %} {% endfor %} {% endif %}
Key Description Created Last Used Action
No active API tokens generated yet.
{{ key.name }}
Key Prefix: {{ key.key_hash[0..8] }}...
{{ key.created_at[0..10] }} {% if let Some(last) = key.last_used_at %} {{ last[0..16].replace("T", " ") }} {% else %} Never {% endif %}
{% endblock %}