Modération et fiabilité : signalements, blocage, signaler un bug, remontée d'erreurs, sauvegardes

- Signaler (motif + précision ≤ 500 car.) un avis ou un profil via un bouton ⋯ générique
  (ReportButton / ReportDialog, cibles review | profile | comment | list).
- Bloquer / débloquer un membre depuis son profil : abonnements retirés, plus de suivi ni de
  réaction possible, ses avis masqués côté app.
- Administration : onglets Signalements (file regroupée par cible, aperçu actuel + copie au
  moment du signalement, actions supprimer / suspendre / résolu / classer), Suspendus, Bugs,
  Erreurs ; compteurs « à traiter » dans les onglets et dans Réglages.
- Réglages > À propos : « Signaler un bug » avec infos techniques affichées avant envoi
  (sans compte : lien rdacet.fr).
- Remontée d'erreurs sans tiers : window.onerror, unhandledrejection, ErrorBoundary global
  (écran « Oups… »), nettoyage des données perso, dédoublonnage, 10 envois max par session.
- SQL (à appliquer) : 20261009160000_moderation.sql, 20261009160100_bugs_errors.sql —
  RLS partout, fonctions security definer + is_admin(), anti-abus.
- Sauvegardes : workflow Gitea planifié, deploy/backup.sh (pg_dump, contrôles, gpg AES-256,
  rotation 7/4/6), deploy/BACKUP.md et deploy/restore.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-09 15:25:43 +00:00
1 parent c246b16e7e
commit 586c1ec00a
42 files changed
+4983 -32

No files matched your search

+118
View File
@@ -897,6 +897,124 @@ const dict: Translations = {
'sync.pending_one': "{count} Änderung ausstehend",
'sync.pending_other': "{count} Änderungen ausstehend",
'sync.now': "Jetzt synchronisieren",
// — Modération : signaler, bloquer, signaler un bug, écran de plantage —
"crash.title": "Hoppla… etwas ist schiefgelaufen",
"crash.text": "Die Anzeige ist abgestürzt. Deine Daten sind sicher: Lade die App neu, um weiterzumachen.",
"crash.reload": "Neu laden",
"crash.retry": "Erneut versuchen",
"crash.privacy": "Wenn die App online ist, wird uns das Problem automatisch gemeldet – ohne persönliche Daten.",
"bug.title": "Fehler melden",
"bug.hint": "Beschreibe das Problem, wir kümmern uns darum",
"bug.hintLocal": "Kontaktiere uns über rdacet.fr",
"bug.intro": "Erkläre, was passiert ist und was du erwartet hast. Je genauer, desto schneller die Lösung.",
"bug.description": "Beschreibung",
"bug.placeholder": "Z. B.: Beim Öffnen einer Serie von der Startseite bleibt die Episodenliste leer…",
"bug.techTitle": "Angehängte technische Infos",
"bug.techPrivacy": "Nichts Persönliches: weder deine E-Mail noch deine Bibliothek. Das Team sieht deinen Benutzernamen, um dir antworten zu können.",
"bug.send": "Senden",
"bug.thanks": "Danke!",
"bug.thanksText": "Deine Meldung wurde gesendet. Wir sehen sie uns so schnell wie möglich an.",
"bug.info.version": "Version",
"bug.info.browser": "Browser",
"bug.info.os": "System",
"bug.info.lang": "Sprache",
"bug.info.theme": "Design",
"bug.info.screen": "Bildschirm",
"bug.info.viewport": "Fenster",
"bug.info.route": "Seite",
"bug.info.standalone": "Installierte App",
"bug.info.online": "Online",
"report.more": "Weitere Optionen",
"report.action": "Melden",
"report.titleReview": "Diese Rezension melden",
"report.titleProfile": "Dieses Profil melden",
"report.titleComment": "Diesen Kommentar melden",
"report.titleList": "Diese Liste melden",
"report.intro": "Die Person erfährt nicht, wer sie gemeldet hat. Das Moderationsteam prüft deine Meldung.",
"report.reason": "Grund",
"report.reason.spoiler": "Nicht gekennzeichneter Spoiler",
"report.reason.harassment": "Belästigung oder Mobbing",
"report.reason.hate": "Hassrede",
"report.reason.sexual": "Sexuelle Inhalte",
"report.reason.spam": "Spam oder Werbung",
"report.reason.impersonation": "Identitätsdiebstahl",
"report.reason.other": "Sonstiges",
"report.details": "Details (optional)",
"report.detailsPlaceholder": "Füge hilfreichen Kontext für die Moderation hinzu…",
"report.send": "Senden",
"report.privacy": "Missbräuchliche Meldungen können zur Sperrung deines Kontos führen.",
"report.thanks": "Danke für deine Meldung",
"report.already": "Bereits gemeldet",
"report.thanksText": "Das Moderationsteam prüft sie. Du kannst dieses Konto auch über sein Profil blockieren.",
"report.errRate": "Zu viele Meldungen heute. Versuche es morgen erneut.",
"report.errNotFound": "Dieser Inhalt existiert nicht mehr oder ist für dich nicht mehr sichtbar.",
"report.errUnavailable": "Melden ist noch nicht verfügbar. Bitte versuche es später erneut.",
"block.block": "Blockieren",
"block.unblock": "Blockierung aufheben",
"block.done": "Konto blockiert: {name}",
"block.undone": "Blockierung aufgehoben: {name}",
"block.notice": "Du hast dieses Konto blockiert: Es kann dir nicht mehr folgen oder auf deine Rezensionen reagieren, und seine Rezensionen werden dir ausgeblendet.",
"block.confirmTitle": "{name} blockieren?",
"block.confirmText": "Ihr folgt euch nicht mehr. Dieses Konto kann dir nicht mehr folgen oder auf deine Rezensionen reagieren, und seine Rezensionen werden dir ausgeblendet. Es wird nicht benachrichtigt.",
// — Modération : administration (signalements, suspendus, bugs, erreurs) —
"adminMod.tabReports": "Reports",
"adminMod.tabSuspended": "Suspended",
"adminMod.tabBugs": "Bugs",
"adminMod.tabErrors": "Errors",
"adminMod.adminBadge": "Admin",
"adminMod.typeReview": "Review",
"adminMod.typeProfile": "Profile",
"adminMod.typeComment": "Comment",
"adminMod.typeList": "List",
"adminMod.reportCount_one": "{count} report",
"adminMod.reportCount_other": "{count} reports",
"adminMod.repeat_one": "{count} item from this account reported",
"adminMod.repeat_other": "{count} items from this account reported",
"adminMod.contentGone": "Content deleted since — copy taken when reported:",
"adminMod.noPreview": "No preview for this content (id {id}).",
"adminMod.editedSince": "Edited since it was reported — see the reported version",
"adminMod.reportsDetail_one": "See the report",
"adminMod.reportsDetail_other": "See the last {count} reports",
"adminMod.resetProfile": "Reset profile",
"adminMod.deleteContent": "Delete content",
"adminMod.resolve": "Mark resolved",
"adminMod.dismiss": "Dismiss",
"adminMod.statusResolved": "Resolved",
"adminMod.statusDismissed": "Dismissed",
"adminMod.open": "Open",
"adminMod.closed": "Handled",
"adminMod.actionFailed": "Action failed: {error}",
"adminMod.migrationHint": "The moderation SQL migration may not be applied yet.",
"adminMod.noOpen": "No pending reports",
"adminMod.noClosed": "No handled reports",
"adminMod.confirmResetTitle": "Reset this profile?",
"adminMod.confirmResetMsg": "The bio, photo and banner will be erased, and the display name replaced by the username.",
"adminMod.confirm": "Confirm",
"adminMod.noSuspended": "No suspended accounts",
"adminMod.suspendedOn": "Suspended on {date}",
"adminMod.suspendedUnknown": "Suspension date unknown",
"adminMod.bugNew": "New",
"adminMod.bugInProgress": "In progress",
"adminMod.bugFixed": "Fixed",
"adminMod.all": "All",
"adminMod.noBugs": "No bugs reported",
"adminMod.srcError": "JS error",
"adminMod.srcRejection": "Unhandled rejection",
"adminMod.srcRender": "Render crash",
"adminMod.errNew": "New",
"adminMod.errFixed": "Fixed",
"adminMod.firstSeen": "First seen {date}",
"adminMod.stack": "Stack trace and browser",
"adminMod.markFixed": "Mark fixed",
"adminMod.forget": "Forget",
"adminMod.noErrors": "No errors reported",
"adminMod.noErrorsHint": "App errors (without personal data) will show up here.",
"adminMod.alertReports_one": "{count} report",
"adminMod.alertReports_other": "{count} reports",
"adminMod.alertBugs_one": "{count} bug",
"adminMod.alertBugs_other": "{count} bugs",
"adminMod.alertErrors_one": "{count} new error",
"adminMod.alertErrors_other": "{count} new errors",
}
export default dict