Philip How
6b8c363487
Prioritize spam label over suspended, add to async profile check ( #20790 )
...
* Prioritize spam label over suspended, add to async profile check
* fix jest
2024-03-25 10:15:35 -04:00
Ben Halpern
a30b86a025
Allow billboards to target specific pages with "fixed bottom" placement ( #20748 )
...
* Add page fixed bottom billboard
* Add page fixed bottom billboard
* Fix schema
2024-03-15 14:32:30 -04:00
Philip How
57c0078bd6
Allow admins to change reputation modifier ( #20766 )
...
* Allow admins to change reputation modifier
* locale + rubocop
2024-03-15 10:46:19 -04:00
Philip How
751e9d70d2
Show ⚠️ icon on /admin when an article is not indexed on search engines ( #20713 )
...
* Add in icon when an article is not indexed on admin
* tests
* rubocop
* rubocop
2024-03-05 21:34:20 +00:00
Ben Halpern
f88784cc35
Add configuration for admins to specify compliant email strategies ( #20663 )
...
* Add configuration for admins to specify compliant email strategies
* Add keys for test
2024-02-21 08:27:26 -08:00
Daniel M Brasil
406e3fec4d
Rremove de-indexing From Accounts With No Comments ( #20660 )
...
* remove de-indexing from accounts that have no comments
* add specs for Article#skip_indexing?
2024-02-21 10:54:02 +00:00
Ben Halpern
d8ed35a94e
Unwrap user before passing to field_test ( #20667 )
2024-02-20 16:28:52 -08:00
Ben Halpern
223fb9cbfb
Add a/b test for feed style on new users ( #20664 )
...
* Add a/b test for feed style on new users
* Add current_user check
* Adjust to not look for current_user right away
* Move field test to the right place
2024-02-20 15:43:28 -08:00
Ben Halpern
6ef9a83252
Make mobile runtime banner optional ( #20637 )
...
* Remove runtime banner
* Show/hide runtime banner setting
* Update app/views/layouts/application.html.erb
* Update app/views/layouts/application.html.erb
* Update app/views/layouts/application.html.erb
2024-02-16 10:45:41 -08:00
Ben Halpern
097057a8dc
New a/b tests for Feb 14 ( #20632 )
2024-02-14 15:57:41 -05:00
Ben Halpern
8eb41eef8e
Record billboard signup conversions ( #20629 )
...
* Record billboard signup conversions
* Update app/models/billboard_event.rb
* Modify click tracking
2024-02-14 14:18:57 -05:00
Ben Halpern
205aee8c78
Add billboard for bottom of page with allowance to delay until after reading is finished. ( #20616 )
...
* Add delayed behavior
* Add special behavior to billboards
* Fix order for test
* Test clicking outside element when close event is present
* Update app/javascript/packs/billboardAfterRenderActions.js
2024-02-13 11:56:32 -05:00
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
e26b27c7fa
New a/b test for Feb 5 (and add a variable too a hardcoded value) ( #20588 )
...
* Fix AudienceSegmentRefreshAllWorker args issue
* New a/b test for Feb 5 (and add a variable too a hardcoded value)
2024-02-05 15:46:03 +00: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
Ben Halpern
6d669c8a5c
Add new feed experiment for Jan 26 ( #20563 )
...
* Add a/b tests for Jan 26
* Fix feed lever
* Update config/field_test.yml
* Update config/field_test.yml
* Update app/models/articles/feeds.rb
2024-01-26 16:53:26 -05:00
Anna Buianova
a4d9b4f0d1
Hide low score comments on user profile ( #20556 )
2024-01-25 16:06:50 +00: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
Ben Halpern
66f3ae71b5
Adjust comment notification logic ( #20534 )
...
* Adjust comment notification logic
* Update spec/models/comment_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update spec/models/comment_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update spec/models/comment_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-17 12:22:50 -05:00
Ben Halpern
16ff57c2ff
Add HTML customization to admin ( #20531 )
...
* Add HTML customization to admin
* Update spec/requests/stories_index_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-17 12:12:22 +00:00
Ben Halpern
ae2371d9a4
Add configuration for admins to determine whether to show cookie banner ( #20517 )
...
* Cookie banner admin config (wip)
* GA4 consent mode based on cookie acceptance
* Fix i18n
* Merge upstream
* Adjust heading
2024-01-15 18:22:17 +00:00
Anna Buianova
539844165f
Avoid sending follow notifications from spammers ( #20526 )
2024-01-15 16:50:21 +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
b0e3a512bb
Delay and modify follow logic to remove spammers ( #20505 )
...
* Delay and modify follow logic to remove spammers
* Fix tests
* Change comment
* Update spec/models/notification_spec.rb
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
* Update spec/models/notification_spec.rb
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
---------
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
2024-01-10 14:35:12 +00:00
Philip How
7d47ffef78
Remove calls to trigger round robin notifications ( #20506 )
...
* remove calls to trigger round robin notifications
* remove tests
2024-01-10 13:44:57 +00:00
Ben Halpern
8e532c848a
Nullify published_at if absurdly far in the future ( #20504 )
2024-01-08 16:57:38 +00:00
Ben Halpern
04d4b2340d
Add downstream score effects from spam role ( #20498 )
...
* Add downstream score effects from spam role
* Move async score calc down low
* Add tests
* Add stub
* Fix typo
* No need for guard
* No need for guard
2024-01-08 16:25:28 +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
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
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
1eeaa34e98
Added spam role ( #20434 )
...
* Added spam role
* Fixed role spec
2023-12-11 14:27:22 +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
Ben Halpern
6c45945b11
Add recommended articles to feed experiment (Nov 27 experiment) ( #20399 )
...
* Add recommended articles to feed experiment
* remove changes to initial copy
* Adjust query to account for null
2023-11-29 18:22:18 +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
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
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
Ben Halpern
a4a1de964d
Move features along in deprecation status ✂️ ( #20315 )
...
* Move features along in deprecation status
* Remove unnecessary tests
2023-11-07 09:50:08 -05:00
Ben Halpern
aedeaede84
Tweak billboard image quality to 100 ( #20314 )
2023-11-03 14:07:24 -04:00
Anna Buianova
41ab84a25d
Remove feature flag and use consistent rendering by default ( #20305 )
2023-11-03 11:42:12 -04:00
Ben Halpern
587a11d490
Adjust image optimization for billboards ( #20309 )
...
* Adjust image optimization for billboards
* Fix test typo
* Adjust default
2023-11-02 16:12:20 -04:00
Gabriel Quaresma
593d95e7a8
Feat Make tag score minimum configurable by admins ( #20233 )
...
* feat: add Settings::UserExperience.award_tag_minimum_score
* test: write new specs
* test: write a new test case
2023-11-01 17:48:25 +03: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
Anna Buianova
b49af06daa
Remove ignored_columns lines ( #20267 )
2023-10-20 16:08:21 -04:00
Ben Halpern
1da43d9027
Add language when new user visit context is detected ( #20263 )
...
* Add language when new user visit context is detected
* Finalize tests
2023-10-20 15:35:41 -04:00
Ben Halpern
bc89cf3e38
Store browser accept language header on users ( #20212 )
...
* Store browser accept language header on users
* Change to tracking via user context
* Remove async info code
* First draft of spec
* Work out tests
* Delete dependents
2023-10-16 11:59:30 -04:00
Anna Buianova
e8e1cafe7f
Ignore users.workshop_expiration column ( #20245 )
2023-10-13 20:58:36 +03:00