discourse/lib/onebox/engine
Ghassan Maslamani d0a4bc636f
FIX: Vimeo regex pattern (#17277)
Vimeo has two url structure:

- Normal /video_id

- Private/Unlisted /video_id/hash_string

This changes change the regex pattern thus it would be able to

catch both. Also it tolerate trailing slash.

This shall fixes:

https://meta.discourse.org/t/vimeo-embed-urls-parsed-incorrectly-in-email/231042
2022-06-30 13:13:25 -03:00
..
allowlisted_generic_onebox.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
amazon_onebox.rb FIX: Only display the first listed price (#16138) 2022-03-08 15:24:45 -05:00
animated_image_onebox.rb
asciinema_onebox.rb
audio_onebox.rb FIX: Disable previews if diffhtml is enabled (#14537) 2021-10-08 15:57:08 +03:00
audioboom_onebox.rb
band_camp_onebox.rb
cloud_app_onebox.rb
coub_onebox.rb
facebook_media_onebox.rb
five_hundred_px_onebox.rb
flickr_onebox.rb
flickr_shortened_onebox.rb
gfycat_onebox.rb
github_actions_onebox.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
github_blob_onebox.rb
github_commit_onebox.rb UX: Use committed date for GitHub oneboxes (#16318) 2022-03-30 09:16:28 +08:00
github_folder_onebox.rb FIX: Broken GitHub folder onebox logic (#15612) 2022-01-17 18:32:07 +01:00
github_gist_onebox.rb
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
gitlab_blob_onebox.rb
google_calendar_onebox.rb
google_docs_onebox.rb
google_drive_onebox.rb
google_maps_onebox.rb
google_photos_onebox.rb FIX: Correct the play icon position (#14295) 2021-09-09 15:10:32 +02:00
google_play_app_onebox.rb
hackernews_onebox.rb FEATURE: Onebox for news.ycombinator.com (#15781) 2022-02-03 13:39:21 -03:00
html.rb
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
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
mixcloud_onebox.rb FIX: Improve mixcloud oneboxing (#17237) 2022-06-27 08:32:24 +10:00
opengraph_image.rb
pastebin_onebox.rb
pdf_onebox.rb
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
slides_onebox.rb
sound_cloud_onebox.rb
stack_exchange_onebox.rb
standard_embed.rb Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
steam_store_onebox.rb
trello_onebox.rb
twitch_clips_onebox.rb
twitch_stream_onebox.rb
twitch_video_onebox.rb
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
video_onebox.rb FIX: Disable previews if diffhtml is enabled (#14537) 2021-10-08 15:57:08 +03:00
vimeo_onebox.rb FIX: Vimeo regex pattern (#17277) 2022-06-30 13:13:25 -03:00
wikimedia_onebox.rb
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: Add tests for wistia onebox. (#15860) 2022-02-08 13:04:32 +08:00
xkcd_onebox.rb
youku_onebox.rb
youtube_onebox.rb FIX: escape youtube title when constructing onebox preview html (#16999) 2022-06-08 13:42:37 +08:00