feat(diagnostics): scrubbed diagnostics bundles on the desktop and the server

SecretScrubber removes passwords, tokens, keys, cookies, authorisation
headers, URL credentials and private-key blocks from text and JSON;
DiagnosticsArchive zips reports, settings, failed jobs and log tails through
it. The desktop bundle (Settings > Advanced, About) now adds the codec and
encoder inventory, the settings and recent failed jobs; the server serves
the same as GET /api/v1/server/diagnostics (ManageArchive, audited), linked
from admin > Logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 22:29:26 +00:00
1 parent 85d091d1fe
commit 2650aa31fb
16 files changed
+757 -40

No files matched your search

+3
View File
@@ -175,11 +175,14 @@
<data name="Admin.Logs.Action.SequenceCreated" xml:space="preserve"><value>Sequence created</value></data>
<data name="Admin.Logs.Action.SequenceDeleted" xml:space="preserve"><value>Sequence deleted</value></data>
<data name="Admin.Logs.Action.SequenceUpdated" xml:space="preserve"><value>Sequence edited</value></data>
<data name="Admin.Logs.Action.ServerDiagnostics" xml:space="preserve"><value>Diagnostics exported</value></data>
<data name="Admin.Logs.Action.ServerSettings" xml:space="preserve"><value>Server settings</value></data>
<data name="Admin.Logs.Action.UserCreated" xml:space="preserve"><value>User created</value></data>
<data name="Admin.Logs.Action.UserDeleted" xml:space="preserve"><value>User deleted</value></data>
<data name="Admin.Logs.Action.UserUpdated" xml:space="preserve"><value>User changed</value></data>
<data name="Admin.Logs.Details" xml:space="preserve"><value>Details</value></data>
<data name="Admin.Logs.Diagnostics" xml:space="preserve"><value>Diagnostics</value></data>
<data name="Admin.Logs.Diagnostics.Tip" xml:space="preserve"><value>Download a zip with logs, system report, settings and recent failed jobs; passwords and tokens are left out</value></data>
<data name="Admin.Logs.Download" xml:space="preserve"><value>Download</value></data>
<data name="Admin.Logs.Download.Tip" xml:space="preserve"><value>Save this log file</value></data>
<data name="Admin.Logs.Empty" xml:space="preserve"><value>Nothing recorded yet</value></data>