You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/services
Eugen Rochko da8fe8079e
Re-add follow recommendations API (#7918)
* Re-add follow recommendations API

    GET /api/v1/suggestions

Removed in 8efa081f21 due to Neo4J
dependency. The algorithm uses triadic closures, takes into account
suspensions, blocks, mutes, domain blocks, excludes locked and moved
accounts, and prefers more recently updated accounts.

* Track interactions with people you don't follow

Replying to, favouriting and reblogging someone you're not following
will make them show up in follow recommendations. The interactions
have different weights:

- Replying is 1
- Favouriting is 10 (decidedly positive interaction, but private)
- Reblogging is 20

Following them, muting or blocking will remove them from the list,
obviously.

* Remove triadic closures, ensure potential friendships are trimmed
7 years ago
..
activitypub Raise Mastodon::RaceConditionError if Redis lock failed (#7511) 7 years ago
concerns
pubsubhubbub
account_search_service.rb
after_block_domain_from_account_service.rb Fix domain hiding logic (#7765) 7 years ago
after_block_service.rb
authorize_follow_service.rb
backup_service.rb
base_service.rb
batched_remove_status_service.rb Improve counter caches on Status and Account (#7644) 7 years ago
block_domain_service.rb
block_service.rb
bootstrap_timeline_service.rb Add autofollow option to invites (#7805) 7 years ago
fan_out_on_write_service.rb Reduce wasted work in RemoveStatusService due to inactive followers (#7672) 7 years ago
favourite_service.rb Re-add follow recommendations API (#7918) 7 years ago
fetch_atom_service.rb
fetch_link_card_service.rb Skip processing when HEAD method returns 501 (#7730) 7 years ago
fetch_oembed_service.rb
fetch_remote_account_service.rb
fetch_remote_status_service.rb
follow_service.rb
mute_service.rb
notify_service.rb Add REST API for Web Push Notifications subscriptions (#7445) 7 years ago
post_status_service.rb Re-add follow recommendations API (#7918) 7 years ago
precompute_feed_service.rb
process_feed_service.rb
process_hashtags_service.rb Exclude unlisted, private and direct toots from affecting trends (#7686) 7 years ago
process_interaction_service.rb
process_mentions_service.rb
reblog_service.rb Re-add follow recommendations API (#7918) 7 years ago
reject_follow_service.rb
remove_status_service.rb Reduce wasted work in RemoveStatusService due to inactive followers (#7672) 7 years ago
report_service.rb
resolve_account_service.rb Raise Mastodon::RaceConditionError if Redis lock failed (#7511) 7 years ago
resolve_url_service.rb
search_service.rb
send_interaction_service.rb
subscribe_service.rb
suspend_account_service.rb Improve counter caches on Status and Account (#7644) 7 years ago
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsubscribe_service.rb
update_account_service.rb
update_remote_profile_service.rb Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501) 7 years ago
verify_salmon_service.rb