discourse/lib/tasks
David Taylor eebe2f256c
DEV: Skip s3 asset deletion when in readonly mode (#19611)
In some situations (e.g. disaster recovery), it may make sense to spin up a temporary readonly version of a cluster. In that situation, the s3 `expire_missing_assets` job would delete assets which are still in use by the canonical read-write version of the cluster.

To avoid that, this commit will skip deletion if the site is currently in readonly mode.
2022-12-30 11:35:40 +00:00
..
add_topic_to_quotes.rake
admin.rake
annotate.rake
api.rake
assets.rake PERF: Adjust node memory threshold for assets:precompile (#19040) 2022-11-15 22:02:13 +00:00
auto_annotate_models.rake
autospec.rake
avatars.rake
backfill.thor
categories.rake
cdn.rake
db.rake
destroy.rake
dev.rake
docker.rake DEV: Parallelize core JS tests in docker.rake (#18756) 2022-10-26 12:00:35 +01:00
emails.rake
emoji.rake
export.rake DEV: Add a rake task to export/import translation overrides (#18487) 2022-10-05 15:22:16 -04:00
groups.rake
i18n.rake
images.rake
import.rake FEATURE: new site setting to hide user profiles by default. (#18864) 2022-11-06 16:44:17 +05:30
incoming_emails.rake
integration.rake
javascript.rake DEV: Configure prettier for hbs templates 2022-12-28 13:11:12 +00:00
log.rake
maxminddb.rake
plugin.rake DEV: Add retry logic to `plugin:install_all_official` (#19551) 2022-12-21 15:31:03 +00:00
populate.rake
populate.thor
posts.rake DEV: Quote values when constructing SQL (#18827) 2022-11-01 14:05:13 -05:00
profile.rake DEV: Improve/Fix script/bench.rb (#19646) 2022-12-30 07:25:11 +08:00
qunit.rake
redis.rake
release_note.rake
revisions.rake
rspec.rake
s3.rake DEV: Skip s3 asset deletion when in readonly mode (#19611) 2022-12-30 11:35:40 +00:00
scheduler.rake
search.rake
site.rake FEATURE: Add dark mode option for category logos (#18460) 2022-10-07 11:00:44 -04:00
site_settings.rake
smoke_test.rake
svg_icons.rake
tags.rake
themes.rake DEV: Add rake task to install a theme from an archive (#18890) 2022-11-04 16:42:07 -05:00
topics.rake
turbo.rake
typepad.thor
uploads.rake DEV: Add `START_ID` to `uploads:downsize` task (#18992) 2022-11-11 22:51:48 +01:00
users.rake