summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2021-02-08 19:21:01 +0000
committerrinpatch <rinpatch@sdf.org>2021-02-08 19:21:01 +0000
commita52cedba6211e0f8ef221458efe5b1cd151faf0f (patch)
treeff5a597b2712c1aba95b89a8c5b03b0cea2dfe12 /config
parentff70d71693233d957372f6f362c14f6784faac6b (diff)
parentce7c275fb35fee87d85ef5165900d2991bdfc660 (diff)
Merge branch 'chore/descriptions-improvements' into 'develop'
More descriptions improvements See merge request pleroma/pleroma!3307
Diffstat (limited to 'config')
-rw-r--r--config/description.exs15
1 files changed, 9 insertions, 6 deletions
diff --git a/config/description.exs b/config/description.exs
index 8eefa2ba1..d9b15e684 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -99,7 +99,8 @@ config :pleroma, :config_description, [
key: :base_url,
label: "Base URL",
type: :string,
- description: "Base URL for the uploads, needed if you use CDN",
+ description:
+ "Base URL for the uploads. Required if you use a CDN or host attachments under a different domain.",
suggestions: [
"https://cdn-host.com"
]
@@ -1508,7 +1509,8 @@ config :pleroma, :config_description, [
%{
key: :max_body_length,
type: :integer,
- description: "Maximum file size allowed through the Pleroma MediaProxy cache."
+ description:
+ "Maximum file size (in bytes) allowed through the Pleroma MediaProxy cache."
},
%{
key: :max_read_duration,
@@ -1558,7 +1560,7 @@ config :pleroma, :config_description, [
key: :min_content_length,
type: :integer,
description:
- "Min content length to perform preview, in bytes. If greater than 0, media smaller in size will be served as is, without thumbnailing."
+ "Min content length (in bytes) to perform preview. Media smaller in size will be served without thumbnailing."
}
]
},
@@ -1606,6 +1608,7 @@ config :pleroma, :config_description, [
},
%{
key: :url_format,
+ label: "URL Format",
type: :string,
description:
"Optional URL format preprocessing. Only required for Apache's htcacheclean.",
@@ -2851,7 +2854,7 @@ config :pleroma, :config_description, [
type: :integer,
description:
"Activity pub routes (except question activities). Default: `nil` (no expiration).",
- suggestions: [30_000, nil]
+ suggestions: [nil]
},
%{
key: :activity_pub_question,
@@ -3289,9 +3292,9 @@ config :pleroma, :config_description, [
},
%{
key: :ip_whitelist,
+ label: "IP Whitelist",
type: [{:list, :string}, {:list, :charlist}, {:list, :tuple}],
- description:
- "[Pleroma extension] If non-empty, restricts access to app metrics endpoint to specified IP addresses."
+ description: "Restrict access of app metrics endpoint to the specified IP addresses."
},
%{
key: :auth,