discourse/lib/onebox/engine
Jarek Radosz 31b27b3712
FIX: Broken GitHub folder onebox logic (#15612)
1. `html_doc.css('.Box.md')` always returns a truthy value (e.g. `[]`) so the second branch of the if-elsif never ran
2. `node&.css('text()')` was invalid code that would raise an error
3. Matching on h3 elements is no longer correct with the current html structure returned by GitHub
2022-01-17 18:32:07 +01:00
..
allowlisted_generic_onebox.rb FIX: Disable previews if diffhtml is enabled (#14537) 2021-10-08 15:57:08 +03:00
amazon_onebox.rb FIX: return an empty result if response from Amazon is missing expected attributes (#13173) 2021-06-01 16:23:18 -04:00
animated_image_onebox.rb FIX: Giphy oneboxing when the response is an image (#13199) 2021-05-28 15:10:32 -04:00
asciinema_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
audio_onebox.rb FIX: Disable previews if diffhtml is enabled (#14537) 2021-10-08 15:57:08 +03:00
audioboom_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
band_camp_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
cloud_app_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
coub_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
facebook_media_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
five_hundred_px_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
flickr_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
flickr_shortened_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
gfycat_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
github_actions_onebox.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
github_blob_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
github_commit_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
github_folder_onebox.rb FIX: Broken GitHub folder onebox logic (#15612) 2022-01-17 18:32:07 +01:00
github_gist_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
github_issue_onebox.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
github_pull_request_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
gitlab_blob_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
google_calendar_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
google_docs_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
google_drive_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
google_maps_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
google_photos_onebox.rb FIX: Correct the play icon position (#14295) 2021-09-09 15:10:32 +02:00
google_play_app_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
html.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
image_onebox.rb FEATURE: Onebox can match engines based on the content_type (#13876) 2021-07-30 13:36:30 -04:00
imgur_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
instagram_onebox.rb FIX: Display Instagram Oneboxes in an iframe (#14789) 2021-11-02 14:34:51 -04:00
json.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
kaltura_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
mixcloud_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
opengraph_image.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pastebin_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pdf_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pubmed_onebox.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
reddit_media_onebox.rb FIX: Correct the play icon position (#14295) 2021-09-09 15:10:32 +02:00
replit_onebox.rb Update replit onebox to accept .com 2021-10-19 16:37:33 -04:00
simplecast_onebox.rb FIX: update iframe url for simplecast onebox (#13957) 2021-08-05 18:29:04 +05:30
sketch_fab_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
slides_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
sound_cloud_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
stack_exchange_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
standard_embed.rb FIX: Use basic meta description if other description tags are missing (#15356) 2021-12-17 19:36:54 -05:00
steam_store_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
trello_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
twitch_clips_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
twitch_stream_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
twitch_video_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
twitter_status_onebox.rb FIX: Don’t use `user_generated` images as avatar images in Oneboxed Twitter content (#13712) 2021-07-13 14:54:28 -04:00
typeform_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
video_onebox.rb FIX: Disable previews if diffhtml is enabled (#14537) 2021-10-08 15:57:08 +03:00
vimeo_onebox.rb FIX: Vimeo private video oneboxes were broken (#14510) 2021-10-05 15:46:58 +05:30
wikimedia_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
wikipedia_onebox.rb FIX: Unescapes hash section with present to account for url-encoded chars 2021-08-12 10:43:50 -04:00
wistia_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
xkcd_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youku_onebox.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youtube_onebox.rb SECURITY: Sanitize YouTube Onebox data (#13748) 2021-07-15 19:31:50 +01:00