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

-6
View File
@@ -197,12 +197,6 @@ function defaultConfig(): MasterConfig {
prices: {},
legacy_prices: {},
},
ncmec: {
enabled: false,
base_url: '',
username: '',
password: '',
},
clamav: {
enabled: false,
host: '127.0.0.1',
-7
View File
@@ -221,13 +221,6 @@ export interface MasterConfig {
prices?: Record<string, string | undefined>;
legacy_prices?: Record<string, Array<string> | undefined>;
};
ncmec: {
enabled: boolean;
base_url: string;
username: string;
password: string;
reporter_email?: string;
};
clamav: {
enabled: boolean;
host: string;
@@ -224,11 +224,6 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
FLUXER_STRIPE_PRICE_GIFT_1_YEAR_INR: {path: ['integrations', 'stripe', 'prices', 'gift_1_year_inr']},
FLUXER_STRIPE_PRICE_GIFT_1_YEAR_PLN: {path: ['integrations', 'stripe', 'prices', 'gift_1_year_pln']},
FLUXER_STRIPE_PRICE_GIFT_1_YEAR_TRY: {path: ['integrations', 'stripe', 'prices', 'gift_1_year_try']},
FLUXER_NCMEC_ENABLED: {path: ['integrations', 'ncmec', 'enabled'], parse: parseBoolean},
FLUXER_NCMEC_BASE_URL: {path: ['integrations', 'ncmec', 'base_url']},
FLUXER_NCMEC_USERNAME: {path: ['integrations', 'ncmec', 'username']},
FLUXER_NCMEC_PASSWORD: {path: ['integrations', 'ncmec', 'password']},
FLUXER_NCMEC_REPORTER_EMAIL: {path: ['integrations', 'ncmec', 'reporter_email']},
FLUXER_CLAMAV_ENABLED: {path: ['integrations', 'clamav', 'enabled'], parse: parseBoolean},
FLUXER_CLAMAV_HOST: {path: ['integrations', 'clamav', 'host']},
FLUXER_CLAMAV_PORT: {path: ['integrations', 'clamav', 'port'], parse: parseInteger},