Molly Struve
c3b88d19de
Dont let HTTParty::RedirectionTooDeep Errors kill Podcast Ep. Update Workers ( #6735 ) [deploy]
...
Co-authored-by: lightalloy <lightallloy@gmail.com
2020-03-20 08:19:14 -05:00
Asha Balasubramaniam
11adeb3215
Migrate PodcastEpisodes::UpdateMediaUrlJob to PodcastEpisodes::UpdateMediaUrlWorker for Sidekiq ( #5729 )
2020-01-27 09:40:34 -05:00
Asha Balasubramaniam
bc137ff762
Migrate PodcastEpisodes::CreateJob to PodcastEpisodes::CreateWorker for Sidekiq ( #5633 )
...
The tests around `Podcasts::Feed` helped catch a bug around the
migration of the podcast episode creation delayed job where the sidekiq
version was passing a string version of item hash to
`Podcasts::CreateEpisode` which was in fact expecting the hash to
contain symbols.
2020-01-23 15:37:43 -05:00
Anna Buianova
bff6cd6985
Fix podcast episode validation error ( #4967 ) [deploy]
...
* Started fixing podcast episode bug
* Fix the specs for create podcast episode
2019-11-29 16:16:19 -05:00
Anna Buianova
41ab013050
Normalize podcast url before checking for reachability ( #4806 )
...
* Normalize podcast url before checking for reachability
* Added to_s when normalizing episode url and simplified tests
2019-11-14 08:58:29 -05:00
Anna Buianova
41ba46623c
Increase redirects limit when fetching podcasts ( #4479 )
2019-10-17 11:24:29 -04:00
Anna Buianova
cbfe53e81b
Rescue SocketError when trying to fetch a podcast ( #4274 ) [ci skip]
2019-10-07 10:26:22 -04:00
Anna Buianova
3b97eb3f9c
Rescue all Errno exceptions while fetching a podcast episode ( #3689 )
2019-08-12 11:57:43 -04:00
Anna Buianova
7c1917f5f7
Don't hide podcasts if they have reachable episodes ( #3532 )
...
* Don't hide podcasts if they have reachable episodes
Recheck episodes' reachability after the podcast status is set to
unreachable
* Update db/schema.rb
* Fix GetEpisodesJob specs
* Fix stories spec
* Episodes are reachable even if the podcast is unreachable
* Improve the Podcast.reachable query
* Fix podcasts root page spec
* Add index concurrently
2019-07-26 11:33:31 -04:00
Anna Buianova
94ab4e23fe
Update podcast episode statuses #2952 ( #3450 )
2019-07-16 13:36:25 -04:00
Anna Buianova
135d1ddf2b
Don't check url and create podcast episode when there's no enclosure url ( #3460 )
...
* Don't check url and create podcast episode when there's no enclosure url
* Keep a couple of records of podcast's rss for test
2019-07-12 12:54:14 -04:00
Anna Buianova
567579daf3
Podcast episodes statuses #2952 ( #3386 )
2019-07-12 10:03:57 -04:00
Anna Buianova
c3ed38f832
Moved creating a new podcast to a separate ActiveJob #2952 ( #3373 )
...
* Podcasts reachable status #2952
* Specs for podcasts statuses
* Moved podcast episode create to a separate ActiveJob
* Use RssItemData wrapper in GetEpisode for consistency
* Reorganize services/podcasts
2019-07-04 13:10:54 -04:00
Anna Buianova
3d81753285
Rescue possible SSLError when fetching a podcast ( #3374 )
2019-07-03 10:36:36 -04:00
Anna Buianova
d6a151703c
Podcasts reachable status #2952 ( #3341 )
...
* Podcasts reachable status #2952
* Specs for podcasts statuses
2019-07-02 09:18:27 -04:00
Anna Buianova
7ee0350ac5
Refactored and optimized getting existing podcast episode ( #3319 )
...
* Refactored and optimized getting existing podcast episode
* Podcast#existing_episode fixes
2019-06-27 11:50:27 -04:00
Anna Buianova
bfa1bdc37f
More specs and refactoring podcasts fetching ( #3245 )
...
* More specs and refactoring podcasts fetching
* Fixed PodcastFeed references in tests
* Pass podcast_id instead of podcast to CreateEpisode
2019-06-21 21:31:15 -04:00