hometown/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 Revert #4616 (#4638) 2017-08-19 02:23:47 +02:00
activity_serializer.rb Use atomUri in Undo activity of Announce (#5376) 2017-10-14 14:42:09 +02:00
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 Encode custom emojis as resolveable objects in ActivityPub (#5243) 2017-10-07 17:43:42 +02:00
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 Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
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 Add public key declaration to actors (#4215) 2017-07-17 02:37:27 +02:00
reject_follow_serializer.rb Revert #4616 (#4638) 2017-08-19 02:23:47 +02:00
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 Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
undo_follow_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
undo_like_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
update_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00