Commit Graph

5 Commits (cefa526c6d3a45df2d0fcb7643ced828e2e87dea)

Author SHA1 Message Date
Eugen Rochko e3a2203061
Add offset pagination to trends in REST API (#17872) 4 years ago
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
4 years ago
Eugen Rochko a27729ee48
Change reblogs to not count towards hashtag trends anymore (#17501) 4 years ago
Eugen Rochko fe45184b36
Change trending hashtags threshold back from 15 to 5 (#17122) 4 years ago
Eugen Rochko 6e50134a42
Add trending links (#16917)
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
4 years ago