OEmbed support for PreviewCard (#2337)
* OEmbed support for PreviewCard * Improve ProviderDiscovery code failure treatment * Do not crawl links if there is a content warning, since those don't display a link card anyway * Reset db schema * Fresh migrate * Fix rubocop style issues Fix #1681 - return existing access token when applicable instead of creating new * Fix test * Extract http client to helper * Improve oembed controller
... | ... | @@ -49,6 +49,7 @@ gem 'rails-settings-cached' |
gem 'redis', '~>3.2', require: ['redis', 'redis/connection/hiredis'] | ||
gem 'rqrcode' | ||
gem 'ruby-oembed', require: 'oembed' | ||
gem 'sanitize' | ||
gem 'sidekiq' | ||
gem 'sidekiq-unique-jobs' | ||
gem 'simple-navigation' | ||
... | ... |
app/helpers/http_helper.rb
0 → 100644
app/lib/sanitize_config.rb
0 → 100644
Please register or sign in to comment