akkoma/lib/pleroma/upload/filter
Ilja 338612d72b Use EXIF data of image to prefill image description
During attachment upload Pleroma returns a "description" field.

* This MR allows Pleroma to read the EXIF data during upload and return the description to the FE using this field.
    * 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, which is the default value
* 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

There was an Exiftool module, which has now been renamed to Exiftool.StripLocation
2022-10-23 14:46:16 +02:00
..
exiftool Use EXIF data of image to prefill image description 2022-10-23 14:46:16 +02:00
analyze_metadata.ex Support metadata for video files too 2021-06-08 12:54:09 -05:00
anonymize_filename.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
dedupe.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mogrifun.ex Show a proper error. A failure doesn't always mean the command isn't available, and we check for it on startup 2021-02-20 14:27:42 -06:00
mogrify.ex Show a proper error. A failure doesn't always mean the command isn't available, and we check for it on startup 2021-02-20 14:27:42 -06:00