This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/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
..
adapters FEATURE: Native theme support 2017-04-12 10:53:49 -04:00
components FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
controllers FEATURE: Add group settngs to allow users to leave a group freely. 2017-07-28 15:00:25 +09:00
helpers REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
models FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
routes UX: Move watched words to the Logs section of admin 2017-07-31 17:06:50 -04:00
templates UX: Move watched words to the Logs section of admin 2017-07-31 17:06:50 -04:00