Age | Commit message (Collapse) | Author |
|
lib/pleroma/web/admin_api/controllers/user_controller.ex:333:no_return
Function index/2 has no local return.
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/user_controller.ex:357:unused_fun
Function maybe_parse_filters/1 will never be called.
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/user_controller.ex:366:no_return
Function page_params/1 has no local return.
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/user_controller.ex:368:call
The function call will not succeed.
Pleroma.Web.ControllerHelper.fetch_integer_param(_params :: any(), :page, 1)
breaks the contract
(map(), String.t(), integer() | nil) :: integer() | nil
|
|
More dialyzer fixes
See merge request pleroma/pleroma!4050
|
|
|
|
replace_params: false
|
|
replace_params: false
|
|
lib/pleroma/web/pleroma_api/controllers/mascot_controller.ex:31:call
The function call will not succeed.
Pleroma.Web.ActivityPub.ActivityPub.upload(_file :: atom() | %{:content_type => _, _ => _}, [{:actor, <<_::56, _::size(8)>>}, ...]) ::
:ok
def a() do
:ok
end
will never return since the 2nd arguments differ
from the success typing arguments:
(any(), [
{:activity_type | :description | :filters | :size_limit | :type | :uploader,
atom() | binary() | [atom()] | non_neg_integer()}
])
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
with replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
replace_params: false
|
|
This should have always failed as it would not be an existing atom. Unclear how it worked since the upgrade to Phoenix 1.6.
|
|
replace_params: false
|
|
Dialyzer fixes, some reverts
See merge request pleroma/pleroma!4049
|
|
:replace_params
|
|
the :replace_params config option
This allows us to configure Open API Spex to not overwrite the params with the casted versions which violates the Plug.Conn.t() contract
https://github.com/open-api-spex/open_api_spex/issues/92
https://github.com/open-api-spex/open_api_spex/pull/425
|
|
|
|
This reverts commit 8b02c858102232700826214ffb5d58e5b2f90edf.
|
|
This reverts commit 17f4251b19846401ca36ee31156294ec63de84ee.
|
|
This reverts commit 52e18a624922e64eb4a7fd3f0d7a9aef06ea7fad.
|
|
This reverts commit 26a95e57873630491066687d2a216ab6e01549b0.
|
|
This reverts commit 60d89cb40455f9f70b683849dd95311975b0b6f7.
|
|
This reverts commit 9c8055d4b3eeed04e2fc27b69e1bd2b8bae11bb8.
|
|
This reverts commit 77bf617c4b28fce84f268ca391fa4af6dd590c82.
|
|
This reverts commit dc912dc5909922f4100c6a56bec72a4bb9e0d5dc.
|
|
This reverts commit 8d64eedbecec99d1ae19d300891a9c4cd3dbdf9d.
|
|
This reverts commit db87be126e707ffc84c0b6b598aa07a4b068e82a.
|
|
This reverts commit d92c3d927d4134941dabef3e8f1b5209de115665.
|
|
This reverts commit 94838ed941494fb6132086aa2cb3b5e65a00b08c.
|
|
This reverts commit bfe626d5787ae546e2a96b8c4c621c09fea1332a.
|
|
This reverts commit a3024dd5ac28bc23a91b12fa15ab56d15c1c341d.
|
|
This reverts commit e53c20b03c934c725726f49b2ca98b0bd9406bef.
|
|
This reverts commit 378edeaf159c0ff98780ad1b41f513992f1af305.
|
|
This reverts commit 8cd527985780f6c9e4512f2e72f3dddbbf9b33ca.
|
|
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.
|