Commit Graph

5 Commits (8756fd1e8231ff57c4249fa900b7a5d5f9005178)

Author SHA1 Message Date
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status ()
unarist 6a4e2db661 Raise an error for remote url in StatusFinder ()
* Raise an error for remote url in StatusFinder

Previous implementation had allowed remote url with status id which also exists on local.

Then that bug leads /api/web/embed to return wrong embed url.

* Fix oembed_controller_spec
Matt Jankowski 3576fa0d59 Improve api oembed controller ()
* Add StreamEntryFinder class to parse URLs

* Use StreamEntryFinder and clean up api/oembed controller
Eugen Rochko 7c015ece45 Fix oembed controller test
Eugen Rochko 6ff93845d5 Add basic OEmbed provider API, fix