Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
c64cbee2
Commit
c64cbee2
authored
May 18, 2021
by
feld
Browse files
Fixed checking for Upload Filter required commands
parent
4ab3ef07
Pipeline
#36078
passed with stages
in 9 minutes and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
c64cbee2
...
...
@@ -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)
...
...
lib/pleroma/application_requirements.ex
View file @
c64cbee2
...
...
@@ -164,11 +164,11 @@ defp do_check_rum!(setting, migrate) do
defp
check_system_commands!
(
:ok
)
do
filter_commands_statuses
=
[
check_filter
(
Pleroma
.
Upload
.
Filter
s
.
Exiftool
,
"exiftool"
),
check_filter
(
Pleroma
.
Upload
.
Filter
s
.
Mogrify
,
"mogrify"
),
check_filter
(
Pleroma
.
Upload
.
Filter
s
.
Mogrifun
,
"mogrify"
),
check_filter
(
Pleroma
.
Upload
.
Filter
s
.
AnalyzeMetadata
,
"mogrify"
),
check_filter
(
Pleroma
.
Upload
.
Filter
s
.
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
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment