Version 0.5.5.93: custom fields in lists, MeshCentral sync flag for statuses

- Show custom field values in asset list, dashboard and list Excel export
- New status flag to exclude assets (e.g. scrapped) from MeshCentral sync
- Require a secure SESSION_SECRET with a readable startup message
- Add SESSION_COOKIE_SECURE and refresh session permissions per request
- Translate HTTP errors and remaining fixed UI texts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RolandandClaude Opus 5.5 committed 2026-11-17 22:06:56 +01:00
1 parent c3f1ef43db
commit 261b4f2029
35 files changed
+768 -308

No files matched your search

+6 -6
View File
@@ -1,22 +1,22 @@
{% extends 'base.html' %}
{% block content %}
<div class="toolbar">
<h1>Historie: {{ asset.name }}</h1>
<h1>{{ t('history.title', name=asset.name) }}</h1>
<div class="toolbar-actions">
<a class="button button-secondary" href="/assets/{{ asset.id }}/history/export.xlsx">Excel exportieren</a>
<a class="button" href="/assets/{{ asset.id }}">Zurück zum Asset</a>
<a class="button button-secondary" href="/assets/{{ asset.id }}/history/export.xlsx">{{ t('assets.export_excel') }}</a>
<a class="button" href="/assets/{{ asset.id }}">{{ t('software.back_to_asset') }}</a>
</div>
</div>
<p class="table-hint">Jede geänderte Feldbezeichnung wird mit altem und neuem Wert gespeichert.</p>
<p class="table-hint">{{ t('history.hint') }}</p>
<div class="table-scroll">
<table class="data-table">
<thead><tr><th>Zeitpunkt</th><th>Quelle</th><th>Benutzer</th><th>Feld</th><th>Alter Wert</th><th>Neuer Wert</th></tr></thead>
<thead><tr><th>{{ t('history.changed_at') }}</th><th>{{ t('history.source') }}</th><th>{{ t('history.user') }}</th><th>{{ t('common.field') }}</th><th>{{ t('history.old_value') }}</th><th>{{ t('history.new_value') }}</th></tr></thead>
<tbody>
{% for entry in entries %}
{% for label, change in entry.changes.items() %}
<tr><td>{{ entry.changed_at }}</td><td>{{ entry.source }}</td><td>{{ entry.changed_by or '' }}</td><td>{{ label }}</td><td class="multiline">{{ change.old }}</td><td class="multiline">{{ change.new }}</td></tr>
{% endfor %}
{% else %}<tr><td colspan="6" class="empty-state">Noch keine Änderungen protokolliert.</td></tr>{% endfor %}
{% else %}<tr><td colspan="6" class="empty-state">{{ t('history.empty') }}</td></tr>{% endfor %}
</tbody>
</table>
</div>