Check AnalyzeMetadata filter's required commands
authorMark Felder <feld@feld.me>
Tue, 18 May 2021 20:51:11 +0000 (15:51 -0500)
committerMark Felder <feld@feld.me>
Tue, 18 May 2021 21:08:31 +0000 (16:08 -0500)
eblurhash:magick uses "convert"
Fetching image metadata uses "mogrify"

lib/pleroma/application_requirements.ex

index c412dec5ef4fe41e1df4bffef3cc3a39abc65164..294eb3b6bf9c8e52ee31ffef3e02c041139763f2 100644 (file)
@@ -166,7 +166,9 @@ defmodule Pleroma.ApplicationRequirements do
     filter_commands_statuses = [
       check_filter(Pleroma.Upload.Filters.Exiftool, "exiftool"),
       check_filter(Pleroma.Upload.Filters.Mogrify, "mogrify"),
-      check_filter(Pleroma.Upload.Filters.Mogrifun, "mogrify")
+      check_filter(Pleroma.Upload.Filters.Mogrifun, "mogrify"),
+      check_filter(Pleroma.Upload.Filters.AnalyzeMetadata, "mogrify"),
+      check_filter(Pleroma.Upload.Filters.AnalyzeMetadata, "convert")
     ]
 
     preview_proxy_commands_status =