Remove federation strict_allowlist and retry_count. Fixes #82 (#83)

This commit is contained in:
Dessalines 2022-11-21 11:49:24 -05:00 committed by GitHub
parent c3ec443cfa
commit d31d7a0993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 18 deletions

View file

@ -301,14 +301,6 @@ export class CreateSite {
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_strict_allowlist: Option<boolean>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_http_fetch_retry_limit: Option<number>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_worker_count: Option<number>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@ -475,14 +467,6 @@ export class EditSite {
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_strict_allowlist: Option<boolean>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_http_fetch_retry_limit: Option<number>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
federation_worker_count: Option<number>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })

View file

@ -133,8 +133,6 @@ export class LocalSite {
actor_name_max_length: number;
federation_enabled: boolean;
federation_debug: boolean;
federation_strict_allowlist: boolean;
federation_http_fetch_retry_limit: number;
federation_worker_count: number;
captcha_enabled: boolean;
captcha_difficulty: string;