Store Yoco secrets in the database; add Yoco settings tab

The Yoco secret key and webhook secret now live in AppSetting (AES-256-GCM
encrypted), with .env as a fallback. A new Site Settings → Yoco tab shows
them masked card-style, registers a webhook with Yoco (storing the secret it
returns) or accepts one entered by hand, and lists/deletes the account's
webhooks. Generic settings endpoints never read or write these keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 10:28:50 +02:00
co-authored by Claude Opus 5.5
parent 921b94a66a
commit 865a16abe9
23 changed files with 885 additions and 27 deletions
+3
View File
@@ -505,6 +505,9 @@ enum AdminAuditAction {
ticket_transferred
impersonation_started
impersonation_ended
yoco_config_updated
yoco_webhook_registered
yoco_webhook_deleted
}
// Append-only audit trail for admin/supervisor-initiated actions with money or