Commit graph

13294 commits

Author SHA1 Message Date
Mac Siri
0cc9cc0250
[CI] Resolves compiled-assets caching issue (2) (#20837) 2024-04-03 17:48:51 -04:00
Ben Halpern
c6a3e001fa
(Hopefully) final ahoy email tweak (#20835) 2024-04-03 15:02:13 -04:00
Mac Siri
d84b0a9f66
[CI] Resolves compiled-assets caching issue (#20836) 2024-04-03 15:01:24 -04:00
Meredith
6e5dacc7ec
Update edge VSCode extension (#20818)
* Replace edge extension

* Put name attributes at the top for consistency
2024-04-03 17:33:28 +00:00
Ben Halpern
35848e4582
Digest config (#20834) 2024-04-03 13:22:54 -04:00
Philip How
0d873a4554
Show "Resend Confirmation email" option on users profile when email not confirmed (#20831)
* Show reconfirmation option on users profile

* spec
2024-04-03 09:53:53 -04:00
Mac Siri
e22e6284e4
[CI] Re-arrange create-cache.yml (#20829) 2024-04-02 18:26:03 -04:00
Mac Siri
23b9516d5b
Update CI's compiled-assets' cache-key (#20827) 2024-04-02 17:32:43 -04:00
depfu[bot]
64197af78e
Update all development Bundler dependencies (2024-04-01) (#20823)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-02 17:10:24 +00:00
Mac Siri
8c71491d6f
Fix ahoy's tracking spec [skip ci] (#20825) 2024-04-02 13:09:21 -04:00
Philip How
a0b68a6956
Ensure article score recalculation for all vomit status changes (#20813) 2024-04-02 08:17:54 -04:00
Mac Siri
81aa7861b1
Resolve knapsack-cypress's issue with forks (#20824) 2024-04-01 17:12:52 -04:00
Ben Halpern
b6fa936e36
Customize ahoy email to track clicks async without redirect (#20809)
* Initial controller creation

* Ahoy custom clicks initial WIP

* Add test for success and failure

* Adjust some tests

* Adjust test

* Adjust tests and some code

* Update app/views/mailers/digest_mailer/digest_email.html.erb

* Remove s/t/u from safe params

* Add simple test

* Update app/controllers/ahoy/custom_email_clicks_controller.rb

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

* Change to just email clicks

* Email clicks controller test

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-04-01 15:05:04 -04:00
Alex Gwartney
75b7121b12
prevent switchHelpContext from triggering if the preview is open. (#20744)
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-01 16:53:43 +00:00
Anna Buianova
93c2babb89
Specs for adding tag mods (#20815) 2024-03-29 14:05:28 -04:00
Meredith
fe0d9437e2
Remove redundant sidekiq configuration (#20807) 2024-03-29 11:47:40 -04:00
Ben Halpern
09705dab68
Declare winner in digest count test (#20810) 2024-03-28 14:41:55 -04:00
Mac Siri
40a834e110
Fix flaky Ahoy::Event spec (#20811) 2024-03-28 14:23:51 -04:00
Mac Siri
d3e8b06af0
Update to Ruby 3.3 (#20739) 2024-03-28 13:07:05 -04:00
Philip How
eb452078e3
Update confirmation email wording (#20806) 2024-03-28 11:10:26 -04:00
Meredith
2c0c4460e7
Resolve sidekiq warning (#20805) 2024-03-28 10:19:56 -04:00
Makar
069530052f
typo fix on PR #20762 (#20804)
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-28 13:06:10 +00:00
Anna Buianova
51316c747f
Comments count according to display rules in feed (#20753)
* Move calculating comments score from worker to a service

* Display displayed comments count in feed

* Recalculating displayed comments counts on article show (if needed)

* Rubocop fixes

* Fixed lambda
2024-03-28 12:12:05 +00:00
Makar
ec32a8e7cc
skip unnecessary history pushes and preserve intuitive forward/back (#20762) 2024-03-27 17:54:50 +00:00
depfu[bot]
58b7f2eade
Update sass-loader to version 13.3.3 (#20798)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-27 17:43:44 +00:00
Philip How
f6161780d9
Add test to mark profile as spam (#20800)
* add test to mark profile as spam

* rubocop

* move test
2024-03-27 17:30:32 +00:00
Anna Buianova
ed1b4045d3
Auto confirm flag reactions when spam role is assigned (#20797)
* Auto confirm flag reactions when spam role is assigned

* Renamed method according to its point

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-03-27 13:03:41 +00:00
depfu[bot]
d2097e50c0
Update carrierwave to version 2.2.6 (#20801)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-27 08:45:21 -04:00
Meredith
20f57ab0be
Update rtx references to mise (#20789)
rtx is now mise, see https://mise.jdx.dev/rtx.html

Co-authored-by: Mac Siri <mac@forem.com>
2024-03-25 20:49:37 +00:00
depfu[bot]
a8b23d01f8
Update @cypress/code-coverage to version 3.12.26 (#20784)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-25 17:18:47 +00:00
depfu[bot]
9a8a75f253
Update cypress-multi-reporters to version 1.6.4 (#20787)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-25 17:18:34 +00:00
Philip How
b0086c9171
Add mark as spam button on user profile for admins (#20794) 2024-03-25 10:30:16 -04:00
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
Anna Buianova
7d5650c3f1
Admin access to spam comments by url (#20775)
* Admin access to spam comments by url

* Fixed spec

* Fixed view spec
2024-03-22 08:40:36 -04:00
Mac Siri
7988af1628
Update PageViewRollup (#20785)
* Make sure time is beginning of day

* Use correct initial time
2024-03-21 22:37:33 +00:00
Mac Siri
b0cc94e655
[CI] Update cleanup-cache action (#20788) 2024-03-21 18:24:40 -04:00
depfu[bot]
e1ebe05623
Update @testing-library/user-event to version 14.5.2 (#20786)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-21 20:28:38 +00:00
Anna Buianova
1008f0af7d
Automatically resolve spam reports when the offending user is marked as spam (#20781)
* Start resolving spam reports automatically after assigning spam role

* Specs for resolving spam reports + async resolving
2024-03-21 17:31:43 +00:00
Ben Halpern
c3c8b5f9c4
Small efficiency adjustments (#20782) 2024-03-21 10:42:37 -04:00
Ben Halpern
01b55c646b
Use page social_image_url if present (#20779) 2024-03-20 10:23:30 -04:00
Ben Halpern
c01964b03a
Ensure string in field test (#20777) 2024-03-19 17:44:57 -04:00
Ben Halpern
3b62ff1945
Finish Digest subject test and start count test (#20773)
* Finish Digest subject test and start count test

* Proper user

* Style tweak
2024-03-19 16:10:41 -04:00
Mac Siri
092ee4a425
Implement PageViewRollup (#20670)
* Refactor

* Create PageViewRollup WIP

* Create PageViewRollupWorker and specs

* Add spec WIP

* Write spec

* Refactor

* Add spec

* Prevent retry

* Update baseline date

* Improve specs

* Update ATTRIBUTES_

* Update spec again
2024-03-18 20:33:12 +00: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
Anna Buianova
53f311b059
Add tag moderators by username w/o autocomplete (#20767) 2024-03-15 14:15:51 -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
Mac Siri
05d33720db
Bump base image to Ruby 3.3.0 (#20768) 2024-03-15 09:16:58 -04:00
Ben Halpern
a22172ec20
Add safe navigation to billboard.js conditionals (#20769) 2024-03-13 10:29:13 -04:00
Anna Buianova
f572275c9d
Admin access for spammers profiles and articles (#20721)
* Allow admins to visit spammers profiles and articles pages

* Added spam label to user profile and articles

* Unset cache control headers when providing admin access to spam content

* Removed unused comment
2024-03-12 13:25:59 -04:00
Ben Halpern
f4b94ce7f2
Early return from org follow check (#20761)
* Early return from org follow check

* Adjust podcast follow button

* Move early return to later
2024-03-11 18:24:19 -04:00