This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/admin/addon/templates/components
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
..
report-filters REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
site-settings FEATURE: Treat site settings as plain text and add a new HTML type. (#12618) 2021-04-07 12:51:19 -03:00
ace-editor.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-backups-logs.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-editable-field.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-form-row.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-nav.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-chart.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-counters.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-counts.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-inline-table.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-per-day-counts.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-stacked-chart.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-storage-stats.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-table-cell.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-table-header.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-table-row.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-table.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report-trust-level-counts.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-report.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-theme-editor.hbs UX: Makes the theme editor display placeholder correctly for RTL languages (#11800) 2021-01-22 16:03:43 +01:00
admin-user-field-item.hbs REVERT: revert change from action + mut to mut (#10844) 2020-10-06 23:50:05 +02:00
admin-watched-word.hbs Add watched words of type "replace" (#12020) 2021-02-25 14:00:58 +02:00
admin-web-hook-event-chooser.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-web-hook-event.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
admin-web-hook-status.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
dashboard-new-feature-item.hbs FEATURE: Add new features section in admin dashboard (#11731) 2021-01-22 10:09:02 -05:00
dashboard-new-features.hbs UX: Changes to new features section in admin dashboard (#12029) 2021-02-10 13:12:04 -05:00
dashboard-problems.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
email-styles-editor.hbs REFACTOR: Remove d-button block helpers (#11970) 2021-02-04 14:35:23 -05:00
embeddable-host.hbs FIX: Don't try to focus on a missing element (#11766) 2021-01-20 15:02:27 +01:00
embedding-setting.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
emoji-value-list.hbs DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
flag-user-lists.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
flag-user.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
highlighted-code.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
inline-edit-checkbox.hbs FIX: Checkbox value should not leak between themes (#11327) 2020-11-24 12:10:28 +02:00
install-theme-item.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
penalty-post-action.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
permalink-form.hbs REVERT: revert change from action + mut to mut (#10844) 2020-10-06 23:50:05 +02:00
resumable-upload.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
screened-ip-address-form.hbs REVERT: revert change from action + mut to mut (#10844) 2020-10-06 23:50:05 +02:00
secret-value-list.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
setting-validation-message.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
silence-details.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
simple-list.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
site-customization-change-details.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
site-customization-change-field.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
site-setting.hbs FIX: force refresh staff action logs when transitioning from site settings (#12096) 2021-02-17 00:18:39 +05:30
site-text-summary.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
suspension-details.hbs UX: add stock suspension reasons to suspend dialog. (#10990) 2020-11-11 01:01:28 +05:30
tags-uploader.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
themes-list-item.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
themes-list.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
value-list.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
version-checks.hbs REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
watched-word-form.hbs FEATURE: Autotag watched words (#12244) 2021-03-03 10:53:38 +02:00
watched-word-uploader.hbs FEATURE: Import and export watched word (#12444) 2021-03-22 22:32:18 +02:00