Merge branch 'fork' into backend-new

This commit is contained in:
mkljczk 2024-12-06 20:30:44 +01:00
commit 2ec404eca4
9 changed files with 18 additions and 9 deletions

View file

@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## 2.7.1
### Changed
- Accept `application/activity+json` for requests to `/.well-known/nodeinfo`
### Fixed
- Truncate remote user fields, avoids them getting rejected
- Improve the `FollowValidator` to successfully incoming activities with an errant `cc` field.
- Resolved edge case where the API can report you are following a user but the relationship is not fully established.
- The Swoosh email adapter for Mailgun was missing a new dependency on `:multipart`
- Fix Mastodon WebSocket authentication
## 2.7.0 ## 2.7.0
### Security ### Security

View file

@ -1 +0,0 @@
Truncate remote user fields, avoids them getting rejected

View file

@ -1 +0,0 @@
Improve the FollowValidator to successfully incoming activities with an errant cc field.

View file

@ -1 +0,0 @@
Resolved edge case where the API can report you are following a user but the relationship is not fully established.

View file

@ -1 +0,0 @@
The Swoosh email adapter for Mailgun was missing a new dependency on :multipart

View file

@ -1 +0,0 @@
Fix Mastodon WebSocket authentication

View file

@ -1 +0,0 @@
Accept application/activity+json for requests to .well-known/nodeinfo

View file

@ -110,11 +110,14 @@ def unzip(zip, dest) do
new_file_path = Path.join(dest, path) new_file_path = Path.join(dest, path)
new_file_path path
|> Path.dirname() |> Path.dirname()
|> then(&Path.join(dest, &1))
|> File.mkdir_p!() |> File.mkdir_p!()
File.write!(new_file_path, data) if not File.dir?(new_file_path) do
File.write!(new_file_path, data)
end
end) end)
end end
end end

View file

@ -8,7 +8,7 @@ def project do
app: :pleroma, app: :pleroma,
name: "pl", name: "pl",
compat_name: "Pleroma", compat_name: "Pleroma",
version: version("2.7.0"), version: version("2.7.51"),
elixir: "~> 1.14", elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(), compilers: Mix.compilers(),