feat(server): replica_failure admin notifications — events bridge, hourly debounce, channel registration

This commit is contained in:
jubnl
2026-08-20 22:51:49 +02:00
parent 4671720982
commit 6db135da4b
55 changed files with 356 additions and 3 deletions
@@ -52,6 +52,12 @@ const gr: NotificationLocale = {
title: 'Νέα έκδοση TREK διαθέσιμη',
body: `Η έκδοση TREK ${p.version} είναι τώρα διαθέσιμη. Επισκεφθείτε τον πίνακα διαχείρισης για να ενημερώσετε.`,
}),
replica_failure: (p) => ({
title: 'Storage replica failure',
body:
`Replica write failed on '${p.backend}': ${p.op} of ${p.key} — ${p.error}.` +
(p.suppressed !== '0' ? ` ${p.suppressed} more failures were suppressed since the last notification.` : ''),
}),
synology_session_cleared: () => ({
title: 'Η σύνδεση Synology τερματίστηκε',
body: 'Ο λογαριασμός σας Synology ή το URL άλλαξε. Έχετε αποσυνδεθεί από το Synology Photos.',