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 Fix Rich Media Previews for updated activities 2024-02-04 23:47:04 -05:00
captcha Fix some more typos 2023-12-28 00:17:04 +01:00
chat Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
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 Fix invalid type 2024-01-20 17:05:55 -05:00
ecto_type Dialyzer: fix pattern match coverage 2024-01-20 17:56:32 -05:00
emails Remove WorkerHelper 2024-07-30 11:34:48 -04:00
emoji Switch formatting checks to Elixir 1.15 2024-06-12 15:18:47 -04:00
gopher Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
gun Switch the reclaimer to GenServer.start so it is not linked 2024-06-20 14:17:28 -04:00
helpers Dialyzer: fix pattern matches preventing video thumbnailing from working 2024-05-28 10:19:22 -04:00
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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
migrators Pleroma.Migrators.Support.BaseMigrator: Fix dialyzer errors 2024-01-22 18:37:13 -05:00
object Object.Fetcher: Hook to MRF.id_filter 2024-09-21 14:06:26 +02:00
password Fix atom leak in password digest functionality 2024-02-14 17:54:56 -05:00
reverse_proxy Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
search Dialyzer: The pattern can never match the type 2024-05-28 10:36:00 -04:00
telemetry Change Gun connection pool logs to debug 2024-06-28 10:23:02 -04:00
tesla/middleware Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
tests Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
upload StripLocation: Remove all PNG extra info to make sure that GPS data is gone. 2024-06-28 21:59:00 +04:00
uploaders IPFS uploader: dialyzer fixes 2024-05-30 15:14:27 -04:00
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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
announcement.ex Announcement: fix dialyzer errors and add typespec for the changeset 2024-01-22 18:37:13 -05:00
announcement_read_relationship.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
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 Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
bookmark_folder.ex Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
caching.ex Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths 2024-02-06 18:33:54 -05:00
captcha.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
chat.ex FlakeId.Ecto.CompatType.t() does not exist 2024-01-20 16:36:01 -05:00
clippy.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
config.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
config_db.ex Remove remaining vestiges of Logger support in ConfigDB/TransferTask 2024-06-19 14:29:44 -04:00
constants.ex Fix incoming Blocks being rejected 2024-10-08 23:09:59 -04:00
conversation.ex Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
counter_cache.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
data_migration.ex Pleroma.Migrators.Support.BaseMigratorState: fix dialyzer error 2024-01-22 18:37:13 -05:00
delivery.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
ecto_enums.ex Refactor backups to be fully controlled by Oban 2024-07-23 10:30:40 -04:00
emoji-test.txt emoji-test: update to latest 15.0 draft 2022-08-20 00:21:07 +02:00
emoji.ex Merge branch 'deps-bump' into 'develop' 2024-01-29 17:43:00 +00:00
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 Fix mentioning punycode domains when using Markdown 2023-10-16 21:35:25 -04:00
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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
hashtag.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
healthcheck.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
html.ex RichMedia refactor 2024-05-07 19:54:56 -04:00
http.ex Pleroma.HTTP: permit passing through custom Tesla Middlware for requests 2024-07-24 15:40:15 -04:00
http_signatures_api.ex HTTPSignaturePlugTest: Rewrite to use mox. 2024-05-28 14:00:25 +04:00
instances.ex These functions in Pleroma.Instances should be defdelegates to Pleroma.Instances.Instance 2023-12-27 12:44:16 -05:00
job_queue_monitor.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
jwt.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
keys.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
ldap.ex Reorganize the LDAP module 2024-10-11 15:51:56 -04:00
list.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
logging.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
maintenance.ex Elixir 1.15: Chase the Logger.warn deprecation 2023-12-20 20:16:26 +00:00
maps.ex Use Map.filter now that minimum Elixir version is 1.13 2024-08-21 14:50:19 -04:00
marker.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
mfa.ex Pleroma.MFA: fix gradient error 2024-02-02 12:14:15 -05:00
moderation_log.ex Formatting 2024-01-27 10:09:20 -05:00
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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
otp_version.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
pagination.ex Pleroma.Web.MastodonAPI.SearchController: fix dialyzer errors 2024-01-31 11:12:41 -05:00
password_reset_token.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
prom_ex.ex Switch to PromEx for prometheus metrics 2023-11-13 15:34:59 -05:00
registration.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
release_tasks.ex Dialyzer: fix pattern match coverage 2024-01-20 17:58:47 -05:00
repo.ex Switch to PromEx for prometheus metrics 2023-11-13 15:34:59 -05:00
report_note.ex Fix invalid typespec references to Ecto.Changeset.t() 2024-01-20 16:47:50 -05:00
reverse_proxy.ex Allow Cowboy to stream the response instead of chunk it 2024-06-04 23:08:05 -04:00
rule.ex Add hint to rules 2024-04-06 11:45:19 +02:00
scheduled_activity.ex Oban queue simplification 2024-05-27 13:48:17 -04:00
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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
thread_mute.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
upload.ex Upload.base_url: Don't pass nil to Path.join(), don't return nil 2024-06-12 15:18:47 -04:00
user.ex Federate avatar/header descriptions 2024-09-14 21:32:32 +02:00
user_invite_token.ex Fix invalid typespec references to Ecto.Changeset.t() 2024-01-20 16:47:50 -05:00
user_note.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
user_relationship.ex Pleroma.User: fix dialyzer errors 2024-01-22 18:37:13 -05:00
utils.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
web.ex Elixir 1.17 warnings for parens 2024-07-01 11:38:40 -04:00
xml_builder.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00