Commit graph

13265 commits

Author SHA1 Message Date
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
depfu[bot]
edee35b71c
Update bootsnap to version 1.18.3 (#20730)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-06 16:18:56 +00:00
depfu[bot]
b98a188a72
Update terser to version 1.2.0 (#20726)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-06 16:17:16 +00:00
Mac Siri
a4eea0da41
[CI] Extend Cuprite timeout (#20734) 2024-03-06 10:54:49 -05:00
Ben Halpern
f263e17a1f
Fix dataset check in JS (#20733)
* Fix dataset check in JS

* Email opt in quick fix

* Change test
2024-03-05 17:11:07 -05: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
depfu[bot]
3e337e9cf3
Update postcss-cli to version 11.0.0 (#20727)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-05 21:26:16 +00:00
Philip How
7a873bd14c
Add a link icon to Mod Center to open article in new tab/window (#20672)
* add link icon to open article in new tab/window

* add label to icon

* add label to icon
2024-03-05 15:16:20 -05:00
depfu[bot]
fc6dcf9040
Update hairtrigger to version 1.1.1 (#20723)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-05 16:53:07 +00:00
depfu[bot]
fa7ddcad17
Update jsbundling-rails to version 1.3.0 (#20724)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-05 15:55:43 +00:00
Philip How
45a1bb20aa
Use request utility on actionsPanel (#20725) 2024-03-04 19:02:35 -05:00
Gabriel Quaresma
02459941a5
Profile bio does not recognize line breaks (#20572)
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-04 20:37:16 +00:00
depfu[bot]
5d8ca0a3f7
Update feedjira to version 3.2.3 (#20722)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-04 19:59:30 +00:00
Ian Lourenço
bb6954bfb6
Fix: visual glitch with autocomplete component (#20611)
* fix: add display:block style to span and correct minor typo

* refactor: change posisiton and max-heigh on scss

* refactor: adapt message with conditional

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-03-04 19:47:32 +00:00
Gabriel Quaresma
ed584ff5dc
Fix successfully passing incorrect tests in actionsPanel.test.js (#20674)
* first commit

Co-authored-by: Guilherme Nunes <guilherme.nunes.lopes@gmail.com>

* feat: implementt rollbackReactionButtonsState

* test: write new test cases

* refactor: update rollbackReactionButtonsState

---------

Co-authored-by: Guilherme Nunes <guilherme.nunes.lopes@gmail.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-04 16:58:38 +00:00