aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2019-02-09 11:38:37 +0000
committerlambda <pleromagit@rogerbraun.net>2019-02-09 11:38:37 +0000
commit1eecbc1cd1a7f632e536f943fab6612e1e108d59 (patch)
treeaf3d60fbbf416f7466ba9e8c17d0cba0c1b73904 /docs
parentc5f8df08a724763398e2962a2ef378a4f00067a3 (diff)
parentb05a3411871fbfb8d1a5525d6875a635917abffa (diff)
downloadpleroma-1eecbc1cd1a7f632e536f943fab6612e1e108d59.tar.gz
Merge branch 'feature/keyword-policy' into 'develop'
Add keyword policy See merge request pleroma/pleroma!794
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index ba6807760..74badd0da 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -171,6 +171,11 @@ This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:i
* `delist_threshold`: 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.
* `reject_threshold`: Number of mentioned users after which the messaged gets rejected. Set to 0 to disable.
+## :mrf_keyword
+* `reject`: A list of patterns which result in message being rejected, each pattern can be a string or a [regular expression](https://hexdocs.pm/elixir/Regex.html)
+* `federated_timeline_removal`: 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](https://hexdocs.pm/elixir/Regex.html)
+* `replace`: A list of tuples containing `{pattern, replacement}`, `pattern` can be a string or a [regular expression](https://hexdocs.pm/elixir/Regex.html)
+
## :media_proxy
* `enabled`: Enables proxying of remote media to the instance’s proxy
* `base_url`: The base URL to access a user-uploaded file. Useful when you want to proxy the media files via another host/CDN fronts.