summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2021-03-27 00:11:04 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2021-03-27 00:11:04 +0300
commit67f7822b17c206876a8617d2f932f17f8c8721ce (patch)
tree1dc15a05298b4a707ba8a7e2aec67b1a4c02e10d
parent68d3d0427424909824e36de32c2cc32763843dfa (diff)
Set type :select to settings that are rendered as single selects
-rw-r--r--config/description.exs18
1 files changed, 9 insertions, 9 deletions
diff --git a/config/description.exs b/config/description.exs
index 211bf0ac5..0a7589616 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -311,7 +311,7 @@ config :pleroma, :config_description, [
group: {:subgroup, Swoosh.Adapters.SMTP},
key: :tls,
label: "STARTTLS Mode",
- type: {:dropdown, :atom},
+ type: :select,
description: "Explicit TLS (STARTTLS) enforcement mode",
suggestions: [:if_available, :always, :never]
},
@@ -319,7 +319,7 @@ config :pleroma, :config_description, [
group: {:subgroup, Swoosh.Adapters.SMTP},
key: :auth,
label: "AUTH Mode",
- type: {:dropdown, :atom},
+ type: :select,
description: "SMTP AUTH enforcement mode",
suggestions: [:if_available, :always, :never]
},
@@ -816,7 +816,7 @@ config :pleroma, :config_description, [
},
%{
key: :limit_to_local_content,
- type: {:dropdown, :atom},
+ type: :select,
description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [
@@ -1075,7 +1075,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: {:dropdown, :atom},
+ type: :select,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -1109,7 +1109,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: {:dropdown, :atom},
+ type: :select,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -1135,7 +1135,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: {:dropdown, :atom},
+ type: :select,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -1287,7 +1287,7 @@ config :pleroma, :config_description, [
%{
key: :postContentType,
label: "Post Content Type",
- type: {:dropdown, :atom},
+ type: :select,
description: "Default post formatting option",
suggestions: ["text/plain", "text/html", "text/markdown", "text/bbcode"]
},
@@ -1486,7 +1486,7 @@ config :pleroma, :config_description, [
},
%{
key: :provider,
- type: :module,
+ type: :select,
description: "Module which will be used to purge objects from the cache.",
suggestions: [
Pleroma.Web.MediaProxy.Invalidation.Script,
@@ -1851,7 +1851,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :log,
- type: {:dropdown, :atom},
+ type: :select,
description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug]
},