Alain Mauri
ca4c3963b7
Remove Follows::CreateChatChannelJob ( #5718 ) [deploy]
2020-01-27 09:41:18 -05:00
serena
f2d96bacf2
Remove Notifications::NotifiableActionJob ( #5730 ) [deploy]
2020-01-27 08:54:40 -05:00
Maykon Menezes
7ad7320add
Worker/user self delete ( #5698 )
...
* Moving user self delete job to sidekiq
* Refactor/user self delete worker
2020-01-27 08:45:58 -05:00
Alex
c3529d4b10
Remove ExportContentJob and spec ( #5711 )
2020-01-24 14:13:48 -08:00
Dainius Stankevicius
bf40d27054
Remove Notifications#NewComment job ( #5567 ) [deploy]
2020-01-24 16:03:20 -05:00
Alain Mauri
8dc56dcf32
Remove mentions email notification job ( #5708 )
...
* Removed mentions email notification job
* Removed related specs
2020-01-24 14:06:51 -05:00
rhymes
6ec91b0861
API tags: improve caching and purging ( #5673 ) [deploy]
...
* Add pagination to /tags and proper caching to /tags and /tags/onboarding
* Correctly purge tags
* Fix broken specs
* Make Travis happy
2020-01-24 13:55:22 -05:00
Lucas Hiago
5aaa80d3a0
Remove Reactions::CreateJob and related spec ( #5684 )
2020-01-24 09:05:43 -05:00
Asha Balasubramaniam
656e404097
Remove delayed job that creates podcast episode ( #5678 )
2020-01-23 17:32:18 -05:00
Alex
0a59e3ea59
Delete Search::RemoveFromIndexJob job and spec ( #5676 ) [deploy]
2020-01-23 13:14:46 -08:00
Alex
c3fb23379f
Remove IndexJob and spec ( #5654 )
2020-01-22 15:18:29 -05:00
Alex
75be0d3d23
Remove SlackBotPingJob and spec ( #5655 )
2020-01-22 15:17:52 -05:00
Maykon Menezes
ef1eb8d412
Refactor/user bust cache job ( #5563 )
...
* Refactor/user bust cache job
* Remove bust cache job old spec
2020-01-20 13:46:15 -05:00
Alex
29af0b240a
Remove NewFollowerJob and spec ( #5569 ) [deploy]
...
* Remove NewFollowerJob and spec
* Remove NewFollowerJob from notification_spec
2020-01-20 08:27:33 -05:00
Ben Halpern
9fa5d3156a
Add article.comment_score metric calc and tracking ( #5560 ) [deploy]
...
* Add article.comment_score metric calc and tracking
* Change from gauge to count
* Adjust key and tags
2020-01-19 15:21:19 -05:00
Asha Balasubramaniam
80aa2d51cf
Remove migrated job to bust comment cache ( #5548 )
2020-01-17 14:21:39 -05:00
Alain Mauri
6f0f64ba6a
Remove Mentions create all job ( #5550 ) [deploy]
2020-01-17 13:59:27 -05:00
Lucas Hiago
e5a6d7573f
Remove old Notifications::RemoveAllJob ( #5547 ) [deploy]
2020-01-17 11:18:36 -05:00
rhymes
1bc0469b2d
Add article's record key to Fastly Surrogate-Key to separate caches ( #5543 )
...
* Add article's record key to Fastly Surrogate-Key to separate caches
After #4744 we successfully setup an auto purging system based on Fastly's surrogate key based cache and purging API.
Unfortunately this worked only in the `:show` action as comments are their own tree-based resource.
The `:index` though, is related to a single article, so without the article's record key in the `Surrogate-Key` header the first time we hit the API the result would become the value stored in Fastly's API, for all articles.
* Fix commentable mock for job spec
* Add comment.commentable.purge to the worker as well
* Add more thorough tests for commentable
2020-01-17 08:45:47 -05:00
Molly Struve
29efdaf20a
Remove Comments::CreateIdCodeJob which is now done inline ( #5536 )
2020-01-16 09:31:11 -05:00
serena
5e761fc570
remove unused welcome notification job ( #5535 )
2020-01-15 16:57:33 -05:00
Lucas Hiago
97aac4ef9b
Change Notifications::MilestoneJob to Notifications::MilestoneWorker and move to sidekiq ( #5454 ) [deploy]
2020-01-15 13:21:56 -05:00
rhymes
bcd85452e9
Comments API: fix caching issues ( #4744 ) [deploy]
...
* Use ancestry in the index and add test
* Add tests for show action
* Return complete comments trees for index, kill n+1 and use correct edge cache key
* Return complete comments tree for show, kill n+1 and use correct edge cache key
* Refactor tests and add surrogate keys tests
* Preload users for the whole subtree
* Clarify explanation of the edge cache keys construction
* Refactor partials
* Remove action caching
* Replace .map.flatten with .flat_map
* Fix surrogate key prefix according to Fastly docs
* Add comment.purge to Comments::BustCacheJob to use Fastly-Rails
* Fix surrogate key spec
2020-01-15 10:45:56 -05:00
Michael Kohl
dba7e6ca60
Move Twitch webhook registration from ActiveJob to Sidekiq ( #5414 )
2020-01-14 11:55:35 -05:00
Asha Balasubramaniam
61acfcd4c9
Remove Comments::SendEmailNotificationJob to send email notification on comment creation ( #5446 )
...
Follow up to https://github.com/thepracticaldev/dev.to/pull/5427
2020-01-13 13:19:48 -06:00
Lucas Hiago
1ed6aca54a
Change Webhook::DestroyJob to Wehook::DestroyWorker and move to sidekiq ( #5424 ) [deploy]
2020-01-13 12:38:10 -06:00
Maykon Menezes
cf4dc80250
Move Podcast Episode Bust Cache Job to Sidekiq ( #5416 ) [deploy]
2020-01-10 10:08:59 -06:00
serena
00fd2f4518
Remove Unused NewBadgeAchievementJob ( #5437 )
2020-01-10 10:07:36 -06:00
Mukesh Chaudhary
d479a77aab
Remove New Reaction Job and Spec ( #5422 ) [deploy]
2020-01-10 08:44:23 -06:00
Alain Mauri
c013079359
Move Classified Listing Cache Buster to Sidekiq ( #5408 ) [deploy]
...
* Created the worker to bust cache for classified listings
* Created the related tests
* Removed the old job
2020-01-09 17:23:23 -05:00
Lucas Hiago
a86371e772
Remove TouchJob and do it Inline ( #5410 )
2020-01-09 17:22:09 -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
Alain Mauri
5055121361
Remove Chat Channels Index Job ( #5409 ) [deploy]
2020-01-08 16:33:40 -05:00
Maykon Menezes
a9cb13c3f6
moving org bust cache job to sidekiq ( #5406 ) [deploy]
2020-01-08 15:03:40 -05:00
Molly Struve
7c939dc2c5
Remove TouchFollowerJob and do user update inline ( #5391 ) [deploy]
2020-01-08 14:12:04 -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
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
Lud
d39aa6537f
removes job moved to worker: follows send email notification ( #5357 )
2020-01-06 08:11:54 -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
Molly Struve
6067edf20e
remove old Articles::BustCacheJob ( #5320 ) [deploy]
2020-01-02 07:26:51 -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
9912bbcdb8
Asynchronously Update Algolia after a PageView Update ( #5076 ) [deploy]
2019-12-13 14:07:33 -06:00
Anna Buianova
bbc5f95d86
Fix Algolia deserialization errors by indexing by record_type and id rather than AR object ( #5063 ) [deploy]
2019-12-11 11:49:35 -06:00