discourse/app/views/layouts
Robin Ward 1cebe7670a FEATURE: Allow embedding to ignore HTTP REFERER
New site setting: `embed_any_origin` that will send postMessages to
wildcard origins `*` instead of the referer.

Most of the time you won't want to do this, so the setting is default to
`false`. However, there are certain situations where you want to allow
embedding to send post messages when there is no HTTP REFERER.

For example, if you created a native mobile app and you wanted to embed a list
of Discourse topics as HTML. In the code your HTML would be a
static file/string, which would not be able to send a referer. In this
case, the site setting will allow the embed to work.

From a security standpoint we currently only use `postMessage` to send
data about the size of the HTML document and scroll position, so it
should be enable if required with minimal security ramifications.
2019-09-10 12:27:07 -04:00
..
_head.html.erb Remove unused & empty author meta tag 2019-06-03 12:00:14 +02:00
application.html.erb FIX: only use app argument for official iOS app banner 2019-08-27 10:23:57 -04:00
crawler.html.erb DEV: consistent theme lookup in application / crawler / no-ember views (#7955) 2019-07-30 19:00:46 +02:00
email_template.html.erb FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
embed.html.erb FEATURE: Allow embedding to ignore HTTP REFERER 2019-09-10 12:27:07 -04:00
finish_installation.html.erb Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
no_ember.html.erb UX: Hide login/signup header buttons during authentication flows 2019-08-08 13:57:18 +01:00