0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/lib/site_settings
David Battersby 23691594c0
DEV: Add hide_settings metadata to upcoming changes framework (#40990)
Adds an optional `hide_settings:` key to `upcoming_change` metadata in
`site_settings.yml`. It declares other site settings that should be
hidden from admins while the change is enabled (manual opt-in or
auto-promotion) — useful for legacy settings that stop making sense once
the change replaces them.

The hidden set is computed live by
`UpcomingChanges.settings_hidden_while_enabled` and consulted by
`SiteSettings::HiddenProvider#all`, rather than toggled imperatively at
opt-in time.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 10:25:39 +04:00
..
db_provider.rb
defaults_provider.rb DEV: Enable Style/RedundantParentheses rubocop rule (#40095) 2026-05-19 15:48:09 +02:00
dependency_graph.rb DEV: Detect circular site setting dependencies (#38165) 2026-03-04 10:10:38 +10:00
deprecated_settings.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
hidden_provider.rb DEV: Add hide_settings metadata to upcoming changes framework (#40990) 2026-06-19 10:25:39 +04:00
label_formatter.rb DEV: move discourse gifs to core (#40162) 2026-06-10 11:35:44 +04:00
local_process_provider.rb
object_uploads_normalizer.rb FIX: type: objects uploads should be stored as IDs (#40178) 2026-05-21 13:45:27 -03:00
type_supervisor.rb UX: Show warning to admins when disabling Content-Security-Policy (#40731) 2026-06-10 12:40:44 +01:00
validations.rb FIX: Don't require S3 ACLs to enable secure uploads (#40596) 2026-06-05 13:56:14 +08:00
yaml_loader.rb