From 3c856cf036a5b4eb5a435c5fde5e44bbc6574b9d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 21 Nov 2022 11:52:54 -0500 Subject: [PATCH] Remove federation strict_allowlist and retry_count. --- package.json | 2 +- src/shared/components/home/site-form.tsx | 185 ++++++++--------------- yarn.lock | 8 +- 3 files changed, 65 insertions(+), 130 deletions(-) diff --git a/package.json b/package.json index 83bc2710..fa93364d 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 c418f208..39a6312f 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} - /> - - + + +
+ +
- } + )}