Fixed checking for Upload Filter required commands
authorMark Felder <feld@feld.me>
Tue, 18 May 2021 21:28:21 +0000 (16:28 -0500)
committerMark Felder <feld@feld.me>
Tue, 18 May 2021 21:28:21 +0000 (16:28 -0500)
CHANGELOG.md
lib/pleroma/application_requirements.ex

index 1a69414a52d203f1819392fc0d6f0138ac06875f..768405dd6c6a7a870d5875e07db933b8dc67d767 100644 (file)
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 
 ### Fixed
 - Don't crash so hard when email settings are invalid.
+- Checking activated Upload Filters for required commands.
 
 ## Unreleased (Patch)
 
index 294eb3b6bf9c8e52ee31ffef3e02c041139763f2..ee6ee9516e7af24e45fecc8b1861cb72d91e828e 100644 (file)
@@ -164,11 +164,11 @@ defmodule Pleroma.ApplicationRequirements do
 
   defp check_system_commands!(:ok) 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.AnalyzeMetadata, "mogrify"),
-      check_filter(Pleroma.Upload.Filters.AnalyzeMetadata, "convert")
+      check_filter(Pleroma.Upload.Filter.Exiftool, "exiftool"),
+      check_filter(Pleroma.Upload.Filter.Mogrify, "mogrify"),
+      check_filter(Pleroma.Upload.Filter.Mogrifun, "mogrify"),
+      check_filter(Pleroma.Upload.Filter.AnalyzeMetadata, "mogrify"),
+      check_filter(Pleroma.Upload.Filter.AnalyzeMetadata, "convert")
     ]
 
     preview_proxy_commands_status =