change config/description.exs so all changed settings use tuples
This commit is contained in:
parent
bd1142105e
commit
3ea3f49268
@ -769,12 +769,12 @@ config :pleroma, :config_description, [
|
|||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :quarantined_instances,
|
key: :quarantined_instances,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description:
|
description:
|
||||||
"List of ActivityPub instances where private (DMs, followers-only) activities will not be sent",
|
"List of ActivityPub instances where private (DMs, followers-only) activities will not be sent and the reason for doing so",
|
||||||
suggestions: [
|
suggestions: [
|
||||||
"quarantined.com",
|
{"quarantined.com", "Reason"},
|
||||||
"*.quarantined.com"
|
{"*.quarantined.com", "Reason"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
@ -1577,11 +1577,11 @@ config :pleroma, :config_description, [
|
|||||||
%{
|
%{
|
||||||
key: :transparency_exclusions,
|
key: :transparency_exclusions,
|
||||||
label: "MRF transparency exclusions",
|
label: "MRF transparency exclusions",
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description:
|
description:
|
||||||
"Exclude specific instance names from MRF transparency. The use of the exclusions feature will be disclosed in nodeinfo as a boolean value.",
|
"Exclude specific instance names from MRF transparency. The use of the exclusions feature will be disclosed in nodeinfo as a boolean value.",
|
||||||
suggestions: [
|
suggestions: [
|
||||||
"exclusion.com"
|
{"exclusion.com", "Reason for exclusion"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -1597,65 +1597,70 @@ config :pleroma, :config_description, [
|
|||||||
children: [
|
children: [
|
||||||
%{
|
%{
|
||||||
key: :media_removal,
|
key: :media_removal,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to strip media attachments from",
|
description:
|
||||||
suggestions: ["example.com", "*.example.com"]
|
"List of instances to strip media attachments from and the reason for doing so",
|
||||||
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :media_nsfw,
|
key: :media_nsfw,
|
||||||
label: "Media NSFW",
|
label: "Media NSFW",
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to tag all media as NSFW (sensitive) from",
|
description:
|
||||||
suggestions: ["example.com", "*.example.com"]
|
"List of instances to tag all media as NSFW (sensitive) from and the reason for doing so",
|
||||||
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :federated_timeline_removal,
|
key: :federated_timeline_removal,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description:
|
description:
|
||||||
"List of instances to remove from the Federated (aka The Whole Known Network) Timeline",
|
"List of instances to remove from the Federated Timeline (aka The Whole Known Network) and the reason for doing so",
|
||||||
suggestions: ["example.com", "*.example.com"]
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :reject,
|
key: :reject,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to reject activities from (except deletes)",
|
description:
|
||||||
suggestions: ["example.com", "*.example.com"]
|
"List of instances to reject activities (except deletes) from and the reason for doing so",
|
||||||
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :accept,
|
key: :accept,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to only accept activities from (except deletes)",
|
description:
|
||||||
suggestions: ["example.com", "*.example.com"]
|
"List of instances to only accept activities (except deletes) from and the reason for doing so",
|
||||||
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :followers_only,
|
key: :followers_only,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "Force posts from the given instances to be visible by followers only",
|
description:
|
||||||
suggestions: ["example.com", "*.example.com"]
|
"Force posts from the given instances to be visible by followers only and the reason for doing so",
|
||||||
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :report_removal,
|
key: :report_removal,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to reject reports from",
|
description: "List of instances to reject reports from and the reason for doing so",
|
||||||
suggestions: ["example.com", "*.example.com"]
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :avatar_removal,
|
key: :avatar_removal,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to strip avatars from",
|
description: "List of instances to strip avatars from and the reason for doing so",
|
||||||
suggestions: ["example.com", "*.example.com"]
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :banner_removal,
|
key: :banner_removal,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to strip banners from",
|
description: "List of instances to strip banners from and the reason for doing so",
|
||||||
suggestions: ["example.com", "*.example.com"]
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :reject_deletes,
|
key: :reject_deletes,
|
||||||
type: {:list, :string},
|
type: {:list, :tuple},
|
||||||
description: "List of instances to reject deletions from",
|
description: "List of instances to reject deletions from and the reason for doing so",
|
||||||
suggestions: ["example.com", "*.example.com"]
|
suggestions: [{"example.com", "Some reason"}, {"*.example.com", "Another reason"}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user