mastodon/app/serializers/activitypub
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
* Add silent column to mentions

* Save silent mentions in ActivityPub Create handler and optimize it

Move networking calls out of the database transaction

* Add "limited" visibility level masked as "private" in the API

Unlike DMs, limited statuses are pushed into home feeds. The access
control rules between direct and limited statuses is almost the same,
except for counter and conversation logic

* Ensure silent column is non-null, add spec

* Ensure filters don't check silent mentions for blocks/mutes

As those are "this person is also allowed to see" rather than "this
person is involved", therefore does not warrant filtering

* Clean up code

* Use Status#active_mentions to limit returned mentions

* Fix code style issues

* Use Status#active_mentions in Notification

And remove stream_entry eager-loading from Notification
2018-10-17 17:13:04 +02:00
..
accept_follow_serializer.rb
activity_serializer.rb
actor_serializer.rb Do not check for file existence when serializing ActivityPub actor (#8386) 2018-08-23 16:39:22 +02:00
add_serializer.rb Fix wrong target URIs in ActivityPub Add/Remove (#6668) 2018-03-07 05:58:24 +01:00
block_serializer.rb Fallback to old on-the-fly URI for follows/blocks if no stored URI (#7371) 2018-05-05 23:07:51 +02:00
collection_serializer.rb Better pagination for ActivityPub outbox (#7356) 2018-05-04 19:19:11 +02:00
delete_actor_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
delete_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
emoji_serializer.rb
flag_serializer.rb Federated reports (#6570) 2018-02-28 06:54:55 +01:00
follow_serializer.rb Fallback to old on-the-fly URI for follows/blocks if no stored URI (#7371) 2018-05-05 23:07:51 +02:00
image_serializer.rb Fix nil error in focal_point? (#6537) 2018-02-22 17:42:33 +01:00
like_serializer.rb
note_serializer.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
outbox_serializer.rb Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
public_key_serializer.rb
reject_follow_serializer.rb
remove_serializer.rb Fix wrong target URIs in ActivityPub Add/Remove (#6668) 2018-03-07 05:58:24 +01:00
undo_announce_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
undo_block_serializer.rb
undo_follow_serializer.rb
undo_like_serializer.rb
update_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00