aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/upload
AgeCommit message (Collapse)Author
2020-09-08Revert/simplify.Mark Felder
We only need to check the content-type. There's no chance a webp file will get mismatched as another image type.
2020-09-08Bypass the filter based on content-type as well in case a webp image is ↵Mark Felder
uploaded with the wrong file extension.
2020-09-08Improve upload filter return values so we can identify when filters make no ↵Mark Felder
changes to the input
2020-09-08Fix uploading webp image files when Exiftool Upload Filter is enabledMark Felder
2020-08-14Mogrifun: Add a line about the purpose of the module.lain
2020-08-05Move checks to application startupRoman Chvanikov
2020-07-11Check if mogrify available before calling itRoman Chvanikov
2020-07-11Remove Logger requirementRoman Chvanikov
2020-07-11Error in Filter.Exiftool if exiftool not foundRoman Chvanikov
2020-07-11Add Pleroma.Utils.command_available?/1 and use where appropriateRoman Chvanikov
2020-07-10Remove unused @typesMark Felder
2020-07-10Add a moduledocMark Felder
2020-07-10Support Exiftool for stripping EXIF dataMark Felder
We really only want to strip location data anyway, and mogrify strips color profiles.
2020-03-03Update CopyrightsMark Felder
2019-07-16added tests for Pleroma.Upload.FilterMaksim
2019-06-30[#1026] Filter.AnonymizeFilename added ability to retain file extension with ↵Maksim
custom text
2019-02-09Credo fixes: parameter consistencyHaelwenn (lanodan) Monnier
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-10Merge branch 'anonymize-filter-text' into 'develop'lambda
AnonymizeFilename: allow for a pre-defined text instead of random string See merge request pleroma/pleroma!516
2018-12-10updatesMaksim Pechnikov
2018-12-09fix compile warningsMaksim Pechnikov
2018-12-07AnonymizeFilename: allow for a pre-defined text instead of random stringhref
Improve docs
2018-11-30Upload filter: anonymize filenamehref
It replaces the original filename with a randomly generated string.
2018-11-30Uploads fun, part. 2href