%{
key: :args,
type: [:string, {:list, :string}, {:list, :tuple}],
- description: "List of actions for the mogrify command",
+ description:
+ "List of actions for the mogrify command. It's possible to add self-written settings as string. " <>
+ "For example `[\"auto-orient\", \"strip\", {\"resize\", \"3840x1080>\"}]` string will be parsed into list of the settings.",
suggestions: [
"strip",
"auto-orient",
%{
group: :pleroma,
key: :mrf_simple,
+ tab: :mrf,
label: "MRF Simple",
type: :group,
description: "Message Rewrite Facility",
%{
group: :pleroma,
key: :mrf_activity_expiration,
+ tab: :mrf,
label: "MRF Activity Expiration Policy",
type: :group,
description: "Adds expiration to all local Create Note activities",
%{
group: :pleroma,
key: :mrf_subchain,
+ tab: :mrf,
label: "MRF Subchain",
type: :group,
description:
%{
group: :pleroma,
key: :mrf_rejectnonpublic,
+ tab: :mrf,
description:
"MRF RejectNonPublic settings. RejectNonPublic drops posts with non-public visibility settings.",
label: "MRF Reject Non Public",
%{
group: :pleroma,
key: :mrf_hellthread,
+ tab: :mrf,
label: "MRF Hellthread",
type: :group,
description: "Block messages with too much mentions",
%{
group: :pleroma,
key: :mrf_keyword,
+ tab: :mrf,
label: "MRF Keyword",
type: :group,
description: "Reject or Word-Replace messages with a keyword or regex",
%{
group: :pleroma,
key: :mrf_mention,
+ tab: :mrf,
label: "MRF Mention",
type: :group,
description: "Block messages which mention a user",
%{
group: :pleroma,
key: :mrf_vocabulary,
+ tab: :mrf,
label: "MRF Vocabulary",
type: :group,
description: "Filter messages which belong to certain activity vocabularies",
},
%{
group: :pleroma,
+ tab: :mrf,
key: :mrf_normalize_markup,
label: "MRF Normalize Markup",
description: "MRF NormalizeMarkup settings. Scrub configured hypertext markup.",
group: :pleroma,
key: :mrf_object_age,
label: "MRF Object Age",
+ tab: :mrf,
type: :group,
description: "Rejects or delists posts based on their age when received.",
children: [
%{
group: :pleroma,
key: :mrf,
+ tab: :mrf,
+ label: "MRF",
type: :group,
description: "General MRF settings",
children: [