0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 07:23:30 +08:00
discourse/spec/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_spec.rb
defaults_provider_spec.rb FEATURE: Allow upcoming changes to control site setting defaults (#38815) 2026-04-08 13:05:44 +10:00
dependency_graph_spec.rb DEV: Detect circular site setting dependencies (#38165) 2026-03-04 10:10:38 +10:00
deprecated_settings_spec.rb
hidden_provider_spec.rb DEV: Add hide_settings metadata to upcoming changes framework (#40990) 2026-06-19 10:25:39 +04:00
local_process_provider_multisite_spec.rb
local_process_provider_spec.rb
type_supervisor_spec.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
validations_spec.rb FIX: Reject DiscourseConnect SSO payloads when secret is blank (#40830) 2026-06-12 15:17:16 +03:00
yaml_loader_spec.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00