Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/pleroma/web/auth/authenticator.ex:8:unknown_type
Unknown type: User.t/0.
|
|
lib/pleroma/web/activity_pub/publisher.ex:31:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/web/activity_pub/mrf/policy.ex:6:unknown_type
Unknown type: Map.t/0.
lib/pleroma/web/activity_pub/mrf/policy.ex:7:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/uploaders/uploader.ex:43:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/upload.ex:89:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/web/feed/feed_view.ex:135:unknown_type
Unknown type: NativeDateTime.t/0.
lib/pleroma/web/feed/feed_view.ex:148:unknown_type
Unknown type: NativeDateTime.t/0.
|
|
lib/pleroma/web/o_auth/authorization.ex:61:unknown_type
Unknown type: Authtorizatiton.t/0.
|
|
lib/pleroma/web/o_auth/token/query.ex:12:unknown_type
Unknown type: Token.t/0.
|
|
lib/pleroma/web/rich_media/parser.ex:105:unknown_type
Unknown type: Integer.t/0.
|
|
lib/pleroma/web/rich_media/parser/ttl.ex:6:unknown_type
Unknown type: Integer.t/0.
lib/pleroma/web/rich_media/parser/ttl.ex:6:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/web/streamer.ex:37:unknown_type
Unknown type: Map.t/0.
________________________________________________________________________________
lib/pleroma/web/streamer.ex:63:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/migrators/hashtags_table_migrator.ex:103:unknown_type
Unknown type: Map.t/0.
|
|
lib/pleroma/emoji/loader.ex:23:unknown_type
Unknown type: Pleroma.Emoji.t/0.
|
|
lib/pleroma/docs/json.ex:21:unknown_type
Unknown type: Map.t/0.
|
|
|
|
This type is not exported and usable. FlakeId intends to return the type as :uuid, so we replace it in the typespecs with Ecto.UUID.t() which assuages the dialyzer errors
e.g.,
lib/pleroma/bookmark.ex:25:unknown_type
Unknown type: FlakeId.Ecto.CompatType.t/0.
|
|
lib/pleroma/application_requirements.ex:19:unknown_type
Unknown type: Pleroma.ApplicationRequirements.VerifyError.t/0.
lib/pleroma/application_requirements.ex:199:pattern_match_cov
The pattern
variable_result
can never match, because previous clauses completely cover the type
:ok.
|
|
lib/pleroma/activity/queries.ex:12:unknown_type
Unknown type: Activity.t/0.
|
|
lib/mix/tasks/pleroma/instance.ex:356:pattern_match_cov
The pattern
:variable_
can never match, because previous clauses completely cover the type
%{
:anonymize => boolean(),
:dedupe => boolean(),
:read_description => boolean(),
:strip_location => boolean()
}.
|
|
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
|
|
|
|
|
|
application/jrd+json as "jrd" now
|
|
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
|