pleroma/lib/pleroma
Mark Felder 7d5ef81737 Fix /api/v2/media returning the wrong status code for media processed synchronously
The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks.

https://docs.joinmastodon.org/methods/media/#v2
2024-10-27 21:52:42 -04:00
..
activity
captcha
chat
config Require a reboot if LDAP configuration changes 2024-09-17 13:40:15 -04:00
conversation Add missing type 2024-07-22 15:32:20 -04:00
docs
ecto_type
emails Remove WorkerHelper 2024-07-30 11:34:48 -04:00
emoji
gopher
gun Switch the reclaimer to GenServer.start so it is not linked 2024-06-20 14:17:28 -04:00
helpers
http Update comments, remove solved TODO 2024-08-28 19:52:29 -04:00
instances Remove WorkerHelper 2024-07-30 11:34:48 -04:00
mfa Remove WorkerHelper 2024-07-30 11:34:48 -04:00
migration_helper
migrators
object Object.Fetcher: Hook to MRF.id_filter 2024-09-21 14:06:26 +02:00
password
reverse_proxy
search
telemetry Change Gun connection pool logs to debug 2024-06-28 10:23:02 -04:00
tesla/middleware
tests
upload StripLocation: Remove all PNG extra info to make sure that GPS data is gone. 2024-06-28 21:59:00 +04:00
uploaders
user Dialyzer: pattern_match The pattern can never match the type {:diff, false}. 2024-09-06 11:27:07 -04:00
web Fix /api/v2/media returning the wrong status code for media processed synchronously 2024-10-27 21:52:42 -04:00
workers Skip the final refresh job if the activity is local 2024-10-09 16:25:58 -04:00
activity.ex
announcement.ex
announcement_read_relationship.ex
application.ex Pleroma.LDAP 2024-09-17 13:40:08 -04:00
application_requirements.ex Dialyzer: The guard clause can never succeed. 2024-07-01 11:45:27 -04:00
bookmark.ex
bookmark_folder.ex
caching.ex
captcha.ex
chat.ex
clippy.ex
config.ex
config_db.ex
constants.ex Fix incoming Blocks being rejected 2024-10-08 23:09:59 -04:00
conversation.ex
counter_cache.ex
data_migration.ex
delivery.ex
ecto_enums.ex Refactor backups to be fully controlled by Oban 2024-07-23 10:30:40 -04:00
emoji-test.txt
emoji.ex
filter.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
following_relationship.ex Fix order of args for unfollow/2 2024-07-22 19:11:22 -04:00
formatter.ex
frontend.ex Dialyzer: pattern can never match the type because it is covered by previous clauses. 2024-07-01 11:38:40 -04:00
gun.ex
hashtag.ex
healthcheck.ex
html.ex
http.ex Pleroma.HTTP: permit passing through custom Tesla Middlware for requests 2024-07-24 15:40:15 -04:00
http_signatures_api.ex
instances.ex
job_queue_monitor.ex
jwt.ex
keys.ex
ldap.ex Reorganize the LDAP module 2024-10-11 15:51:56 -04:00
list.ex
logging.ex
maintenance.ex
maps.ex Use Map.filter now that minimum Elixir version is 1.13 2024-08-21 14:50:19 -04:00
marker.ex
mfa.ex
moderation_log.ex
notification.ex Fix order of args for thread_muted?/2 2024-07-22 18:25:37 -04:00
object.ex Remove Object.get_by_id_and_maybe_refetch/2 2024-09-30 12:41:09 -04:00
object_tombstone.ex
otp_version.ex
pagination.ex
password_reset_token.ex
prom_ex.ex
registration.ex
release_tasks.ex
repo.ex
report_note.ex
reverse_proxy.ex
rule.ex
scheduled_activity.ex
search.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
signature.ex Safer string concatenation 2024-07-25 16:18:45 -04:00
stats.ex
thread_mute.ex
upload.ex
user.ex Federate avatar/header descriptions 2024-09-14 21:32:32 +02:00
user_invite_token.ex
user_note.ex
user_relationship.ex
utils.ex
web.ex Elixir 1.17 warnings for parens 2024-07-01 11:38:40 -04:00
xml_builder.ex