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 FIX: ensures generic onebox has width/height for thumbnail (#23040) 2023-08-09 20:31:11 +02:00
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 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
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
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
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 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
xkcd.mustache