* FEATURE: Onebox can match engines based on the content_type `FinalDestination` now returns the `content_type` of a resolved URL. `Oneboxer` passes this value to `Onebox` itself. Onebox engines can now specify a `matches_content_type` regex of content_types that the engine can handle, regardless of the URL. `ImageOnebox` will match URLs with a content type of `image/png`, `jpg`, `gif`, `bmp`, `tif`, etc. This will allow images that exist at a URL without a file type extension to be correctly rendered, assuming a valid `content_type` is returned. |
||
|---|---|---|
| .. | ||
| allowlisted_generic_onebox_spec.rb | ||
| amazon_onebox_spec.rb | ||
| animated_image_onebox_spec.rb | ||
| audio_onebox_spec.rb | ||
| cloudapp_onebox_spec.rb | ||
| gfycat_onebox_spec.rb | ||
| github_actions_onebox_spec.rb | ||
| github_blob_onebox_spec.rb | ||
| github_commit_onebox_spec.rb | ||
| github_folder_onebox_spec.rb | ||
| github_gist_onebox_spec.rb | ||
| github_pullrequest_onebox_spec.rb | ||
| gitlab_blob_onebox_spec.rb | ||
| google_docs_onebox_spec.rb | ||
| google_drive_onebox_spec.rb | ||
| google_maps_onebox_spec.rb | ||
| google_photos_onebox_spec.rb | ||
| google_play_app_onebox_spec.rb | ||
| html_spec.rb | ||
| image_onebox_spec.rb | ||
| imgur_onebox_spec.rb | ||
| instagram_onebox_spec.rb | ||
| json_spec.rb | ||
| kaltura_onebox_spec.rb | ||
| pdf_onebox_spec.rb | ||
| pubmed_onebox_spec.rb | ||
| reddit_media_onebox.rb | ||
| slides_onebox_spec.rb | ||
| stack_exchange_onebox_spec.rb | ||
| trello_onebox_spec.rb | ||
| twitch_clips_onebox_spec.rb | ||
| twitch_stream_onebox_spec.rb | ||
| twitch_video_onebox_spec.rb | ||
| twitter_status_onebox_spec.rb | ||
| typeform_onebox_spec.rb | ||
| video_onebox_spec.rb | ||
| wikimedia_onebox_spec.rb | ||
| wikipedia_onebox_spec.rb | ||
| xkcd_spec.rb | ||
| youku_onebox_spec.rb | ||
| youtube_onebox_spec.rb | ||