discourse/spec
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
..
components FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
controllers FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
fabricators Merge pull request #4958 from dmacjam/search_posts_by_filetype 2017-07-31 11:55:34 -04:00
fixtures FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
helpers Nuke all SiteSetting.stubs from our codebase. 2017-07-07 15:09:14 +09:00
integration Add specs for 1c80c233cf 2017-08-02 20:58:35 +09:00
integrity Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
jobs Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
mailers Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
models FIX: use case insensitive group name search when applying group rules from SSO 2017-08-02 11:30:37 -04:00
phantom_js FIX: Don't hardcode text in smoke test. 2017-05-22 08:01:33 +08:00
serializers Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
services FEATURE: Add group settngs to allow users to leave a group freely. 2017-07-28 15:00:25 +09:00
support Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
tasks Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
views/omniauth_callbacks Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_tagging_spec.rb FIX: prevent creation of tags with invalid characters 2016-10-12 15:44:36 -04:00
rails_helper.rb FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00