mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 22:33:37 +08:00
560e8aff75
This commit adds the ability to onebox private GitHub commits, pull requests, issues, blobs, and actions using a new `github_onebox_access_token` site setting. The token must be set up in correctly to have access to the repos needed. To do this successfully with the Oneboxer, we need to skip redirects on the github.com host, otherwise we get a 404 on the URL before it is translated into a GitHub API URL and has the appropriate headers added. |
||
---|---|---|
.. | ||
allowlisted_generic_onebox.rb | ||
amazon_onebox.rb | ||
animated_image_onebox.rb | ||
asciinema_onebox.rb | ||
audio_com_onebox.rb | ||
audio_onebox.rb | ||
audioboom_onebox.rb | ||
band_camp_onebox.rb | ||
cloud_app_onebox.rb | ||
coub_onebox.rb | ||
discourse_topic_onebox.rb | ||
facebook_media_onebox.rb | ||
five_hundred_px_onebox.rb | ||
flickr_onebox.rb | ||
flickr_shortened_onebox.rb | ||
gfycat_onebox.rb | ||
github_actions_onebox.rb | ||
github_blob_onebox.rb | ||
github_commit_onebox.rb | ||
github_folder_onebox.rb | ||
github_gist_onebox.rb | ||
github_issue_onebox.rb | ||
github_pull_request_onebox.rb | ||
gitlab_blob_onebox.rb | ||
google_calendar_onebox.rb | ||
google_docs_onebox.rb | ||
google_drive_onebox.rb | ||
google_maps_onebox.rb | ||
google_photos_onebox.rb | ||
google_play_app_onebox.rb | ||
hackernews_onebox.rb | ||
html.rb | ||
image_onebox.rb | ||
imgur_onebox.rb | ||
instagram_onebox.rb | ||
json.rb | ||
kaltura_onebox.rb | ||
loom_onebox.rb | ||
mixcloud_onebox.rb | ||
motoko_onebox.rb | ||
opengraph_image.rb | ||
pastebin_onebox.rb | ||
pdf_onebox.rb | ||
pubmed_onebox.rb | ||
reddit_media_onebox.rb | ||
replit_onebox.rb | ||
simplecast_onebox.rb | ||
sketch_fab_onebox.rb | ||
slides_onebox.rb | ||
sound_cloud_onebox.rb | ||
spotify_onebox.rb | ||
stack_exchange_onebox.rb | ||
standard_embed.rb | ||
steam_store_onebox.rb | ||
threads_status_onebox.rb | ||
tiktok_onebox.rb | ||
trello_onebox.rb | ||
twitch_clips_onebox.rb | ||
twitch_stream_onebox.rb | ||
twitch_video_onebox.rb | ||
twitter_status_onebox.rb | ||
typeform_onebox.rb | ||
video_onebox.rb | ||
vimeo_onebox.rb | ||
wikimedia_onebox.rb | ||
wikipedia_onebox.rb | ||
wistia_onebox.rb | ||
xkcd_onebox.rb | ||
youku_onebox.rb | ||
youtube_onebox.rb |