1
0

convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only)

This commit is contained in:
Hazelnoot
2025-02-21 22:04:36 -05:00
parent e3d949ced6
commit a35c2f214b
28 changed files with 517 additions and 103 deletions
+52
View File
@@ -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;