- Try to normalize the activity instead of object wherever possible
- Put the `user` key on non-home timelines as well so bookmarks and
thread mutes are preloaded there as well
- Skip trying to get the user when rendering mentions if the id ==
as:Public or user's follower collection
- Preload the object when getting replied to activities and do not crash
if it's not present
This almost solves the problem of Pleroma hammering the db with a lot
of queries when rendering timelines, the things left are
1. When rendering mentions and the user is not in cache, save it for
later and request all uncached users in one go
2. Somehow get rid of needing to get the latest follow activity to
detect the value of `requested` in a relationship. (create a database
view for user relationship and cache it maybe?)
Anyone who is interested in dropping blocks can write their own MRF
policy at this point. This setting predated the MRF framework.
Disabling the side effect (unsubscription) is still a config option
per policy.
Do not fetch the reply object in `fix_type` unless the object has the `name` key and use a depth limit when fetching it
See merge request pleroma/pleroma!1552
* origin/develop: (302 commits)
MRF: ensure that subdomain_match calls are case-insensitive
Strip internal fields including likes from incoming and outgoing activities
tests for Pleroma.Uploaders
Mastodon API: Fix thread mute detection
Uploader.S3 added support stream uploads
Mastodon API: Set follower/following counters to 0 when hiding followers/following is enabled
Return profile URL in MastodonAPI's `url` field
Simplify logic to mention.js `url` field
Return profile URL when available instead of actor URI for MastodonAPI mention URL
Do not rembed the object after updating it
OStatus tests: stop relying on embedded objects
ActivityPub tests: remove assertions of embedded object being updated, because the objects are no longer supposed to be embedded
OStatus Announce Representer: Do not depend on the object being embedded in the Create activity
Stop depending on the embedded object in restrict_favorited_by
[#1150] fixed parser TwitterCard
tests for CommonApi/Utils
Remove Reply-To from report emails
Do not add the "next" key to likes.json if there is no more items
Replace "impode" with "implode" for
Remove longfox emoji set
...