Merge pull request #23725 from colemanw/oAuth
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
f452d72c 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035 16 */
1bfe4abf
CB
17
18/**
6a488035
TO
19 * Settings metadata file
20 */
dfe1f88a
CW
21return [
22 'contact_view_options' => [
6a488035
TO
23 'group_name' => 'CiviCRM Preferences',
24 'group' => 'core',
25 'name' => 'contact_view_options',
26 'type' => 'String',
27 'html_type' => 'checkboxes',
dfe1f88a 28 'pseudoconstant' => [
6a488035 29 'optionGroupName' => 'contact_view_options',
dfe1f88a 30 ],
3da650f7 31 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 113\ 1',
6a488035 32 'add' => '4.1',
a55c9b35 33 'title' => ts('Viewing Contacts'),
6a488035
TO
34 'is_domain' => '1',
35 'is_contact' => 0,
a55c9b35 36 'description' => ts("Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site."),
08e57c58 37 'help_text' => NULL,
6821aa1d 38 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
39 ],
40 'contact_edit_options' => [
6a488035
TO
41 'group_name' => 'CiviCRM Preferences',
42 'group' => 'core',
43 'name' => 'contact_edit_options',
44 'type' => 'String',
45 'html_type' => 'checkboxes',
dfe1f88a 46 'pseudoconstant' => [
6a488035 47 'optionGroupName' => 'contact_edit_options',
dfe1f88a 48 ],
007e3bdc 49 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035 50 'add' => '4.1',
629c8513 51 'title' => ts('Editing Contacts'),
6a488035
TO
52 'is_domain' => 1,
53 'is_contact' => 0,
629c8513 54 'description' => ts('Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.'),
56fdfc52 55 'help_text' => NULL,
629c8513 56 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
57 ],
58 'advanced_search_options' => [
6a488035 59 'group_name' => 'CiviCRM Preferences',
629c8513 60 'group' => 'core',
6a488035
TO
61 'name' => 'advanced_search_options',
62 'type' => 'String',
63 'html_type' => 'checkboxes',
dfe1f88a 64 'pseudoconstant' => [
6a488035 65 'optionGroupName' => 'advanced_search_options',
dfe1f88a 66 ],
007e3bdc 67 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035 68 'add' => '4.1',
629c8513 69 'title' => ts('Contact Search'),
6a488035
TO
70 'is_domain' => 1,
71 'is_contact' => 0,
629c8513 72 'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
2e94f477 73 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
74 ],
75 'user_dashboard_options' => [
6a488035
TO
76 'group_name' => 'CiviCRM Preferences',
77 'group' => 'core',
78 'name' => 'user_dashboard_options',
79 'type' => 'String',
80 'html_type' => 'checkboxes',
dfe1f88a 81 'pseudoconstant' => [
6a488035 82 'optionGroupName' => 'user_dashboard_options',
dfe1f88a 83 ],
007e3bdc 84 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035 85 'add' => '4.1',
732b1d05 86 'title' => ts('Contact Dashboard'),
6a488035
TO
87 'is_domain' => 1,
88 'is_contact' => 0,
94b60b64 89 'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
56fdfc52 90 'help_text' => NULL,
94b60b64 91 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
92 ],
93 'address_options' => [
6a488035
TO
94 'group_name' => 'CiviCRM Preferences',
95 'group' => 'core',
96 'name' => 'address_options',
97 'type' => 'String',
c7cd4e2c 98 'html_type' => 'checkboxes',
dfe1f88a 99 'pseudoconstant' => [
6a488035 100 'optionGroupName' => 'address_options',
dfe1f88a 101 ],
5ca6a024 102 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 112\ 1',
6a488035 103 'add' => '4.1',
c7cd4e2c 104 'title' => ts('Address Fields'),
6a488035
TO
105 'is_domain' => 1,
106 'is_contact' => 0,
08e57c58
TO
107 'description' => NULL,
108 'help_text' => NULL,
c7cd4e2c 109 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
110 ],
111 'address_format' => [
6a488035
TO
112 'group_name' => 'CiviCRM Preferences',
113 'group' => 'core',
114 'name' => 'address_format',
115 'type' => 'String',
c7cd4e2c 116 'html_type' => 'textarea',
207f62c6 117 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 118 'add' => '4.1',
c7cd4e2c 119 'title' => ts('Address Display Format'),
6a488035
TO
120 'is_domain' => 1,
121 'is_contact' => 0,
08e57c58 122 'description' => NULL,
56fdfc52 123 'help_text' => NULL,
dfe1f88a
CW
124 ],
125 'mailing_format' => [
6a488035
TO
126 'group_name' => 'CiviCRM Preferences',
127 'group' => 'core',
128 'name' => 'mailing_format',
129 'type' => 'String',
c7cd4e2c 130 'html_type' => 'textarea',
207f62c6 131 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 132 'add' => '4.1',
c7cd4e2c 133 'title' => ts('Mailing Label Format'),
6a488035
TO
134 'is_domain' => 1,
135 'is_contact' => 0,
08e57c58 136 'description' => NULL,
56fdfc52 137 'help_text' => NULL,
dfe1f88a
CW
138 ],
139 'display_name_format' => [
6a488035
TO
140 'group_name' => 'CiviCRM Preferences',
141 'group' => 'core',
142 'name' => 'display_name_format',
143 'type' => 'String',
7399a0a6 144 'html_type' => 'textarea',
6a488035
TO
145 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
146 'add' => '4.1',
732b1d05 147 'title' => ts('Individual Display Name Format'),
6a488035
TO
148 'is_domain' => 1,
149 'is_contact' => 0,
7399a0a6 150 'description' => ts('Display name format for individual contact display names.'),
dfe1f88a
CW
151 ],
152 'sort_name_format' => [
6a488035
TO
153 'group_name' => 'CiviCRM Preferences',
154 'group' => 'core',
155 'name' => 'sort_name_format',
156 'type' => 'String',
7399a0a6 157 'html_type' => 'textarea',
6a488035
TO
158 'default' => '{contact.last_name}{, }{contact.first_name}',
159 'add' => '4.1',
732b1d05 160 'title' => ts('Individual Sort Name Format'),
6a488035
TO
161 'is_domain' => 1,
162 'is_contact' => 0,
7399a0a6 163 'description' => ts('Sort name format for individual contact display names.'),
dfe1f88a
CW
164 ],
165 'remote_profile_submissions' => [
61f53f0d
PN
166 'group_name' => 'CiviCRM Preferences',
167 'group' => 'core',
e8a64b98 168 'name' => 'remote_profile_submissions',
61f53f0d
PN
169 'type' => 'Boolean',
170 'quick_form_type' => 'YesNo',
171 'default' => FALSE,
172 'html_type' => 'radio',
173 'add' => '4.7',
86401282 174 'title' => ts('Accept profile submissions from external sites'),
61f53f0d
PN
175 'is_domain' => 1,
176 'is_contact' => 0,
732b1d05 177 'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
61f53f0d 178 'help_text' => NULL,
dfe1f88a
CW
179 ],
180 'allow_alert_autodismissal' => [
d19abfd1
AP
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
183 'name' => 'allow_alert_autodismissal',
184 'type' => 'Boolean',
185 'quick_form_type' => 'YesNo',
186 'default' => TRUE,
187 'html_type' => 'radio',
188 'add' => '4.7',
86401282 189 'title' => ts('Allow alerts to auto-dismiss?'),
d19abfd1
AP
190 'is_domain' => 1,
191 'is_contact' => 0,
732b1d05 192 'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
d19abfd1 193 'help_text' => NULL,
dfe1f88a
CW
194 ],
195 'editor_id' => [
6a488035
TO
196 'group_name' => 'CiviCRM Preferences',
197 'group' => 'core',
198 'name' => 'editor_id',
199 'type' => 'String',
719eda4a 200 'html_type' => 'select',
72f03b4f 201 'default' => 'CKEditor',
6a488035 202 'add' => '4.1',
732b1d05 203 'title' => ts('Wysiwig Editor'),
dfe1f88a 204 'pseudoconstant' => [
719eda4a 205 'optionGroupName' => 'wysiwyg_editor',
babfca87 206 'keyColumn' => 'name',
dfe1f88a 207 ],
6a488035
TO
208 'is_domain' => 1,
209 'is_contact' => 0,
08e57c58
TO
210 'description' => NULL,
211 'help_text' => NULL,
dfe1f88a
CW
212 ],
213 'contact_ajax_check_similar' => [
6a488035
TO
214 'group_name' => 'CiviCRM Preferences',
215 'group' => 'core',
216 'name' => 'contact_ajax_check_similar',
217 'type' => 'String',
d6def514 218 'html_type' => 'radio',
007e3bdc 219 'default' => '1',
6a488035 220 'add' => '4.1',
732b1d05 221 'title' => ts('Check for Similar Contacts'),
6a488035
TO
222 'is_domain' => 1,
223 'is_contact' => 0,
08e57c58
TO
224 'description' => NULL,
225 'help_text' => NULL,
719eda4a 226 'options' => ['1' => ts('While Typing'), '0' => ts('When Saving'), '2' => ts('Never')],
dfe1f88a
CW
227 ],
228 'ajaxPopupsEnabled' => [
f1cf499b
CW
229 'group_name' => 'CiviCRM Preferences',
230 'group' => 'core',
53f2643c 231 'name' => 'ajaxPopupsEnabled',
f1cf499b 232 'type' => 'Boolean',
74f89a9f 233 'html_type' => 'checkbox',
f1cf499b
CW
234 'default' => 1,
235 'add' => '4.5',
732b1d05 236 'title' => ts('Enable Popup Forms'),
f1cf499b
CW
237 'is_domain' => 1,
238 'is_contact' => 0,
08e57c58
TO
239 'description' => NULL,
240 'help_text' => NULL,
dfe1f88a 241 ],
82a7f745
TO
242 'enableBackgroundQueue' => [
243 'group_name' => 'CiviCRM Preferences',
244 'group' => 'core',
245 'name' => 'enableBackgroundQueue',
246 'type' => 'Boolean',
247 'quick_form_type' => 'YesNo',
248 'default' => 0,
249 'add' => '5.51',
250 'title' => ts('Background Queues'),
251 'is_domain' => 1,
252 'is_contact' => 0,
253 'description' => ts('EXPERIMENTAL: %1', [1 => ts('If enabled, some operations will be transferred to background workers. This requires configuring a background service.')]),
254 'help_text' => NULL,
255 ],
657fcb7f
TO
256 'defaultExternUrl' => [
257 'group_name' => 'CiviCRM Preferences',
258 'group' => 'core',
259 'name' => 'defaultExternUrl',
260 'type' => 'String',
261 'quick_form_type' => 'Select',
262 'html_type' => 'Select',
263 'html_attributes' => [
264 'class' => 'crm-select2',
265 ],
266 'default' => 'router',
267 'add' => '5.27',
6bdb58ff 268 'title' => ts('Extern URL Style'),
657fcb7f
TO
269 'is_domain' => 1,
270 'is_contact' => 0,
6bdb58ff 271 'description' => ts('This setting provides transitional support. It should be set to "Prefer normal router." If your deployment requires "Prefer standalone script", then please ensure that the issue is tracked in <code>lab.civicrm.org</code>.'),
657fcb7f
TO
272 'help_text' => NULL,
273 'options' => [
274 'standalone' => ts('Prefer standalone scripts'),
275 'router' => ts('Prefer normal router'),
276 ],
277 ],
dfe1f88a 278 'activity_assignee_notification' => [
6a488035
TO
279 'group_name' => 'CiviCRM Preferences',
280 'group' => 'core',
281 'name' => 'activity_assignee_notification',
74f89a9f 282 'type' => 'Boolean',
283 'html_type' => 'checkbox',
007e3bdc 284 'default' => '1',
6a488035 285 'add' => '4.1',
732b1d05 286 'title' => ts('Notify Activity Assignees'),
6a488035
TO
287 'is_domain' => 1,
288 'is_contact' => 0,
08e57c58 289 'description' => NULL,
56fdfc52 290 'help_text' => NULL,
dfe1f88a
CW
291 ],
292 'activity_assignee_notification_ics' => [
6a488035
TO
293 'group_name' => 'CiviCRM Preferences',
294 'group' => 'core',
295 'name' => 'activity_assignee_notification_ics',
74f89a9f 296 'type' => 'Boolean',
297 'html_type' => 'checkbox',
007e3bdc 298 'default' => '0',
6a488035 299 'add' => '4.3',
732b1d05 300 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
301 'is_domain' => 1,
302 'is_contact' => 0,
08e57c58 303 'description' => NULL,
56fdfc52 304 'help_text' => NULL,
dfe1f88a
CW
305 ],
306 'contact_autocomplete_options' => [
6a488035
TO
307 'group_name' => 'CiviCRM Preferences',
308 'group' => 'core',
309 'name' => 'contact_autocomplete_options',
310 'type' => 'String',
ec3cc27f 311 'html_type' => 'checkboxes',
dfe1f88a 312 'pseudoconstant' => [
d434f797 313 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
dfe1f88a 314 ],
d434f797 315 'default' => '\ 11\ 12\ 1',
6a488035 316 'add' => '4.1',
732b1d05 317 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
318 'is_domain' => 1,
319 'is_contact' => 0,
732b1d05 320 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 321 'help_text' => NULL,
ec3cc27f 322 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 323 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
324 ],
325 'contact_reference_options' => [
6a488035
TO
326 'group_name' => 'CiviCRM Preferences',
327 'group' => 'core',
328 'name' => 'contact_reference_options',
329 'type' => 'String',
ec3cc27f 330 'html_type' => 'checkboxes',
dfe1f88a 331 'pseudoconstant' => [
d434f797 332 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
dfe1f88a 333 ],
d434f797 334 'default' => '\ 11\ 12\ 1',
6a488035 335 'add' => '4.1',
732b1d05 336 'title' => ts('Contact Reference Options'),
6a488035
TO
337 'is_domain' => 1,
338 'is_contact' => 0,
732b1d05 339 'description' => ts("Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list."),
56fdfc52 340 'help_text' => NULL,
ec3cc27f 341 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 342 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
343 ],
344 'contact_smart_group_display' => [
007e3bdc
TO
345 'group_name' => 'CiviCRM Preferences',
346 'group' => 'core',
347 'name' => 'contact_smart_group_display',
348 'type' => 'String',
349 'html_type' => 'radio',
350 'default' => '1',
351 'add' => '4.7',
352 'title' => ts('Viewing Smart Groups'),
353 'is_domain' => 1,
354 'is_contact' => 0,
c5af8245 355 'description' => ts('Controls display of the smart groups that a contact is part of in each contact\'s "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.'),
007e3bdc 356 'help_text' => NULL,
dfe1f88a 357 'pseudoconstant' => [
c5af8245 358 'optionGroupName' => 'contact_smart_group_display',
dfe1f88a
CW
359 ],
360 ],
361 'smart_group_cache_refresh_mode' => [
801bafd7 362 'group_name' => 'CiviCRM Preferences',
363 'group' => 'core',
364 'name' => 'smart_group_cache_refresh_mode',
365 'type' => 'String',
366 'html_type' => 'radio',
367 'default' => 'opportunistic',
368 'add' => '4.7',
732b1d05 369 'title' => ts('Smart Group Refresh Mode'),
801bafd7 370 'is_domain' => 1,
371 'is_contact' => 0,
dfe1f88a 372 'pseudoconstant' => [
a8eb1fe6 373 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
dfe1f88a 374 ],
67769683 375 'description' => ts('Should the smart groups be flushed by cron jobs or user actions'),
732b1d05 376 'help_text' => ts('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.'),
dfe1f88a 377 ],
67769683 378 'acl_cache_refresh_mode' => [
379 'group_name' => 'CiviCRM Preferences',
380 'group' => 'core',
381 'name' => 'acl_cache_refresh_mode',
382 'type' => 'String',
383 'html_type' => 'radio',
384 'default' => 'opportunistic',
385 'add' => '5.37.0',
386 'title' => ts('ACL Group Refresh Mode'),
387 'is_domain' => 1,
388 'is_contact' => 0,
389 'pseudoconstant' => [
390 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
391 ],
0a4c7188 392 'description' => ts('Should the acl cache be flushed by cron jobs or user actions'),
67769683 393 'help_text' => ts('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 if your site uses ACLs; this can improve latency on form-submissions but requires more setup.'),
394 ],
dfe1f88a 395 'installed' => [
801c5335
C
396 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
397 'group_name' => 'CiviCRM Preferences',
398 'group' => 'core',
399 'name' => 'installed',
400 'type' => 'Boolean',
401 'quick_form_type' => 'YesNo',
402 'default' => FALSE,
403 'add' => '4.7',
732b1d05 404 'title' => ts('System Installed'),
801c5335
C
405 'is_domain' => 1,
406 'is_contact' => 0,
732b1d05 407 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 408 'help_text' => NULL,
dfe1f88a
CW
409 ],
410 'max_attachments' => [
6a488035
TO
411 'group_name' => 'CiviCRM Preferences',
412 'group' => 'core',
413 'name' => 'max_attachments',
414 'legacy_key' => 'maxAttachments',
6a488035
TO
415 'type' => 'Integer',
416 'quick_form_type' => 'Element',
417 'html_type' => 'text',
dfe1f88a 418 'html_attributes' => [
6a488035
TO
419 'size' => 2,
420 'maxlength' => 8,
dfe1f88a 421 ],
56fdfc52
TO
422 'default' => 3,
423 'add' => '4.3',
732b1d05 424 'title' => ts('Maximum Attachments'),
56fdfc52
TO
425 'is_domain' => 1,
426 'is_contact' => 0,
8913e915
D
427 'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities. This setting applies to UI forms and limits the number of fields available on the form.'),
428 'help_text' => NULL,
429 ],
430 'max_attachments_backend' => [
431 'group_name' => 'CiviCRM Preferences',
432 'group' => 'core',
433 'name' => 'max_attachments_backend',
434 'legacy_key' => 'maxAttachmentsBackend',
435 'type' => 'Integer',
436 'quick_form_type' => 'Element',
437 'html_type' => 'text',
438 'html_attributes' => [
439 'size' => 2,
440 'maxlength' => 8,
441 ],
442 'default' => CRM_Core_BAO_File::DEFAULT_MAX_ATTACHMENTS_BACKEND,
443 'add' => '5.20',
444 'title' => ts('Maximum Attachments For Backend Processes'),
445 'is_domain' => 1,
446 'is_contact' => 0,
447 'description' => ts('Maximum number of files (documents, images, etc.) which can be processed during backend processing such as automated inbound email processing. This should be a big number higher than the other Maximum Attachments setting above. This setting here merely provides an upper limit to prevent attacks that might overload the server.'),
56fdfc52 448 'help_text' => NULL,
dfe1f88a
CW
449 ],
450 'maxFileSize' => [
6a488035
TO
451 'group_name' => 'CiviCRM Preferences',
452 'group' => 'core',
453 'name' => 'maxFileSize',
6a488035
TO
454 'type' => 'Integer',
455 'quick_form_type' => 'Element',
456 'html_type' => 'text',
dfe1f88a 457 'html_attributes' => [
6a488035
TO
458 'size' => 2,
459 'maxlength' => 8,
dfe1f88a 460 ],
6a488035
TO
461 'default' => 3,
462 'add' => '4.3',
732b1d05 463 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
464 'is_domain' => 1,
465 'is_contact' => 0,
732b1d05 466 'description' => ts('Maximum Size of file (documents, images, etc.) which can be attached to emails or activities.<br />Note: php.ini should support this file size.'),
08e57c58 467 'help_text' => NULL,
dfe1f88a
CW
468 ],
469 'contact_undelete' => [
6a488035
TO
470 'group_name' => 'CiviCRM Preferences',
471 'group' => 'core',
472 'name' => 'contact_undelete',
473 'type' => 'Boolean',
474 'quick_form_type' => 'YesNo',
475 'default' => 1,
476 'add' => '4.3',
732b1d05 477 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
478 'is_domain' => 1,
479 'is_contact' => 0,
732b1d05 480 'description' => ts('If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).'),
08e57c58 481 'help_text' => NULL,
dfe1f88a
CW
482 ],
483 'allowPermDeleteFinancial' => [
f182074e
PN
484 'group_name' => 'CiviCRM Preferences',
485 'group' => 'core',
486 'name' => 'allowPermDeleteFinancial',
487 'type' => 'Boolean',
488 'quick_form_type' => 'YesNo',
489 'default' => FALSE,
490 'add' => '4.3',
732b1d05 491 'title' => ts('Contact Permanent Delete'),
f182074e
PN
492 'is_domain' => 1,
493 'is_contact' => 0,
732b1d05 494 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 495 'help_text' => NULL,
dfe1f88a
CW
496 ],
497 'securityAlert' => [
439a9f1b
TO
498 'group_name' => 'CiviCRM Preferences',
499 'group' => 'core',
fa8dc18c 500 'name' => 'securityAlert',
439a9f1b
TO
501 'type' => 'Boolean',
502 'quick_form_type' => 'YesNo',
503 'default' => 1,
504 'add' => '4.4',
732b1d05 505 'title' => ts('Status Alerts'),
439a9f1b
TO
506 'is_domain' => 1,
507 'is_contact' => 0,
732b1d05 508 'description' => ts("If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check."),
08e57c58 509 'help_text' => NULL,
dfe1f88a
CW
510 ],
511 'doNotAttachPDFReceipt' => [
6a488035
TO
512 'group_name' => 'CiviCRM Preferences',
513 'group' => 'core',
514 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
515 'type' => 'Boolean',
516 'quick_form_type' => 'YesNo',
f825dba2 517 'default' => 0,
6a488035 518 'add' => '4.3',
732b1d05 519 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
520 'is_domain' => 1,
521 'is_contact' => 0,
732b1d05 522 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 523 'help_text' => NULL,
dfe1f88a
CW
524 ],
525 'recordGeneratedLetters' => [
cc144465
TO
526 'group_name' => 'CiviCRM Preferences',
527 'group' => 'core',
528 'name' => 'recordGeneratedLetters',
529 'type' => 'String',
530 'quick_form_type' => 'Select',
531 'html_type' => 'Select',
dfe1f88a 532 'html_attributes' => [
cc144465 533 'class' => 'crm-select2',
dfe1f88a 534 ],
cc144465 535 'default' => 'multiple',
3ff77806 536 'add' => '4.7',
732b1d05 537 'title' => ts('Record generated letters'),
cc144465
TO
538 'is_domain' => 1,
539 'is_contact' => 0,
732b1d05 540 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 541 'help_text' => NULL,
dfe1f88a 542 'pseudoconstant' => [
cc144465 543 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
544 ],
545 ],
442be3b9 546 'dompdf_font_dir' => [
547 'is_domain' => 1,
548 'is_contact' => 0,
549 'group_name' => 'CiviCRM Preferences',
550 'group' => 'core',
551 'name' => 'dompdf_font_dir',
552 'title' => ts('DOMPDF Font Folder'),
553 'description' => ts('Additional folder where DOMPDF will look for fonts.'),
554 'type' => 'String',
555 'quick_form_type' => 'Element',
556 'html_type' => 'text',
557 'html_attributes' => [
558 'size' => 64,
559 'maxlength' => 256,
560 ],
561 'default' => NULL,
562 'help_text' => NULL,
563 'add' => '5.43',
564 ],
565 'dompdf_chroot' => [
566 'is_domain' => 1,
567 'is_contact' => 0,
568 'group_name' => 'CiviCRM Preferences',
569 'group' => 'core',
570 'name' => 'dompdf_chroot',
571 'title' => ts('DOMPDF Local Images Folder'),
572 'description' => ts('Folder to restrict where DOMPDF looks when loading local images. By default it is the DOMPDF folder itself for security reasons. It will search in subfolders.'),
573 'type' => 'String',
574 'quick_form_type' => 'Element',
575 'html_type' => 'text',
576 'html_attributes' => [
577 'size' => 64,
578 'maxlength' => 256,
579 ],
580 'default' => NULL,
581 'help_text' => NULL,
582 'add' => '5.43',
583 ],
584 'dompdf_enable_remote' => [
585 'is_domain' => 1,
586 'is_contact' => 0,
587 'group_name' => 'CiviCRM Preferences',
588 'group' => 'core',
589 'name' => 'dompdf_enable_remote',
590 'title' => ts('DOMPDF Enable Remote Images'),
591 'description' => ts('Enable the use of remote images. By default this is enabled, but if not using remote images you may wish to turn it off for security reasons.'),
592 'type' => 'Boolean',
593 'quick_form_type' => 'YesNo',
594 'html_type' => '',
595 'default' => TRUE,
596 'help_text' => NULL,
597 'add' => '5.43',
598 ],
599 'dompdf_log_output_file' => [
600 'is_domain' => 1,
601 'is_contact' => 0,
602 'group_name' => 'CiviCRM Preferences',
603 'group' => 'core',
604 'name' => 'dompdf_log_output_file',
605 'title' => ts('DOMPDF Log File'),
606 'description' => ts('DOMPDF will log debugging output in this file.'),
607 'type' => 'String',
608 'quick_form_type' => 'Element',
609 'html_type' => 'text',
610 'html_attributes' => [
611 'size' => 64,
612 'maxlength' => 256,
613 ],
614 'default' => NULL,
615 'help_text' => NULL,
616 'add' => '5.43',
617 ],
dfe1f88a 618 'wkhtmltopdfPath' => [
6a488035
TO
619 'group_name' => 'CiviCRM Preferences',
620 'group' => 'core',
621 'name' => 'wkhtmltopdfPath',
6a488035
TO
622 'type' => 'String',
623 'quick_form_type' => 'Element',
dfe1f88a 624 'html_attributes' => [
6a488035
TO
625 'size' => 64,
626 'maxlength' => 256,
dfe1f88a 627 ],
c1a2145a 628 'html_type' => 'text',
08e57c58 629 'default' => NULL,
6a488035 630 'add' => '4.3',
732b1d05 631 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
632 'is_domain' => 1,
633 'is_contact' => 0,
08e57c58
TO
634 'description' => NULL,
635 'help_text' => NULL,
dfe1f88a 636 ],
dfe1f88a 637 'checksum_timeout' => [
6a488035
TO
638 'group_name' => 'CiviCRM Preferences',
639 'group' => 'core',
92a8de72 640 'name' => 'checksum_timeout',
6a488035
TO
641 'type' => 'Integer',
642 'quick_form_type' => 'Element',
dfe1f88a 643 'html_attributes' => [
6a488035
TO
644 'size' => 2,
645 'maxlength' => 8,
dfe1f88a 646 ],
c1a2145a 647 'html_type' => 'text',
6a488035
TO
648 'default' => 7,
649 'add' => '4.3',
732b1d05 650 'title' => ts('Checksum Lifespan'),
6a488035
TO
651 'is_domain' => 1,
652 'is_contact' => 0,
08e57c58
TO
653 'description' => NULL,
654 'help_text' => NULL,
dfe1f88a
CW
655 ],
656 'blogUrl' => [
4b030206
TO
657 'group_name' => 'CiviCRM Preferences',
658 'group' => 'core',
659 'name' => 'blogUrl',
4b030206
TO
660 'type' => 'String',
661 'quick_form_type' => 'Element',
dfe1f88a 662 'html_attributes' => [
4b030206
TO
663 'size' => 64,
664 'maxlength' => 128,
dfe1f88a 665 ],
c1a2145a 666 'html_type' => 'text',
4b030206
TO
667 'default' => '*default*',
668 'add' => '4.3',
732b1d05 669 'title' => ts('Blog Feed URL'),
4b030206
TO
670 'is_domain' => 1,
671 'is_contact' => 0,
732b1d05 672 'description' => ts('Blog feed URL used by the blog dashlet'),
673 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
674 ],
675 'communityMessagesUrl' => [
847c93ac
TO
676 'group_name' => 'CiviCRM Preferences',
677 'group' => 'core',
678 'name' => 'communityMessagesUrl',
847c93ac
TO
679 'type' => 'String',
680 'quick_form_type' => 'Element',
dfe1f88a 681 'html_attributes' => [
847c93ac
TO
682 'size' => 64,
683 'maxlength' => 128,
dfe1f88a 684 ],
c1a2145a 685 'html_type' => 'text',
847c93ac
TO
686 'default' => '*default*',
687 'add' => '4.3',
732b1d05 688 'title' => ts('Community Messages URL'),
847c93ac
TO
689 'is_domain' => 1,
690 'is_contact' => 0,
732b1d05 691 'description' => ts('Service providing CiviCRM community messages'),
692 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
693 ],
694 'gettingStartedUrl' => [
1f957d1e
TO
695 'group_name' => 'CiviCRM Preferences',
696 'group' => 'core',
697 'name' => 'gettingStartedUrl',
698 'type' => 'String',
699 'quick_form_type' => 'Element',
dfe1f88a 700 'html_attributes' => [
1f957d1e
TO
701 'size' => 64,
702 'maxlength' => 128,
dfe1f88a 703 ],
c1a2145a 704 'html_type' => 'text',
1f957d1e
TO
705 'default' => '*default*',
706 'add' => '4.3',
732b1d05 707 'title' => ts('Getting Started URL'),
1f957d1e
TO
708 'is_domain' => 1,
709 'is_contact' => 0,
732b1d05 710 'description' => ts('Service providing the Getting Started data'),
711 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
712 ],
713 'resCacheCode' => [
6a488035
TO
714 'group_name' => 'CiviCRM Preferences',
715 'group' => 'core',
716 'name' => 'resCacheCode',
6a488035 717 'type' => 'String',
30fcf833 718 'quick_form_type' => 'Element',
719 'html_type' => 'text',
08e57c58 720 'default' => NULL,
6a488035 721 'add' => '4.3',
732b1d05 722 'title' => ts('resCacheCode'),
6a488035
TO
723 'is_domain' => 1,
724 'is_contact' => 0,
732b1d05 725 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 726 'help_text' => NULL,
dfe1f88a
CW
727 ],
728 'verifySSL' => [
6a488035
TO
729 'group_name' => 'CiviCRM Preferences',
730 'group' => 'core',
731 'name' => 'verifySSL',
732 'type' => 'Boolean',
733 'quick_form_type' => 'YesNo',
734 'default' => 1,
735 'add' => '4.3',
732b1d05 736 'title' => ts('Verify SSL?'),
6a488035
TO
737 'is_domain' => 1,
738 'is_contact' => 0,
732b1d05 739 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
740 'help_text' => ts('Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes'),
dfe1f88a
CW
741 ],
742 'enableSSL' => [
28f07f05
TO
743 'group_name' => 'CiviCRM Preferences',
744 'group' => 'core',
745 'name' => 'enableSSL',
746 'type' => 'Boolean',
747 'quick_form_type' => 'YesNo',
748 'default' => 0,
749 'add' => '4.5',
732b1d05 750 'title' => ts('Force SSL?'),
28f07f05
TO
751 'is_domain' => 1,
752 'is_contact' => 0,
732b1d05 753 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
754 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
755 ],
756 'wpBasePage' => [
94c11eeb
DL
757 'group_name' => 'CiviCRM Preferences',
758 'group' => 'core',
759 'name' => 'wpBasePage',
760 'type' => 'String',
761 'html_type' => 'text',
762 'quick_form_type' => 'Element',
94c11eeb
DL
763 'default' => '',
764 'add' => '4.3',
732b1d05 765 'title' => ts('WordPress Base Page'),
94c11eeb
DL
766 'is_domain' => 1,
767 'is_contact' => 0,
732b1d05 768 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
769 'help_text' => ts('By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.'),
dfe1f88a
CW
770 ],
771 'secondDegRelPermissions' => [
d5f1ee75
DG
772 'group_name' => 'CiviCRM Preferences',
773 'group' => 'core',
774 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
775 'type' => 'Boolean',
776 'quick_form_type' => 'YesNo',
777 'default' => 0,
778 'add' => '4.3',
732b1d05 779 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
780 'is_domain' => 1,
781 'is_contact' => 0,
732b1d05 782 'description' => ts("If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts"),
08e57c58 783 'help_text' => NULL,
dfe1f88a
CW
784 ],
785 'enable_components' => [
ac47f7ca 786 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
787 'group_name' => 'CiviCRM Preferences',
788 'group' => 'core',
56fdfc52 789 'name' => 'enable_components',
86eeab72 790 'type' => 'Array',
bfd9c358 791 'html_type' => 'checkboxes',
ac47f7ca 792 'default' => NULL,
56fdfc52 793 'add' => '4.4',
732b1d05 794 'title' => ts('Enable Components'),
86eeab72
DS
795 'is_domain' => '1',
796 'is_contact' => 0,
08e57c58 797 'description' => NULL,
56fdfc52 798 'help_text' => NULL,
dfe1f88a 799 'on_change' => [
c8074a93
TO
800 'CRM_Case_Info::onToggleComponents',
801 'CRM_Core_Component::flushEnabledComponents',
802 'call://resources/resetCacheCode',
dfe1f88a 803 ],
281db812 804 'pseudoconstant' => [
805 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
806 ],
dfe1f88a
CW
807 ],
808 'disable_core_css' => [
14f20d22
CW
809 'group_name' => 'CiviCRM Preferences',
810 'group' => 'core',
811 'name' => 'disable_core_css',
812 'type' => 'Boolean',
813 'quick_form_type' => 'YesNo',
814 'default' => '0',
815 'add' => '4.4',
732b1d05 816 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
817 'is_domain' => 1,
818 'is_contact' => 0,
732b1d05 819 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 820 'help_text' => NULL,
dfe1f88a
CW
821 ],
822 'empoweredBy' => [
466913fc
AH
823 'group_name' => 'CiviCRM Preferences',
824 'group' => 'core',
825 'name' => 'empoweredBy',
826 'type' => 'Boolean',
827 'quick_form_type' => 'YesNo',
828 'default' => 1,
829 'add' => '4.5',
732b1d05 830 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
831 'is_domain' => 1,
832 'is_contact' => 0,
732b1d05 833 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 834 'help_text' => NULL,
dfe1f88a
CW
835 ],
836 'logging_no_trigger_permission' => [
f76ec559
TO
837 'add' => '4.7',
838 'is_domain' => 1,
839 'is_contact' => 0,
840 'group_name' => 'CiviCRM Preferences',
841 'group' => 'core',
842 '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.'),
843 'name' => 'logging_no_trigger_permission',
844 'type' => 'Boolean',
845 'quick_form_type' => 'YesNo',
846 'html_type' => '',
847 'default' => 0,
732b1d05 848 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
849 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
850 ],
851 'logging' => [
e299c1d0 852 'add' => '4.7',
e299c1d0
TO
853 'help_text' => NULL,
854 'is_domain' => 1,
855 'is_contact' => 0,
856 'group_name' => 'CiviCRM Preferences',
857 'group' => 'core',
858 'name' => 'logging',
859 'type' => 'Boolean',
860 'quick_form_type' => 'YesNo',
861 'html_type' => '',
862 'default' => '0',
732b1d05 863 'title' => ts('Logging'),
864 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 865 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 866 'on_change' => [
e299c1d0 867 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
868 ],
869 ],
870 'logging_uniqueid_date' => [
8dd883ca 871 'add' => '4.7',
872 'help_text' => ts('This is the date when CRM-18193 was implemented'),
873 'is_domain' => 1,
874 'is_contact' => 0,
875 'group_name' => 'CiviCRM Preferences',
876 'group' => 'core',
877 'name' => 'logging_uniqueid_date',
878 'type' => 'Date',
879 'quick_form_type' => 'DateTime',
880 'html_type' => '',
881 'default' => NULL,
732b1d05 882 'title' => ts('Logging Unique ID not recorded before'),
883 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
884 ],
885 'logging_all_tables_uniquid' => [
8dd883ca 886 'add' => '4.7',
887 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
888 'is_domain' => 1,
889 'is_contact' => 0,
890 'group_name' => 'CiviCRM Preferences',
891 'group' => 'core',
892 'name' => 'logging_all_tables_uniquid',
893 'type' => 'Boolean',
894 'quick_form_type' => 'YesNo',
895 'html_type' => '',
896 'default' => 0,
732b1d05 897 'title' => ts('All tables use Unique Connection ID'),
898 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
899 ],
900 'userFrameworkUsersTableName' => [
348754d5
TO
901 'add' => '4.7',
902 'help_text' => NULL,
903 'is_domain' => 1,
904 'is_contact' => 0,
905 'group_name' => 'CiviCRM Preferences',
906 'group' => 'core',
907 'name' => 'userFrameworkUsersTableName',
908 'type' => 'String',
909 'quick_form_type' => 'Element',
910 'html_type' => 'text',
dfe1f88a 911 'html_attributes' => [
348754d5
TO
912 'size' => '32',
913 'maxlength' => '64',
dfe1f88a 914 ],
d98d91bd
SL
915 'default' => 'users',
916 'title' => ts('CMS Users Table Name'),
348754d5 917 'description' => '',
dfe1f88a
CW
918 ],
919 'wpLoadPhp' => [
fdd770db
KC
920 'group_name' => 'CiviCRM Preferences',
921 'group' => 'core',
922 'name' => 'wpLoadPhp',
923 'type' => 'String',
924 'html_type' => 'text',
925 'quick_form_type' => 'Element',
fdd770db
KC
926 'default' => '',
927 'add' => '4.6',
732b1d05 928 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
929 'is_domain' => 1,
930 'is_contact' => 0,
732b1d05 931 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 932 'help_text' => NULL,
dfe1f88a
CW
933 ],
934 'secure_cache_timeout_minutes' => [
87334e0f
TO
935 'group_name' => 'CiviCRM Preferences',
936 'group' => 'core',
937 'name' => 'secure_cache_timeout_minutes',
938 'type' => 'Integer',
939 'quick_form_type' => 'Element',
940 'html_type' => 'text',
dfe1f88a 941 'html_attributes' => [
87334e0f
TO
942 'size' => 2,
943 'maxlength' => 8,
dfe1f88a 944 ],
87334e0f
TO
945 'default' => 20,
946 'add' => '4.7',
732b1d05 947 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
948 'is_domain' => 1,
949 'is_contact' => 0,
732b1d05 950 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 951 'help_text' => NULL,
dfe1f88a
CW
952 ],
953 'site_id' => [
1ab26c95
CW
954 'group_name' => 'CiviCRM Preferences',
955 'group' => 'core',
956 'name' => 'site_id',
957 'type' => 'String',
30fcf833 958 'quick_form_type' => 'Element',
959 'html_type' => 'text',
1ab26c95
CW
960 'default' => '',
961 'add' => '4.6',
732b1d05 962 'title' => ts('Unique Site ID'),
1ab26c95
CW
963 'is_domain' => 1,
964 'is_contact' => 0,
965 'description' => NULL,
966 'help_text' => NULL,
dfe1f88a
CW
967 ],
968 'recentItemsMaxCount' => [
ac5f7c7f
NH
969 'group_name' => 'CiviCRM Preferences',
970 'group' => 'core',
971 'name' => 'recentItemsMaxCount',
972 'type' => 'Integer',
973 'quick_form_type' => 'Element',
974 'html_type' => 'text',
dfe1f88a 975 'html_attributes' => [
ac5f7c7f 976 'size' => 2,
136b401b 977 'maxlength' => 3,
dfe1f88a 978 ],
ac5f7c7f
NH
979 'default' => 20,
980 'add' => '4.7',
732b1d05 981 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
982 'is_domain' => 1,
983 'is_contact' => 0,
732b1d05 984 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 985 'help_text' => NULL,
dfe1f88a
CW
986 ],
987 'recentItemsProviders' => [
ac5f7c7f
NH
988 'group_name' => 'CiviCRM Preferences',
989 'group' => 'core',
990 'name' => 'recentItemsProviders',
991 'type' => 'Array',
992 'html_type' => 'Select',
993 'quick_form_type' => 'Select',
dfe1f88a 994 'html_attributes' => [
ac5f7c7f
NH
995 'multiple' => 1,
996 'class' => 'crm-select2',
dfe1f88a 997 ],
ac5f7c7f
NH
998 'default' => '',
999 'add' => '4.7',
732b1d05 1000 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
1001 'is_domain' => 1,
1002 'is_contact' => 0,
732b1d05 1003 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 1004 'help_text' => NULL,
dfe1f88a 1005 'pseudoconstant' => [
136b401b 1006 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
1007 ],
1008 ],
1009 'dedupe_default_limit' => [
30fcf833 1010 'group_name' => 'CiviCRM Preferences',
1011 'group' => 'core',
1012 'name' => 'dedupe_default_limit',
1013 'type' => 'Integer',
1014 'default' => 0,
1015 'quick_form_type' => 'Element',
1016 'html_type' => 'text',
1017 'add' => '4.7',
732b1d05 1018 'title' => ts('Default limit for dedupe screen'),
30fcf833 1019 'is_domain' => 1,
1020 'is_contact' => 0,
1021 'description' => ts('Default to only loading matches against this number of contacts'),
1022 '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.'),
dfe1f88a
CW
1023 ],
1024 'syncCMSEmail' => [
5e7f101a 1025 'group_name' => 'CiviCRM Preferences',
1026 'group' => 'core',
1027 'name' => 'syncCMSEmail',
1028 'type' => 'Boolean',
c89a43b3 1029 'html_type' => 'YesNo',
5e7f101a 1030 'quick_form_type' => 'YesNo',
1031 'default' => 1,
1032 'add' => '4.7',
c89a43b3 1033 'title' => ts('Sync CMS Email'),
5e7f101a 1034 'is_domain' => 1,
1035 'is_contact' => 0,
c89a43b3 1036 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 1037 'help_text' => NULL,
dfe1f88a
CW
1038 ],
1039 'preserve_activity_tab_filter' => [
a6d192c8 1040 'group_name' => 'CiviCRM Preferences',
1041 'group' => 'core',
1042 'name' => 'preserve_activity_tab_filter',
c89a43b3 1043 'type' => 'Boolean',
1044 'html_type' => 'checkbox',
a6d192c8 1045 'default' => '0',
1046 'add' => '4.7',
c89a43b3 1047 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 1048 'is_domain' => 1,
1049 'is_contact' => 0,
c89a43b3 1050 'description' => ts('When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts.'),
dfe1f88a
CW
1051 ],
1052 'do_not_notify_assignees_for' => [
b5407aa9 1053 'group_name' => 'CiviCRM Preferences',
ac983377 1054 'group' => 'core',
b5407aa9 1055 'name' => 'do_not_notify_assignees_for',
ac983377
JP
1056 'type' => 'Array',
1057 'add' => '4.7',
1058 'is_domain' => 1,
e74d9a43 1059 'is_contact' => 0,
dfe1f88a 1060 'default' => [],
719eda4a 1061 'title' => ts('Do not notify assignees for'),
1062 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
1063 'html_type' => 'select',
dfe1f88a 1064 'html_attributes' => [
b5407aa9
JP
1065 'multiple' => 1,
1066 'class' => 'huge crm-select2',
dfe1f88a
CW
1067 ],
1068 'pseudoconstant' => [
ac983377 1069 'optionGroupName' => 'activity_type',
dfe1f88a 1070 ],
b5407aa9 1071 'quick_form_type' => 'Select',
dfe1f88a
CW
1072 ],
1073 'menubar_position' => [
b30809e4
CW
1074 'group_name' => 'CiviCRM Preferences',
1075 'group' => 'core',
1076 'name' => 'menubar_position',
1077 'type' => 'String',
1078 'html_type' => 'select',
1079 'default' => 'over-cms-menu',
8a52ae34 1080 'add' => '5.12',
b30809e4
CW
1081 'title' => ts('Menubar position'),
1082 'is_domain' => 1,
1083 'is_contact' => 0,
1084 'description' => ts('Location of the CiviCRM main menu.'),
1085 'help_text' => NULL,
dfe1f88a 1086 'options' => [
b30809e4
CW
1087 'over-cms-menu' => ts('Replace website menu'),
1088 'below-cms-menu' => ts('Below website menu'),
1089 'above-crm-container' => ts('Above content area'),
1090 'none' => ts('None - disable menu'),
dfe1f88a
CW
1091 ],
1092 ],
1093 'menubar_color' => [
8a52ae34
CW
1094 'group_name' => 'CiviCRM Preferences',
1095 'group' => 'core',
1096 'name' => 'menubar_color',
1097 'type' => 'String',
1098 'html_type' => 'color',
1099 'default' => '#1b1b1b',
1100 'add' => '5.13',
1101 'title' => ts('Menubar color'),
1102 'is_domain' => 1,
1103 'is_contact' => 0,
1104 'description' => ts('Color of the CiviCRM main menu.'),
1105 'help_text' => NULL,
0f4485f5 1106 'validate_callback' => 'CRM_Utils_Color::normalize',
dfe1f88a 1107 ],
6cb3fe2e
SL
1108 'requestableMimeTypes' => [
1109 'group_name' => 'CiviCRM Preferences',
1110 'group' => 'core',
1111 'name' => 'requestableMimeTypes',
1112 'type' => 'String',
1113 'html_type' => 'Text',
1114 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1115 'add' => '5.13',
1116 'title' => ts('Mime Types that can be passed as URL params'),
1117 'is_domain' => 1,
1118 'is_contact' => 0,
1119 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1120 'help_text' => NULL,
1121 ],
d89d2545
TO
1122 'theme_frontend' => [
1123 'group_name' => 'CiviCRM Preferences',
1124 'group' => 'core',
1125 'name' => 'theme_frontend',
1126 'type' => 'String',
1127 'quick_form_type' => 'Select',
1128 'html_type' => 'Select',
1129 'html_attributes' => array(
1130 'class' => 'crm-select2',
1131 ),
1132 'pseudoconstant' => array(
1133 'callback' => 'call://themes/getAvailable',
1134 ),
1135 'default' => 'default',
4ef562f6 1136 'add' => '5.16',
d89d2545
TO
1137 'title' => ts('Frontend Theme'),
1138 'is_domain' => 1,
1139 'is_contact' => 0,
1140 'description' => ts('Theme to use on frontend pages'),
1141 'help_text' => NULL,
1142 ],
1143 'theme_backend' => [
1144 'group_name' => 'CiviCRM Preferences',
1145 'group' => 'core',
1146 'name' => 'theme_backend',
1147 'type' => 'String',
1148 'quick_form_type' => 'Select',
1149 'html_type' => 'Select',
1150 'html_attributes' => array(
1151 'class' => 'crm-select2',
1152 ),
1153 'pseudoconstant' => array(
1154 'callback' => 'call://themes/getAvailable',
1155 ),
1156 'default' => 'default',
4ef562f6 1157 'add' => '5.16',
d89d2545
TO
1158 'title' => ts('Backend Theme'),
1159 'is_domain' => 1,
1160 'is_contact' => 0,
1161 'description' => ts('Theme to use on backend pages'),
1162 'help_text' => NULL,
1163 ],
9679fb15
SL
1164 'http_timeout' => [
1165 'group_name' => 'CiviCRM Preferences',
1166 'group' => 'core',
1167 'name' => 'http_timeout',
1168 'type' => 'Integer',
1169 'quick_form_type' => 'Element',
1170 'html_type' => 'text',
1171 'html_attributes' => [
1172 'size' => 2,
1173 'maxlength' => 3,
1174 ],
1175 'default' => 5,
d79f40ee 1176 'add' => '5.14',
9679fb15
SL
1177 'title' => ts('HTTP request timeout'),
1178 'is_domain' => 1,
1179 'is_contact' => 0,
1180 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'),
1181 'help_text' => ts('Set the number of seconds http requests should run for before terminating'),
1182 ],
dfe1f88a 1183];