Commit graph

31 commits

Author SHA1 Message Date
KMY
3c3ee557d0 Merge remote-tracking branch 'parent/main' into upstream-20241206 2024-12-06 12:17:45 +09:00
Eugen Rochko
48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
KMY
8a075ba4c6 Merge remote-tracking branch 'parent/main' into upstream-20241126 2024-11-26 12:56:31 +09:00
Claire
e68b26c8df
Fix posts made in the future being allowed to trend (#32996) 2024-11-20 12:41:22 +00:00
KMY
1c1f76697b Merge remote-tracking branch 'parent/main' into upstream-20241101 2024-11-01 08:04:03 +09:00
Matt Jankowski
babee06794
Add coverage for StatusTrend and PreviewCardTrend models, add locales class method to RankedTrend (#32688) 2024-10-29 15:46:32 +00:00
KMY
78446fead4 Merge remote-tracking branch 'parent/main' into upstream-20240227 2024-02-27 08:53:15 +09:00
Matt Jankowski
8429d07454
Add RankedTrend concern for trends classes (#29388) 2024-02-26 13:45:39 +00:00
KMY(雪あすか)
8793bc286e
Add: #40 拡張ドメインブロックに「トレンドに掲載しない」を追加 (#492) 2024-01-22 09:06:05 +09:00
KMY
991c0dfddf Merge remote-tracking branch 'parent/main' into kb_development 2023-11-02 10:24:38 +09:00
Claire
6c52f8286b
Fix posts from force-sensitized accounts being able to trend (#27620) 2023-10-30 22:32:25 +00:00
KMY(雪あすか)
235bef36d0
Add: 検索許可「ローカルとフォロワー」 (#60) 2023-10-05 16:37:27 +09:00
KMY
3b290ef958 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-15 10:21:33 +09:00
Eugen Rochko
fc6825055b
Change score half-life for trending posts from 2 hours to 1 hour (#26915) 2023-09-14 09:20:14 +02:00
KMY
fdf1d6df38 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-06 10:09:07 +09:00
Claire
cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 2023-09-05 15:37:23 +02:00
KMY
c090b20f39 Fix ruby lint 2023-08-08 10:57:49 +09:00
KMY
f18fa97f0c Merge commit '71db616fed' into kb_migration 2023-07-14 12:43:55 +09:00
Eugen Rochko
610cf6c371
Fix trend calculation working on too many items at a time (#25835) 2023-07-08 20:16:48 +02:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
8a412f0f59 Fix status trends 2023-04-15 09:56:30 +09:00
KMY
81f32dee4f Change column name emoji_reactions_count_per_account to emoji_reaction_accounts_count 2023-04-14 17:27:50 +09:00
KMY
fed859a7d6 Add emoji_reactions_count_per_account 2023-04-14 10:20:15 +09:00
KMY
e6fcf1543b Add emoji reactions to trends 2023-04-10 14:08:53 +09:00
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 2023-02-19 07:09:40 +09:00
Eugen Rochko
45ebdb72ca
Add support for language preferences for trending statuses and links (#18288) 2022-10-08 16:45:40 +02:00
Eugen Rochko
6476f7e4da
Change trending statuses to only show one status from each account (#18181)
Calculate trends in temporary sets to avoid having to manage items
that go below the decay threshold while not having any moments
where a half-processed set is accessible to end-users
2022-04-29 22:42:42 +02:00
Eugen Rochko
6726d2933a
Change half-life of trending status scores from 6 hours to 2 hours (#18182) 2022-04-29 11:46:59 +02:00
Eugen Rochko
68273a7c6d
Fix dangling language-specific trends (#17997)
- Change score half-life for trending statuses from 2 to 6 hours
- Change score threshold for trimming old items from 1 to 0.3
2022-04-08 19:35:31 +02:00
Eugen Rochko
fd9a9b07c2
Fix trends returning less results per page when filtered in REST API (#17996)
- Change filtering and pagination to occur in SQL instead of Redis
- Change rank/score displayed on trends in admin UI to be locale-specific
2022-04-08 17:10:53 +02:00
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