spc-pleroma/test/pleroma/web
Mark Felder b666710574 Pleroma.Web.MediaProxy.MediaProxyController: dialyzer errors
lib/pleroma/web/media_proxy/media_proxy_controller.ex:55:no_return
Function handle_preview/2 has no local return.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:59:call
The function call will not succeed.

Pleroma.HTTP.request(<<72, 69, 65, 68>>, _media_proxy_url :: any(), [], [], [{:pool, :media}])

will never return since the success typing is:
(
  :delete | :get | :head | :options | :patch | :post | :put | :trace,
  binary(),
  any(),
  [{binary(), binary()}],
  Keyword.t()
) :: any()

and the contract is
(
  method(),
  Pleroma.HTTP.Request.url(),
  String.t(),
  Pleroma.HTTP.Request.headers(),
  :elixir.keyword()
) :: {:ok, Tesla.Env.t()} | {:error, any()}

________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:95:unused_fun
Function handle_preview/3 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:111:unused_fun
Function handle_png_preview/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:134:unused_fun
Function handle_jpeg_preview/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:152:unused_fun
Function handle_video_preview/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:164:unused_fun
Function drop_static_param_and_redirect/1 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:173:unused_fun
Function fallback_on_preview_error/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:177:unused_fun
Function put_preview_response_headers/1 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:177:unused_fun
Function put_preview_response_headers/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:187:unused_fun
Function thumbnail_max_dimensions/0 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:196:unused_fun
Function min_content_length_for_preview/0 will never be called.
________________________________________________________________________________
lib/pleroma/web/media_proxy/media_proxy_controller.ex:200:unused_fun
Function media_preview_proxy_config/0 will never be called.
2024-01-29 18:50:50 -05:00
..
activity_pub Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
admin_api Pleroma.Web.AdminAPI.ConfigController: dialyzer error 2024-01-27 16:42:30 -05: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 Merge branch 'fix/tag-feed-crashes' into 'develop' 2023-03-30 12:46:35 +02:00
mastodon_api Skip tests on MacOS/Darwin that have always failed 2024-01-15 20:18:43 -05:00
media_proxy Pleroma.Web.MediaProxy.MediaProxyController: dialyzer errors 2024-01-29 18:50:50 -05:00
metadata OpenGraphTest: Fix test 2023-12-11 10:01:55 +04:00
o_auth Fix some more typos 2023-12-28 00:17:04 +01:00
o_status 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
pleroma_api Merge branch 'otp26' into 'develop' 2024-01-17 09:51:56 +00:00
plugs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into no-async-clear-config 2023-12-12 10:55:19 +04:00
preload/providers Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
push Push.ImplTest: Fix tests 2023-12-11 11:01:07 +04:00
rich_media RichMedia.Parser.TTL.AwsSignedUrl: dialyzer fix 2024-01-26 17:37:32 -05:00
static_fe Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
twitter_api Leverage existing atoms as return errors for the object fetcher 2023-12-27 22:01:59 -05:00
views Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
web_finger Revert grammar leak from bad merge 2023-12-29 23:31:48 -05:00
common_api_test.exs Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05: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 Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00: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 Use pleroma: instead of pleroma. for ws events 2023-10-15 17:20:25 -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 Add unit test for external entity loading 2023-08-05 08:14:27 +02:00
xml_test.exs Completely disable xml entity resolution 2023-08-05 14:17:04 +02:00