Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into fork
Browse files Browse the repository at this point in the history
Signed-off-by: mkljczk <[email protected]>
  • Loading branch information
mkljczk committed Dec 6, 2024
2 parents 74b3849 + 16027b7 commit b38501e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).

## 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

### Security
Expand Down
1 change: 0 additions & 1 deletion changelog.d/bugfix-truncate-remote-user-fields.fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/follow-validator.fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/following-state.fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/mailgun.fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/mastodon-websocket.fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/well-known.change

This file was deleted.

7 changes: 5 additions & 2 deletions lib/pleroma/frontend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,14 @@ defmodule Pleroma.Frontend do

new_file_path = Path.join(dest, path)

new_file_path
path
|> Path.dirname()
|> then(&Path.join(dest, &1))
|> 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
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Pleroma.Mixfile do
app: :pleroma,
name: "pl",
compat_name: "Pleroma",
version: version("2.7.0"),
version: version("2.7.51"),
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(),
Expand Down

0 comments on commit b38501e

Please sign in to comment.