Commit graph

13352 commits

Author SHA1 Message Date
depfu[bot]
53948871a6
Update vault to version 0.18.2 (#20484)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-29 21:28:00 +00:00
Mac Siri
feabafcc33
Disable flaky specs (#20704) 2024-02-29 16:17:56 -05:00
Ben Halpern
083732e2f3
Optimize and simplify onboarding recommendations (#20682)
* Improve performance of follow recs

* Finish and simplify

* Update tests

* Update tests

* Update tests

* Change onboardings_controller

* Adjust tests

* Change fallback to use score

* Adjust join
2024-02-29 15:57:52 -05:00
depfu[bot]
498a464790
Update pg to version 1.5.5 (#20699)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-29 15:39:45 +00:00
depfu[bot]
ded022de24
Update yard to version 0.9.35 (#20700)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-29 14:20:54 +00:00
depfu[bot]
8a51602d16
Update sidekiq-cron to version 1.12.0 (#20651)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-28 20:43:34 +00:00
Anna Buianova
f8418a6415
Exclude articles from spammers and suspended users from /mod (#20692) 2024-02-28 17:36:56 +00:00
depfu[bot]
cc8d4638a9
Update preact to version 10.19.4 (#20636)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-28 16:47:18 +00:00
depfu[bot]
80bc5869e3
Update classnames to version 2.5.1 (#20631)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-28 16:47:16 +00:00
Mac Siri
1e90c7f714
Fix flaky follow spec (#20673) 2024-02-28 11:45:53 -05:00
Ben Halpern
78f9bec3e7
Allow admin to declare whether to include the badge description in message (#20684)
* Allow admin to declare whether to include the badge description in badge achievement message

* Update spec/services/badges/award_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add proper acceptance to tests

* Tweak tests

* Switch to kwargs

* Clean up test acceptance

* Change interface

* Update spec/requests/admin/badge_achievements_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/badges/award.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Adjust interface

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-28 11:02:58 -05:00
Ben Halpern
585bea212d
Remove non-contextual content from signed-out version of page (#20686) 2024-02-27 15:15:05 -05:00
Ben Halpern
229c3fc3c0
Go to page you came from after onboarding when coming through billboard (#20675)
* Add proper location memory for onboarding

* Get test dates working as expected
2024-02-26 16:21:05 -05:00
Ben Halpern
4015b346e2
Finalize 'commnts to display' a/b test (#20679) 2024-02-26 11:06:17 -05:00
depfu[bot]
38b1493c86
Update all of rails to version 7.0.8.1 (#20678)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-26 10:50:31 -05:00
Daniel M Brasil
ae07192ecc
improve mention model test coverage (#20652) 2024-02-22 17:29:10 +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
44809ce7e7
Add max style for fixed billboard (#20666) 2024-02-20 16:14:59 -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
17d81b6cb1
[Hotfix] Fix cache key (#20658)
* Fix cache key

* Small style tweak
2024-02-19 19:24:36 -08:00
Ben Halpern
caa7b5a63a
[Hot fix] Fix style bugs with registration page (#20656)
* Fix style bugs with registration page

* Small additonal style tweak

* Final style tweak
2024-02-19 18:48:50 -08:00
depfu[bot]
0197eae6e3
Update redis-actionpack to version 5.4.0 (#20648)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-19 17:26:04 +00:00
depfu[bot]
fa24a17fd7
Update strong_migrations to version 1.7.0 (#20607)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-19 14:45:12 +00:00
Ben Halpern
561bdb278c
Change value of signup in success score (#20647) 2024-02-18 10:30:59 -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
e386a7ec15
Tweak field test weights (#20643) 2024-02-16 08:51:16 -08:00
Mac Siri
61602db7a4
Remove yarn's install-state (#20639) 2024-02-16 10:14:33 -05:00
Anna Buianova
d0f3fb6fff
Optimize and test comments cache after score change (#20640)
* Add specs for caching article comments, use cache_key_with_version

* Optimize cache busting for spammer comments, reorganized related specs
2024-02-16 14:53:11 +00:00
Makar
c6cef39694
Persist selectedTag filtering of the reading list (#20601)
* persist selectedTag filtering of the reading list when coming back after reading an article

* bugfix -- could not filter back by all tags in mobile

* e2e tests for persisted filtering

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-02-16 13:06:21 +00:00
depfu[bot]
3142a863a9
Update counter_culture to version 3.5.2 (#20596)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-15 13:27:37 +00:00
depfu[bot]
e278ffa723
Update sidekiq-unique-jobs to version 7.1.33 (#20634)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-15 13:37:15 +00: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
depfu[bot]
261212565d
Update @rails/ujs to version 7.1.3 (#20623)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-14 18:20:15 +00:00
Ben Halpern
13c105a6b4
Use new_comment as the intersection object for delayed billboard (#20627) 2024-02-14 11:48:04 -05:00
Mac Siri
360903445a
Silence all YN0002 warnings (#20626) 2024-02-14 11:01:43 -05:00
depfu[bot]
55cbc22e5c
Update all development Bundler dependencies (2024-02-13) (#20586)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-02-13 23:20:08 +00:00
Mac Siri
0ac81957ea
Update CI.yml (#20624) 2024-02-13 17:05:50 -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
Mac Siri
8f4a6b832b
Update to yarn latest (#20610)
* Use yarn berry

* Run yarn dedupe

* Update cache

* Add explicit yarn install

* Revert "Add explicit yarn install"

This reverts commit de8b5b97cec9cd129f361b50fd83bde8ec528a86.

* Add missing install-state

* Revert "Update cache"

This reverts commit ddc7cf19855bfff9ac4ea5fc3946396b1d5812cb.

* Simplify CI

* Revert "Simplify CI"

This reverts commit c4e1abf34a4a48dd4aab9e389bdfd318e00a2b7c.

* Update timeout script
2024-02-13 16:15:46 +00:00
Anna Buianova
fb09a75352
Update comment updated_at when changing score (#20622)
* Change comment updated_at when updating comment score

* Rubocop fixes
2024-02-13 13:17:24 +00:00
Mac Siri
248f0f55c0
Allow Slack::Messengers to be disabled (#20609) 2024-02-09 17:20:35 +00:00
Philip How
e2035e0c4a
update first post badge name (#20613) 2024-02-09 12:20:14 -05:00
Anna Buianova
e5064b418f
Hide super low score comments if they are child comments (#20612) 2024-02-09 16:24:13 +00:00
Mac Siri
05f75c396e
Update to codecov-action@v4 (#20606) 2024-02-08 16:37:02 -05:00
Philip How
0be9914aa0
Fix sending Category to SendGrid (#20597)
* add in header for digest emails

* add test

* try different json encoding

* Update app/mailers/digest_mailer.rb

Co-authored-by: Mac Siri <mac@forem.com>

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-02-08 18:09:57 +00:00
Ben Halpern
9ba5a5fab0
Add client geo to helper method (#20608) 2024-02-08 12:51:37 -05:00
Ben Halpern
1b083f39a4
Ensure at least 0 score for new badge award (#20605) 2024-02-08 17:00:10 +00:00