summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-16Translated using Weblate (Japanese)weblateSyoBoN
Currently translated at 63.1% (60 of 95 strings) Translation: Pleroma/Pleroma Backend (domain errors) Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-backend-domain-errors/ja/
2024-02-16Merge branch 'deps-changelog-revert' into 'develop'feld
Revert "Support a new changelog entry type: deps" See merge request pleroma/pleroma!4071
2024-02-16Revert "Add support for a "deps" changelog type and document deps changes ↵Mark Felder
since 2.6.1 release" This reverts commit 2a4fa4c408d874d8b938f780337d2956b6f0101f.
2024-02-16Revert "Support a new changelog entry type: deps"Mark Felder
This reverts commit 4648997a1017da68dcf5235e527e861f2c85cf91.
2024-02-15Merge branch 'tesla' into 'develop'feld
Update Tesla, document some deps changes See merge request pleroma/pleroma!4069
2024-02-15Add support for a "deps" changelog type and document deps changes since ↵Mark Felder
2.6.1 release
2024-02-15Tesla changelogMark Felder
2024-02-15Support a new changelog entry type: depsMark Felder
2024-02-15Merge branch 'bandit' into 'develop'feld
Support Bandit as a Phoenix HTTP adapter See merge request pleroma/pleroma!4068
2024-02-15Remove Cowboy-specific HTTP optionsMark Felder
These were only used in dev and served no specific purpose. The equivalent settings for Bandit are under a key called :http1_options and the default values are set to 10_000.
2024-02-15Support Bandit as an alternate HTTP backend to Cowboy. This is currently ↵Mark Felder
considered experimental, but may improve performance and resource usage.
2024-02-15Merge branch 'websocket-refactor' into 'develop'feld
Websocket refactor to use Phoenix.Socket.Transport See merge request pleroma/pleroma!4064
2024-02-15Merge branch 'oauth-nickname' into 'develop'lain
Use User.full_nickname/1 in oauth html template See merge request pleroma/pleroma!4054
2024-02-15Merge branch 'frontend-caching' into 'develop'lain
FrontendStatic should have reasonable caching See merge request pleroma/pleroma!3685
2024-02-15Merge branch 'config-stat-symlink' into 'develop'Haelwenn
Config: Check the permissions of the linked file instead of the symlink See merge request pleroma/pleroma!4061
2024-02-15Merge branch 'bugfix-ccworks' into 'develop'Haelwenn
Bugfix for ccworks AP bridge Closes #3234 See merge request pleroma/pleroma!4043
2024-02-14Merge branch 'atom-leaks' into 'develop'feld
Fix minor atom leaks See merge request pleroma/pleroma!4065
2024-02-14ChangelogMark Felder
2024-02-14Fix atom leak in background workerMark Felder
The only permitted values are "blocks_import", "follow_import", "mutes_import" of which we already have the equivalent atoms defined.
2024-02-14Fix atom leak in password digest functionalityMark Felder
The value here gets passesd to :crypto.pbkdf2_hmac and it expects one of these atoms: :sha | :sha224 | :sha256 | :sha384 | :sha512 so it will always exist
2024-02-14Websocket refactor changelogMark Felder
2024-02-14Remove invalid testMark Felder
It is not allowed to use the Sec-WebSocket-Protocol header for arbitrary values. This was possible due to the raw websocket handling we were doing with Cowboy, but Phoenix.Socket.Transport does not allow this as the value of this header is compared against a static list of subprotocols. https://hexdocs.pm/phoenix/Phoenix.Endpoint.html#socket/3-websocket-configuration Additionally I cannot find anywhere that we depended on this behavior. Setting the Sec-WebSocket-Protocol header does not appear to be a part of PleromaFE.
2024-02-14Websocket refactor to use Phoenix.Socket.TransportMark Felder
This will make us compatible with Cowboy and Bandit
2024-02-14Merge branch 'gun-logs' into 'develop'feld
Gun connection pool logs See merge request pleroma/pleroma!4063
2024-02-14Merge branch 'proxy-headers' into 'develop'feld
MediaProxy RFC compliance See merge request pleroma/pleroma!4062
2024-02-14Change some Gun connection pool logs to debug levelMark Felder
2024-02-14MediaProxy RFC complianceMark Felder
2024-02-14Config: Check the permissions of the linked file instead of the symlink↵Haelwenn (lanodan) Monnier
2024-02-12Merge branch 'gitignore' into 'develop'feld
Update .gitignore See merge request pleroma/pleroma!4059
2024-02-12Update .gitignoreMark Felder
2024-02-12Merge branch 'notifications-query' into 'develop'feld
Fix notifications query to use the index See merge request pleroma/pleroma!4058
2024-02-12Changelog for notifications fix pulled in from RebasedMark Felder
2024-02-12Fix notifications indexAlex Gleason
2024-02-09Merge branch 'gun-fix' into 'develop'feld
Fix Gun connection supervisor logic error See merge request pleroma/pleroma!4056
2024-02-09Fix Gun connection supervisor logic errorMark Felder
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.
2024-02-09Use User.full_nickname/1 in oauth html templatemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-07Merge branch 'rich-media-tests' into 'develop'feld
Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths See merge request pleroma/pleroma!4053
2024-02-06RichMedia.Helpers: move the validate_page_url/1 function to the Parser moduleMark Felder
This will ensure that the page validation happens in Parser.parse/1 so it can be called from anywhere and still filter invalid URLs.
2024-02-06Pleroma.Web.RichMedia.Parser: Remove test-specific codepathsMark Felder
Also consolidate Tesla mocks into the HttpRequestMock module. Tests were not exercising the real codepaths. The Rich Media Preview only works with https, but most of these tests were only mocking http.
2024-02-05Merge branch 'rich-media-cache' into 'develop'feld
Fix Rich Media Previews for updated activities See merge request pleroma/pleroma!4052
2024-02-05Ensure URLs with IP addresses for the host do not generate previewsMark Felder
2024-02-04URI.authority is deprecatedMark Felder
2024-02-04Fix Rich Media Previews for updated activitiesMark Felder
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.
2024-02-04Merge branch 'dialyzer-fixes' into 'develop'feld
Dialyzer and gradient fixes See merge request pleroma/pleroma!4051
2024-02-02ChangelogMark Felder
2024-02-02Pleroma.Filter: fix gradient errorMark Felder
lib/pleroma/filter.ex: The clause on line 220 cannot be reached
2024-02-02Pleroma.Config.DeprecationWarnings: fix gradient errorsMark Felder
lib/pleroma/config/deprecation_warnings.ex: The atom :error on line 292 is expected to have type :ok | nil but it has type :error lib/pleroma/config/deprecation_warnings.ex: The function call move_namespace_and_warn( [ {Pleroma.ActivityExpiration, Pleroma.Workers.PurgeExpiredActivity, " * `config :pleroma, Pleroma.ActivityExpiration` is now `config :pleroma, Pleroma.Workers.PurgeExpiredActivity`"} ], warning_preface ) on line 350 is expected to have type :ok | nil but it has type :ok | nil | :error lib/pleroma/config/deprecation_warnings.ex: The function call move_namespace_and_warn( [ {Pleroma.Plugs.RemoteIp, Pleroma.Web.Plugs.RemoteIp, " * `config :pleroma, Pleroma.Plugs.RemoteIp` is now `config :pleroma, Pleroma.Web.Plugs.RemoteIp`"} ], warning_preface ) on line 366 is expected to have type :ok | nil but it has type :ok | nil | :error lib/pleroma/config/deprecation_warnings.ex: The atom :error on line 390 is expected to have type :ok | nil but it has type :error lib/pleroma/config/deprecation_warnings.ex: The atom :error on line 413 is expected to have type :ok | nil but it has type :error
2024-02-02Pleroma.Emoji.Pack: fix gradient errorMark Felder
lib/pleroma/emoji/pack.ex: The tuple {:cwd, tmp_dir} on line 103 is expected to have type :cooked | :keep_old_files | :memory | :verbose | {:cwd, list(char())} | {:file_filter, (record(:zip_file) -> boolean())} | {:file_list, list(:file.name())} but it has type {:cwd, binary()}
2024-02-02Pleroma Emoji mix task: fix gradient errorMark Felder
lib/mix/tasks/pleroma/emoji.ex: The tuple {:cwd, pack_path} on line 114 is expected to have type :cooked | :keep_old_files | :memory | :verbose | {:cwd, list(char())} | {:file_filter, (record(:zip_file) -> boolean())} | {:file_list, list(:file.name())} but it has type {:cwd, binary()}
2024-02-02Pleroma.HTTP.RequestBuilder: fix gradient errorMark Felder
lib/pleroma/http/request_builder.ex: The variable key on line 69 is expected to have type String.t() but it has type atom()