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/policies
Eugen Rochko 27965ce5ed
Add trending statuses (#17431)
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
3 years ago
..
account_moderation_note_policy.rb
account_policy.rb Add trending statuses (#17431) 3 years ago
account_warning_policy.rb Fix issues when attempting to appeal an old strike (#17554) 3 years ago
account_warning_preset_policy.rb
announcement_policy.rb
appeal_policy.rb Add appeals (#17364) 3 years ago
application_policy.rb
backup_policy.rb
custom_emoji_policy.rb
delivery_policy.rb Add management of delivery availability in Federation settings (#15771) 4 years ago
domain_allow_policy.rb
domain_block_policy.rb Fix performance on instances list in admin UI (#15282) 4 years ago
email_domain_block_policy.rb
follow_recommendation_policy.rb Add cold-start follow recommendations (#15945) 4 years ago
instance_policy.rb Add ability to purge undeliverable domains from admin interface (#16686) 3 years ago
invite_policy.rb
ip_block_policy.rb
poll_policy.rb
preview_card_policy.rb Add trending statuses (#17431) 3 years ago
preview_card_provider_policy.rb Add trending statuses (#17431) 3 years ago
relay_policy.rb
report_note_policy.rb
report_policy.rb
rule_policy.rb Add server rules (#15769) 4 years ago
settings_policy.rb
status_policy.rb Add trending statuses (#17431) 3 years ago
tag_policy.rb Add trending statuses (#17431) 3 years ago
user_policy.rb Add ability to skip sign-in token authentication for specific users (#16427) 4 years ago