mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(api): emit moderation events and apply account actions (#3031)
This commit is contained in:
1 parent
c488906131
commit
364084c819
385 files changed
+8994
-22221
No files matched your search
@@ -207,15 +207,6 @@ export interface MasterConfig {
|
||||
secure: boolean;
|
||||
};
|
||||
};
|
||||
sms: {
|
||||
enabled: boolean;
|
||||
account_sid?: string;
|
||||
auth_token?: string;
|
||||
verify_service_sid?: string;
|
||||
inbound_challenge_number?: string;
|
||||
inbound_webhook_auth_token?: string;
|
||||
inbound_webhook_public_url?: string;
|
||||
};
|
||||
captcha: {
|
||||
enabled: boolean;
|
||||
provider: 'hcaptcha' | 'turnstile' | 'none';
|
||||
@@ -288,16 +279,11 @@ export interface MasterConfig {
|
||||
blocklist_feeds: {
|
||||
enabled?: boolean;
|
||||
};
|
||||
tor_exit_list: {
|
||||
enabled?: boolean;
|
||||
};
|
||||
breached_password_check: {
|
||||
enabled?: boolean;
|
||||
};
|
||||
risk_integration: {
|
||||
enabled: boolean;
|
||||
ipinfo_api_key: string;
|
||||
account_policy_dsl?: unknown;
|
||||
ipinfo: {
|
||||
api_key: string;
|
||||
};
|
||||
push: {
|
||||
apns: {
|
||||
@@ -340,23 +326,6 @@ export interface MasterConfig {
|
||||
setup: {
|
||||
configured: boolean;
|
||||
};
|
||||
abuse_policy: {
|
||||
inbound_phone_country_codes: Array<string>;
|
||||
phone_flagging: {
|
||||
enabled: boolean;
|
||||
exempt_country_codes: Array<string>;
|
||||
};
|
||||
phone_verification: {
|
||||
inbound_required_prefixes: Array<string>;
|
||||
};
|
||||
direct_contact_spam: {
|
||||
enabled: boolean;
|
||||
country_codes: Array<string>;
|
||||
distinct_target_threshold: number;
|
||||
target_window_ms: number;
|
||||
action: 'flag_spammer' | 'suppress_delivery';
|
||||
};
|
||||
};
|
||||
};
|
||||
dev: {
|
||||
relax_registration_rate_limits: boolean;
|
||||
|
||||
Reference in new issue
Block a user