fedibird-fe/app/models/concerns
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
2018-07-03 01:47:56 +02:00
..
account_avatar.rb Validate HTTP response length while receiving (#6891) 2018-03-26 14:02:10 +02:00
account_finder_concern.rb Fix UniqueUsernameValidator comparison (#6926) 2018-03-27 04:33:57 +02:00
account_header.rb Validate HTTP response length while receiving (#6891) 2018-03-26 14:02:10 +02:00
account_interactions.rb Re-add follow recommendations API (#7918) 2018-07-03 01:47:56 +02:00
attachmentable.rb Fix jpeg files sometimes being returned with a .jpe extension (#7881) 2018-06-24 13:33:06 +02:00
cacheable.rb Fix cache_associated no longer working (#7320) 2018-05-03 10:41:41 +02:00
expireable.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
omniauthable.rb Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available (#6669) 2018-03-07 06:19:10 +01:00
paginable.rb Fix prev/next links on public profile page (#6497) 2018-02-26 03:31:28 +01:00
relationship_cacheable.rb Cache relationships in API (#6482) 2018-02-18 03:14:46 +01:00
remotable.rb Fix fetch of remote image with multiple Content-Type headers (#7749) 2018-06-06 20:50:07 +02:00
status_threading_concern.rb Fix context performance by partially reverting #7083 (#7734) 2018-06-04 22:20:12 +02:00
streamable.rb Define instance method outside #included (#3128) 2017-05-19 11:41:45 +02:00