Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop 2024-07-18 #256

Merged
merged 179 commits into from
Jul 18, 2024
Merged

Merge develop 2024-07-18 #256

merged 179 commits into from
Jul 18, 2024

Conversation

kphrx
Copy link
Owner

@kphrx kphrx commented Jul 18, 2024

No description provided.

lanodan and others added 30 commits May 29, 2024 08:02
Lots of fixes, also requires Websock Adapter update due to internal module changes in Bandit 1.4.0.
Update Bandit to 1.5.2

See merge request pleroma/pleroma!4133
Add missing foreign key indexes

See merge request pleroma/pleroma!4134
Fix Logger.warn deprecation error on OTP25

See merge request pleroma/pleroma!4135
lib/pleroma/uploaders/ipfs.ex:43:no_return
Function put_file/1 has no local return.
________________________________________________________________________________
lib/pleroma/uploaders/ipfs.ex:49:call
The function call will not succeed.

Pleroma.HTTP.post(
  binary(),
  _mp :: %Tesla.Multipart{
    :boundary => binary(),
    :content_type_params => [binary()],
    :parts => [
      %Tesla.Multipart.Part{
        :body => binary(),
        :dispositions => [any()],
        :headers => [any()]
      },
      ...
    ]
  },
  [],
  [{:params, [{:"cid-version", <<49>>}]}]
)

will never return since the success typing is:
(binary(), binary(), [{binary(), binary()}], Keyword.t()) ::
  {:error, _}
  | {:ok,
     %Tesla.Env{
       :__client__ => %Tesla.Client{
         :adapter => nil | {_, _} | {_, _, _},
         :fun => _,
         :post => [any()],
         :pre => [any()]
       },
       :__module__ => atom(),
       :body => _,
       :headers => [{_, _}],
       :method => :delete | :get | :head | :options | :patch | :post | :put | :trace,
       :opts => [{_, _}],
       :query => [{_, _}],
       :status => nil | integer(),
       :url => binary()
     }}

and the contract is
(Pleroma.HTTP.Request.url(), String.t(), Pleroma.HTTP.Request.headers(), :elixir.keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, any()}
Use proper workers for fetching pins instead of an ad-hoc task

Closes #3276

See merge request pleroma/pleroma!4136
IPFS uploader: dialyzer fixes

See merge request pleroma/pleroma!4129
Allow Cowboy to stream the response instead of chunk it

See merge request pleroma/pleroma!4138
Also add a test to validate the correct error when disabled
RichMedia: Respect configuration on status previews

See merge request pleroma/pleroma!4130
Spex: Add missing notification types to the api spec

See merge request pleroma/pleroma!4141
Minor cleanup commits

See merge request pleroma/pleroma!4142
Bump deps

See merge request pleroma/pleroma!4140
Also update other places where we use the term "send" instead of "stream". This should make it clearer that we are streaming these over websockets / web push and not sending an activity.
feld added 26 commits July 12, 2024 14:25
LDAP Authenticator: Improve error reporting.

See merge request pleroma/pleroma!4171
Move poison dependency

See merge request pleroma/pleroma!4156
Remove the unused ingestion queue

See merge request pleroma/pleroma!4173
Discard Remote Fetcher jobs which errored due to an MRF rejection

See merge request pleroma/pleroma!4174
:discard will be removed in Oban 3.0. It was only meant for internal use.
Oban: change :discard return values to :cancel

See merge request pleroma/pleroma!4175
…se it

These deletion tasks are slow, but the other background jobs are not. This
will allow us to have a lower timeout on the normal background jobs.
Oban improvements

See merge request pleroma/pleroma!4176
Added a Mix task "pleroma.config fix_mrf_policies"

See merge request pleroma/pleroma!4177
Add Oban Live Dashboard

See merge request pleroma/pleroma!4180
Oban should not retry jobs that are likely to fail again
Rework some Rich Media functionality for better error handling

See merge request pleroma/pleroma!4182
Add docs for fix_mrf_policies

See merge request pleroma/pleroma!4184
Dialyzer fix for RemoteFetcherWorker

See merge request pleroma/pleroma!4183
@kphrx kphrx closed this Jul 18, 2024
@kphrx kphrx reopened this Jul 18, 2024
@kphrx kphrx merged commit f99a3f6 into pl.kpherox.dev Jul 18, 2024
3 checks passed
@kphrx kphrx deleted the merge-develop branch July 18, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants