chore(moderation): remove the built-in NCMEC integration (#3332)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-09 01:39:04 +02:00
1 parent f390e610b9
commit 454fefdb92
146 files changed
+234 -4075

No files matched your search

-138
View File
@@ -6641,144 +6641,6 @@
"primary_key": "((user_id))",
"options": ""
},
{
"name": "ncmec_attachment_submissions",
"columns": [
{
"name": "attachment_id",
"type": "bigint"
},
{
"name": "user_id",
"type": "bigint"
},
{
"name": "channel_id",
"type": "bigint"
},
{
"name": "message_id",
"type": "bigint"
},
{
"name": "filename",
"type": "text"
},
{
"name": "source_report_id",
"type": "bigint"
},
{
"name": "status",
"type": "text"
},
{
"name": "ncmec_report_id",
"type": "text"
},
{
"name": "ncmec_file_id",
"type": "text"
},
{
"name": "submitted_at",
"type": "timestamp"
},
{
"name": "submitted_by_admin_id",
"type": "bigint"
},
{
"name": "reporter_full_name",
"type": "text"
},
{
"name": "failure_reason",
"type": "text"
},
{
"name": "archive_completed_at",
"type": "timestamp"
},
{
"name": "content_deleted_at",
"type": "timestamp"
},
{
"name": "created_at",
"type": "timestamp"
},
{
"name": "updated_at",
"type": "timestamp"
}
],
"primary_key": "(attachment_id)",
"options": ""
},
{
"name": "ncmec_user_workflows",
"columns": [
{
"name": "user_id",
"type": "bigint"
},
{
"name": "deleted_at",
"type": "timestamp"
},
{
"name": "deleted_by_admin_id",
"type": "bigint"
},
{
"name": "deletion_private_reason",
"type": "text"
},
{
"name": "deletion_ncmec_report_id",
"type": "text"
},
{
"name": "archive_id",
"type": "bigint"
},
{
"name": "archive_requested_at",
"type": "timestamp"
},
{
"name": "archive_requested_by_admin_id",
"type": "bigint"
},
{
"name": "archive_audit_log_reason",
"type": "text"
},
{
"name": "archive_completed_at",
"type": "timestamp"
},
{
"name": "deletion_job_queued_at",
"type": "timestamp"
},
{
"name": "previous_report_ids",
"type": "set<text>"
},
{
"name": "created_at",
"type": "timestamp"
},
{
"name": "updated_at",
"type": "timestamp"
}
],
"primary_key": "(user_id)",
"options": ""
},
{
"name": "notes",
"columns": [
+1 -1
View File
@@ -353,7 +353,7 @@ mod tests {
));
assert!(should_keep_unchanged("{start} – {end}", "de"));
assert!(should_keep_unchanged("C++", "de"));
assert!(!should_keep_unchanged("NCMEC {ncmecReportId}", "de"));
assert!(!should_keep_unchanged("DSA {reportId}", "de"));
assert!(!should_keep_unchanged("Hello", "de"));
assert!(!should_keep_unchanged("{productName}", "en-US"));
}