|
|
@@ -1071,6 +1071,7 @@ config :pleroma, :config_description, [ |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :webhook_url, |
|
|
|
label: "Webhook URL", |
|
|
|
type: :string, |
|
|
|
description: "Configure the Slack incoming webhook", |
|
|
|
suggestions: ["https://hooks.slack.com/services/YOUR-KEY-HERE"] |
|
|
@@ -1523,7 +1524,7 @@ config :pleroma, :config_description, [ |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: :match_actor, |
|
|
|
type: :map, |
|
|
|
type: {:map, {:list, :string}}, |
|
|
|
description: "Matches a series of regular expressions against the actor field", |
|
|
|
suggestions: [ |
|
|
|
%{ |
|
|
@@ -1589,21 +1590,21 @@ config :pleroma, :config_description, [ |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: :reject, |
|
|
|
type: [:string, :regex], |
|
|
|
type: {:list, :string}, |
|
|
|
description: |
|
|
|
"A list of patterns which result in message being rejected. Each pattern can be a string or a regular expression.", |
|
|
|
suggestions: ["foo", ~r/foo/iu] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :federated_timeline_removal, |
|
|
|
type: [:string, :regex], |
|
|
|
type: {:list, :string}, |
|
|
|
description: |
|
|
|
"A list of patterns which result in message being removed from federated timelines (a.k.a unlisted). Each pattern can be a string or a regular expression.", |
|
|
|
suggestions: ["foo", ~r/foo/iu] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :replace, |
|
|
|
type: [{:tuple, :string, :string}, {:tuple, :regex, :string}], |
|
|
|
type: {:list, :tuple}, |
|
|
|
description: |
|
|
|
"A list of tuples containing {pattern, replacement}. Each pattern can be a string or a regular expression.", |
|
|
|
suggestions: [{"foo", "bar"}, {~r/foo/iu, "bar"}] |
|
|
@@ -1793,15 +1794,20 @@ config :pleroma, :config_description, [ |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :headers, |
|
|
|
type: {:list, :tuple}, |
|
|
|
description: "HTTP headers of request.", |
|
|
|
type: {:keyword, :string}, |
|
|
|
description: "HTTP headers of request", |
|
|
|
suggestions: [{"x-refresh", 1}] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :options, |
|
|
|
type: :keyword, |
|
|
|
description: "Request options.", |
|
|
|
suggestions: [params: %{ts: "xxx"}] |
|
|
|
description: "Request options", |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: :params, |
|
|
|
type: {:map, :string} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
@@ -2517,7 +2523,7 @@ config :pleroma, :config_description, [ |
|
|
|
%{ |
|
|
|
key: :styling, |
|
|
|
type: :map, |
|
|
|
description: "a map with color settings for email templates.", |
|
|
|
description: "A map with color settings for email templates.", |
|
|
|
suggestions: [ |
|
|
|
%{ |
|
|
|
link_color: "#d8a070", |
|
|
@@ -2622,7 +2628,7 @@ config :pleroma, :config_description, [ |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :groups, |
|
|
|
type: {:keyword, :string, {:list, :string}}, |
|
|
|
type: {:keyword, {:list, :string}}, |
|
|
|
description: |
|
|
|
"Emojis are ordered in groups (tags). This is an array of key-value pairs where the key is the group name" <> |
|
|
|
" and the value is the location or array of locations. * can be used as a wildcard.", |
|
|
|