discourse/lib/site_settings
Blake Erickson 8a45f84277
DEV: Convert approve_new_topics_unless_trust_level to groups (#24504)
* DEV: Convert approve_new_topics_unless_trust_level to groups

This change converts the `approve_new_topics_unless_trust_level` site
setting to `approve_new_topics_unless_allowed_groups`.

See: https://meta.discourse.org/t/283408

- Hides the old setting
- Adds the new site setting
- Add a deprecation warning
- Updates to use the new setting
- Adds a migration to fill in the new setting if the old setting was
  changed
- Adds an entry to the site_setting.keywords section
- Updates tests to account for the new change

After a couple of months we will remove the
`approve_new_topics_unless_trust_level` setting entirely.

Internal ref: /t/115696

* add missing translation

* Add keyword entry

* Add migration
2023-11-22 10:44:59 -07:00
..
db_provider.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
defaults_provider.rb DEV: Add plugin hook for transforming site setting defaults (#20941) 2023-04-05 12:28:16 +01:00
deprecated_settings.rb DEV: Convert approve_new_topics_unless_trust_level to groups (#24504) 2023-11-22 10:44:59 -07:00
hidden_provider.rb DEV: add a plugin modifier to change hidden site settings (#24160) 2023-10-31 10:09:51 -04:00
local_process_provider.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
type_supervisor.rb FIX: min/max not passed to NumberField for site settings (#24402) 2023-11-16 12:37:05 +10:00
validations.rb FEATURE: allow S3 ACLs to be disabled (#21769) 2023-06-06 15:47:40 +10:00
yaml_loader.rb DEV: Remove older ruby version logic (#19971) 2023-01-24 10:42:56 +00:00