Update AdminSettings, add authorized_fetch setting

This commit is contained in:
Daniel Supernault 2024-08-01 21:49:35 -06:00
parent ea2a9eb42a
commit a7b1cc9988
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -63,6 +63,13 @@
@change="handleChange($event, 'features', 'activitypub_enabled')"
/>
<checkbox
name="Authorized Fetch Mode"
:value="features.authorized_fetch"
description="Strictly enforce domain restrictions by enabling Authorized Fetch mode."
@change="handleChange($event, 'features', 'authorized_fetch')"
/>
<checkbox
name="Account Migration"
:value="features.account_migration"
@ -93,6 +100,13 @@
@change="handleChange($event, 'features', 'instagram_import')"
/>
<!-- <checkbox
name="Allowlist Mode"
:value="features.activitypub_enabled"
description="Permit interactions only with instances you specifically authorize, both for sending and receiving."
@change="handleChange($event, 'features', 'activitypub_enabled')"
/> -->
<checkbox
name="Spam detection"
:value="features.autospam_enabled"
@ -1268,6 +1282,7 @@
stories: this.features.stories,
instagram_import: this.features.instagram_import,
autospam_enabled: this.features.autospam_enabled,
authorized_fetch: this.features.authorized_fetch,
}).then(res => {
this.isSubmitting = false;
this.isSubmittingTimeout = true;