discourse/app/assets/javascripts/admin/addon
Roman Rizzi 5e4c0e2caa
FEATURE: Treat site settings as plain text and add a new HTML type. (#12618)
To add an extra layer of security, we sanitize settings before shipping them to the client. We don't sanitize those that have the "html" type.

The CookedPostProcessor already uses Loofah for sanitization, so I chose to also use it for this. I added it to our gemfile since we installed it as a transitive dependency.
2021-04-07 12:51:19 -03:00
..
adapters
components DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
controllers UX: move logs/watched_words to customize/watched_words in admin section (#12571) 2021-04-01 11:44:17 +05:30
helpers DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
mixins DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
models UX: move logs/watched_words to customize/watched_words in admin section (#12571) 2021-04-01 11:44:17 +05:30
routes UX: move logs/watched_words to customize/watched_words in admin section (#12571) 2021-04-01 11:44:17 +05:30
services FIX: Restore user summary's delete button behavior. (#11844) 2021-01-26 13:10:46 -03:00
templates FEATURE: Treat site settings as plain text and add a new HTML type. (#12618) 2021-04-07 12:51:19 -03:00