Administration retirée : signalements et bugs par e-mail, base allégée
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:
Claude committed 2026-11-30 19:50:11 +00:00
1 parent 897fb2e008
commit 0daee3eddf
38 files changed
+299 -4008

No files matched your search

-116
View File
@@ -240,46 +240,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': 'لا توجد فئات: قسم أفضل 5 مخفي.',
'settings.backup': 'النسخ الاحتياطي',
'settings.export': 'تصدير بياناتي',
@@ -1003,16 +963,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": "النظام",
@@ -1029,7 +981,6 @@ const dict: Translations = {
"report.titleProfile": "الإبلاغ عن هذا الملف الشخصي",
"report.titleComment": "الإبلاغ عن هذا التعليق",
"report.titleList": "الإبلاغ عن هذه القائمة",
"report.intro": "لن يعرف الشخص المعني من أبلغ عنه. سيراجع فريق الإشراف بلاغك.",
"report.reason": "السبب",
"report.reason.spoiler": "حرق أحداث دون تنبيه",
"report.reason.harassment": "تحرّش أو تنمّر",
@@ -1039,15 +990,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}",
@@ -1056,64 +998,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': "سيُخفى تقييمك عن الآخرين حتى يختاروا قراءته.",