discourse/spec/lib/onebox/engine
Martin Brennan 560e8aff75
FEATURE: Allow oneboxing private GitHub URLs (#27705)
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.
2024-07-10 09:39:31 +10:00
..
allowlisted_generic_onebox_spec.rb
amazon_onebox_spec.rb
animated_image_onebox_spec.rb
audio_com_onebox_spec.rb
audio_onebox_spec.rb
cloudapp_onebox_spec.rb
discourse_topic_onebox_spec.rb
facebook_media_onebox_spec.rb SECURITY: Fix Stored-dom XSS via Facebook Oneboxes 2024-07-03 20:49:22 +08:00
gfycat_onebox_spec.rb
github_actions_onebox_spec.rb FEATURE: Allow oneboxing private GitHub URLs (#27705) 2024-07-10 09:39:31 +10:00
github_blob_onebox_spec.rb FEATURE: Allow oneboxing private GitHub URLs (#27705) 2024-07-10 09:39:31 +10:00
github_commit_onebox_spec.rb FEATURE: Allow oneboxing private GitHub URLs (#27705) 2024-07-10 09:39:31 +10:00
github_folder_onebox_spec.rb
github_gist_onebox_spec.rb
github_issue_onebox_spec.rb FEATURE: Allow oneboxing private GitHub URLs (#27705) 2024-07-10 09:39:31 +10:00
github_pull_request_onebox_spec.rb FEATURE: Allow oneboxing private GitHub URLs (#27705) 2024-07-10 09:39:31 +10:00
gitlab_blob_onebox_spec.rb
google_docs_onebox_spec.rb
google_drive_onebox_spec.rb
google_maps_onebox_spec.rb
google_photos_onebox_spec.rb
google_play_app_onebox_spec.rb
hackernews_spec.rb
html_spec.rb
image_onebox_spec.rb
imgur_onebox_spec.rb
instagram_onebox_spec.rb
json_spec.rb
kaltura_onebox_spec.rb
loom_onebox_spec.rb
motoko_onebox_spec.rb
pdf_onebox_spec.rb
pubmed_onebox_spec.rb
reddit_media_onebox_spec.rb
slides_onebox_spec.rb
spotify_onebox_spec.rb FEATURE: Support Spotify Onebox (#27540) 2024-06-19 13:27:27 -03:00
stack_exchange_onebox_spec.rb
standard_embed_spec.rb
threads_status_onebox_spec.rb
trello_onebox_spec.rb
twitch_clips_onebox_spec.rb
twitch_stream_onebox_spec.rb
twitch_video_onebox_spec.rb
twitter_status_onebox_spec.rb DEV: Add spec for x.com onebox url matcher (#27214) 2024-05-28 09:04:20 -03:00
typeform_onebox_spec.rb
video_onebox_spec.rb
wikimedia_onebox_spec.rb
wikipedia_onebox_spec.rb
wistia_onebox_spec.rb
xkcd_spec.rb
youku_onebox_spec.rb
youtube_onebox_spec.rb