Mukesh Chaudhary
48edaab5bc
Migrate new reaction job 5305 ( #5401 )
...
* Add New Reaction Worker
* Add Specs for the New Reaction Worker
* Update Worker Calls in Notification Model
* Update Notification Model Specs
* Fix Code Climate Issues
* Fix notification specs to remove instance variable and complex logic
* Fix Worker Spec
* Fix Review Comments
* Undo Job Specs
Co-authored-by: Mukesh Chaudhary <45253983+mukeshchdy@users.noreply.github.com>
2020-01-09 09:51:56 -05:00
Molly Struve
86e138662a
remove persist audit job and do it inline ( #5355 ) [deploy]
2020-01-09 08:49:22 -05:00
Asha Balasubramaniam
91663231cc
Remove delayed job that calculates comment score ( #5412 ) [deploy]
...
Get rid of the delayed job and corresponding spec. Follow up to https://github.com/thepracticaldev/dev.to/pull/5382
2020-01-09 08:25:03 -05:00
rhymes
d2e96007c7
Fix (some) n+1/eager loading issues ( #5294 ) [deploy]
...
* Remove mock from specs to test the actual Suggester
* Fix articles API top articles n+1
* Fix n+1 in articles API with state parameter
* Remove eager loading for organization dashboard
* Eager load notifiables in notifications only when needed
* Algolia does not like this
2020-01-08 18:48:24 -05:00
Alain Mauri
5055121361
Remove Chat Channels Index Job ( #5409 ) [deploy]
2020-01-08 16:33:40 -05:00
Pablo Ifrán
f5d3593d4f
Change the way that id_code was created ( #5348 ) [deploy]
...
The column id_code was created with a job in an after create callback,
that was replaced by an inline creation of the attribute
2020-01-08 16:21:39 -05:00
Anna Buianova
e09e46ec99
Creating podcasts by users ( #3730 ) [deploy]
...
* Create podcast as a user [WIP]
* Sample css for podcast form
* Nicer podcasts suggesting form
* Validate podcast feed_url
* Validate podcast main_color_hex
* Fix podcasts specs
* Fix form appearance
* Placeholder for podcast main_color_hex
* Provide a link to suggest a podcast
* Add a checkbox and a role for when a podcast is added by an owner
* Prettier checkbox in the podcasts form
* Added creator to podcasts
* Set the podcast creator
* Fix the /pod spec
* Added creator information to the internal podcast page
* Added cta class to the podcasts submit button
* Global notice when a podcast was suggested
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-01-08 16:14:25 -05:00
rhymes
482a77a375
Restore default email from SiteConfig for mailers ( #5399 ) [deploy]
...
* Restore default email from SiteConfig for mailers
* Fix broken email preview
2020-01-08 16:09:32 -05:00
gverger
b7bb006d70
Fix ProMembership Time flaky test ( #5402 )
...
After traveling back in time, it can be the case that between the call
to the service and the moment we check the current time, we moved on to
the next second.
Using Timecop.freeze takes care of that.
2020-01-08 16:06:10 -05:00
Maykon Menezes
a9cb13c3f6
moving org bust cache job to sidekiq ( #5406 ) [deploy]
2020-01-08 15:03:40 -05:00
Cadu Ribeiro
00a97b2051
Migrate Users/FollowJob to Sidekiq ( #5403 )
2020-01-08 15:03:18 -05:00
Molly Struve
7c939dc2c5
Remove TouchFollowerJob and do user update inline ( #5391 ) [deploy]
2020-01-08 14:12:04 -05:00
Asha Balasubramaniam
1003f71c8f
Migrate delayed job that calculates comment score to sidekiq ( #5382 )
2020-01-08 14:11:31 -05:00
rhymes
fec196ffe3
Add wait_for_javascript to flaky system tests ( #5405 )
2020-01-08 13:47:08 -05:00
Molly Struve
64ca1e7638
Set type for user_selects_looking_for_work_spec to system ( #5390 )
2020-01-08 12:16:33 -05:00
Michael Kohl
728a05c476
Move from env variables to SiteConfig ( #5385 ) [deploy]
...
* Move from env variables to SiteConfig
Related to #5384
This PR only deals with the first remaining part outlined in the issue, starting to use existing SiteConfig keys instead of the env variables.
* Restore Envfile to original version for now
2020-01-07 16:36:24 -05:00
Molly Struve
6b23e327aa
Track Queue sizes and latency for Sidekiq ( #5352 ) [deploy]
2020-01-07 11:57:13 -05:00
Cadu Ribeiro
4d7d3edb2d
Remove Articles/BustMultipleCachesJob ( #5388 )
...
This is a follow up from #5309 .
This commit removes the Articles/BustMultipleCachesJob after we migrated
it to Sidekiq.
2020-01-07 11:20:06 -05:00
serena
252027ad9c
use new_badge_achievement_worker instead of active job ( #5358 ) [deploy]
2020-01-07 08:16:17 -05:00
Molly Struve
d5b3a10061
Handle Missing article_id When Loading additional_content_boxes ( #5376 )
2020-01-06 15:56:49 -05:00
Molly Struve
a572a96921
Remove comments user_touch job and do it inline when comment is created ( #5378 ) [deploy]
2020-01-06 15:52:59 -05:00
Molly Struve
bc2dbd8e7f
Move Events::BustCacheJob to Sidekiq and rename ( #5379 )
2020-01-06 15:51:46 -05:00
Cadu Ribeiro
93514e73df
Migrate Articles/BustMultipleCachesJob to Sidekiq ( #5309 ) [deploy]
...
Related to: #5305
In order to move all the jobs to Sidekiq, this commit creates a new
Articles/BustMultipleCachesWorker using Sidekiq based on the
Articles/BustMultipleCachesJob (this one is not removed until we know
that any job on this one will be performed).
2020-01-06 13:42:34 -05:00
Lud
d39aa6537f
removes job moved to worker: follows send email notification ( #5357 )
2020-01-06 08:11:54 -05:00
rhymes
97d188264f
Add worker: option to sidekiq_enqueued_jobs to return also jobs by worker ( #5334 )
2020-01-03 14:54:44 -05:00
Molly Struve
5f5dd528e1
Remove unused UpdateAnalyticsJob code ( #5335 ) [deploy]
2020-01-03 14:22:39 -05:00
serena
caa1738b16
delete unused mention job, update spec with helper ( #5349 ) [deploy]
2020-01-03 14:08:47 -05:00
Pablo Ifrán
5e9376e955
Remove old create first reaction job ( #5347 ) [deploy]
...
This job was replaced by the worker with the same name as the suffix
Worker instead of Job, it was kept to run the existing jobs before it
can be fully removed
2020-01-03 12:40:48 -05:00
Edward Tam
cb98b3b510
pages bust cache job sidekiq refactor ( #5338 ) [deploy]
...
* Refactored Pages::BustCacheJob to Pages::BustCacheWorker
* Removed Pages::BustCacheJob and specs
Co-authored-by: Edward Tam <edward6882990@gmail.com>
2020-01-02 15:16:09 -05:00
Lud
df042d6b0b
Refactors ActiveJob to SidekiqWorker: Follows::SendEmailNotificationWorker ( #5322 ) [deploy]
...
* Refactors ActiveJob to SidekiqWorker: Follows::SendEmailNotificationWorker
* improves naming of User#receives_follower_email_notifications?
* adjust expect count for spec SendEmailNotificationWorker
2020-01-02 13:35:09 -05:00
Pablo Ifrán
783d43b737
Change create first reaction job to worker ( #5327 ) [deploy]
2020-01-02 13:06:53 -05:00
Molly Struve
c1638cfd33
Create UpdateAnalyticsWorker to replace UpdateAnalyticsJob ( #5331 )
2020-01-02 13:05:12 -05:00
Aaron Moat
ba230ecab6
Allow language-xxx class detection on pre tags in ReverseMarkdown ( #5299 )
...
* Allow language-xxx class detection on pre tags in ReverseMarkdown
Solves thepracticaldev/dev.to#5298
* Remove comment
2020-01-02 11:23:44 -05:00
rhymes
73188cd836
Sidekiq: add test helpers ( #5326 )
2020-01-02 08:39:40 -05:00
serena
51df32552c
Change MentionJob to MentionWorker and move to sidekiq ( #5312 ) [deploy]
2020-01-02 07:57:08 -05:00
Molly Struve
6067edf20e
remove old Articles::BustCacheJob ( #5320 ) [deploy]
2020-01-02 07:26:51 -05:00
rhymes
ee8fd7cbc2
Clear Sidekiq jobs between tests ( #5324 )
2020-01-01 13:39:18 -05:00
Molly Struve
545ffc9b13
Fix flaky delete spec by setting timestamp in the future and Decrease Notification Counts ( #5321 ) [deploy]
2019-12-31 16:26:07 -05:00
Molly Struve
36cf0a6976
Handle unfound github repo in API ( #5316 ) [deploy]
2019-12-31 14:42:45 -05:00
Molly Struve
8650f5c5aa
Create new BustCacheWorker and start sending jobs to it ( #5302 ) [deploy]
2019-12-31 14:14:23 -05:00
Ben Halpern
df796f7e07
Cache data on /mod ( #5315 ) [deploy]
2019-12-31 10:18:55 -05:00
Ben Halpern
a716cf2756
Create UX Customization tab in settings ( #5307 ) [deploy]
...
* Create UX Customization tab in settings
* Add variable import
* Change from UX Customization to just UX
2019-12-31 09:35:15 -05:00
rhymes
5cf1134d5e
Nokogiri::HTML should receive the body, not the response object ( #5297 )
2019-12-31 08:46:49 -05:00
Molly Struve
49545ae41f
Use SQL DELETE statement to delete notifications without a SELECT ( #5303 ) [deploy]
2019-12-31 07:30:27 -06:00
Molly Struve
8aa9eb3534
Use match_array instead of eq to ignore ordering ( #5308 )
2019-12-30 15:38:55 -05:00
Anna Buianova
3a91d05835
Add another check to the function caller to avoid exceptions ( #5296 )
2019-12-30 13:56:04 -05:00
rhymes
258b55e5b0
Optimize (some) jobs specs and Jobs ( #5301 ) [deploy]
2019-12-30 11:25:33 -06:00
Molly Struve
9ab150daac
Change RateLimitCheckerJob to RateLimitCheckerWorker and move to sidekiq ( #5269 ) [deploy]
2019-12-27 16:09:25 -06:00
Molly Struve
39033e33d9
Flaky Spec Fix: Ensure submit requests finish before checking status of user ( #5265 )
2019-12-27 14:47:08 -05:00
rhymes
09e5ad5c0c
Remove PushNotificationSubscription ( #5258 ) [deploy]
2019-12-27 13:45:38 -06:00