Improve various descriptions and labels
This commit is contained in:
parent
2bffa8e020
commit
ce7c275fb3
|
@ -99,7 +99,8 @@
|
||||||
key: :base_url,
|
key: :base_url,
|
||||||
label: "Base URL",
|
label: "Base URL",
|
||||||
type: :string,
|
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: [
|
suggestions: [
|
||||||
"https://cdn-host.com"
|
"https://cdn-host.com"
|
||||||
]
|
]
|
||||||
|
@ -1545,7 +1546,8 @@
|
||||||
%{
|
%{
|
||||||
key: :max_body_length,
|
key: :max_body_length,
|
||||||
type: :integer,
|
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,
|
key: :max_read_duration,
|
||||||
|
@ -1595,7 +1597,7 @@
|
||||||
key: :min_content_length,
|
key: :min_content_length,
|
||||||
type: :integer,
|
type: :integer,
|
||||||
description:
|
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."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1643,6 +1645,7 @@
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :url_format,
|
key: :url_format,
|
||||||
|
label: "URL Format",
|
||||||
type: :string,
|
type: :string,
|
||||||
description:
|
description:
|
||||||
"Optional URL format preprocessing. Only required for Apache's htcacheclean.",
|
"Optional URL format preprocessing. Only required for Apache's htcacheclean.",
|
||||||
|
@ -3326,9 +3329,9 @@
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :ip_whitelist,
|
key: :ip_whitelist,
|
||||||
|
label: "IP Whitelist",
|
||||||
type: [{:list, :string}, {:list, :charlist}, {:list, :tuple}],
|
type: [{:list, :string}, {:list, :charlist}, {:list, :tuple}],
|
||||||
description:
|
description: "Restrict access of app metrics endpoint to the specified IP addresses."
|
||||||
"[Pleroma extension] If non-empty, restricts access to app metrics endpoint to specified IP addresses."
|
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :auth,
|
key: :auth,
|
||||||
|
|
Loading…
Reference in a new issue