convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only)
This commit is contained in:
Vendored
+52
@@ -12231,6 +12231,58 @@ export interface Locale extends ILocale {
|
||||
*/
|
||||
"quoteUnavailable": string;
|
||||
};
|
||||
/**
|
||||
* Authorized Fetch
|
||||
*/
|
||||
"authorizedFetchSection": string;
|
||||
/**
|
||||
* Allow unsigned ActivityPub requests:
|
||||
*/
|
||||
"authorizedFetchLabel": string;
|
||||
/**
|
||||
* This setting controls the behavior when a remote instance or user attempts to access your content without verifying their identity. If disabled, any remote user can access your profile and posts - even one who has been blocked or defederated.
|
||||
*/
|
||||
"authorizedFetchDescription": string;
|
||||
"_authorizedFetchValue": {
|
||||
/**
|
||||
* Never
|
||||
*/
|
||||
"never": string;
|
||||
/**
|
||||
* Always
|
||||
*/
|
||||
"always": string;
|
||||
/**
|
||||
* Only for essential metadata
|
||||
*/
|
||||
"essential": string;
|
||||
/**
|
||||
* Use staff recommendation
|
||||
*/
|
||||
"staff": string;
|
||||
};
|
||||
"_authorizedFetchValueDescription": {
|
||||
/**
|
||||
* Block all unsigned requests. Improves privacy and makes blocks more effective, but is not compatible with some very old or uncommon instance software.
|
||||
*/
|
||||
"never": string;
|
||||
/**
|
||||
* Allow all unsigned requests. Provides the greatest compatibility with other instances, but reduces privacy and weakens blocks.
|
||||
*/
|
||||
"always": string;
|
||||
/**
|
||||
* Allow some limited unsigned requests. Provides a hybrid between "Never" and "Always" by exposing only the minimum profile metadata that is required for federation with older software.
|
||||
*/
|
||||
"essential": string;
|
||||
/**
|
||||
* Use the default value of "{value}" recommended by the instance staff.
|
||||
*/
|
||||
"staff": ParameterizedString<"value">;
|
||||
};
|
||||
/**
|
||||
* The configuration property 'checkActivityPubGetSignature' has been deprecated and replaced with the new Authorized Fetch setting. Please remove it from your configuration file.
|
||||
*/
|
||||
"authorizedFetchLegacyWarning": string;
|
||||
}
|
||||
declare const locales: {
|
||||
[lang: string]: Locale;
|
||||
|
||||
Reference in New Issue
Block a user