summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2021-03-28 01:58:36 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2021-03-28 01:58:36 +0300
commit481f63a9a78830f3c42c8cb60b49a88a5e8861f4 (patch)
treecc87847482887c382049b4ba94e06045846d949d
parent5835f6d0a40fe52e60d4186e99551849326c4aa9 (diff)
Add textarea type
-rw-r--r--config/description.exs72
1 files changed, 36 insertions, 36 deletions
diff --git a/config/description.exs b/config/description.exs
index d1379495a..2a1faace5 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -462,38 +462,6 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
- key: :uri_schemes,
- tab: :instance,
- label: "URI Schemes",
- type: :group,
- description: "URI schemes related settings",
- children: [
- %{
- key: :valid_schemes,
- type: {:list, :string},
- description: "List of the scheme part that is considered valid to be an URL",
- suggestions: [
- "https",
- "http",
- "dat",
- "dweb",
- "gopher",
- "hyper",
- "ipfs",
- "ipns",
- "irc",
- "ircs",
- "magnet",
- "mailto",
- "mumble",
- "ssb",
- "xmpp"
- ]
- }
- ]
- },
- %{
- group: :pleroma,
key: :instance,
tab: :instance,
type: :group,
@@ -944,6 +912,38 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: :uri_schemes,
+ tab: :instance,
+ label: "URI Schemes",
+ type: :group,
+ description: "URI schemes related settings",
+ children: [
+ %{
+ key: :valid_schemes,
+ type: {:list, :string},
+ description: "List of the scheme part that is considered valid to be an URL",
+ suggestions: [
+ "https",
+ "http",
+ "dat",
+ "dweb",
+ "gopher",
+ "hyper",
+ "ipfs",
+ "ipns",
+ "irc",
+ "ircs",
+ "magnet",
+ "mailto",
+ "mumble",
+ "ssb",
+ "xmpp"
+ ]
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
key: :welcome,
tab: :instance,
type: :group,
@@ -961,7 +961,7 @@ config :pleroma, :config_description, [
},
%{
key: :message,
- type: :string,
+ type: :textarea,
description: "A message that will be sent to newly registered users",
suggestions: [
"Hi, @username! Welcome on board!"
@@ -989,7 +989,7 @@ config :pleroma, :config_description, [
},
%{
key: :message,
- type: :string,
+ type: :textarea,
description:
"A message that will be sent to newly registered users as a chat message",
suggestions: [
@@ -2899,8 +2899,8 @@ config :pleroma, :config_description, [
key: :activity_pub,
type: :integer,
description:
- "Activity pub routes (except question activities). Default: `nil` (no expiration).",
- suggestions: [nil]
+ "Activity pub routes (except question activities).",
+ suggestions: [0]
},
%{
key: :activity_pub_question,