akkoma/lib/mix/tasks/pleroma
Ilja cd316d7269 Use EXIF data of image to prefill image description
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-07-01 12:13:46 +02:00
..
ecto Copyright bump for 2022 2022-02-25 23:11:42 -07:00
app.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
benchmark.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
count_statuses.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
database.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
digest.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ecto.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
email.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instance.ex Use EXIF data of image to prefill image description 2022-07-01 12:13:46 +02:00
notification_settings.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
openapi_spec.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
refresh_counter_cache.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
relay.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
robots_txt.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploads.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00