summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2023-05-30 08:04:23 +0000
committerlain <lain@soykaf.club>2023-05-30 08:04:23 +0000
commitda6b4003acad84b0f60ad8da6d08cfe13564b058 (patch)
tree9f193a68ff62feb27f3c37888ed2cf1722586301 /docs
parent31ec5cd35eece97aa1213c401b40d3ab83689ea9 (diff)
parent50a20f3bbd1203679c9295eb6002225dd630baf8 (diff)
downloadpleroma-da6b4003acad84b0f60ad8da6d08cfe13564b058.tar.gz
pleroma-da6b4003acad84b0f60ad8da6d08cfe13564b058.zip
Merge branch 'only_media_filter' into 'develop'
Add OnlyMedia Upload Filter See merge request pleroma/pleroma!3897
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/cheatsheet.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index 70abe3e0c..1e49a79d0 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -671,6 +671,12 @@ This filter reads the ImageDescription and iptc:Caption-Abstract fields with Exi
No specific configuration.
+#### Pleroma.Upload.Filter.OnlyMedia
+
+This filter rejects uploads that are not identified with Content-Type matching audio/\*, image/\*, or video/\*
+
+No specific configuration.
+
#### Pleroma.Upload.Filter.Mogrify
* `args`: List of actions for the `mogrify` command like `"strip"` or `["strip", "auto-orient", {"implode", "1"}]`.