Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Tue, 2 Mar 2021 05:26:30 +0000 (08:26 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Tue, 2 Mar 2021 05:26:30 +0000 (08:26 +0300)
1  2 
CHANGELOG.md
docs/configuration/cheatsheet.md
lib/pleroma/web/mastodon_api/views/status_view.ex
test/pleroma/web/mastodon_api/views/status_view_test.exs

diff --cc CHANGELOG.md
index 974925e4fa060a7205fb116c99232803a3ca7316,812816f48c205142cc35b6c3dd4417580fe58962..35f68d2fe25134c54b77379a043c012ac410b784
@@@ -37,9 -37,9 +37,10 @@@ The format is based on [Keep a Changelo
  - **Breaking:** AdminAPI `GET /api/pleroma/admin/instances/:instance/statuses` changed response format and added the number of total users posts.
  - Admin API: Reports now ordered by newest
  - Pleroma API: `GET /api/v1/pleroma/chats` is deprecated in favor of `GET /api/v2/pleroma/chats`.
+ - Pleroma API: Reroute `/api/pleroma/*` to `/api/v1/pleroma/*`
  
  </details>
 +- Improved hashtag timeline performance (requires a background migration). 
  
  ### Added
  
Simple merge
index 48f5f0dd0cda5eb7d62643b7a329948dbd9acd27,2de3afc4fb15f59dfb3f2b58ba584409fd09f678..4172cc2945ecb280720f3d06f30763ba99f8190e
@@@ -262,14 -262,11 +262,11 @@@ defmodule Pleroma.Web.MastodonAPI.Statu
        mentions: [],
        tags: [
          %{
 -          name: "#{object_data["tag"]}",
 -          url: "http://localhost:4001/tag/#{object_data["tag"]}"
 +          name: "#{hd(object_data["tag"])}",
 +          url: "http://localhost:4001/tag/#{hd(object_data["tag"])}"
          }
        ],
-       application: %{
-         name: "Web",
-         website: nil
-       },
+       application: nil,
        language: nil,
        emojis: [
          %{