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
Philip How
a0b68a6956
Ensure article score recalculation for all vomit status changes ( #20813 )
2024-04-02 08:17:54 -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
Ben Halpern
09705dab68
Declare winner in digest count test ( #20810 )
2024-03-28 14:41:55 -04:00
Philip How
eb452078e3
Update confirmation email wording ( #20806 )
2024-03-28 11:10:26 -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
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
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
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
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
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
Ben Halpern
fad28a1707
Allow feed billboards to be dismissable if dismissal_sku is present ( #20737 )
2024-03-06 15:16:23 -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
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
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
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
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
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
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
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
Anna Buianova
f8418a6415
Exclude articles from spammers and suspended users from /mod ( #20692 )
2024-02-28 17:36:56 +00:00