discourse/spec/controllers/admin
Erick Guan 468a8fcd20 FEATURE: Site settings defaults per locale
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
2017-08-02 12:24:19 -04:00
..
admin_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
api_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
backups_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
badges_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
color_schemes_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
dashboard_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
embeddable_hosts_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
embedding_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
emojis_controller_spec.rb FIX: Store custom emojis as uploads. 2017-03-14 13:07:18 +08:00
flags_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
groups_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
impersonate_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
permalinks_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
plugins_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
reports_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
screened_emails_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
screened_ip_addresses_controller_spec.rb Nuke all `SiteSetting.stubs` from our codebase. 2017-07-07 15:09:14 +09:00
screened_urls_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
site_settings_controller_spec.rb FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
site_texts_controller_spec.rb PERF: Speed up slow tests in our test suite. 2017-06-22 11:23:31 +09:00
staff_action_logs_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
themes_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_fields_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
users_controller_spec.rb FIX: staff cannot manually activate accounts after 48 hours has elapsed 2017-07-31 22:24:09 +05:30
versions_controller_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
web_hooks_controller_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00