mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 17:43:39 +08:00
468a8fcd20
This change-set allows setting different defaults for different locales. It also: - Adds extensive testing around site setting validation - raises deprecation error if site setting has the default property based on env - relocated site settings for dev and tests in the initializer - deprecated client_setting in the site setting's loading process - ensure it raises when a enum site setting being set - default_locale is promoted to `required` category. - fixes incorrect default setting and validation - fixes ensure type check for site settings - creates a benchmark for site setting - sets reasonable defaults for Chinese |
||
---|---|---|
.. | ||
admin_controller_spec.rb | ||
api_controller_spec.rb | ||
backups_controller_spec.rb | ||
badges_controller_spec.rb | ||
color_schemes_controller_spec.rb | ||
dashboard_controller_spec.rb | ||
email_controller_spec.rb | ||
embeddable_hosts_controller_spec.rb | ||
embedding_controller_spec.rb | ||
emojis_controller_spec.rb | ||
flags_controller_spec.rb | ||
groups_controller_spec.rb | ||
impersonate_controller_spec.rb | ||
permalinks_controller_spec.rb | ||
plugins_controller_spec.rb | ||
reports_controller_spec.rb | ||
screened_emails_controller_spec.rb | ||
screened_ip_addresses_controller_spec.rb | ||
screened_urls_controller_spec.rb | ||
site_settings_controller_spec.rb | ||
site_texts_controller_spec.rb | ||
staff_action_logs_controller_spec.rb | ||
themes_controller_spec.rb | ||
user_fields_controller_spec.rb | ||
users_controller_spec.rb | ||
versions_controller_spec.rb | ||
web_hooks_controller_spec.rb |