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