aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/upload
AgeCommit message (Collapse)Author
2022-07-01Descriptions from exif data with only whitespeces are considered emptyIlja
I noticed that pictures taken with Ubuntu-Touch have whitespace in one of the fields This should just be ignored imo
2022-07-01Change test picturesIlja
The previous pictures were labeled as public domain, but are actually a collage of pictures under other licenses. I now replaced them with a jpeg of simply a white pixel.
2022-07-01Rename the Exiftool moduleIlja
No migrations or checks yet
2022-07-01Rename the new moduleIlja
2022-07-01Use EXIF data of image to prefill image descriptionIlja
During attachment upload Pleroma returns a "description" field. Pleroma-fe has an MR to use that to pre-fill the image description field, <https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1399> * This MR allows Pleroma to read the EXIF data during upload and return the description to the FE * If a description is already present (e.g. because a previous module added it), it will use that * Otherwise it will read from the EXIF data. First it will check -ImageDescription, if that's empty, it will check -iptc:Caption-Abstract * If no description is found, it will simply return nil, just like before * When people set up a new instance, they will be asked if they want to read metadata and this module will be activated if so This was taken from an MR i did on Pleroma and isn't finished yet.
2022-02-25Copyright bump for 2022Sean King
2021-06-08Blurhash varies slightly by computer generating it, so just validate it ↵Mark Felder
wasn't nil
2021-06-08Update test names and verify blurhash is correctly generated for imagesMark Felder
2021-06-08Add test for AnalyzeMetadata upload filter fetching dimensions from a videoMark Felder
2021-05-18Rename upload filter to AnalyzeMetadataMark Felder
2021-05-12Add SetMeta filter to store uploaded image sizesAlex Gleason
2021-01-26Convert tests to all use clear_config instead of Pleroma.Config.putMark Felder
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-21Tests: Make as many tests as possible async.lain
In general, tests that match these criteria can be made async: - Doesn't use real Cachex. - Doesn't write to the Config / Application Environment. - Uses Mock. Using Mox is fine. - Uses the streamer.
2020-10-13JPEG content_type must be image/jpegMark Felder
2020-10-13fix after rebaseAlexander Strizhakov
2020-10-13tests consistencyAlexander Strizhakov