Mark Felder
|
4ea07f74e9
|
Revert/simplify.
We only need to check the content-type. There's no chance a webp file
will get mismatched as another image type.
|
4 years ago |
Mark Felder
|
216c84a8f4
|
Bypass the filter based on content-type as well in case a webp image is uploaded with the wrong file extension.
|
4 years ago |
Mark Felder
|
3a98960c26
|
Verify webp files are not processed with exiftool
|
4 years ago |
Mark Felder
|
2165a24974
|
Improve upload filter return values so we can identify when filters make no changes to the input
|
4 years ago |
Roman Chvanikov
|
4672b61106
|
Merge branch 'develop' into command-available-check
|
4 years ago |
Alexander Strizhakov
|
6afc6717d6
|
copy tmp file if test depends on it
|
4 years ago |
Roman Chvanikov
|
aedbbec88a
|
Add Pleroma.Utils.command_available?/1 and use where appropriate
|
4 years ago |
Mark Felder
|
6167593881
|
Support Exiftool for stripping EXIF data
We really only want to strip location data anyway, and mogrify strips color profiles.
|
4 years ago |
Alexander Strizhakov
|
9a4fde9766
|
Mogrify args as custom tuples
|
4 years ago |
Ivan Tashkinov
|
1c05f539aa
|
Improved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).
|
5 years ago |
Mark Felder
|
05da5f5cca
|
Update Copyrights
|
5 years ago |
Maksim
|
a320358703
|
added test helpers to clear config after tests
|
5 years ago |
Maksim
|
03c386614f
|
fixed test for elixir 1.7.4
|
5 years ago |
Maksim
|
21e3f9ac69
|
added tests for Pleroma.Upload.Filter
|
5 years ago |
feld
|
93a0eeab16
|
Add license/copyright to all project files
|
5 years ago |
Maksim
|
acd20f166b
|
[#1026] Filter.AnonymizeFilename added ability to retain file extension with custom text
|
5 years ago |