docbrown/app
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
..
assets Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
black_box BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
controllers Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
dashboards Add Twitch to Profile Links (#2557) 2019-04-25 16:14:28 -04:00
decorators Fix human language detection (#2338) 2019-04-08 15:47:29 -04:00
errors Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
facades/dashboard Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
javascript Fix some listing/credit bugs (#2584) 2019-04-26 19:01:35 -04:00
jobs Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
labor Add proper filtering for inappropriate tags in listings (#2611) 2019-04-29 09:21:42 -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 Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
observers Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
policies Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
services Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
uploaders Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
views Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00