Alex
67894aa1f8
Move Articles::DetectHumanLanguage from background job to inline ( #5888 ) [deploy]
...
* Move DetectHumanLanguage inline
* Remove old DetectHumanLanguage job and spec
* Fix copy/pasta mixup...oopsie!
* Update article_spec for inline LanguageDetector
2020-02-04 10:45:42 -08:00
Alex
de3ee9ebec
Move HtmlVariantSuccessesCreate from job to inline ( #5879 ) [deploy]
2020-02-04 10:24:39 -08:00
Alex
8168a5e8f5
Move Articles::ScoreCalcJob to Sidekiq ( #5875 ) [deploy]
...
* Create Articles::ScoreCalcWorker
* Create Articles::ScoreCalcWorker spec
* Update references to the new ScoreCalcWorker
* Refactoring conditional callbacks and biz logic
- Move update_columns to a model method
- Move conditions on callback to guard clause in callback method
- Make article_destroy_spec more explicit
2020-02-04 10:01:46 -08:00
Alex
0c42ea2b43
Move Tags::BustCacheJob to Sidekiq ( #5870 ) [deploy]
...
* Create Tags::BustCacheWorker
* Create Tags::BustCacheWorker spec
* Update references to new worker
2020-02-04 09:24:37 -08:00
Vaidehi Joshi
267e08f6f0
Improve dropdown UX for internal/badges ( #5880 ) [deploy]
...
* Improve dropdown UX for internal/badges
Add a "blank" option to the dropdown to list of badges on internal/badges route.
Also add some checks to handle if an admin accidentally tries to award a "blank" badge.
* Ensure error is surfaced as flash message
2020-02-04 09:02:14 -08:00
Vaidehi Joshi
b09a0c60f3
Add comment to highlight difference between previewing in v1 and v2 editors ( #5894 )
...
A follow-up to https://github.com/thepracticaldev/dev.to/pull/5873 .
2020-02-04 08:32:06 -08:00
rhymes
42b33f29ae
Add signin=true as a param correctly if the URL already has params ( #5866 ) [deploy]
2020-02-04 09:41:10 -05:00
Nick Taylor
59f5cd7e07
Cleanup proptypes exports ( #5874 )
2020-02-03 17:52:23 -05:00
Mohamed ABDELLANI
058f6a2939
Remove footer rendering from shecoded.html.erb ( #5823 )
2020-02-03 17:02:01 -05:00
Vaidehi Joshi
db3e6128ac
Render main image in article preview for v2 editor ( #5873 ) [deploy]
...
Previewing a main image on an article was broken in v2 of the editor :(
We had some tests for this (which I wrote), but the setup for the tests weren't quite right!
This commit fixes the bug, and also refactors and cleans up our tests quite a bit.
Also adds some snapshots for both v1 and v2 editors in a "no image" preview state.
2020-02-03 16:58:11 -05:00
Alex
e579914b1a
Remove BadgeAchievements::SendEmailNotificationJob ( #5869 ) [deploy]
2020-02-03 11:10:47 -08:00
Alex
59437f518f
Remove old SubscribeToMailchimpNewsletterJob & spec ( #5868 )
2020-02-03 10:35:10 -08:00
Alex
c0ebb38560
Remove old ResaveArticlesJob and spec ( #5867 )
2020-02-03 10:34:47 -08:00
Jacob Herrington
e8130565e1
Add whitespace to internal users edit page ( #5840 )
...
Co-authored-by: MichaelaHunter <michaela1234@gmail.com>
Co-authored-by: MichaelaHunter <60361569+MichaelaHunter@users.noreply.github.com>
2020-02-03 11:34:31 -05:00
Fran Zekan
cba4e99525
Return a 404 response If @event is Not Found ( #5798 ) [deploy]
2020-02-03 11:30:52 -05:00
Andy Zhao
29e46000a5
Fix typo in ReactionObserver ( #5834 ) [deploy]
2020-02-03 11:18:37 -05:00
rhymes
a1835ae5b9
User counters using PostgreSQL JSON ( #5373 ) [deploy]
...
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-02-03 10:35:08 -05:00
Molly Struve
a5dd0c6abb
track stripe errors in Datadog so we can alert on them ( #5797 )
2020-02-03 09:11:38 -05:00
Alex
928fdd5ecd
Remove BustHomepageCacheJob and spec ( #5777 ) [deploy]
2020-02-01 18:54:41 -05:00
Alex
783da4b0d5
Move BadgeAchievements::SendEmailNotificationWorker to Sidekiq ( #5779 ) [deploy]
2020-01-31 14:45:32 -05:00
Ben Halpern
82f2281b1c
Create dynamic robots.txt page ( #5794 ) [deploy]
...
* Create dynamic robots.txt page
* Add tests and remove cachebust
2020-01-28 16:49:34 -05:00
Lucas Hiago
d5a5c53419
Change Notifications::UpdateJob to Notifications::UpdateWorker and move to sidekiq ( #5689 ) [deploy]
2020-01-28 12:43:50 -05:00
Lucas Hiago
ca0770dbdd
Remove Notifications::RemoveAllByActionJob and Handle inline ( #5690 )
2020-01-28 12:43:21 -05:00
Maykon Menezes
3b3d2be89d
Refactor Podcasts Bust Cache job ( #5421 )
2020-01-28 12:40:32 -05:00
Asha Balasubramaniam
ad0a3fd953
Remove unused populate history job ( #5778 )
2020-01-28 09:03:51 -05:00
Lucas Hiago
587d1040dc
Change ModerationNotificationJob to ModerationNotificationWorker and move to sidekiq ( #5683 ) [deploy]
2020-01-28 08:42:26 -05:00
Asha Balasubramaniam
87e50612a4
Remove unused user follow job ( #5776 )
...
Turns out this has already been migrated with #5403 so cleaning this up.
2020-01-28 08:41:43 -05:00
Michael Kohl
96ac213614
Add comment explaing catch + reraise ( #5782 )
2020-01-28 08:36:40 -05:00
Alex
26e4412b85
Remove DispatchEventJob and spec ( #5774 ) [deploy]
2020-01-27 14:12:49 -08:00
rhymes
5444c53df2
Improve API podcast episodes controller caching and fetching ( #5772 ) [deploy]
...
* Refactor caching and add some tests
* Only select needed columns
* Add more tests
2020-01-27 16:57:37 -05:00
Ben Halpern
ac222865ac
Use page location as indicator for page load ( #5735 ) [deploy]
2020-01-27 16:12:26 -05:00
Asha Balasubramaniam
4568f4b6f0
Remove delayed job that updated media url for podcast episodes ( #5770 )
...
Follow up to #5729
2020-01-27 16:07:00 -05:00
rhymes
397ef313de
Improve video controllers caching and retrieving ( #5709 ) [deploy]
...
* Add tests and improve pagination and caching
* Add two more specs
* Add .with_video scope
* Get rid of N+1
* Only select needed columns
* Improve efficiency of the video page as well
* Add missing set_cache_control_headers to API videos#index
2020-01-27 15:51:12 -05:00
Alex
591ac771cc
Move Webhook::DispatchEventJob to Sidekiq ( #5722 ) [deploy]
2020-01-27 14:36:27 -05:00
Sun-Li Beatteay
385a831d8f
comment_controller: add skip_auth to rescue error block ( #5728 )
2020-01-27 14:35:53 -05:00
Alex
743ac13cec
Remove RssReaderFetchUserJob and spec ( #5720 ) [deploy]
2020-01-27 10:40:01 -08:00
Sebastien
a25446b1d4
Add organizations to user profile ( #5583 ) [deploy]
...
* Add organizations to user profile
* Add user organization info updated at column and cache key
* Remove default value for users organization_info_updated_at column
* Update organization_memberships factory
* Remove schema organization_info_updated_at default value
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-01-27 13:31:27 -05:00
rhymes
e582e2a245
Don't use the service worker for the feed ( #5734 )
2020-01-27 12:56:39 -05:00
Sun-Li Beatteay
a86ccff096
fix firefox tags 'View Rules' bug ( #5732 ) [deploy]
2020-01-27 12:53:11 -05:00
Michał Krzysztof Feiler
8dc4c952d7
[deploy] Add "functional.cafe" to Mastodon list ( #5737 )
2020-01-27 11:56:01 -05:00
Alain Mauri
ca4c3963b7
Remove Follows::CreateChatChannelJob ( #5718 ) [deploy]
2020-01-27 09:41:18 -05:00
Asha Balasubramaniam
11adeb3215
Migrate PodcastEpisodes::UpdateMediaUrlJob to PodcastEpisodes::UpdateMediaUrlWorker for Sidekiq ( #5729 )
2020-01-27 09:40:34 -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
Molly Struve
ebf43209a5
Handle Missing Root Comment in Deleted Comment View ( #5716 )
2020-01-27 08:44:00 -05:00
Ben Halpern
d81f407394
Remove non-indexable logged-out links ( #5713 ) [deploy]
...
* Remove non-indexable logged-out links and add nofollow elsewhere
* Remove nofollow part of PR
2020-01-27 07:54:49 -05:00
Ben Halpern
071ec03a3c
Fix article description issues ( #5679 ) [deploy]
...
* Fix article description issues
* Move tag info to decorator
* Fix description edge cases
* Fix description creation logic
* Fix test and adjust naming
* Modify line in processed_description
2020-01-26 14:43:11 -05:00
Alex
62f3e31698
Move RssReaderFetchUserJob to Sidekiq ( #5685 ) [deploy]
...
* Create RssReaderFetchUserWorker
* Create RssReaderFetchUserWorker spec
* Update reference to RssReaderFetchUserWorker
* Update spec for clarity
- Update fake user_id to 9999
- Update return for user.feed_url
* Add feed_url check before calling worker
* Update random user_id for queue test
* Update fake user_id argument in spec
2020-01-24 14:14:20 -08: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