pleroma/test/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/ir Tests: Remove async from cases that use Mock 2023-12-10 17:10:18 +04:00
chat Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
config Fix test "transforms config to tuples" 2023-12-29 22:50:26 -05:00
conversation Fix some more typos 2023-12-28 00:17:04 +01:00
docs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
ecto_type/activity_pub/object_validators ObjectValidators.BareUriTest: Replace calls of SafeText to BareUri 2023-11-08 02:17:50 +01:00
emails Revert "Tests: fix more tests" 2023-12-12 19:35:08 +04:00
emoji Fix some more typos 2023-12-28 00:17:04 +01:00
gun Gun Connection Pool: successfully retry after reclaiming the pool 2024-06-20 14:03:22 -04:00
http Switch formatting checks to Elixir 1.15 2024-06-12 15:18:47 -04:00
instances Change set_reachable/1 to an upsert 2023-12-06 15:50:00 -05:00
integration Fix order of args for follow/2 2024-07-22 19:07:55 -04:00
mfa Implement a custom uri_equal?/2 to fix comparisons of URLs with unordered query parameters 2023-12-29 22:50:26 -05:00
migration_helper Fix order of args for favorite/2 2024-07-22 18:25:37 -04:00
object Improve Remote Object Fetcher error handling, Oban 2024-08-17 20:42:33 -04:00
password Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
repo/migrations Insert replacement jobs in the new format if any remain undelivered 2024-07-29 14:00:46 -04:00
search QdrantSearch: Add health checks. 2024-05-27 14:21:55 +04:00
upload StripLocationTest: Add failing test for PNGs 2024-06-28 20:31:03 +04:00
uploaders IPFS uploader: dialyzer fixes 2024-05-30 15:14:27 -04:00
user Change imports to generate an Oban job per each task 2024-08-22 13:24: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 Test the final refresh behavior of a PollWorker poll_end job 2024-10-09 20:15:00 -04:00
activity_test.exs Fix order of args for favorite/2 2024-07-22 18:25:37 -04:00
announcement_read_relationship_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
announcement_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
application_requirements_test.exs Revert "Tests: fix more tests" 2023-12-12 19:35:08 +04:00
bookmark_folder_test.exs Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
bookmark_test.exs Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
captcha_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
chat_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
config_db_test.exs Switch formatting checks to Elixir 1.15 2024-06-12 15:18:47 -04:00
config_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
conversation_test.exs Fix most tests that call SearchIndexWorker. 2023-11-12 15:54:16 +04:00
emoji_test.exs Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
filter_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
following_relationship_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
formatter_test.exs Fix some more typos 2023-12-28 00:17:04 +01:00
frontend_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
hashtag_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
healthcheck_test.exs Fix tests by leveraging Keyword.equal?/2 2023-12-29 22:50:26 -05:00
html_test.exs Add tests for Mastodon mention hashtag class 2024-09-06 11:51:16 -04:00
http_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
instances_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
job_queue_monitor_test.exs Switch formatting checks to Elixir 1.15 2024-06-12 15:18:47 -04:00
keys_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
list_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
maps_test.exs Maps: Add filter_empty_values/1 2024-01-26 16:18:29 +01:00
marker_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
mfa_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
moderation_log_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
notification_test.exs Fix order of args for unfollow/2 2024-07-22 19:11:22 -04:00
object_test.exs Remove Object.get_by_id_and_maybe_refetch/2 2024-09-30 12:41:09 -04:00
otp_version_test.exs Fix some more typos 2023-12-28 00:17:04 +01:00
pagination_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
registration_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
repo_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
report_note_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
resilience_test.exs Fix order of args for favorite/2 2024-07-22 18:25:37 -04:00
reverse_proxy_test.exs Fix some more typos 2023-12-28 00:17:04 +01:00
rule_test.exs Add tests 2022-05-16 14:06:53 +02:00
runtime_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
safe_jsonb_set_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
scheduled_activity_test.exs Fix Oban related tests 2024-05-27 13:48:24 -04:00
schema_test.exs Test for missing FK indexes 2024-05-30 10:49:45 -04:00
signature_test.exs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-secure-mode 2024-05-28 12:31:12 +04:00
stats_test.exs Fix order of args for follow/2 2024-07-22 19:07:55 -04:00
upload_test.exs Linting 2023-12-11 11:28:39 +04:00
user_invite_token_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
user_relationship_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
user_search_test.exs Fix warnings in tests, treat warnings as errors in CI. 2023-01-03 14:59:14 -05:00
user_test.exs User: truncate remote user fields instead of rejecting 2024-08-14 18:09:13 +02:00
utils_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
xml_builder_test.exs Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00