diff options
author | Mark Felder <feld@feld.me> | 2023-05-29 15:46:49 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2023-05-29 15:49:04 -0400 |
commit | 9caa0b0be1feffb20b3eaccb48298de572d32393 (patch) | |
tree | f6d1dc1ec63343449122fe3c4930c1e83ce6a7b2 /docs/configuration/cheatsheet.md | |
parent | 31ec5cd35eece97aa1213c401b40d3ab83689ea9 (diff) | |
download | pleroma-9caa0b0be1feffb20b3eaccb48298de572d32393.tar.gz pleroma-9caa0b0be1feffb20b3eaccb48298de572d32393.zip |
Add OnlyMedia Upload Filter to simplify restricting uploads to audio, image, and video types
Diffstat (limited to 'docs/configuration/cheatsheet.md')
-rw-r--r-- | docs/configuration/cheatsheet.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 70abe3e0c..026753f38 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"}]`. |