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
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
amazon.response
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
cloudapp-jpg.response
cloudapp-mp4.response
cloudapp-others.response
cnn.response
dailymail.response
discourse_topic_reply.response FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
discourse_topic.response FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
etsy_mobile.response
etsy.response
gfycat.response
giphy.response
github_issue_onebox.response SECURITY: Onebox templates' HTML injections. 2023-11-09 13:39:11 +11:00
githubactions_actions_run.response
githubactions_pr_run.response
githubactions_pr.response
githubblob.response
githubcommit.response
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
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
githubpullrequest.response DEV: Fix various spec linting issues (#24672) 2023-12-04 13:45:19 +01: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
googledocs.response
googledrive.response
googlephotos.response
googleplayapp.response
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
imdb.response FIX: IMDb links were being oneboxed as posters (#13310) 2021-06-07 18:45:59 +05:30
imgur.response
instagram_new.response
instagram_old.response
instagram.response
kaltura.response
meetup_oembed.response
meetup.response.html
missing_description_and_image.response
missing_description.response
missing_image.response
pubmed-electronic-xml.response
pubmed-electronic.response
pubmed-xml.response
pubmed.response
reddit_image.response
slides.response
spotify.response FEATURE: Support Spotify Onebox (#27540) 2024-06-19 13:27:27 -03:00
stackexchange-answer.response
stackexchange-question.response
tenor.response
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_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
twitterstatus.response FIX: Use Twitter API v2 for oneboxes and restore OpenGraph fallback (#22187) 2023-06-22 14:39:02 -03:00
video_missing_description.response
video.response
wikimedia.response
wikipedia_url_encoded.response TEST: Adds test for urls with url-encoded section hash 2021-08-12 10:43:50 -04:00
wikipedia.response
wikipediaredirected.response
xkcd.response
xstatus_noclient.response DEV: Add spec for x.com onebox url matcher (#27214) 2024-05-28 09:04:20 -03:00
youku-meta.response
youku.response
youtube-channel.response
youtube-embed.response
youtube-playlist.response
youtube-shorts.response FEATURE: Youtube Short onebox support (#19335) 2022-12-06 11:56:48 -03:00
youtube.response