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
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 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
helpers Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
jobs Merge pull request #4958 from dmacjam/search_posts_by_filetype 2017-07-31 11:55:34 -04:00
mailers Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
models FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
serializers Merge branch 'master' into fix_limited_search_results 2017-07-31 15:55:31 -04:00
services Replace rmmseg gem for cppjieba_rb since better dictionary (#5006) 2017-07-31 15:28:48 -04:00
views safely call html_safe on category description 2017-07-25 11:40:02 -07:00