akkoma/lib/pleroma
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
..
activity Post editing (#202) 2022-09-06 19:24:02 +00:00
akkoma Backend settings sync (#226) 2022-10-06 16:22:15 +00:00
captcha Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
collections GTS: cherry-picks and collection usage (#186) 2022-08-27 18:05:48 +00:00
config Use EXIF data of image to prefill image description 2022-10-23 14:46:16 +02:00
conversation Add API endpoint to remove a conversation 2021-02-15 21:48:13 +04:00
docs backend-i18n (#121) 2022-07-27 21:56:59 +00:00
ecto_type recipients fixes/hardening for CreateGenericValidator 2021-04-05 19:19:11 +02:00
emails Send emails i18n'd using backend-stored user language 2022-06-29 20:45:19 +01:00
emoji Fix emoji qualification (#124) 2022-07-28 12:02:36 +00:00
gun CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
helpers reuse valid oauth tokens (#182) 2022-08-25 14:37:51 +00:00
http add finch outbound proxy support (#158) 2022-08-14 23:13:49 +00:00
instances Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00
mfa Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
migration_helper purge chat and shout endpoints 2022-07-21 11:29:28 +01:00
migrators [#3213] Code formatting fix. 2021-03-12 12:25:18 +03:00
object Post editing (#202) 2022-09-06 19:24:02 +00:00
password Pbkdf2: Use it everywhere. 2021-01-14 15:06:16 +01:00
reverse_proxy Dirty hack to make mediaproxy functional by relying on Hackney for that part 2021-12-16 11:36:58 -06:00
search Fix false error in meilisearch index (#221) 2022-09-20 10:36:21 +00:00
tesla/middleware Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
tests Fix compile cycle in Pleroma.Tests.AuthTestController 2021-06-09 13:30:19 -05:00
upload Use EXIF data of image to prefill image description 2022-10-23 14:46:16 +02:00
uploaders Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00
user User: search: exclude deactivated users from user search 2022-09-15 21:21:06 -04:00
web Unilateral remove from followers (#232) 2022-10-19 10:01:14 +00:00
workers use :discard instead of cancel 2022-08-11 19:17:50 +01:00
activity.ex format 2022-10-10 17:13:42 +01:00
announcement.ex Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
announcement_read_relationship.ex Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
application.ex Post editing (#202) 2022-09-06 19:24:02 +00:00
application_requirements.ex Use EXIF data of image to prefill image description 2022-10-23 14:46:16 +02:00
bookmark.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
caching.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
captcha.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
clippy.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
config.ex Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags-rework 2021-02-23 13:58:35 +03:00
config_db.ex Revert guards on string_to_elixir_types/1, remove unnecessary assignment in test 2021-04-14 09:39:57 -05:00
constants.ex Post editing (#202) 2022-09-06 19:24:02 +00:00
conversation.ex Add API endpoint to remove a conversation 2021-02-15 21:48:13 +04:00
counter_cache.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
data_migration.ex [#3213] HashtagsTableMigrator state management refactoring & improvements (proper stats serialization etc.). 2021-02-16 23:14:15 +03:00
delivery.ex Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags-rework 2021-01-13 22:11:16 +03:00
ecto_enums.ex v2 Suggestions: dismiss a suggestion 2021-11-26 20:19:29 -06:00
emoji-test.txt emoji-test: update to latest 15.0 draft 2022-09-11 19:55:45 +01:00
emoji.ex add extra tests for builder 2022-09-05 01:24:40 +01:00
filter.ex support for expires_in/expires_at in filters 2021-01-26 08:27:45 +03:00
following_relationship.ex optimise notifications query 2022-10-11 11:40:43 +01:00
formatter.ex allow small/center tags in misskeymarkdown (#132) 2022-08-01 12:46:52 +00:00
frontend.ex Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00
gun.ex Gun: make Gun.API a runtime dep 2021-05-29 10:53:30 -05:00
hashtag.ex Refactor ES on top of search behaviour 2022-06-30 16:28:31 +01:00
healthcheck.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
html.ex Break out activity-specific HTML functions into Pleroma.Activity.HTML 2021-05-29 12:29:11 -05:00
http.ex remove unneeded function 2022-08-03 11:50:48 +01:00
instances.ex Switch to runtime deps in Pleroma.Instances 2021-06-08 18:03:34 -05:00
job_queue_monitor.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
jwt.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
keys.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
list.ex ListController: Fix being unable to add / remove users. 2021-01-18 16:28:36 +01:00
logging.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
maintenance.ex Fix typo 2021-10-06 10:49:25 -05:00
maps.ex utils: Fix maybe_splice_recipient when "object" isn’t a map 2021-04-05 19:19:12 +02:00
marker.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mfa.ex Pbkdf2: Use it everywhere. 2021-01-14 15:06:16 +01:00
moderation_log.ex purge chat and shout endpoints 2022-07-21 11:29:28 +01:00
notification.ex optimise notifications query 2022-10-11 11:40:43 +01:00
object.ex ObjectView: do not fetch an object for its ID 2022-09-11 19:52:59 +01:00
object_tombstone.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
otp_version.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
pagination.ex [#3213] Performance optimization of filtering by hashtags ("any" condition). 2021-03-07 11:33:21 +03:00
password_reset_token.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
registration.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
release_tasks.ex fix compatibility with meilisearch (#164) 2022-08-16 22:56:49 +00:00
repo.ex Remove instrumentors (#98) 2022-07-21 11:32:17 +00:00
report_note.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
reverse_proxy.ex Fix emoji qualification (#124) 2022-07-28 12:02:36 +00:00
scheduled_activity.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
search.ex Don't try removing deleted users and such from index as posts 2022-06-29 20:49:45 +01:00
signature.ex User: generate private keys on user creation 2022-09-11 19:54:37 +01:00
stats.ex don't use continue in Stats init for test env 2021-02-27 09:39:15 +03:00
thread_mute.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
upload.ex Use EXIF data of image to prefill image description 2022-10-23 14:46:16 +02:00
user.ex Backend settings sync (#226) 2022-10-06 16:22:15 +00:00
user_invite_token.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
user_note.ex MastoAPI: Add user notes on accounts 2021-11-21 16:56:26 +01:00
user_relationship.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
utils.ex extend custom runtime system (#108) 2022-07-24 16:42:43 +00:00
web.ex Refactor skipped plugs into Pleroma.Web functions 2021-06-08 19:15:04 -05:00
xml_builder.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00