1
0
Fork 0
forked from fedi/mastodon
mastodon/app/lib/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
..
activity Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
activity.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
adapter.rb Fix incorrect context definition for the "featured" keyword (#8090) 2018-07-30 19:33:37 +02:00
case_transform.rb Add serializing/unserializing of "locked" actor attribute (#4585) 2017-08-12 17:41:03 +02:00
linked_data_signature.rb Add CLI task for rotating keys (#8466) 2018-08-26 20:21:03 +02:00
tag_manager.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00