Ghost/core/test/unit
Kevin Ansfield ca20f3a6b0 Added /oembed API endpoint
refs https://github.com/TryGhost/Ghost/issues/9623
- add `oembed-parser` module for checking provider availability for a url and fetching data from the provider
  - require it in the `overrides.js` file before the general Promise override so that the `promise-wrt` sub-dependency doesn't attempt to extend the Bluebird promise implementation
- add `/oembed` authenticated endpoint
  - takes `?url=` query parameter to match against known providers
  - adds safeguard against oembed-parser's providers list not recognising http+https and www+non-www
  - responds with `ValidationError` if no provider is found
  - responds with oembed response from matched provider's oembed endpoint if match is found
2018-06-12 16:18:01 +01:00
..
adapters Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api Added /oembed API endpoint 2018-06-12 16:18:01 +01:00
apps Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
helpers Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
lib Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
models Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services 🐛 Fixed slug template for tags and authors 2018-06-11 22:06:47 +02:00
web Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00