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>