Add a 14-day history retention option

This commit is contained in:
Sucukdeluxe committed 2026-09-26 10:19:16 +02:00
1 parent 461712b6bc
commit a26b00c425
4 files changed
+9 -1

No files matched your search

+2
View File
@@ -5924,6 +5924,7 @@ function updateHistorySidebarSummary() {
const labels = {
all: 'Alles behalten',
'7d': 'Letzte 7 Tage',
'14d': 'Letzte 14 Tage',
'30d': 'Letzte 30 Tage',
'90d': 'Letzte 90 Tage',
'1000': 'Letzte 1000 Uploads',
@@ -8595,6 +8596,7 @@ function syncHistoryRetentionPicker() {
const labels = {
all: 'Alles behalten',
'7d': 'Letzte 7 Tage',
'14d': 'Letzte 14 Tage',
'30d': 'Letzte 30 Tage',
'90d': 'Letzte 90 Tage',
'1000': 'Letzte 1000 Uploads',
+3
View File
@@ -61,6 +61,9 @@
['Letzte 100 Uploads', 'Last 100 uploads'],
['Letzte 1000 Uploads', 'Last 1,000 uploads'],
['Letzte 7 Tage', 'Last 7 days'],
['Letzte 14 Tage', 'Last 14 days'],
['Wird erstellt…', 'Creating…'],
['Anzahl weiterer Versuche pro Datei, bevor der Upload als fehlgeschlagen gilt.', 'Number of additional attempts per file before the upload is marked as failed.'],
['Letzte 30 Tage', 'Last 30 days'],
['Letzte 90 Tage', 'Last 90 days'],
['Max. parallele Uploads', 'Max. parallel uploads'],
+2
View File
@@ -609,6 +609,7 @@
<div class="history-retention-menu" id="historyRetentionMenu" role="listbox" aria-labelledby="historyRetentionTrigger" style="display:none">
<button type="button" class="history-retention-option" role="option" data-history-retention="all" aria-selected="true">Alles behalten</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="7d" aria-selected="false">Letzte 7 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="14d" aria-selected="false">Letzte 14 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="30d" aria-selected="false">Letzte 30 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="90d" aria-selected="false">Letzte 90 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="100" aria-selected="false">Letzte 100 Uploads</button>
@@ -618,6 +619,7 @@
<select id="historyRetentionSelect" class="history-retention-select" hidden aria-hidden="true" tabindex="-1">
<option value="all">Alles behalten</option>
<option value="7d">Letzte 7 Tage</option>
<option value="14d">Letzte 14 Tage</option>
<option value="30d">Letzte 30 Tage</option>
<option value="90d">Letzte 90 Tage</option>
<option value="100">Letzte 100 Uploads</option>