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} बदलाव बाकी",
'sync.pending_other': "{count} बदलाव बाकी",
'sync.now': "अभी सिंक करें",
// — Modération : signaler, bloquer, signaler un bug, écran de plantage —
"crash.title": "उफ़… कुछ गड़बड़ हो गई",
"crash.text": "स्क्रीन क्रैश हो गई। आपका डेटा सुरक्षित है: जारी रखने के लिए ऐप रीलोड करें।",
"crash.reload": "रीलोड करें",
"crash.retry": "फिर से कोशिश करें",
"crash.privacy": "ऐप ऑनलाइन होने पर समस्या हमें अपने आप, बिना किसी निजी डेटा के, भेज दी जाती है।",
"bug.title": "बग रिपोर्ट करें",
"bug.hint": "समस्या बताइए, हम देख लेंगे",
"bug.hintLocal": "rdacet.fr के ज़रिए संपर्क करें",
"bug.intro": "बताइए क्या हुआ और आप क्या उम्मीद कर रहे थे। जितना सटीक, उतना जल्दी सुधार।",
"bug.description": "विवरण",
"bug.placeholder": "जैसे: होम से कोई सीरीज़ खोलने पर एपिसोड की सूची खाली रहती है…",
"bug.techTitle": "संलग्न तकनीकी जानकारी",
"bug.techPrivacy": "कुछ भी निजी नहीं: न आपका ईमेल, न आपकी लाइब्रेरी। जवाब देने के लिए टीम आपका यूज़रनेम देखती है।",
"bug.send": "भेजें",
"bug.thanks": "धन्यवाद!",
"bug.thanksText": "आपकी रिपोर्ट भेज दी गई है। हम इसे जल्द से जल्द देखेंगे।",
"bug.info.version": "संस्करण",
"bug.info.browser": "ब्राउज़र",
"bug.info.os": "सिस्टम",
"bug.info.lang": "भाषा",
"bug.info.theme": "थीम",
"bug.info.screen": "स्क्रीन",
"bug.info.viewport": "विंडो",
"bug.info.route": "पेज",
"bug.info.standalone": "इंस्टॉल किया गया ऐप",
"bug.info.online": "ऑनलाइन",
"report.more": "और विकल्प",
"report.action": "रिपोर्ट करें",
"report.titleReview": "इस समीक्षा की रिपोर्ट करें",
"report.titleProfile": "इस प्रोफ़ाइल की रिपोर्ट करें",
"report.titleComment": "इस टिप्पणी की रिपोर्ट करें",
"report.titleList": "इस सूची की रिपोर्ट करें",
"report.intro": "संबंधित व्यक्ति को पता नहीं चलेगा कि रिपोर्ट किसने की। मॉडरेशन टीम आपकी रिपोर्ट की जाँच करेगी।",
"report.reason": "कारण",
"report.reason.spoiler": "बिना चेतावनी का स्पॉइलर",
"report.reason.harassment": "उत्पीड़न या धमकाना",
"report.reason.hate": "नफ़रत भरी भाषा",
"report.reason.sexual": "यौन सामग्री",
"report.reason.spam": "स्पैम या विज्ञापन",
"report.reason.impersonation": "किसी और का रूप धारण करना",
"report.reason.other": "अन्य",
"report.details": "विवरण (वैकल्पिक)",
"report.detailsPlaceholder": "मॉडरेशन के लिए उपयोगी संदर्भ जोड़ें…",
"report.send": "भेजें",
"report.privacy": "गलत इरादे से की गई रिपोर्ट आपके खाते को निलंबित करवा सकती है।",
"report.thanks": "रिपोर्ट के लिए धन्यवाद",
"report.already": "पहले ही रिपोर्ट किया जा चुका है",
"report.thanksText": "मॉडरेशन टीम इसकी जाँच करेगी। आप इस खाते को उसकी प्रोफ़ाइल से ब्लॉक भी कर सकते हैं।",
"report.errRate": "आज बहुत सारी रिपोर्ट हो गईं। कल फिर कोशिश करें।",
"report.errNotFound": "यह सामग्री अब मौजूद नहीं है या अब आपको दिखाई नहीं देती।",
"report.errUnavailable": "रिपोर्ट करना अभी उपलब्ध नहीं है। बाद में कोशिश करें।",
"block.block": "ब्लॉक करें",
"block.unblock": "अनब्लॉक करें",
"block.done": "खाता ब्लॉक किया गया: {name}",
"block.undone": "खाता अनब्लॉक किया गया: {name}",
"block.notice": "आपने इस खाते को ब्लॉक किया है: यह अब आपको फ़ॉलो नहीं कर सकता और न ही आपकी समीक्षाओं पर प्रतिक्रिया दे सकता है, और इसकी समीक्षाएँ आपसे छिपी हैं।",
"block.confirmTitle": "{name} को ब्लॉक करें?",
"block.confirmText": "आप एक-दूसरे को फ़ॉलो नहीं करेंगे। यह खाता आपको फ़ॉलो नहीं कर पाएगा और न ही आपकी समीक्षाओं पर प्रतिक्रिया दे पाएगा, और इसकी समीक्षाएँ आपसे छिपा दी जाएँगी। उसे कोई सूचना नहीं मिलेगी।",
// — 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