'description' => NULL,
'help_text' => NULL,
),
+ 'smart_group_cache_refresh_mode' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'smart_group_cache_refresh_mode',
+ 'type' => 'String',
+ 'html_type' => 'radio',
+ 'default' => 'opportunistic',
+ 'add' => '4.7',
+ 'title' => 'Smart Group Refresh Mode',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'pseudoconstant' => array(
+ 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
+ ),
+ 'description' => 'Should the smart groups be by cron jobs or user actions',
+ 'help_text' => 'In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.',
+ ),
'installed' => array(
'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'resCacheCode',
'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
'default' => NULL,
'add' => '4.3',
'title' => 'resCacheCode',
'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
'help_text' => NULL,
),
+ 'logging_no_trigger_permission' => array(
+ 'add' => '4.7',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'help_text' => ts('(EXPERIMENTAL) If the MySQL user does not have permission to administer triggers, then you must create the triggers outside CiviCRM. No support is provided for this configuration.'),
+ 'name' => 'logging_no_trigger_permission',
+ 'type' => 'Boolean',
+ 'quick_form_type' => 'YesNo',
+ 'html_type' => '',
+ 'default' => 0,
+ 'title' => '(EXPERIMENTAL) MySQL user does not have trigger permissions',
+ 'description' => 'Set this when you intend to manage trigger creation outside of CiviCRM',
+ ),
'logging' => array(
'add' => '4.7',
'help_text' => NULL,
'CRM_Logging_Schema::onToggle',
),
),
+ 'logging_uniqueid_date' => array(
+ 'add' => '4.7',
+ 'help_text' => ts('This is the date when CRM-18193 was implemented'),
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'logging_uniqueid_date',
+ 'type' => 'Date',
+ 'quick_form_type' => 'DateTime',
+ 'html_type' => '',
+ 'default' => NULL,
+ 'title' => 'Logging Unique ID not recorded before',
+ 'description' => 'This is the date when CRM-18193 was implemented',
+ ),
+ 'logging_all_tables_uniquid' => array(
+ 'add' => '4.7',
+ 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'logging_all_tables_uniquid',
+ 'type' => 'Boolean',
+ 'quick_form_type' => 'YesNo',
+ 'html_type' => '',
+ 'default' => 0,
+ 'title' => 'All tables use Unique Connection ID',
+ 'description' => 'Do some tables pre-date CRM-18193?',
+ ),
'userFrameworkUsersTableName' => array(
'add' => '4.7',
'help_text' => NULL,
'group' => 'core',
'name' => 'site_id',
'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
'default' => '',
'add' => '4.6',
'title' => 'Unique Site ID',
'group' => 'core',
'name' => 'systemStatusCheckResult',
'type' => 'Integer',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
'default' => 0,
'add' => '4.7',
'title' => 'systemStatusCheckResult',
'description' => NULL,
'help_text' => NULL,
),
+ 'recentItemsMaxCount' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'recentItemsMaxCount',
+ 'type' => 'Integer',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
+ 'html_attributes' => array(
+ 'size' => 2,
+ 'maxlength' => 3,
+ ),
+ 'default' => 20,
+ 'add' => '4.7',
+ 'title' => 'Size of "Recent Items" stack',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'How many items should CiviCRM store in it\'s "Recently viewed" list.',
+ 'help_text' => NULL,
+ ),
+ 'recentItemsProviders' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'recentItemsProviders',
+ 'type' => 'Array',
+ 'html_type' => 'Select',
+ 'quick_form_type' => 'Select',
+ 'html_attributes' => array(
+ 'multiple' => 1,
+ 'class' => 'crm-select2',
+ ),
+ 'default' => '',
+ 'add' => '4.7',
+ 'title' => 'Recent Items Providers',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.',
+ 'help_text' => NULL,
+ 'pseudoconstant' => array(
+ 'callback' => 'CRM_Utils_Recent::getProviders',
+ ),
+ ),
+ 'dedupe_default_limit' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'dedupe_default_limit',
+ 'type' => 'Integer',
+ 'default' => 0,
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
+ 'add' => '4.7',
+ 'title' => 'Default limit for dedupe screen',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => ts('Default to only loading matches against this number of contacts'),
+ 'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
+ ),
);