fix(server): a locked audit retention also fixes the audit step and the switch

The audit retention in force ignored the audit clean-up's steps: with the
audit step unticked nothing was deleted, yet Settings › Logs still showed the
age limit. It is now 0 without that step, and setting a limit (Settings › Logs
or CHRONOS_AUDIT_RETENTION_DAYS at start) ticks the step again, so a saved or
fixed retention always takes effect. While the variable fixes a limit above 0,
an edit that drops the step is 409 setting_locked like turning the schedule off.

The admin panel's Scheduled tab disables what the variable fixes (the row's
switch, the form's Enabled and audit step, the age limit) with the locked
tooltip, and points a setting_locked refusal at the field actually refused.

The Copies kept tooltips now say the backups folder keeps as many copies as
the backup schedule that keeps the most; the LastDone and Newest comments
state the real first-copy rule; Keep audit is documented last-writer-wins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-27 10:39:49 +01:00
1 parent 94a5466c9f
commit e6e69782ed
12 files changed
+125 -45

No files matched your search

+1 -1
View File
@@ -381,7 +381,7 @@
<data name="Admin.Schedules.Param.FullScan" xml:space="preserve"><value>Full scan</value></data>
<data name="Admin.Schedules.Param.FullScan.Tip" xml:space="preserve"><value>Read every file again instead of only those added or changed</value></data>
<data name="Admin.Schedules.Param.Keep" xml:space="preserve"><value>Copies kept</value></data>
<data name="Admin.Schedules.Param.Keep.Tip" xml:space="preserve"><value>How many copies of the index are kept; older ones are deleted</value></data>
<data name="Admin.Schedules.Param.Keep.Tip" xml:space="preserve"><value>Copies of the index to keep at least; the backup schedule that keeps the most, on or off, decides how many stay in the backups folder</value></data>
<data name="Admin.Schedules.Param.MakeAgain" xml:space="preserve"><value>Make again</value></data>
<data name="Admin.Schedules.Param.MakeAgain.Tip" xml:space="preserve"><value>Make them again for every sequence, also those that have them</value></data>
<data name="Admin.Schedules.Param.OlderDays" xml:space="preserve"><value>Older than (days)</value></data>
+1 -1
View File
@@ -342,7 +342,7 @@
<data name="Tooltips.Jobs.Editor.Enabled" xml:space="preserve"><value>Off, the schedule never runs by itself</value></data>
<data name="Tooltips.Jobs.Editor.Every" xml:space="preserve"><value>How many minutes (5 to 1,440), hours (1 to 168) or days (1 to 366)</value></data>
<data name="Tooltips.Jobs.Editor.FullScan" xml:space="preserve"><value>Reads every file again, not only those whose date or size changed</value></data>
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>How many copies of the index are kept; older ones are deleted</value></data>
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>Copies of the index to keep at least; the backup schedule that keeps the most, on or off, decides how many stay in the backups folder</value></data>
<data name="Tooltips.Jobs.Editor.KindDaily" xml:space="preserve"><value>Every day at a time</value></data>
<data name="Tooltips.Jobs.Editor.KindEvery" xml:space="preserve"><value>At a fixed interval: every n minutes, hours or days</value></data>
<data name="Tooltips.Jobs.Editor.KindMonthly" xml:space="preserve"><value>On one day of the month at a time</value></data>
+1 -1
View File
@@ -380,7 +380,7 @@
<data name="Admin.Schedules.Param.FullScan" xml:space="preserve"><value>Scansione completa</value></data>
<data name="Admin.Schedules.Param.FullScan.Tip" xml:space="preserve"><value>Rilegge ogni file invece di quelli aggiunti o modificati</value></data>
<data name="Admin.Schedules.Param.Keep" xml:space="preserve"><value>Copie conservate</value></data>
<data name="Admin.Schedules.Param.Keep.Tip" xml:space="preserve"><value>Quante copie dell'indice si conservano; le più vecchie vengono eliminate</value></data>
<data name="Admin.Schedules.Param.Keep.Tip" xml:space="preserve"><value>Numero minimo di copie dell'indice da conservare; quante ne restano nella cartella dei backup lo decide la pianificazione di copia che ne conserva di più, attiva o no</value></data>
<data name="Admin.Schedules.Param.MakeAgain" xml:space="preserve"><value>Ricrea</value></data>
<data name="Admin.Schedules.Param.MakeAgain.Tip" xml:space="preserve"><value>Le ricrea per ogni sequenza, anche per quelle che le hanno</value></data>
<data name="Admin.Schedules.Param.OlderDays" xml:space="preserve"><value>Più vecchi di (giorni)</value></data>
+1 -1
View File
@@ -341,7 +341,7 @@
<data name="Tooltips.Jobs.Editor.Enabled" xml:space="preserve"><value>Disattivata, la pianificazione non viene mai eseguita da sola</value></data>
<data name="Tooltips.Jobs.Editor.Every" xml:space="preserve"><value>Quanti minuti (da 5 a 1.440), ore (da 1 a 168) o giorni (da 1 a 366)</value></data>
<data name="Tooltips.Jobs.Editor.FullScan" xml:space="preserve"><value>Rilegge ogni file, non solo quelli con data o dimensione cambiate</value></data>
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>Quante copie dell'indice vengono mantenute; le più vecchie vengono eliminate</value></data>
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>Numero minimo di copie dell'indice da conservare; quante ne restano nella cartella delle copie lo decide la pianificazione di copia che ne conserva di più, attiva o no</value></data>
<data name="Tooltips.Jobs.Editor.KindDaily" xml:space="preserve"><value>Ogni giorno a un'ora</value></data>
<data name="Tooltips.Jobs.Editor.KindEvery" xml:space="preserve"><value>A intervallo fisso: ogni n minuti, ore o giorni</value></data>
<data name="Tooltips.Jobs.Editor.KindMonthly" xml:space="preserve"><value>In un giorno del mese a un'ora</value></data>