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
application_policy.rb
backup_policy.rb
custom_emoji_policy.rb
delivery_policy.rb
domain_allow_policy.rb
domain_block_policy.rb
email_domain_block_policy.rb
follow_recommendation_policy.rb
instance_policy.rb
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
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