Ghost/core/test/unit
Fabien O'Carroll 8ccf27340b Oembed meta tag fallback for unknown providers (#9827)
closes #9786

- Make GET request when url has no provider match
  - The HEAD request was made in order to send less data over the wire when
checking for redirects for urls that do not have an oembed provider
match. We are now going to look for provider metatags withing the
response of the request - rather than making a HEAD followed by a GET if
no redirect is found, this condenses that to a single request.

- Try to get OEmbed data from tag if no provider
  - Here we parse the HTML response of the resource and look for a link tag
that will give us the oembed resource url which we can use to fetch the
embed html
2018-08-27 15:02:03 +01:00
..
adapters Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api Oembed meta tag fallback for unknown providers (#9827) 2018-08-27 15:02:03 +01:00
apps Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Updated fixture post content 2018-08-16 12:13:24 +02:00
helpers Changes for Koenig and Ghost 2.0 (#9750) 2018-08-16 12:13:24 +02:00
lib Fixed tests 2018-08-16 12:13:24 +02:00
models 🐛 Added logic to avoid updating the updated_at and updated_by field when migrating (#9814) 2018-08-22 13:57:12 +02:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services Fixed RPC pings (#9816) 2018-08-23 15:20:29 +02:00
web Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
filters_spec.js