Commit Graph

4 Commits (c1efe0aa1d7ab43aa74387df6f1d56a56ec268de)

Author SHA1 Message Date
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