Ben Halpern
2f9769a89d
Add new sidebar billboard locations and remove legacy campaign area ( #20562 )
...
* Add new sidebar billboard locations
* Remove some specs
* Remove campaign tests
* Adjust tag-allowed billboards
* Fix up targeting functionality
* Fix sidebar third render
2024-02-08 16:55:48 +00:00
Anna Buianova
07ffb2e3be
Removed spammers from followers list ( #20603 )
...
* Remove spam and suspended users from followers list (api and dashboards)
* Fixed the api followers endpoint
* Fixed issue with follower_ids query
2024-02-08 13:57:15 +00:00
Ben Halpern
2d9c87d9d3
Add ability to view specific billboard via params in any context if it is live ( #20599 )
...
* Fix AudienceSegmentRefreshAllWorker args issue
* Add ability to view specific billboard via params if it is live
* Fix lingering
* Refactor to clean up
2024-02-07 15:11:22 -05:00
Anna Buianova
7125a62db0
Changed logic for hiding and displaying low-quality marker for comments based on their score ( #20581 )
...
* Specs for revised comments thresholds
* Changed thresholds for low quality comments
* Added specs for comments page
* Fixed /comments and related specs
* Reorganized code for comments trees
* Specs for podcasts episodes comments
* Refactored Comments::Tree
* Refactored Comments::Tree + added specs
* Made build_sort_query private
2024-02-05 09:27:24 -05:00
Ben Halpern
ee29318126
Add a/b test for which comments to show in feed ( #20332 )
...
* Add a/b test for which comments to show in feed
* Adjust figure
* Started at
* Move scope placement around
* Add tests for different comments_variants passed
* Fix typo
2024-01-29 12:18:50 -05:00
Anna Buianova
58bd07d729
Render 404 when root comment has low score and no children ( #20560 )
2024-01-26 17:21:18 +00:00
Anna Buianova
a4d9b4f0d1
Hide low score comments on user profile ( #20556 )
2024-01-25 16:06:50 +00:00
Ben Halpern
b763ba8544
Allow pages to have subdirectories ( #20549 )
...
* Allow pages to have subdirectories
* Add locale text
2024-01-24 16:09:29 -05:00
Philip How
7149558f34
order flags by users, then comments, then articles ( #20462 )
...
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
2024-01-24 10:07:28 -05:00
Philip How
d615fcef56
Add new members filter to mod center ( #20542 )
...
* fix jest
* Update safe_params_list.vcl
---------
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2024-01-23 16:07:45 -05:00
Ben Halpern
d86689f63d
Allow pages to render .txt requests ( #20547 )
...
* Allow pages to render .txt requests
* Adjust routes
2024-01-22 11:12:22 -05:00
Anna Buianova
947aaef7c1
Return 404 if user is a spammer ( #20546 )
2024-01-22 15:20:42 +00:00
Philip How
fb855c97bd
Update badge awarding language ( #20516 )
...
* update badge language files
* update admin controller
* fix tests
* no actually fix the tests
* remove 'community' from notification
* fix spec
* fix interpolations
2024-01-17 09:26:19 -05:00
Ben Halpern
5c2723a04e
Update safe params and billboard cache config ( #20530 )
2024-01-16 12:13:29 -05:00
Anna Buianova
08d34d5d34
Don't show low scoring articles in timeframe feeds ( #20525 )
2024-01-15 14:14:32 +00:00
Anna Buianova
9c7476db62
Make articles from a user with spam role inaccessible (direct access) ( #20515 )
...
* Make articles inaccessible if their author has spam role
* Improve specs a bit for showing spammer articles
2024-01-12 15:36:44 +00:00
Philip How
33fd9836be
Add CSS as pages template option ( #20512 )
...
* add css as pages option
* don't forget schema
* fix test
* add api support
2024-01-12 15:35:38 +00:00
Ben Halpern
108d753d68
Add articles clickbait_score as factor in final feed ordering ( #20493 )
...
* Add articles clickbait_score
* Add attributes
* Fix field test config
2024-01-05 09:37:53 -05:00
Ben Halpern
e376e2b887
Add cookie requirement option for billboards ( #20486 )
...
* Add cookie requirement for billboards
* Clean up tests
* Fix up tests
* Adjust tests
* Adjust tests
2024-01-03 16:33:08 +00:00
Anna Buianova
473594f192
Match spam role with existing suspended actions ( #20477 )
...
* Started matching spam and suspended roles
* Match spam and suspended roles in most cases
* Fixed check_suspended for unauthenticated users
2023-12-27 20:12:50 +00:00
Philip How
8928d86982
Order same reactables together in the list ( #20461 )
2023-12-19 13:34:21 +00:00
Ben Halpern
f0673648c2
Add preferred_article_ids to billboards ( #20437 )
...
* Add preferred_article_ids to billboards
* Adjust query
* Refactor method
* Refactor method
* Fix input type
* Add feature flag
2023-12-18 19:20:56 +00:00
Philip How
78b42c5efd
Add trusted role via API ( #20455 )
...
* rubocop
* use has_trusted_role? in tests, not trusted? due to pesky caching issues
* swagger
2023-12-18 18:38:05 +00:00
Philip How
199a88a254
fix notes typo + correctly add event listener to correct buttons ( #20459 )
2023-12-18 15:07:30 +00:00
Philip How
2ff439da80
Improve abuse reports UX ( #20433 )
...
* change to buttons + updates to styles
* add expand/collapse all and increase number of displayed entries
* fix a11y
* fix show route + order vomits by users first
---------
Co-authored-by: Mac Siri <mac@forem.com>
2023-12-13 15:31:09 +00:00
Anna Buianova
81b042ee25
Give admins the ability to add spam role to users via the API ( #20445 )
2023-12-12 14:35:55 +00:00
Philip How
25e0ebc1ac
admin filter feedback category ( #20418 )
2023-12-05 16:34:51 +00:00
Anna Buianova
4815661bad
Api search users by email ( #20423 )
2023-12-04 23:18:36 +00:00
Ben Halpern
9eaff67318
Update styling and refine features for analytics page ( #20410 )
...
* Update styling and refine features for analytics page
* Remove follower reference from js
* Update html
* Adjust test
2023-11-30 16:07:16 -05:00
Anna Buianova
78c6d5d9a0
Create/update pages via api with body_html ( #20390 )
2023-11-29 18:43:55 +00:00
Ben Halpern
347fd6d112
Recommended articles list ( #20383 )
...
* Add recommended articles list
* Adjust tests
* Adjust tests
2023-11-24 17:57:55 +00:00
Anna Buianova
df0b134ec4
Added followers count to /api/users/me endpoint ( #20378 )
...
* Added followers_count to /api/users/me
* Updated the api user docs
* Rubocop fixes fro swagger_helper
* Added me jbuilder view for api/v0
2023-11-22 20:22:06 +00:00
Ben Halpern
81dd1b867e
Add language constraint to sidebar ( #20386 )
...
* Add language constraint to sidebar
* Add language fallback
2023-11-22 19:00:48 +00:00
Ben Halpern
e545148fd5
Add active discussions to sidebar ( #20372 )
...
* Add active discussions to sidebar
* Move featured tags to before signin-guard
* Move featured tags back to view
* Fix test
2023-11-21 11:10:10 -05:00
Ben Halpern
eccd5fd9e3
Add custom_display_label to billboards and update API ( #20355 )
...
* Add a/b test for which comments to show in feed
* Adjust figure
* Started at
* Add custom_display_label to billboards and update API
* Add custom_display_label to billboards and update API
2023-11-15 09:57:39 -05:00
Ben Halpern
e7fc1bb0ce
Add article id and geolocation info to billboard events ( #20329 )
...
* Add article id and geolocation info to billboard events
* Confirm destroyed in rollup
2023-11-09 12:43:23 -05:00
Anna Buianova
41ab84a25d
Remove feature flag and use consistent rendering by default ( #20305 )
2023-11-03 11:42:12 -04:00
Ben Halpern
0ddb133c49
Add ability for admins to request specific billboards for inspection ( #20311 )
2023-11-02 16:58:28 -04:00
Anna Buianova
a315bc18a6
Paginate api comments ( #20304 )
...
* Comments api pagination
* Comments api docs
* Removed Comments::Tree
2023-11-02 15:59:15 -04:00
Ben Halpern
b0cb5540c0
Add new render mode and template options for billboards ( #20282 )
...
* Add new render and template modes for billboards
* Add new fields to /admin
* Adjust test
* Adjust markup in form
* Add tests for script execution
* Add two script test
* Adjust scripts
* Adjust scripts
* Add new test
* Add new explicit tests
* Move JS functionaity around
2023-10-30 14:56:09 -04:00
Daniel M Brasil
74cc4ac39e
Add support for organization :id in or organizations routes ( #20244 )
2023-10-25 17:38:45 -04:00
ktmouk
8963e185f8
Fix username combobox tries to load all users ( #20227 )
...
* Fix username combobox tries to load all users
* Add the limit param to the users_query
* Add a comment
2023-10-25 15:53:53 -04:00
Anna Buianova
5ac786c9a1
Add email to the users api ( #20241 )
...
* Add email to the users api if display_public_email_on_profile is set to true
* Fixed selected user fields in the api
* A separate partial for user data with email (for the api)
2023-10-13 16:27:21 +03:00
Anna Buianova
a14a1e9e7a
Accept published_at in Article API ( #20235 )
2023-10-11 09:12:35 -04:00
Ben Halpern
f811f17830
Fix irrelevant flag numbers ( #20204 )
...
* Fix irrelevent numbers in admin display
* Remove unused possible_spam_users_count
* Fix tab styles
2023-10-02 15:01:50 +07:00
Ben Halpern
19004680de
Make admin reports default to showing open ( #20200 )
2023-10-02 12:24:56 +07:00
Ben Halpern
456a5e61d2
Add filters to /mod ( #20179 )
...
* Add filters to /mod
* Adjust cypress to look for proper text
* Adjust cypress to be less sensitive
2023-10-02 11:47:49 +07:00
Joshua Wehner
8216700858
Trusted user _can_ use moderator comment ( #20158 )
...
* Trusted user _can_ use moderator comment
* Update spec to confirm cannot create
* Trusted user is trusted
* Better mod template access
2023-09-26 10:24:37 -04:00
Joshua Wehner
2c138d86ef
Add or remove limited role via API ( #20136 )
...
* Refactor API user suspend, make room for more roles
* Handle adding limited
* Handle remove limited
* And swagger docs
* Update & refactor roles spec
* Remove old route
* Remove old specs
2023-09-26 09:57:14 -04:00
Joshua Wehner
6a48b486ca
Onboarding: custom newsletter opt-in settings ( #20114 )
...
* Settings can process markdown into html
* Update Settings with new onboarding settings
* Async render onboarding newsletter step
* Tweak onboarding design
* Fix broken spec
* Better rendered component test
* Tweaks to match design
* Try to tweak design
* Try having a default state
* Tweak placeholder content
* Better await componentDidMount
* Continue to tweak the design
* ContentRenderer#process should always return Result
* Try more clarity in the partial
* Rubocop
2023-09-26 06:34:19 -04:00