Glitch-Shrike/spec
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
..
controllers Re-add follow recommendations API (#7918) 2018-07-03 01:47:56 +02:00
fabricators Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
helpers Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
lib Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Re-add follow recommendations API (#7918) 2018-07-03 01:47:56 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Fix domain hiding logic (#7765) 2018-06-09 22:46:54 +02:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Add a spec for UniqueUsernameValidator (#6927) 2018-03-27 05:22:58 +02:00
views Paginate descendant statuses in public page (#7148) 2018-04-23 19:27:35 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
spec_helper.rb Disable simplecov on CircleCI (#7416) 2018-05-09 16:59:58 +02:00