description:"whether to allow followers-only posts",
suggestions:[true,false]
},
%{
key::allow_direct,
type::boolean,
description:"whether to allow direct messages",
suggestions:[true,false]
}
]
},
%{
group::pleroma,
key::mrf_hellthread,
type::group,
description:"Block messages with too much mentions",
children:[
%{
key::delist_threshold,
type::integer,
description:
"Number of mentioned users after which the message gets delisted (the message can still be seen, "<>
" but it will not show up in public timelines and mentioned users won't get notifications about it). Set to 0 to disable",
suggestions:[10]
},
%{
key::reject_threshold,
type::integer,
description:
"Number of mentioned users after which the messaged gets rejected. Set to 0 to disable",
suggestions:[20]
}
]
},
%{
group::pleroma,
key::mrf_keyword,
type::group,
description:"Reject or Word-Replace messages with a keyword or regex",
children:[
%{
key::reject,
type:[:string,:regex],
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],
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:[{:string,:string},{:regex,: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","bar"},{~r/foo/iu,"bar"}]
}
]
},
%{
group::pleroma,
key::mrf_mention,
type::group,
description:"Block messages which mention a user",
children:[
%{
key::actors,
type:{:list,:string},
description:"A list of actors, for which to drop any posts mentioning",
suggestions:[["actor1","actor2"]]
}
]
},
%{
group::pleroma,
key::mrf_vocabulary,
type::group,
description:"Filter messages which belong to certain activity vocabularies",
children:[
%{
key::accept,
type:{:list,:string},
description:
"A list of ActivityStreams terms to accept. If empty, all supported messages are accepted",