discourse/spec/fixtures/onebox
Martin Brennan f5cbc3e3b8
FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947)
Followup 560e8aff75

The linked commit allowed oneboxing private GitHub PRs,
issues, commits, and so on, but it didn't actually allow
oneboxing the root repo e.g https://github.com/discourse/discourse-reactions

We didn't have an engine for this, we were relying on OpenGraph
tags on the HTML rendering of the page like we do with other
oneboxes.

To fix this, we needed a new github engine for repos specifically.

Also, this commit adds a `data-github-private-repo` attribute to
PR, issue, and repo onebox HTML so we have an indicator of
whether the repo was private, which can be used for theme components
and so on.
2024-07-19 12:21:45 +10:00
..
amazon-alternate.response FIX: Support new layout on Amazon product pages (#16091) 2022-03-04 18:31:53 -05:00
amazon-ebook.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
amazon-error.response FIX: return an empty result if response from Amazon is missing expected attributes (#13173) 2021-06-01 16:23:18 -04:00
amazon-og.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
amazon.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
assemblyai.response FIX: ensures generic onebox has width/height for thumbnail (#23040) 2023-08-09 20:31:11 +02:00
audio_com_audio_oembed.response FEATURE: Add audio.com onebox provider (#22936) 2023-08-08 16:55:04 +10:00
audio_com_collection_oembed.response FEATURE: Add audio.com onebox provider (#22936) 2023-08-08 16:55:04 +10:00
basic_description.response FIX: Use basic meta description if other description tags are missing (#15356) 2021-12-17 19:36:54 -05:00
cloudapp-gif.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
cloudapp-jpg.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
cloudapp-mp4.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
cloudapp-others.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
cnn.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
dailymail.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
discourse_topic.response FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
discourse_topic_reply.response FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
etsy.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
etsy_mobile.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
gfycat.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
giphy.response FIX: Support pausing GIFs for giphy/tenor oneboxes (#13194) 2021-05-28 08:40:30 -04:00
github_issue_onebox.response SECURITY: Onebox templates' HTML injections. 2023-11-09 13:39:11 +11:00
githubactions_actions_run.response Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
githubactions_pr.response Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
githubactions_pr_run.response Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
githubblob.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
githubcommit.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
githubfolder-discourse-root.response discourse/discourse change from 'master' to 'main': update fixture data 2021-07-19 11:46:15 -04:00
githubfolder-rdoc-root.response FIX: Broken GitHub folder onebox logic (#15612) 2022-01-17 18:32:07 +01:00
githubfolder.response DEV: fix test (missed a reference to master) 2021-07-19 12:47:45 -04:00
githubgist.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
githubpullrequest.response DEV: Fix various spec linting issues (#24672) 2023-12-04 13:45:19 +01:00
githubpullrequest_comment.response FEATURE: Handle oneboxes for complex GitHub URLs (#18474) 2022-10-06 20:26:04 +03:00
githubpullrequest_commit.response FEATURE: Handle oneboxes for complex GitHub URLs (#18474) 2022-10-06 20:26:04 +03:00
githubrepo.response FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947) 2024-07-19 12:21:45 +10:00
gitlabblob.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googledocs.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googledrive.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googlephotos.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googleplayapp.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
hackernews_comment.response FEATURE: Onebox for news.ycombinator.com (#15781) 2022-02-03 13:39:21 -03:00
hackernews_story.response FEATURE: Onebox for news.ycombinator.com (#15781) 2022-02-03 13:39:21 -03:00
image.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
imdb.response FIX: IMDb links were being oneboxed as posters (#13310) 2021-06-07 18:45:59 +05:30
imgur.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
instagram.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
instagram_new.response Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
instagram_old.response Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
kaltura.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
meetup.response.html DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
meetup_oembed.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
missing_description.response Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
missing_description_and_image.response Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
missing_image.response FIX: Don’t display error if only error is a missing image (#12216) 2021-02-25 14:30:40 -05:00
pubmed-electronic-xml.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pubmed-electronic.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pubmed-xml.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pubmed.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
reddit_image.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
slides.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
spotify.response FEATURE: Support Spotify Onebox (#27540) 2024-06-19 13:27:27 -03:00
stackexchange-answer.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
stackexchange-question.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
tenor.response FIX: Support pausing GIFs for giphy/tenor oneboxes (#13194) 2021-05-28 08:40:30 -04:00
threadsstatus_featured_image.response FEATURE: Basic support for threads.net onebox (#22471) 2023-07-06 16:02:49 -03:00
threadsstatus_profile.response FEATURE: Basic support for threads.net onebox (#22471) 2023-07-06 16:02:49 -03:00
threadsstatus_without_image.response FEATURE: Basic support for threads.net onebox (#22471) 2023-07-06 16:02:49 -03:00
twitterstatus.response FIX: Use Twitter API v2 for oneboxes and restore OpenGraph fallback (#22187) 2023-06-22 14:39:02 -03:00
twitterstatus_featured_image.response FIX: Use Twitter API v2 for oneboxes and restore OpenGraph fallback (#22187) 2023-06-22 14:39:02 -03:00
twitterstatus_noclient.response FIX: avoid error from missing meta tags (#26927) 2024-05-14 11:41:53 -04:00
twitterstatus_quoted.response FIX: Use Twitter API v2 for oneboxes and restore OpenGraph fallback (#22187) 2023-06-22 14:39:02 -03:00
video.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
video_missing_description.response Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
wikimedia.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
wikipedia.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
wikipedia_url_encoded.response TEST: Adds test for urls with url-encoded section hash 2021-08-12 10:43:50 -04:00
wikipediaredirected.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
xkcd.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
xstatus_noclient.response DEV: Add spec for x.com onebox url matcher (#27214) 2024-05-28 09:04:20 -03:00
youku-meta.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youku.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youtube-channel.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youtube-embed.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youtube-playlist.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
youtube-shorts.response FEATURE: Youtube Short onebox support (#19335) 2022-12-06 11:56:48 -03:00
youtube.response DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30