Commit graph

13352 commits

Author SHA1 Message Date
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
depfu[bot]
914a0c0a32
Update fastimage to version 2.3.0 (#20707)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-04 15:13:20 +00:00
depfu[bot]
6631c483ed
Update all development Bundler dependencies (2024-03-04) (#20720)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-04 14:55:43 +00:00
depfu[bot]
d146d481a2
Update sterile to version 1.0.26 (#20706)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-04 14:50:48 +00:00
Mac Siri
180440f096
Fix flaky E2E specs (#20714) 2024-03-04 09:46:34 -05:00
Ben Halpern
0140a7631c
Adjust menu popup behavior contextually (#20718) 2024-03-01 17:27:50 -05:00
Ben Halpern
f2968baadb
Add optional client-side dismissal SKU for closable billboards (#20716)
* Add optional client-side dismissal SKU for closable billboards

* Safe nav
2024-03-01 16:13:19 -05:00
depfu[bot]
ac4dcd9907
Update jest-junit to version 16.0.0 (#20708)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-01 15:53:16 +00:00
Anna Buianova
288c9ed31f
Fix articles counts based on display rules (#20669)
* Comment counts for signed in users

* Adjust comments count for articles

* Fixed counts for signed out users, added specs for Comments::Count

* Fixed counts for signed out and added specs for Comments::Count

* Removed debug info from the view

* Removed separate count for signed out users

* Remove irrelevant specs

* Remove unused scope
2024-03-01 07:54:15 -05:00
Philip How
fe213a81fa
Add Following Tags and Reconfigure Sidebar in Mod Center (#20694)
* reconfigure mod left sidebar, adding following tags

* add localization
2024-03-01 07:35:54 -05:00
Ben Halpern
c901eb48be
Apply efficiency adjustment to orgs as well (#20710) 2024-02-29 18:27:47 -05:00
Ben Halpern
2ad8b7a809
Fast follow on follow suggestion efficiency (#20709) 2024-02-29 18:05:21 -05:00
depfu[bot]
446a93c3a5
Update i18n-js to version 4.4.3 (#20696)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-29 21:41:59 +00:00
depfu[bot]
477340fceb
Update counter_culture to version 3.5.3 (#20702)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-02-29 21:41:38 +00:00