discourse/lib/onebox/templates
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
..
github DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
json_ld_partials Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
_layout.mustache FIX: Quoting Oneboxed content should exclude formatting (#13296) 2021-06-07 13:03:53 -04:00
allowlistedgeneric.mustache FIX: ensures generic onebox has width/height for thumbnail (#23040) 2023-08-09 20:31:11 +02:00
amazon.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
discourse_category_onebox.mustache FIX: Allow sanitized-HTML in GH issues and categories oneboxes. (#25374) 2024-01-22 15:25:29 -03:00
discourse_topic_onebox.mustache
discourse_user_onebox.mustache UX: Fix user onebox layout (#21284) 2023-04-28 09:50:49 -04:00
discoursetopic.mustache FEATURE: Show more context in Discourse topic oneboxes 2023-01-11 14:22:53 +01:00
githubactions.mustache Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
githubblob.mustache FIX: Localize text in github oneboxes (#25327) 2024-01-19 11:26:06 -03:00
githubcommit.mustache FIX: Localize text in github oneboxes (#25327) 2024-01-19 11:26:06 -03:00
githubfolder.mustache Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
githubgist.mustache FIX: Localize text in github oneboxes (#25327) 2024-01-19 11:26:06 -03:00
githubissue.mustache FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947) 2024-07-19 12:21:45 +10:00
githubpullrequest.mustache FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947) 2024-07-19 12:21:45 +10:00
githubrepo.mustache FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947) 2024-07-19 12:21:45 +10:00
gitlabblob.mustache FIX: Localize text in github oneboxes (#25327) 2024-01-19 11:26:06 -03:00
googledocs.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googledrive.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
googleplayapp.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
hackernews.mustache FEATURE: Onebox for news.ycombinator.com (#15781) 2022-02-03 13:39:21 -03:00
instagram.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pastebin.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
pdf.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
preview_error_fragment_onebox.mustache
preview_error_onebox.mustache
pubmed.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
stackexchange.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
threadsstatus.mustache FEATURE: Basic support for threads.net onebox (#22471) 2023-07-06 16:02:49 -03:00
twitterstatus.mustache FIX: Minor Twitter onebox improvements (#22387) 2023-07-03 19:53:12 -03:00
wikimedia.mustache DEV: Use thumbnail url for wikimedia onebox image (#22620) 2023-07-14 12:20:18 -06:00
wikipedia.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
xkcd.mustache DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30