discourse/plugins/discourse-narrative-bot
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
..
assets/javascripts/initializers Upgrade Ember to 2.13 2017-06-15 10:12:07 -04:00
config FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
db/fixtures Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
jobs Merge discourse-narrative-bot into core plugins. 2017-05-24 15:28:34 +08:00
lib/discourse_narrative_bot UX: Discobot advanced tutorial certificate does not work with dark theme. 2017-07-31 15:27:47 +09:00
public/images Switch to a unicorn image that we know is free for commercial use. 2017-05-29 10:24:25 +08:00
spec Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
plugin.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00