Add OnlyMedia Upload Filter to simplify restricting uploads to audio, image, and video types
This commit is contained in:
parent
31ec5cd35e
commit
9caa0b0be1
5 changed files with 62 additions and 3 deletions
|
|
@ -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"}]`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue