0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins
Kris c664c44400
FEATURE: Add a livestream_allowed_hosts site setting for livestreams [backport 2026.7] (#42439)
Backport of #42374 to release/2026.7.

---

Currently the hosts that can be used for a livestream event are
hardcoded in the composer's JavaScript, and the server accepts any https
location, so the list isn't really enforced... and there's no way to use
hosts that would otherwise work, including custom or self-hosted
sources.

This adds a `livestream_allowed_hosts` site setting (defaulting to the
existing hardcoded list) and validates against it both in the composer
and on the server. Whether a livestream embeds a player still depends on
the site's onebox settings.

Co-authored-by: Martin Brennan <martin@discourse.org>
2026-08-07 12:29:01 -04:00
..
automation I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
chat I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
checklist DEV: Remove rich_editor site setting (#41873) 2026-07-23 19:49:20 -03:00
discourse-adplugin I18N: Update translations (#42340) 2026-08-05 11:01:55 +02:00
discourse-affiliate I18N: Update translations (#42126) 2026-07-29 11:33:44 +02:00
discourse-ai I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-apple-auth I18N: Update translations (#42260) 2026-08-03 10:55:40 +02:00
discourse-assign I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-cakeday I18N: Update translations (#42126) 2026-07-29 11:33:44 +02:00
discourse-calendar FEATURE: Add a livestream_allowed_hosts site setting for livestreams [backport 2026.7] (#42439) 2026-08-07 12:29:01 -04:00
discourse-captcha I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-chat-integration I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-data-explorer I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-details I18N: Update translations (#42154) 2026-07-30 11:46:55 +02:00
discourse-gamification I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-github I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-graphviz UX: Fit large Graphviz graphs to the box instead of overflowing (#40915) 2026-06-15 22:44:39 +01:00
discourse-lazy-videos Update discourse-lazy-videos plugin URL (#41835) 2026-07-22 22:31:04 +05:30
discourse-local-dates I18N: Update translations (#42260) 2026-08-03 10:55:40 +02:00
discourse-login-with-amazon I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-lti PERF: Avoid replacing CSP nonces in non-cacheable responses (#42008) 2026-07-24 09:49:01 +08:00
discourse-math I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-microsoft-auth DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
discourse-narrative-bot I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-oauth2-basic I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-openid-connect I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-patreon I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-policy I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-post-voting I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-presence I18N: Update translations (#42260) 2026-08-03 10:55:40 +02:00
discourse-reactions I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-rewind I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-rss-polling I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-solved I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-subscriptions I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-templates I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-topic-voting I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00
discourse-user-notes I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
discourse-workflows Feature: Add chat integration workflows send action (#40663) 2026-07-28 00:46:16 +02:00
discourse-zendesk-plugin I18N: Update translations (#42126) 2026-07-29 11:33:44 +02:00
footnote I18N: Update translations (#42260) 2026-08-03 10:55:40 +02:00
poll I18N: Update translations (#42307) 2026-08-04 15:58:36 +02:00
spoiler-alert I18N: Update translations (#42154) 2026-07-30 11:46:55 +02:00
styleguide I18N: Update translations (#42394) 2026-08-06 10:22:58 +02:00