]> cat aescling's git repositories - mastodon.git/commit
Add cold-start follow recommendations (#15945)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 12 Apr 2021 10:37:14 +0000 (12:37 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Apr 2021 10:37:14 +0000 (12:37 +0200)
commitf7117646afddb2676e9275d8efe90c3a20c59021
treeefb9ba8f7b22d27b0a1ea595cfa30030f5d03b09
parentad61265268f13d9b2a04e2e176724d8a7376f85a
Add cold-start follow recommendations (#15945)
32 files changed:
app/controllers/admin/follow_recommendations_controller.rb [new file with mode: 0644]
app/controllers/api/v1/suggestions_controller.rb
app/controllers/api/v2/suggestions_controller.rb [new file with mode: 0644]
app/javascript/mastodon/actions/suggestions.js
app/javascript/mastodon/features/compose/components/search_results.js
app/javascript/mastodon/reducers/suggestions.js
app/lib/potential_friendship_tracker.rb
app/models/account.rb
app/models/account_suggestions.rb [new file with mode: 0644]
app/models/account_summary.rb [new file with mode: 0644]
app/models/concerns/account_associations.rb
app/models/follow_recommendation.rb [new file with mode: 0644]
app/models/follow_recommendation_filter.rb [new file with mode: 0644]
app/models/follow_recommendation_suppression.rb [new file with mode: 0644]
app/models/form/account_batch.rb
app/policies/follow_recommendation_policy.rb [new file with mode: 0644]
app/serializers/rest/suggestion_serializer.rb [new file with mode: 0644]
app/views/admin/follow_recommendations/_account.html.haml [new file with mode: 0644]
app/views/admin/follow_recommendations/show.html.haml [new file with mode: 0644]
app/workers/scheduler/follow_recommendations_scheduler.rb [new file with mode: 0644]
config/locales/en.yml
config/navigation.rb
config/routes.rb
config/sidekiq.yml
db/migrate/20210322164601_create_account_summaries.rb [new file with mode: 0644]
db/migrate/20210323114347_create_follow_recommendations.rb [new file with mode: 0644]
db/migrate/20210324171613_create_follow_recommendation_suppressions.rb [new file with mode: 0644]
db/schema.rb
db/views/account_summaries_v01.sql [new file with mode: 0644]
db/views/follow_recommendations_v01.sql [new file with mode: 0644]
spec/fabricators/follow_recommendation_suppression_fabricator.rb [new file with mode: 0644]
spec/models/follow_recommendation_suppression_spec.rb [new file with mode: 0644]