docbrown/spec
Corey Alexander ec388804df Embed Twitch Live Streaming (#2591)
* Get a job created that can create a webhook subscription for a twitch user login

* Remove ngork url

* Refactor add store the access token in the cache

* Get a controller stood up to recieve the webhooks. Now they just need to be processed

* Get User columns added and got webhook controller bones working

* Update the webhook job to use the User

* Add a way for the User to input their Twitch User Name. Plus a linter fix

* Delay webhook registration when profile is updated

* Don't add _ in username

* Use String columns

* Quick fix and add some more requests specs

* Specs for the webhook job

* Get a show page Twitch Live Streams. Just a straight embed of the Twitch Everything Embed UI. Works surprisingly well responsively, and works on all screen sizes

* Fix Gemfile.lock from merge issues

* Add support for expired tokens and add spec

* Add secrets to webhook registration and clean up spec to remove token logic

* Verify webhook secret and spec it

* Add rake task to enqueue webhook registration for all Users. This can be used from Heroku Scheduler

* Update the lease seconds to be for 5 days

* Actually lets do 7 so we can refresh twice a week and try to make sure that we can always miss one

* Hijack the existing Twitch logo instead of making a duplicate one

* Remove comment and replace with log line

* Remove some white space

* Log to Airbrake when webhook errors occur

* Move to passing in an id instead of User object

* Extract logic from Job to Service object

* Capitilize in the view

* Move out of models and into services

* Remove letover stub

* Remove one usage of Faraday

* Use HTTParty for all the HTTP here
2019-04-29 18:11:53 -04:00
..
black_box BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
decorators Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
factories Fix lints (#2553) [ci skip] 2019-04-25 07:56:15 -04:00
fixtures/approvals/rssreader Upgrade Honeycomb gem, fix and improve RssReader tests (#2319) 2019-04-07 15:27:53 -04:00
helpers Fix community name (#2415) 2019-04-13 16:12:21 -04:00
jobs Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
labor BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
lib Fix non-english characters delete on tags (#2579) 2019-04-29 17:33:14 -04:00
liquid_tags Improve Gist Link Regex (#2592) 2019-04-29 12:24:52 -04:00
mailers Add mailers specs for tracking (#2523) 2019-04-23 12:38:11 -04:00
models Escape range separator (#2593) 2019-04-29 14:27:26 -04:00
observers Enable random order for specs (#2466) [ci skip] 2019-04-17 11:30:23 -04:00
policies Upgrade factory_bot_rails to 5.2.0 (#2532) [ci skip] 2019-04-23 13:21:22 -04:00
requests Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
support Remove unused code (#2567) [ci skip] 2019-04-26 12:16:16 -04:00
system Enable random order for specs (#2466) [ci skip] 2019-04-17 11:30:23 -04:00
views Migrate feature test to system test (#2301) 2019-04-04 12:15:10 -04:00
rails_helper.rb Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00