From: Dessalines Date: Mon, 21 Nov 2022 17:40:48 +0000 (-0500) Subject: Remove federation strict_allowlist and retry_count. (#867) X-Git-Url: http://these/git/?a=commitdiff_plain;h=56c79bd2f4a089b0cb80cd91efc501ff107d74ac;p=lemmy-ui.git Remove federation strict_allowlist and retry_count. (#867) --- diff --git a/package.json b/package.json index 83bc271..fa93364 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "inferno-server": "^8.0.3", "isomorphic-cookie": "^1.2.4", "jwt-decode": "^3.1.2", - "lemmy-js-client": "0.17.0-rc.53", + "lemmy-js-client": "0.17.0-rc.54", "markdown-it": "^13.0.1", "markdown-it-container": "^3.0.0", "markdown-it-footnote": "^3.0.3", diff --git a/src/shared/components/home/site-form.tsx b/src/shared/components/home/site-form.tsx index c418f20..39a6312 100644 --- a/src/shared/components/home/site-form.tsx +++ b/src/shared/components/home/site-form.tsx @@ -72,8 +72,6 @@ export class SiteForm extends Component { federation_enabled: None, federation_debug: None, federation_worker_count: None, - federation_strict_allowlist: None, - federation_http_fetch_retry_limit: None, captcha_enabled: None, captcha_difficulty: None, allowed_instances: None, @@ -148,10 +146,6 @@ export class SiteForm extends Component { federation_enabled: Some(ls.federation_enabled), federation_debug: Some(ls.federation_debug), federation_worker_count: Some(ls.federation_worker_count), - federation_strict_allowlist: Some(ls.federation_strict_allowlist), - federation_http_fetch_retry_limit: Some( - ls.federation_http_fetch_retry_limit - ), captcha_enabled: Some(ls.captcha_enabled), captcha_difficulty: Some(ls.captcha_difficulty), allowed_instances: this.props.siteRes.federated_instances.andThen( @@ -678,53 +672,6 @@ export class SiteForm extends Component { -
-
-
- - -
-
-
-
- -
- -
-
- {siteSetup &&
-
{i18n.t("taglines")}
-
- - - - {this.state.siteForm.taglines - .unwrapOr([]) - .map((cv, index) => ( - - - + + + ))} + +
- - this.handleTaglineChange(this, index, s) - } - hideNavigationWarnings - allLanguages={this.props.siteRes.all_languages} - /> - - + + +
+ +
- } + )}