mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 19:13:17 +00:00
Update AdminSettings, add authorized_fetch setting
This commit is contained in:
parent
ea2a9eb42a
commit
a7b1cc9988
1 changed files with 15 additions and 0 deletions
|
@ -63,6 +63,13 @@
|
||||||
@change="handleChange($event, 'features', 'activitypub_enabled')"
|
@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
|
<checkbox
|
||||||
name="Account Migration"
|
name="Account Migration"
|
||||||
:value="features.account_migration"
|
:value="features.account_migration"
|
||||||
|
@ -93,6 +100,13 @@
|
||||||
@change="handleChange($event, 'features', 'instagram_import')"
|
@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
|
<checkbox
|
||||||
name="Spam detection"
|
name="Spam detection"
|
||||||
:value="features.autospam_enabled"
|
:value="features.autospam_enabled"
|
||||||
|
@ -1268,6 +1282,7 @@
|
||||||
stories: this.features.stories,
|
stories: this.features.stories,
|
||||||
instagram_import: this.features.instagram_import,
|
instagram_import: this.features.instagram_import,
|
||||||
autospam_enabled: this.features.autospam_enabled,
|
autospam_enabled: this.features.autospam_enabled,
|
||||||
|
authorized_fetch: this.features.authorized_fetch,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isSubmitting = false;
|
this.isSubmitting = false;
|
||||||
this.isSubmittingTimeout = true;
|
this.isSubmittingTimeout = true;
|
||||||
|
|
Loading…
Reference in a new issue