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
json_ld_partials
_layout.mustache
allowlistedgeneric.mustache
amazon.mustache
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
discoursetopic.mustache
githubactions.mustache
githubblob.mustache
githubcommit.mustache
githubfolder.mustache
githubgist.mustache
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
googledocs.mustache
googledrive.mustache
googleplayapp.mustache
hackernews.mustache
instagram.mustache
pastebin.mustache
pdf.mustache
preview_error_fragment_onebox.mustache
preview_error_onebox.mustache
pubmed.mustache
stackexchange.mustache
threadsstatus.mustache
twitterstatus.mustache
wikimedia.mustache
wikipedia.mustache
xkcd.mustache