Administration retirée : signalements et bugs par e-mail, base allégée
deploy / deploy (push) Successful in 46s
deploy / deploy (push) Successful in 46s
- Écran d'administration supprimé (page, onglets de modération, alertes, appels admin). - « Signaler » (avis, commentaire, profil, liste) et « Signaler un bug » ouvrent un e-mail pré-rempli vers contact@bobinoo.org (motifs en rappel, références du contenu ; version et appareil pour un bug). - Remontée automatique des erreurs supprimée. À la place : une ancienne version ouverte qui ne trouve plus un fichier après une mise à jour se recharge d'elle-même (« Importing a module script failed »). - Base (20261130120000_remove_admin, appliquée) : 20 fonctions et 5 tables d'administration supprimées (admins, reports, bug_reports, client_errors, moderation_log) ; get_profile, get_review_comments, delete_review_comment, delete_shared_list et la garde de suspension réécrites sans « admin ». Suspension d'un compte : à la main dans Supabase. - 116 textes inutilisés retirés dans chacune des 18 langues. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
38 files changed
+299
-4008
No files matched your search
@@ -234,46 +234,6 @@ const dict: Translations = {
|
||||
'reviews.none': '还没有评价',
|
||||
'reviews.seeAll': '查看全部评价',
|
||||
'notif.someone': '有人',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'settings.topNone': '未选择分类:Top 5 区域将被隐藏。',
|
||||
'settings.backup': '备份',
|
||||
'settings.export': '导出我的数据',
|
||||
@@ -865,16 +825,8 @@ const dict: Translations = {
|
||||
"crash.retry": "重试",
|
||||
"crash.privacy": "应用联网时,问题会自动报告给我们,不含任何个人数据。",
|
||||
"bug.title": "报告问题",
|
||||
"bug.hint": "描述问题,我们来处理",
|
||||
"bug.hintLocal": "通过 contact@bobinoo.org 联系我们",
|
||||
"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": "系统",
|
||||
@@ -891,7 +843,6 @@ const dict: Translations = {
|
||||
"report.titleProfile": "举报这个主页",
|
||||
"report.titleComment": "举报这条评论",
|
||||
"report.titleList": "举报这个片单",
|
||||
"report.intro": "对方不会知道是谁举报的。审核团队会处理你的举报。",
|
||||
"report.reason": "原因",
|
||||
"report.reason.spoiler": "未标注的剧透",
|
||||
"report.reason.harassment": "骚扰或霸凌",
|
||||
@@ -901,15 +852,6 @@ const dict: Translations = {
|
||||
"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}",
|
||||
@@ -918,64 +860,6 @@ const dict: Translations = {
|
||||
"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",
|
||||
// — Social : spoilers, commentaires sous les avis, listes partagées —
|
||||
'spoiler.checkbox': "包含剧透",
|
||||
'spoiler.checkboxHint': "你的评论会对其他人隐藏,直到他们选择阅读。",
|
||||
|
||||
Reference in new issue
Block a user