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
@@ -989,6 +989,124 @@ const dict: Translations = {
'sync.now': "Synchronizuj",
'sync.pending_few': "{count} zmiany oczekują",
'sync.pending_many': "{count} zmian oczekuje",
// — Modération : signaler, bloquer, signaler un bug, écran de plantage —
"crash.title": "Ups… coś poszło nie tak",
"crash.text": "Ekran przestał działać. Twoje dane są bezpieczne: odśwież aplikację, aby kontynuować.",
"crash.reload": "Odśwież",
"crash.retry": "Spróbuj ponownie",
"crash.privacy": "Gdy aplikacja jest online, problem jest zgłaszany automatycznie, bez żadnych danych osobowych.",
"bug.title": "Zgłoś błąd",
"bug.hint": "Opisz problem, a my się nim zajmiemy",
"bug.hintLocal": "Skontaktuj się przez rdacet.fr",
"bug.intro": "Wyjaśnij, co się stało i czego oczekiwałeś. Im dokładniej, tym szybsza poprawka.",
"bug.description": "Opis",
"bug.placeholder": "Np. po otwarciu serialu z ekranu głównego lista odcinków jest pusta…",
"bug.techTitle": "Dołączone informacje techniczne",
"bug.techPrivacy": "Nic osobistego: ani e-mail, ani biblioteka. Zespół widzi Twoją nazwę użytkownika, aby móc odpowiedzieć.",
"bug.send": "Wyślij",
"bug.thanks": "Dziękujemy!",
"bug.thanksText": "Zgłoszenie zostało wysłane. Przyjrzymy się mu jak najszybciej.",
"bug.info.version": "Wersja",
"bug.info.browser": "Przeglądarka",
"bug.info.os": "System",
"bug.info.lang": "Język",
"bug.info.theme": "Motyw",
"bug.info.screen": "Ekran",
"bug.info.viewport": "Okno",
"bug.info.route": "Strona",
"bug.info.standalone": "Zainstalowana aplikacja",
"bug.info.online": "Online",
"report.more": "Więcej opcji",
"report.action": "Zgłoś",
"report.titleReview": "Zgłoś tę recenzję",
"report.titleProfile": "Zgłoś ten profil",
"report.titleComment": "Zgłoś ten komentarz",
"report.titleList": "Zgłoś tę listę",
"report.intro": "Ta osoba nie dowie się, kto ją zgłosił. Zespół moderacji rozpatrzy Twoje zgłoszenie.",
"report.reason": "Powód",
"report.reason.spoiler": "Nieoznaczony spoiler",
"report.reason.harassment": "Nękanie lub zastraszanie",
"report.reason.hate": "Mowa nienawiści",
"report.reason.sexual": "Treści seksualne",
"report.reason.spam": "Spam lub reklama",
"report.reason.impersonation": "Podszywanie się",
"report.reason.other": "Inne",
"report.details": "Szczegóły (opcjonalnie)",
"report.detailsPlaceholder": "Dodaj kontekst przydatny dla moderacji…",
"report.send": "Wyślij",
"report.privacy": "Nadużywanie zgłoszeń może skutkować zawieszeniem konta.",
"report.thanks": "Dziękujemy za zgłoszenie",
"report.already": "Już zgłoszono",
"report.thanksText": "Zespół moderacji je rozpatrzy. Możesz też zablokować to konto z poziomu jego profilu.",
"report.errRate": "Zbyt wiele zgłoszeń dzisiaj. Spróbuj jutro.",
"report.errNotFound": "Ta treść już nie istnieje lub nie jest już dla Ciebie widoczna.",
"report.errUnavailable": "Zgłaszanie nie jest jeszcze dostępne. Spróbuj później.",
"block.block": "Zablokuj",
"block.unblock": "Odblokuj",
"block.done": "Zablokowano konto: {name}",
"block.undone": "Odblokowano konto: {name}",
"block.notice": "Zablokowałeś to konto: nie może Cię już obserwować ani reagować na Twoje recenzje, a jego recenzje są przed Tobą ukryte.",
"block.confirmTitle": "Zablokować {name}?",
"block.confirmText": "Przestaniecie się obserwować. To konto nie będzie mogło Cię obserwować ani reagować na Twoje recenzje, a jego recenzje zostaną przed Tobą ukryte. Nie zostanie o tym powiadomione.",
// — 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