summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2021-06-07 20:06:36 +0000
committerfeld <feld@feld.me>2021-06-07 20:06:36 +0000
commit84f42b92f0f53c569d0f7628d0a4af3ee5c06eaa (patch)
tree80664a6152e92abb37133fede9e3ed72c6801910 /config/description.exs
parent4ca380490f1e42ef6b12c4b12ba9efabb89472fd (diff)
parent64bc0c69ed6b77283905b04585f03c23cbedbe03 (diff)
downloadpleroma-84f42b92f0f53c569d0f7628d0a4af3ee5c06eaa.tar.gz
pleroma-84f42b92f0f53c569d0f7628d0a4af3ee5c06eaa.zip
Merge branch 'develop' into 'fix/prune-hashtags'
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs35
1 files changed, 15 insertions, 20 deletions
diff --git a/config/description.exs b/config/description.exs
index bb1f43305..934a62a62 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1,4 +1,4 @@
-use Mix.Config
+import Config
websocket_config = [
path: "/websocket",
@@ -545,14 +545,6 @@ config :pleroma, :config_description, [
]
},
%{
- key: :chat_limit,
- type: :integer,
- description: "Character limit of the instance chat messages",
- suggestions: [
- 5_000
- ]
- },
- %{
key: :remote_limit,
type: :integer,
description: "Hard character limit beyond which remote posts will be dropped",
@@ -682,7 +674,8 @@ config :pleroma, :config_description, [
%{
key: :allow_relay,
type: :boolean,
- description: "Enable Pleroma's Relay, which makes it possible to follow a whole instance"
+ description:
+ "Permits remote instances to subscribe to all public posts of your instance. (Important!) This may increase the visibility of your instance."
},
%{
key: :public,
@@ -1182,7 +1175,6 @@ config :pleroma, :config_description, [
alwaysShowSubjectInput: true,
background: "/static/aurora_borealis.jpg",
collapseMessageWithSubject: false,
- disableChat: false,
greentext: false,
hideFilteredStatuses: false,
hideMutedPosts: false,
@@ -1230,12 +1222,6 @@ config :pleroma, :config_description, [
"When a message has a subject (aka Content Warning), collapse it by default"
},
%{
- key: :disableChat,
- label: "PleromaFE Chat",
- type: :boolean,
- description: "Disables PleromaFE Chat component"
- },
- %{
key: :greentext,
label: "Greentext",
type: :boolean,
@@ -2652,13 +2638,22 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
- key: :chat,
+ key: :shout,
type: :group,
- description: "Pleroma chat settings",
+ description: "Pleroma shout settings",
children: [
%{
key: :enabled,
- type: :boolean
+ type: :boolean,
+ description: "Enables the backend Shoutbox chat feature."
+ },
+ %{
+ key: :limit,
+ type: :integer,
+ description: "Shout message character limit.",
+ suggestions: [
+ 5_000
+ ]
}
]
},