projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quarantine placeholders
[akkoma]
/
config
/
description.exs
diff --git
a/config/description.exs
b/config/description.exs
index bb1f4330565b0ea8e64480dab4585ff44113d502..c72231faa5ef479b117e413290d96fc9d16ef025 100644
(file)
--- a/
config/description.exs
+++ b/
config/description.exs
@@
-1,4
+1,4
@@
-
use Mix.
Config
+
import
Config
websocket_config = [
path: "/websocket",
websocket_config = [
path: "/websocket",
@@
-544,14
+544,6
@@
config :pleroma, :config_description, [
5_000
]
},
5_000
]
},
- %{
- key: :chat_limit,
- type: :integer,
- description: "Character limit of the instance chat messages",
- suggestions: [
- 5_000
- ]
- },
%{
key: :remote_limit,
type: :integer,
%{
key: :remote_limit,
type: :integer,
@@
-682,7
+674,8
@@
config :pleroma, :config_description, [
%{
key: :allow_relay,
type: :boolean,
%{
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,
},
%{
key: :public,
@@
-694,12
+687,14
@@
config :pleroma, :config_description, [
},
%{
key: :quarantined_instances,
},
%{
key: :quarantined_instances,
- type: {:list, :string},
+ type: {:list, :tuple},
+ key_placeholder: "instance",
+ value_placeholder: "reason",
description:
description:
- "List of ActivityPub instances where private (DMs, followers-only) activities will not be sent",
+ "List of ActivityPub instances where private (DMs, followers-only) activities will not be sent
and the reason for doing so
",
suggestions: [
suggestions: [
-
"quarantined.com"
,
- "*.quarantined.com"
+
{"quarantined.com", "Reason"}
,
+ {"*.quarantined.com", "Reason"}
]
},
%{
]
},
%{
@@
-1182,7
+1177,6
@@
config :pleroma, :config_description, [
alwaysShowSubjectInput: true,
background: "/static/aurora_borealis.jpg",
collapseMessageWithSubject: false,
alwaysShowSubjectInput: true,
background: "/static/aurora_borealis.jpg",
collapseMessageWithSubject: false,
- disableChat: false,
greentext: false,
hideFilteredStatuses: false,
hideMutedPosts: false,
greentext: false,
hideFilteredStatuses: false,
hideMutedPosts: false,
@@
-1229,12
+1223,6
@@
config :pleroma, :config_description, [
description:
"When a message has a subject (aka Content Warning), collapse it by default"
},
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",
%{
key: :greentext,
label: "Greentext",
@@
-2652,13
+2640,22
@@
config :pleroma, :config_description, [
},
%{
group: :pleroma,
},
%{
group: :pleroma,
- key: :
cha
t,
+ key: :
shou
t,
type: :group,
type: :group,
- description: "Pleroma
cha
t settings",
+ description: "Pleroma
shou
t settings",
children: [
%{
key: :enabled,
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
+ ]
}
]
},
}
]
},