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/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.rb Interface for reviewing queued posts 2015-04-15 14:54:37 -04:00
api_controller.rb usage of raise corrected 2015-05-07 11:00:51 +10:00
backups_controller.rb FEATURE: further restrict downloading of backups 2017-03-01 08:28:34 -07:00
badges_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
color_schemes_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
dashboard_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
diagnostics_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_templates_controller.rb UX: Include group name in email when group is invited to a PM. 2017-07-26 15:51:44 +09:00
embeddable_hosts_controller.rb Add embed class name setup for embeddable hosts 2017-05-11 15:16:16 -04:00
embedding_controller.rb FIX: Username for topic creation is required 2015-10-13 16:33:26 -04:00
emojis_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
flags_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
groups_controller.rb Add back Admin::GroupsController#index route for now. 2017-08-03 00:24:23 +09:00
impersonate_controller.rb FEATURE: log impersonations 2014-11-06 10:58:47 +01:00
permalinks_controller.rb UX: include more details on Permalinks page 2015-07-17 21:39:23 +05:30
plugins_controller.rb Add a spec for the new plugins controller 2015-02-10 12:35:53 -05:00
reports_controller.rb FIX: Don't show category options for reports that can't be scoped to a category. 2017-04-13 17:10:55 +08:00
screened_emails_controller.rb FEATURE: admins can clear screend emails if needed 2014-06-02 16:53:00 +10:00
screened_ip_addresses_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
screened_urls_controller.rb Should have put order on the screened urls results 2013-11-04 16:31:31 -05:00
site_settings_controller.rb FEATURE: Site settings defaults per locale 2017-08-02 12:24:19 -04:00
site_texts_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
staff_action_logs_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
themes_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_fields_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
users_controller.rb FIX: staff cannot manually activate accounts after 48 hours has elapsed 2017-07-31 22:24:09 +05:30
versions_controller.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
watched_words_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
web_hooks_controller.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00