From: Haelwenn Date: Fri, 4 Jun 2021 18:53:09 +0000 (+0000) Subject: Merge branch 'tests/openapi-everywhere' into 'develop' X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=0c56f9de0d607b88fd107e0bd13ef286f0629346;p=akkoma Merge branch 'tests/openapi-everywhere' into 'develop' Put OpenAPI ~everywhere in tests See merge request pleroma/pleroma!3324 --- 0c56f9de0d607b88fd107e0bd13ef286f0629346 diff --cc CHANGELOG.md index 6e27c4561,ce0bb1cb5..2d1ff5b7b --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -6,37 -6,13 +6,40 @@@ The format is based on [Keep a Changelo ## Unreleased +### Changed + +- **Breaking:** Configuration: `:chat, enabled` moved to `:shout, enabled` and `:instance, chat_limit` moved to `:shout, limit` - The `application` metadata returned with statuses is no longer hardcoded. Apps that want to display these details will now have valid data for new posts after this change. +- HTTPSecurityPlug now sends a response header to opt out of Google's FLoC (Federated Learning of Cohorts) targeted advertising. +- Email address is now returned if requesting user is the owner of the user account so it can be exposed in client and FE user settings UIs. + +### Added + +- MRF (`FollowBotPolicy`): New MRF Policy which makes a designated local Bot account attempt to follow all users in public Notes received by your instance. Users who require approving follower requests or have #nobot in their profile are excluded. +- Return OAuth token `id` (primary key) in POST `/oauth/token`. +- `AnalyzeMetadata` upload filter for extracting attachment dimensions and generating blurhashes. +- Attachment dimensions and blurhashes are federated when available. +- Pinned posts federation + +### Fixed +- Don't crash so hard when email settings are invalid. +- Checking activated Upload Filters for required commands. + ### Removed + - **Breaking**: Remove deprecated `/api/qvitter/statuses/notifications/read` (replaced by `/api/v1/pleroma/notifications/read`) + ## Unreleased (Patch) +### Fixed + +- Try to save exported ConfigDB settings (migrate_from_db) in the system temp directory if default location is not writable. +- Uploading custom instance thumbnail via AdminAPI/AdminFE generated invalid URL to the image +- Applying ConcurrentLimiter settings via AdminAPI +- User login failures if their `notification_settings` were in a NULL state. +- Mix task `pleroma.user delete_activities` query transaction timeout is now :infinity +- MRF (`SimplePolicy`): Embedded objects are now checked. If any embedded object would be rejected, its parent is rejected. This fixes Announces leaking posts from blocked domains. +- Fixed some Markdown issues, including trailing slash in links. + ## [2.3.0] - 2020-03-01 ### Security diff --cc test/pleroma/web/mastodon_api/controllers/status_controller_test.exs index 055dd4bea,4c0149a4c..d478a81ee --- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs @@@ -1910,10 -1894,10 +1911,10 @@@ defmodule Pleroma.Web.MastodonAPI.Statu "visibility" => "local" }) - local = Pleroma.Constants.as_local_public() + local = Utils.as_local_public() assert %{"content" => "cofe", "id" => id, "visibility" => "local"} = - json_response(conn_one, 200) + json_response_and_validate_schema(conn_one, 200) assert %Activity{id: ^id, data: %{"to" => [^local]}} = Activity.get_by_id(id) end