pleroma/test/pleroma/web
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_pub Merge branch 'remote-report-policy' into 'develop' 2024-10-11 20:23:46 +00:00
admin_api Refactor tests for Backups 2024-07-23 10:30:56 -04:00
api_spec Add extraction process for oauth scopes 2023-05-02 16:32:10 -04:00
auth Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
common_api Fix other quotation mark conversion tests 2023-10-16 21:35:37 -04:00
feed Repesct :restrict_unauthenticated for hashtag rss/atom feeds 2024-09-16 17:19:21 +02:00
mastodon_api Fix /api/v2/media returning the wrong status code for media processed synchronously 2024-10-27 21:52:42 -04:00
media_proxy Pleroma.Web.MediaProxy.MediaProxyController: dialyzer errors 2024-01-29 18:50:50 -05:00
metadata Fix order of args for update/2 2024-07-22 18:25:37 -04:00
o_auth Fix tests 2024-09-17 13:40:15 -04:00
o_status Fix order of args for favorite/2 2024-07-22 18:25:37 -04:00
pleroma_api Change imports to generate an Oban job per each task 2024-08-22 13:24:07 -04:00
plugs Authentication: convert argon2 passwords, add tests 2024-09-08 05:32:40 +03:00
preload/providers Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
push Fix order of args for follow/2 2024-07-22 19:07:55 -04:00
rich_media Fix RichMedia negative cache entries 2024-07-24 15:45:39 -04:00
static_fe Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
twitter_api Fix order of args for follow/2 2024-07-22 19:07:55 -04:00
views Do not allow committing tests with a .ex extension 2024-08-07 13:07:54 -04:00
web_finger Revert grammar leak from bad merge 2023-12-29 23:31:48 -05:00
common_api_test.exs Fix CommonAPI.follow/2 which returned users in the reverse order they were provided to the function 2024-08-07 12:39:58 -04:00
fallback_test.exs Fix tests for Add support for configuring a favicon and embed PWA manifest in server-generated-meta 2023-11-15 09:12:25 +01:00
federator_test.exs Add test to validate shared inboxes are used when multiple recipients from the same instance are recipients 2024-01-11 15:05:15 -05:00
gettext_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
manifest_controller_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
media_proxy_test.exs MediaProxyTest: Fix test 2023-12-11 10:00:15 +04:00
mongoose_im_controller_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
node_info_test.exs NodeInfo: Accept application/activity+json requests 2024-08-30 15:25:21 -04:00
rel_me_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
shout_channel_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
streamer_test.exs Fix order of args for hide_reblogs/2 2024-07-22 19:16:00 -04:00
uploader_controller_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
web_finger_test.exs Enable capture_log globally 2024-06-18 10:50:31 -04:00
xml_test.exs Completely disable xml entity resolution 2023-08-05 14:17:04 +02:00