Commit graph

13313 commits

Author SHA1 Message Date
Ben Halpern
a2b078e6de
Add Algoliasearch js client (#20871)
* Add Algolia client for future use if enabled

* Make key fixes

---------

Co-authored-by: Mac Siri <mac@forem.com>
2024-04-19 18:13:30 +00:00
depfu[bot]
495a72e076
Update @etchteam/storybook-addon-css-variables-theme to version 1.6.0 (#20799)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-19 14:25:09 +00:00
Mac Siri
d587ba962d
Add AlgoliaSearchable for User (#20869)
* Add AlgoliaSearchable::SearchableUser

* Update spec

* Refactor

* Refactor

* Add more test

* Refactor

* Update seeder to clear Algolia index if it exist

* All Algolia directly in update_score

* Fix broken spec

* Remove new queue

* Account for more user statuses

* Remove unncessary test for now
2024-04-19 14:03:04 +00:00
Philip How
2129ae145b
Update style for new reply email (#20861)
* update style for new reply email

* Truncate and sanitize comment

* rubocop

* fix links, fix stop send when no content
2024-04-19 08:56:16 -04:00
Mac Siri
6bd914e90e
Update README.md (#20868) 2024-04-18 09:50:53 -04:00
Mac Siri
74be076907
Add Algoliasearch-rails gem (#20866)
* Add Algoliasearch-rails gem

* Remove comment

* Add specs

* Add cache gem
2024-04-16 13:45:54 +00:00
Ben Halpern
99517df220
Add subheader a/b test to digest (#20864)
* Add subheader a/b test to digest

* Add billboards to digest emails (#20862)

* Initial bb work

* Add billboards to digest

* Clean up tests and formatting

* Clean up tests and formatting
2024-04-15 13:53:41 -04:00
Ben Halpern
cbae624b5e
Add billboards to digest emails (#20862)
* Initial bb work

* Add billboards to digest

* Clean up tests and formatting

* Clean up tests and formatting
2024-04-15 12:01:00 -04:00
Ben Halpern
9b15329110
Adjust digest rate if recent clicks tracked (#20838)
* Adjust digest rate if recent clicks tracked

* Fix issues

* Fix issues

* Fix issues

* Fiddle with tests

* Fix syntax

* Fiddle with tests

* Fiddle with tests

* Fiddle with tests

* Fiddle with tests

* Fiddle with tests

* Fiddle with tests

* Fiddle with tests

* Remove .env.test symlink (#20839)

* Update the mdx vscode extension (#20840)

* Update @cypress/code-coverage to version 3.12.30 (#20803)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>

* Update ruby VSCode extensions for debugging (#20816)

The 'rebornix.Ruby' extension is deprecated. I replaced with the
'Shopify.ruby-lsp' extension since VSCode's Ruby docs pointed
users to ruby-lsp, see https://code.visualstudio.com/docs/languages/ruby.

* Update esbuild to version 0.19.12 (#20841)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update eslint to version 8.57.0 (#20853)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* fix: remove listings option from views/dashboards/_actions_mobile.html.erb (#20849)

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

* Update eslint-import-resolver-webpack to version 0.13.8 (#20854)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* add timestamp to users roles table (#20844)

* Update eslint-plugin-import to version 2.29.1 (#20855)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Adjust tests to account for clicks

* Adjust tests to account for clicks

---------

Co-authored-by: Mac Siri <mac@forem.com>
Co-authored-by: Meredith <meredith.edwards1771@gmail.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Quaresma <j.quaresmasantos_98@hotmail.com>
Co-authored-by: Philip How <philip.j.how@gmail.com>
2024-04-10 10:39:15 -04:00
depfu[bot]
8884a64861
Update eslint-plugin-import to version 2.29.1 (#20855)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-09 19:35:41 +00:00
Philip How
ed837eb5b8
add timestamp to users roles table (#20844) 2024-04-09 14:25:51 -04:00
depfu[bot]
31c982abba
Update eslint-import-resolver-webpack to version 0.13.8 (#20854)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-09 15:25:32 +00:00
Gabriel Quaresma
58fa8d584c
fix: remove listings option from views/dashboards/_actions_mobile.html.erb (#20849)
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-09 15:19:35 +00:00
depfu[bot]
ff8ac0403c
Update eslint to version 8.57.0 (#20853)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-09 15:03:09 +00:00
depfu[bot]
42d16e1a23
Update esbuild to version 0.19.12 (#20841)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-09 13:26:45 +00:00
Meredith
ef0879f4aa
Update ruby VSCode extensions for debugging (#20816)
The 'rebornix.Ruby' extension is deprecated. I replaced with the
'Shopify.ruby-lsp' extension since VSCode's Ruby docs pointed
users to ruby-lsp, see https://code.visualstudio.com/docs/languages/ruby.
2024-04-08 12:14:15 +00:00
depfu[bot]
7cc3860366
Update @cypress/code-coverage to version 3.12.30 (#20803)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-05 17:45:22 +00:00
Meredith
85512625d7
Update the mdx vscode extension (#20840) 2024-04-05 15:24:33 +00:00
Mac Siri
03477f298c
Remove .env.test symlink (#20839) 2024-04-05 11:22:12 -04:00
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