donphan/app/models/trends
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
2022-02-25 00:34:14 +01:00
..
base.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
history.rb Add trending links (#16917) 2021-11-25 13:07:38 +01:00
links.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
preview_card_batch.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
preview_card_filter.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
preview_card_provider_batch.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
preview_card_provider_filter.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
query.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
status_batch.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
status_filter.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
statuses.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
tag_batch.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
tag_filter.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
tags.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00