App Config settings
App Config settings control everything from email delivery to feature toggles. These are exposed via the Sys Admin area.
Overview
Each setting can have a number of environment-specific values. The "current value" of a given setting is determined by a priority ranking of those environments:
If a value exists for the current environment then that value is used.
Otherwise, if a "client default" setting exists, then that value is used.
Otherwise, the "product default" setting is used.
This design supports our process of restoring a nightly snapshot of the production database to the "support" instance. Certain environmental settings, such as the payment gateway and email override feature, are configured differently in SUPPORT than PROD for various reasons. By tracking the environment-specific settings in a single database it becomes much simpler to move and promote the database snapshots.
Individual settings
The individual setting pages are restricted for Sys Admin access only.
App Config: AnnouncementsEnabled
Summary
A toggle that controls whether pre-defined announcements in the Announcements area will show and/or are triggered to show.
Details
App Config: DatePickerUserAgentRegex
Summary
Comma-separated list of user-agent regex patterns used to detect mobile browsers for Date and Date Time attribute rendering. When the incoming request's User-Agent matches any pattern in the list, the field renders using the browser's native HTML5 date input instead of the standard picker.
Background
App Config: Lock Accounts After <N> days
Created from LB-306, does not automatically go into affect.
Needs ES to place p_DEACTIVATE_DORMANT_ACCOUNTS into sproc invoker
App Config: ReloadOnBfcacheRestorePages
Summary
List of pages that should force a full page reload when the browser restores them from the back/forward cache (bfcache) instead of leaving them in a stale, frozen state (e.g. after navigating into a Learning Plan Instance and pressing Back).
Details
App Config: RichTextDisplayConfig
Summary
JSON setting controlling the CKEditor instance shown for a Rich Text attribute in display mode, when that attribute's Read-Only Display Mode is set to "With Editor Chrome." Applies system-wide to every such attribute; there is no per-attribute display setting.
Background
App Config: RichTextInputConfig
Summary
JSON setting controlling the CKEditor toolbar and editing behavior shown to users editing a Rich Text attribute. Applies system-wide to every Rich Text attribute; there is no per-attribute setting.