discourse/app
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
..
assets FIX: Display emojis in search result blurbs 2019-09-10 11:11:15 -04:00
controllers FEATURE: Allow embedding to ignore HTTP REFERER 2019-09-10 12:27:07 -04:00
helpers FIX: only use app argument for official iOS app banner 2019-08-27 10:23:57 -04:00
jobs FIX: Move read state when moving posts 2019-09-06 20:52:44 +02:00
mailers FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
models FIX: Improve Onebox detection (#8019) 2019-09-10 13:59:48 +03:00
serializers UX/PERF: Update readers count when a post from another user is read. Don't fetch the post data again just to update the count. (#8078) 2019-09-09 11:29:15 +10:00
services FIX: inline_uploads not working on subfolder setups 2019-09-05 15:32:33 +10:00
views FEATURE: Allow embedding to ignore HTTP REFERER 2019-09-10 12:27:07 -04:00