Commit graph

13279 commits

Author SHA1 Message Date
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
Ben Halpern
501b900108
Small digest style tweaks (#20763) 2024-03-11 18:09:17 -04:00
Ben Halpern
60598a0c4c
Update URL parameter safelist (#20759) 2024-03-11 16:15:45 -04:00
Ben Halpern
eb8006a841
Make ahoy_email default_options[:click] an env var (#20757)
* Make ahoy_email default_options[:click] an env var

* Also noted a typo here

* Manually mount AhoyEmail::Engine

* Disable by default

---------

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2024-03-11 15:43:55 -04:00
Ben Halpern
0d4f7c7e19
Add new simple a/b test for Digest subject and adjust config and design details (#20754)
* Adjust Digest Email design and configuration

* Adjust some tests

* Update tests

* More adjustments to markup and tests

* More adjustments to markup and tests

* Digest email feature flag

* Test title variants
2024-03-11 13:02:19 -04:00
Kim Emmanuel
04fb62a6f5
ignore code blocks when checking markdown for XSS (#20641)
Code blocks are rendered as raw strings and therefore don´t need to be
checked for XSS. Checking them for XSS disallow users to write articles about
XSS in markdown, for example.

Co-authored-by: Mac Siri <mac@forem.com>
2024-03-07 21:03:39 +00:00
Mac Siri
6f7c39dd40
[CI] Remove node_module cache (#20746) 2024-03-07 14:55:05 -05:00
depfu[bot]
e1202c61a9
Update cloudinary to version 1.29.0 (#20741)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-07 17:57:24 +00:00
Mac Siri
6dc49e8d0d
[CI] Simplify setup steps (#20742) 2024-03-07 12:55:30 -05:00
depfu[bot]
4ff9c9bbbf
Update @honeybadger-io/js to version 6.8.3 (#20728)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-07 17:12:53 +00:00
depfu[bot]
9aeb15aaa8
Update preact to version 10.19.6 (#20743)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-07 13:20:28 +00:00
depfu[bot]
cb3374cd2f
Update pghero to version 3.4.1 (#20736)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-06 20:09:46 +00:00
Ben Halpern
fad28a1707
Allow feed billboards to be dismissable if dismissal_sku is present (#20737) 2024-03-06 15:16:23 -05:00
Mac Siri
e817378413
[CI] Add cache creator (#20740) 2024-03-06 15:04:30 -05:00
Ben Halpern
83878e9c10
Add classes to content wrapper for articles and pages (#20731)
* Add classes to content wrapper for articles and pages

* Add class name check

* Fix org check
2024-03-06 12:44:47 -05:00
Abhilash Gayen
be53be46f0
Fix hover style conflict in autocomplete dropdown (#20638)
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-06 17:10:28 +00:00