discourse/app
Sam Saffron 57a3d4e0d2
FEATURE: whitelist theme repo mode (experimental)
In some restricted setups all JS payloads need tight control.

This setting bans admins from making changes to JS on the site and
requires all themes be whitelisted to be used.

There are edge cases we still need to work through in this mode
hence this is still not supported in production and experimental.

Use an example like this to enable:

`DISCOURSE_WHITELISTED_THEME_REPOS="https://repo.com/repo.git,https://repo.com/repo2.git"`

By default this feature is not enabled and no changes are made.

One exception is that default theme id was missing a security check
this was added for correctness.
2020-06-03 13:19:57 +10:00
..
assets Small fixes to image uploaders 2020-06-02 20:36:01 -04:00
controllers FEATURE: whitelist theme repo mode (experimental) 2020-06-03 13:19:57 +10:00
helpers FIX: Email Styles were evaluated out of order 2020-05-25 12:47:23 -04:00
jobs FIX: If creating a flag for a watched word, include the reason 2020-06-02 11:49:02 -04:00
mailers FIX: Digest frequency issue on user creation 2020-06-01 17:39:16 -04:00
models FEATURE: whitelist theme repo mode (experimental) 2020-06-03 13:19:57 +10:00
serializers FIX: Only render group card if user title is from group (#9946) 2020-06-01 11:44:41 -07:00
services DEV: Better error handling for destroy:users task (#9939) 2020-06-01 08:55:08 -07:00
views Start Discourse in an initializer (#9930) 2020-05-29 14:37:02 -04:00