discourse/lib/tasks
Martin Brennan 83361b2fc5
FEATURE: Introduce site settings which require confirmation (#27315)
Many site settings can be distructive or have huge side-effects
for a site that the admin may not be aware of when changing it.

This commit introduces a `requires_confirmation` attribute that
can be added to any site setting. When it is true, a confirmation
dialog will open if that setting is changed in the admin UI,
optionally with a custom message that is defined in client.en.yml.

If the admin does not confirm, we reset the setting to its previous
clean value and do not save the new value.
2024-06-19 16:01:24 +10:00
..
add_topic_to_quotes.rake
admin.rake
annotate.rake
api.rake
assets.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
auto_annotate_models.rake
autospec.rake
avatars.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
backfill.thor
categories.rake
cdn.rake
compatibility.rake
db.rake
destroy.rake
dev.rake
docker.rake
documentation.rake
emails.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
emoji.rake
export.rake
groups.rake
hashtags.rake
i18n.rake
images.rake
import.rake DEV: Import script should insert more data into `user_stats` table (#26551) 2024-04-11 14:05:21 +02:00
incoming_emails.rake
integration.rake
javascript.rake FEATURE: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
log.rake
maxminddb.rake FIX: `maxmind:refresh` does not respect `refresh_maxmind_db_during_precompile_days` (#26457) 2024-04-02 14:25:05 +08:00
plugin.rake
populate.rake
populate.thor
posts.rake
profile.rake
qunit.rake DEV: Restore qunit 'tap' reporter, but collapse verbose output in CI (#26484) 2024-04-03 10:22:20 +01:00
redis.rake
release_note.rake
revisions.rake
rspec.rake
s3.rake
scheduler.rake
search.rake
site.rake
site_settings.rake
smoke_test.rake
svg_icons.rake
svg_sprites.rake
tags.rake
themes.rake DEV: Fix the order of operations in themes-frontend (#27317) 2024-06-04 15:16:44 +02:00
topics.rake
turbo.rake
typepad.thor
uploads.rake DEV: Allow site administrators to mark S3 uploads with a missing status (#27222) 2024-05-30 08:37:38 +08:00
users.rake DEV: Introduce users:exists rake task (#27163) 2024-06-13 08:04:02 +01:00
version_bump.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00