Age | Commit message (Collapse) | Author |
|
|
|
This was recently changed to solve a Dialyzer error, but the replacement logic was faulty as "retry" would only be compared to :error and not have its truthiness evaluated.
The original logic was also faulty as it returned {:error, :pool_full} even retry was true. It never retried when the pool was full.
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
This will ensure that the page validation happens in Parser.parse/1 so it can be called from anywhere and still filter invalid URLs.
|
|
The Rich Media Previews were not regenerated when a post was updated due to a cache invalidation issue. They are now cached by the activity id so they can be evicted with the other activity cache objects in the :scrubber_cache.
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
Bump dependencies
See merge request pleroma/pleroma!4044
|
|
lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:6:unused_fun
Function skip_auth/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:6:unused_fun
Function skip_plug/2 will never be called.
________________________________________________________________________________
lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:18:guard_fail
The guard clause:
when _action :: atom() == <<105, 110, 100, 101, 120>>
can never succeed.
|
|
|
|
|
|
|
|
lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex:87:exact_eq
The test <<_::32>> == <<_::48>> can never evaluate to 'true'.
|
|
|
|
|
|
This is for streaming media to ffmpeg thumbnailer. The existing implementation relies on undocumented behavior.
Erlang open_port/2 does not officially support passing a string of a file path for opening. The specs clearly state you are to provide one of the following for open_port/2:
{spawn, Command :: string() | binary()} |
{spawn_driver, Command :: string() | binary()} |
{spawn_executable, FileName :: file:name_all()} |
{fd, In :: integer() >= 0, Out :: integer() >= 0}
Our method technically works but is strongly discouraged as it can block the scheduler and dialyzer throws errors as it recognizes we're breaking the contract and some of the functions we wrote may never return.
This is indirectly covered by the Erlang FAQ section "9.12 Why can't I open devices (e.g. a serial port) like normal files?"
https://www.erlang.org/faq/problems#idm1127
|
|
# Conflicts:
# docs/development/API/differences_in_mastoapi_responses.md
|
|
|
|
Handle object fetch failures gracefully
See merge request pleroma/pleroma!4015
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
OTP26 support
See merge request pleroma/pleroma!4025
|
|
MRF: Log sensible regex error for subdomain_match
See merge request pleroma/pleroma!4026
|
|
MRF.StealEmojiPolicy: Properly add fallback extension to filenames missing one
See merge request pleroma/pleroma!4029
|
|
|
|
Support objects with a nil contentMap (firefish)
Closes #3231
See merge request pleroma/pleroma!4030
|
|
Fix MediaProxy crashing on some videos
See merge request pleroma/pleroma!4024
|
|
|
|
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/3231
|
|
|
|
|
|
Akkoma does not understand it without V1, and it works either way with
normal pleroma, so no reason to not do this
|
|
|
|
|
|
|
|
Discard some failed publisher jobs
See merge request pleroma/pleroma!4022
|
|
bitstring matching
This fixes issues with internal errors when trying to serve the video
|
|
Fix following redirects with Finch
See merge request pleroma/pleroma!4023
|
|
ChatMessage: Tolerate attachment field set to an empty array
Closes #3224
See merge request pleroma/pleroma!4020
|
|
|
|
publishing request returns a 403 or 410
|
|
|
|
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/3224
|
|
|
|
|
|
|
|
Implement group actors
See merge request pleroma/pleroma!3969
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|