Commit Graph

19 Commits (066efc2d3f6a3b07ac6c92b29507a0dea22bbecd)

Author SHA1 Message Date
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern () 2024-09-20 08:51:37 +00:00
Christian Schmidt e29c401f77
Add lang attribute on preview card title () 2024-08-09 13:05:34 +00:00
Jeong Arm 9bae237792
Change confirmation prompt on trending management () 2024-08-09 12:47:02 +00:00
Matt Jankowski b5d1d48266
Convert `form_for` -> `form_with` in views () 2024-06-14 09:54:22 +00:00
Matt Jankowski 8d5ed19c6d
Migrate `form_tag` to `form_with` in admin and auth views () 2024-06-14 09:49:10 +00:00
Matt Jankowski 32ead51e5a
Add material design icons to admin/settings views ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-23 16:43:49 +00:00
Matt Jankowski f445d33fd6
Fix haml-lint `LineLength` cops in app/views/admin () 2024-03-15 11:19:00 +00:00
Matt Jankowski ab0fb81479
Configure brakeman to ignore url safe preview card urls () 2023-10-20 15:32:16 +02:00
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link () 2023-08-24 09:56:23 +02:00
Michael Stanclift 063482a63f
Fix trending publishers table not rendering correctly on narrow screens () 2023-07-13 11:12:51 +02:00
Jed Fox 768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items () 2023-06-02 19:58:18 +02:00
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links () 2022-10-08 16:45:40 +02:00
Eugen Rochko fd9a9b07c2
Fix trends returning less results per page when filtered in REST API ()
- 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 a794117679
Fix individually approved/rejected statuses/links showing as pending review () 2022-03-15 07:51:55 +01:00
Eugen Rochko 9b58fb1ea4
Add descriptions to trending features in admin UI () 2022-03-02 18:57:44 +01:00
Eugen Rochko 27965ce5ed
Add trending statuses ()
* 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
Eugen Rochko 3aebe711fd
Change languages to be listed under standard instead of native name in admin UI () 2022-02-09 04:15:38 +01:00
Eugen Rochko 12b3ff6c6d
Fix error on trending hashtags/links pages in admin UI due to missing constant () 2021-11-26 01:12:39 +01:00
Eugen Rochko 6e50134a42
Add trending links ()
* 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
2021-11-25 13:07:38 +01:00