Eugen Rochko
3ca64638d4
Refactor `Cache-Control` and `Vary` definitions ( #24347 )
2 years ago
Nick Schonning
dd46810e8a
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
2 years ago
Eugen Rochko
fbbcbd940d
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ( #11247 )
5 years ago
Yamagishi Kazutoshi
7da649efb4
Use raw status code on have_http_status ( #7214 )
7 years ago
unarist
34603e0154
Raise an error for remote url in StatusFinder ( #4776 )
...
* 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
7 years ago
Matt Jankowski
4e89226243
Improve api oembed controller ( #3450 )
...
* Add StreamEntryFinder class to parse URLs
* Use StreamEntryFinder and clean up api/oembed controller
8 years ago
Eugen Rochko
a75cada495
Fix oembed controller test
8 years ago
Eugen Rochko
a8814a19dc
Add basic OEmbed provider API, fix #247
8 years ago