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/lib/tasks
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
..
add_topic_to_quotes.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
admin.rake FIX: RANDOM_PASSWORD not working rake admin:create 2020-03-15 17:24:11 +11:00
api.rake FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
assets.rake FIX: catch NoMethodError during precompile_css too (#9940) 2020-06-02 15:18:03 +10:00
auto_annotate_models.rake DEV: Automatically annotate plugin models alongside core models 2019-05-13 16:37:47 +01:00
autospec.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
avatars.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backfill.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
bookmarks.rake Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
build_test_topic.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
build.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
categories.rake REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
cdn.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
db.rake DEV: Stub #flush in StdOutDemux for multisite:migrate 2020-05-06 11:58:35 +01:00
destroy.rake REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
docker.rake DEV: Skip I18n in plugins until they can be updated 2020-05-14 10:40:53 -04:00
emails.rake Let's not log the username/password 2020-03-11 12:48:10 -04:00
emoji.rake FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
export.rake FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
groups.rake Make rubocop happy. 2019-05-13 09:55:44 +08:00
i18n.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
images.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
import.rake PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
incoming_emails.rake FEATURE: Remove attachments and truncate raw field for incoming emails (#8253) 2019-10-30 16:54:35 +11:00
integration.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
javascript.rake DEV: ensures highlightjs is correctly tested (#9923) 2020-05-29 13:05:44 +02:00
maxminddb.rake FIX: maxminddb:get task no longer working 2019-10-04 09:47:33 +10:00
plugin.rake DEV: allows to run up/down migrations of a plugin (#9241) 2020-03-19 19:30:08 +01:00
populate.thor DEV: prevents populate task to crash (#8111) 2019-09-22 05:18:48 -07:00
posts.rake DEV: pluck_first 2019-10-21 12:08:20 +01:00
qunit.rake DEV: use REPORT_REQUESTS=1 to find all requests 2020-04-02 16:01:49 +11:00
redis.rake DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
release_note.rake Fix release notes rake task 2019-12-05 11:53:10 -05:00
rspec.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
s3.rake FIX: S3 rake task can ignore yarn.lock 2020-04-29 13:14:04 -04:00
scheduler.rake FIX: DistributedMutex (#7953) 2019-08-01 09:12:05 +01:00
search.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_settings.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
smoke_test.rake DEV: Add env variable to allow easier debugging of smoke tests 2019-10-24 17:48:15 +02:00
svg_icons.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tags.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
themes.rake FEATURE: whitelist theme repo mode (experimental) 2020-06-03 13:19:57 +10:00
topics.rake FEATURE: Add support for secure media (#7888) 2019-11-18 11:25:42 +10:00
turbo.rake DEV: Add a verbose option to ./bin/turbo_rspec 2019-06-27 15:49:21 +01:00
typepad.thor DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
uploads.rake FIX: First pass to improve efficiency of secure uploads rake task (#9284) 2020-03-26 15:59:57 +10:00
users.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00