Define the defaultExternUrl setting ("standalone"/"router")
[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
f299f7db 15 * @copyright CiviCRM LLC (c) 2004-2020
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 ],
6a488035
TO
31 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
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 ],
657fcb7f
TO
242 'defaultExternUrl' => [
243 'group_name' => 'CiviCRM Preferences',
244 'group' => 'core',
245 'name' => 'defaultExternUrl',
246 'type' => 'String',
247 'quick_form_type' => 'Select',
248 'html_type' => 'Select',
249 'html_attributes' => [
250 'class' => 'crm-select2',
251 ],
252 'default' => 'router',
253 'add' => '5.27',
254 'title' => ts('Extern URL Style'),
255 'is_domain' => 1,
256 'is_contact' => 0,
257 'help_text' => NULL,
258 'options' => [
259 'standalone' => ts('Prefer standalone scripts'),
260 'router' => ts('Prefer normal router'),
261 ],
262 ],
dfe1f88a 263 'activity_assignee_notification' => [
6a488035
TO
264 'group_name' => 'CiviCRM Preferences',
265 'group' => 'core',
266 'name' => 'activity_assignee_notification',
74f89a9f 267 'type' => 'Boolean',
268 'html_type' => 'checkbox',
007e3bdc 269 'default' => '1',
6a488035 270 'add' => '4.1',
732b1d05 271 'title' => ts('Notify Activity Assignees'),
6a488035
TO
272 'is_domain' => 1,
273 'is_contact' => 0,
08e57c58 274 'description' => NULL,
56fdfc52 275 'help_text' => NULL,
dfe1f88a
CW
276 ],
277 'activity_assignee_notification_ics' => [
6a488035
TO
278 'group_name' => 'CiviCRM Preferences',
279 'group' => 'core',
280 'name' => 'activity_assignee_notification_ics',
74f89a9f 281 'type' => 'Boolean',
282 'html_type' => 'checkbox',
007e3bdc 283 'default' => '0',
6a488035 284 'add' => '4.3',
732b1d05 285 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
286 'is_domain' => 1,
287 'is_contact' => 0,
08e57c58 288 'description' => NULL,
56fdfc52 289 'help_text' => NULL,
dfe1f88a
CW
290 ],
291 'contact_autocomplete_options' => [
6a488035
TO
292 'group_name' => 'CiviCRM Preferences',
293 'group' => 'core',
294 'name' => 'contact_autocomplete_options',
295 'type' => 'String',
ec3cc27f 296 'html_type' => 'checkboxes',
dfe1f88a 297 'pseudoconstant' => [
d434f797 298 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
dfe1f88a 299 ],
d434f797 300 'default' => '\ 11\ 12\ 1',
6a488035 301 'add' => '4.1',
732b1d05 302 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
303 'is_domain' => 1,
304 'is_contact' => 0,
732b1d05 305 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 306 'help_text' => NULL,
ec3cc27f 307 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 308 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
309 ],
310 'contact_reference_options' => [
6a488035
TO
311 'group_name' => 'CiviCRM Preferences',
312 'group' => 'core',
313 'name' => 'contact_reference_options',
314 'type' => 'String',
ec3cc27f 315 'html_type' => 'checkboxes',
dfe1f88a 316 'pseudoconstant' => [
d434f797 317 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
dfe1f88a 318 ],
d434f797 319 'default' => '\ 11\ 12\ 1',
6a488035 320 'add' => '4.1',
732b1d05 321 'title' => ts('Contact Reference Options'),
6a488035
TO
322 'is_domain' => 1,
323 'is_contact' => 0,
732b1d05 324 '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 325 'help_text' => NULL,
ec3cc27f 326 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 327 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
328 ],
329 'contact_smart_group_display' => [
007e3bdc
TO
330 'group_name' => 'CiviCRM Preferences',
331 'group' => 'core',
332 'name' => 'contact_smart_group_display',
333 'type' => 'String',
334 'html_type' => 'radio',
335 'default' => '1',
336 'add' => '4.7',
337 'title' => ts('Viewing Smart Groups'),
338 'is_domain' => 1,
339 'is_contact' => 0,
c5af8245 340 '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 341 'help_text' => NULL,
dfe1f88a 342 'pseudoconstant' => [
c5af8245 343 'optionGroupName' => 'contact_smart_group_display',
dfe1f88a
CW
344 ],
345 ],
346 'smart_group_cache_refresh_mode' => [
801bafd7 347 'group_name' => 'CiviCRM Preferences',
348 'group' => 'core',
349 'name' => 'smart_group_cache_refresh_mode',
350 'type' => 'String',
351 'html_type' => 'radio',
352 'default' => 'opportunistic',
353 'add' => '4.7',
732b1d05 354 'title' => ts('Smart Group Refresh Mode'),
801bafd7 355 'is_domain' => 1,
356 'is_contact' => 0,
dfe1f88a 357 'pseudoconstant' => [
a8eb1fe6 358 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
dfe1f88a 359 ],
732b1d05 360 'description' => ts('Should the smart groups be by cron jobs or user actions'),
361 '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
CW
362 ],
363 'installed' => [
801c5335
C
364 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
365 'group_name' => 'CiviCRM Preferences',
366 'group' => 'core',
367 'name' => 'installed',
368 'type' => 'Boolean',
369 'quick_form_type' => 'YesNo',
370 'default' => FALSE,
371 'add' => '4.7',
732b1d05 372 'title' => ts('System Installed'),
801c5335
C
373 'is_domain' => 1,
374 'is_contact' => 0,
732b1d05 375 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 376 'help_text' => NULL,
dfe1f88a
CW
377 ],
378 'max_attachments' => [
6a488035
TO
379 'group_name' => 'CiviCRM Preferences',
380 'group' => 'core',
381 'name' => 'max_attachments',
382 'legacy_key' => 'maxAttachments',
6a488035
TO
383 'type' => 'Integer',
384 'quick_form_type' => 'Element',
385 'html_type' => 'text',
dfe1f88a 386 'html_attributes' => [
6a488035
TO
387 'size' => 2,
388 'maxlength' => 8,
dfe1f88a 389 ],
56fdfc52
TO
390 'default' => 3,
391 'add' => '4.3',
732b1d05 392 'title' => ts('Maximum Attachments'),
56fdfc52
TO
393 'is_domain' => 1,
394 'is_contact' => 0,
8913e915
D
395 '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.'),
396 'help_text' => NULL,
397 ],
398 'max_attachments_backend' => [
399 'group_name' => 'CiviCRM Preferences',
400 'group' => 'core',
401 'name' => 'max_attachments_backend',
402 'legacy_key' => 'maxAttachmentsBackend',
403 'type' => 'Integer',
404 'quick_form_type' => 'Element',
405 'html_type' => 'text',
406 'html_attributes' => [
407 'size' => 2,
408 'maxlength' => 8,
409 ],
410 'default' => CRM_Core_BAO_File::DEFAULT_MAX_ATTACHMENTS_BACKEND,
411 'add' => '5.20',
412 'title' => ts('Maximum Attachments For Backend Processes'),
413 'is_domain' => 1,
414 'is_contact' => 0,
415 '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 416 'help_text' => NULL,
dfe1f88a
CW
417 ],
418 'maxFileSize' => [
6a488035
TO
419 'group_name' => 'CiviCRM Preferences',
420 'group' => 'core',
421 'name' => 'maxFileSize',
6a488035
TO
422 'type' => 'Integer',
423 'quick_form_type' => 'Element',
424 'html_type' => 'text',
dfe1f88a 425 'html_attributes' => [
6a488035
TO
426 'size' => 2,
427 'maxlength' => 8,
dfe1f88a 428 ],
6a488035
TO
429 'default' => 3,
430 'add' => '4.3',
732b1d05 431 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
432 'is_domain' => 1,
433 'is_contact' => 0,
732b1d05 434 '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 435 'help_text' => NULL,
dfe1f88a
CW
436 ],
437 'contact_undelete' => [
6a488035
TO
438 'group_name' => 'CiviCRM Preferences',
439 'group' => 'core',
440 'name' => 'contact_undelete',
441 'type' => 'Boolean',
442 'quick_form_type' => 'YesNo',
443 'default' => 1,
444 'add' => '4.3',
732b1d05 445 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
446 'is_domain' => 1,
447 'is_contact' => 0,
732b1d05 448 '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 449 'help_text' => NULL,
dfe1f88a
CW
450 ],
451 'allowPermDeleteFinancial' => [
f182074e
PN
452 'group_name' => 'CiviCRM Preferences',
453 'group' => 'core',
454 'name' => 'allowPermDeleteFinancial',
455 'type' => 'Boolean',
456 'quick_form_type' => 'YesNo',
457 'default' => FALSE,
458 'add' => '4.3',
732b1d05 459 'title' => ts('Contact Permanent Delete'),
f182074e
PN
460 'is_domain' => 1,
461 'is_contact' => 0,
732b1d05 462 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 463 'help_text' => NULL,
dfe1f88a
CW
464 ],
465 'securityAlert' => [
439a9f1b
TO
466 'group_name' => 'CiviCRM Preferences',
467 'group' => 'core',
fa8dc18c 468 'name' => 'securityAlert',
439a9f1b
TO
469 'type' => 'Boolean',
470 'quick_form_type' => 'YesNo',
471 'default' => 1,
472 'add' => '4.4',
732b1d05 473 'title' => ts('Status Alerts'),
439a9f1b
TO
474 'is_domain' => 1,
475 'is_contact' => 0,
732b1d05 476 '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 477 'help_text' => NULL,
dfe1f88a
CW
478 ],
479 'doNotAttachPDFReceipt' => [
6a488035
TO
480 'group_name' => 'CiviCRM Preferences',
481 'group' => 'core',
482 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
483 'type' => 'Boolean',
484 'quick_form_type' => 'YesNo',
f825dba2 485 'default' => 0,
6a488035 486 'add' => '4.3',
732b1d05 487 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
488 'is_domain' => 1,
489 'is_contact' => 0,
732b1d05 490 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 491 'help_text' => NULL,
dfe1f88a
CW
492 ],
493 'recordGeneratedLetters' => [
cc144465
TO
494 'group_name' => 'CiviCRM Preferences',
495 'group' => 'core',
496 'name' => 'recordGeneratedLetters',
497 'type' => 'String',
498 'quick_form_type' => 'Select',
499 'html_type' => 'Select',
dfe1f88a 500 'html_attributes' => [
cc144465 501 'class' => 'crm-select2',
dfe1f88a 502 ],
cc144465 503 'default' => 'multiple',
3ff77806 504 'add' => '4.7',
732b1d05 505 'title' => ts('Record generated letters'),
cc144465
TO
506 'is_domain' => 1,
507 'is_contact' => 0,
732b1d05 508 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 509 'help_text' => NULL,
dfe1f88a 510 'pseudoconstant' => [
cc144465 511 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
512 ],
513 ],
514 'wkhtmltopdfPath' => [
6a488035
TO
515 'group_name' => 'CiviCRM Preferences',
516 'group' => 'core',
517 'name' => 'wkhtmltopdfPath',
6a488035
TO
518 'type' => 'String',
519 'quick_form_type' => 'Element',
dfe1f88a 520 'html_attributes' => [
6a488035
TO
521 'size' => 64,
522 'maxlength' => 256,
dfe1f88a 523 ],
c1a2145a 524 'html_type' => 'text',
08e57c58 525 'default' => NULL,
6a488035 526 'add' => '4.3',
732b1d05 527 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
528 'is_domain' => 1,
529 'is_contact' => 0,
08e57c58
TO
530 'description' => NULL,
531 'help_text' => NULL,
dfe1f88a
CW
532 ],
533 'recaptchaOptions' => [
53b0f6c3
TO
534 'group_name' => 'CiviCRM Preferences',
535 'group' => 'core',
536 'name' => 'recaptchaOptions',
53b0f6c3
TO
537 'type' => 'String',
538 'quick_form_type' => 'Element',
dfe1f88a 539 'html_attributes' => [
53b0f6c3
TO
540 'size' => 64,
541 'maxlength' => 64,
dfe1f88a 542 ],
c1a2145a 543 'html_type' => 'text',
53b0f6c3
TO
544 'default' => NULL,
545 'add' => '4.3',
732b1d05 546 'title' => ts('Recaptcha Options'),
53b0f6c3
TO
547 'is_domain' => 1,
548 'is_contact' => 0,
732b1d05 549 'description' => ts('You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.'),
53b0f6c3 550 'help_text' => NULL,
dfe1f88a
CW
551 ],
552 'recaptchaPublicKey' => [
6a488035
TO
553 'group_name' => 'CiviCRM Preferences',
554 'group' => 'core',
555 'name' => 'recaptchaPublicKey',
6a488035
TO
556 'type' => 'String',
557 'quick_form_type' => 'Element',
dfe1f88a 558 'html_attributes' => [
6a488035
TO
559 'size' => 64,
560 'maxlength' => 64,
dfe1f88a 561 ],
c1a2145a 562 'html_type' => 'text',
08e57c58 563 'default' => NULL,
6a488035 564 'add' => '4.3',
732b1d05 565 'title' => ts('Recaptcha Site Key'),
6a488035
TO
566 'is_domain' => 1,
567 'is_contact' => 0,
08e57c58
TO
568 'description' => NULL,
569 'help_text' => NULL,
dfe1f88a
CW
570 ],
571 'forceRecaptcha' => [
ce287b85
AP
572 'add' => '4.7',
573 'help_text' => NULL,
574 'is_domain' => 1,
575 'is_contact' => 0,
576 'group_name' => 'CiviCRM Preferences',
577 'group' => 'core',
578 'name' => 'forceRecaptcha',
579 'type' => 'Boolean',
580 'quick_form_type' => 'YesNo',
581 'html_type' => '',
582 'default' => '0',
732b1d05 583 'title' => ts('Force reCAPTCHA on Contribution pages'),
584 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
dfe1f88a
CW
585 ],
586 'recaptchaPrivateKey' => [
6a488035
TO
587 'group_name' => 'CiviCRM Preferences',
588 'group' => 'core',
589 'name' => 'recaptchaPrivateKey',
6a488035
TO
590 'type' => 'String',
591 'quick_form_type' => 'Element',
dfe1f88a 592 'html_attributes' => [
6a488035
TO
593 'size' => 64,
594 'maxlength' => 64,
dfe1f88a 595 ],
c1a2145a 596 'html_type' => 'text',
08e57c58 597 'default' => NULL,
6a488035 598 'add' => '4.3',
732b1d05 599 'title' => ts('Recaptcha Secret Key'),
6a488035
TO
600 'is_domain' => 1,
601 'is_contact' => 0,
08e57c58
TO
602 'description' => NULL,
603 'help_text' => NULL,
dfe1f88a
CW
604 ],
605 'checksum_timeout' => [
6a488035
TO
606 'group_name' => 'CiviCRM Preferences',
607 'group' => 'core',
92a8de72 608 'name' => 'checksum_timeout',
6a488035
TO
609 'type' => 'Integer',
610 'quick_form_type' => 'Element',
dfe1f88a 611 'html_attributes' => [
6a488035
TO
612 'size' => 2,
613 'maxlength' => 8,
dfe1f88a 614 ],
c1a2145a 615 'html_type' => 'text',
6a488035
TO
616 'default' => 7,
617 'add' => '4.3',
732b1d05 618 'title' => ts('Checksum Lifespan'),
6a488035
TO
619 'is_domain' => 1,
620 'is_contact' => 0,
08e57c58
TO
621 'description' => NULL,
622 'help_text' => NULL,
dfe1f88a
CW
623 ],
624 'blogUrl' => [
4b030206
TO
625 'group_name' => 'CiviCRM Preferences',
626 'group' => 'core',
627 'name' => 'blogUrl',
4b030206
TO
628 'type' => 'String',
629 'quick_form_type' => 'Element',
dfe1f88a 630 'html_attributes' => [
4b030206
TO
631 'size' => 64,
632 'maxlength' => 128,
dfe1f88a 633 ],
c1a2145a 634 'html_type' => 'text',
4b030206
TO
635 'default' => '*default*',
636 'add' => '4.3',
732b1d05 637 'title' => ts('Blog Feed URL'),
4b030206
TO
638 'is_domain' => 1,
639 'is_contact' => 0,
732b1d05 640 'description' => ts('Blog feed URL used by the blog dashlet'),
641 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
642 ],
643 'communityMessagesUrl' => [
847c93ac
TO
644 'group_name' => 'CiviCRM Preferences',
645 'group' => 'core',
646 'name' => 'communityMessagesUrl',
847c93ac
TO
647 'type' => 'String',
648 'quick_form_type' => 'Element',
dfe1f88a 649 'html_attributes' => [
847c93ac
TO
650 'size' => 64,
651 'maxlength' => 128,
dfe1f88a 652 ],
c1a2145a 653 'html_type' => 'text',
847c93ac
TO
654 'default' => '*default*',
655 'add' => '4.3',
732b1d05 656 'title' => ts('Community Messages URL'),
847c93ac
TO
657 'is_domain' => 1,
658 'is_contact' => 0,
732b1d05 659 'description' => ts('Service providing CiviCRM community messages'),
660 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
661 ],
662 'gettingStartedUrl' => [
1f957d1e
TO
663 'group_name' => 'CiviCRM Preferences',
664 'group' => 'core',
665 'name' => 'gettingStartedUrl',
666 'type' => 'String',
667 'quick_form_type' => 'Element',
dfe1f88a 668 'html_attributes' => [
1f957d1e
TO
669 'size' => 64,
670 'maxlength' => 128,
dfe1f88a 671 ],
c1a2145a 672 'html_type' => 'text',
1f957d1e
TO
673 'default' => '*default*',
674 'add' => '4.3',
732b1d05 675 'title' => ts('Getting Started URL'),
1f957d1e
TO
676 'is_domain' => 1,
677 'is_contact' => 0,
732b1d05 678 'description' => ts('Service providing the Getting Started data'),
679 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
680 ],
681 'resCacheCode' => [
6a488035
TO
682 'group_name' => 'CiviCRM Preferences',
683 'group' => 'core',
684 'name' => 'resCacheCode',
6a488035 685 'type' => 'String',
30fcf833 686 'quick_form_type' => 'Element',
687 'html_type' => 'text',
08e57c58 688 'default' => NULL,
6a488035 689 'add' => '4.3',
732b1d05 690 'title' => ts('resCacheCode'),
6a488035
TO
691 'is_domain' => 1,
692 'is_contact' => 0,
732b1d05 693 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 694 'help_text' => NULL,
dfe1f88a
CW
695 ],
696 'verifySSL' => [
6a488035
TO
697 'group_name' => 'CiviCRM Preferences',
698 'group' => 'core',
699 'name' => 'verifySSL',
700 'type' => 'Boolean',
701 'quick_form_type' => 'YesNo',
702 'default' => 1,
703 'add' => '4.3',
732b1d05 704 'title' => ts('Verify SSL?'),
6a488035
TO
705 'is_domain' => 1,
706 'is_contact' => 0,
732b1d05 707 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
708 '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
709 ],
710 'enableSSL' => [
28f07f05
TO
711 'group_name' => 'CiviCRM Preferences',
712 'group' => 'core',
713 'name' => 'enableSSL',
714 'type' => 'Boolean',
715 'quick_form_type' => 'YesNo',
716 'default' => 0,
717 'add' => '4.5',
732b1d05 718 'title' => ts('Force SSL?'),
28f07f05
TO
719 'is_domain' => 1,
720 'is_contact' => 0,
732b1d05 721 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
722 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
723 ],
724 'wpBasePage' => [
94c11eeb
DL
725 'group_name' => 'CiviCRM Preferences',
726 'group' => 'core',
727 'name' => 'wpBasePage',
728 'type' => 'String',
729 'html_type' => 'text',
730 'quick_form_type' => 'Element',
94c11eeb
DL
731 'default' => '',
732 'add' => '4.3',
732b1d05 733 'title' => ts('WordPress Base Page'),
94c11eeb
DL
734 'is_domain' => 1,
735 'is_contact' => 0,
732b1d05 736 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
737 '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
738 ],
739 'secondDegRelPermissions' => [
d5f1ee75
DG
740 'group_name' => 'CiviCRM Preferences',
741 'group' => 'core',
742 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
743 'type' => 'Boolean',
744 'quick_form_type' => 'YesNo',
745 'default' => 0,
746 'add' => '4.3',
732b1d05 747 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
748 'is_domain' => 1,
749 'is_contact' => 0,
732b1d05 750 '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 751 'help_text' => NULL,
dfe1f88a
CW
752 ],
753 'enable_components' => [
ac47f7ca 754 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
755 'group_name' => 'CiviCRM Preferences',
756 'group' => 'core',
56fdfc52 757 'name' => 'enable_components',
86eeab72 758 'type' => 'Array',
bfd9c358 759 'html_type' => 'checkboxes',
ac47f7ca 760 'default' => NULL,
56fdfc52 761 'add' => '4.4',
732b1d05 762 'title' => ts('Enable Components'),
86eeab72
DS
763 'is_domain' => '1',
764 'is_contact' => 0,
08e57c58 765 'description' => NULL,
56fdfc52 766 'help_text' => NULL,
dfe1f88a 767 'on_change' => [
c8074a93
TO
768 'CRM_Case_Info::onToggleComponents',
769 'CRM_Core_Component::flushEnabledComponents',
770 'call://resources/resetCacheCode',
dfe1f88a 771 ],
281db812 772 'pseudoconstant' => [
773 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
774 ],
dfe1f88a
CW
775 ],
776 'disable_core_css' => [
14f20d22
CW
777 'group_name' => 'CiviCRM Preferences',
778 'group' => 'core',
779 'name' => 'disable_core_css',
780 'type' => 'Boolean',
781 'quick_form_type' => 'YesNo',
782 'default' => '0',
783 'add' => '4.4',
732b1d05 784 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
785 'is_domain' => 1,
786 'is_contact' => 0,
732b1d05 787 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 788 'help_text' => NULL,
dfe1f88a
CW
789 ],
790 'empoweredBy' => [
466913fc
AH
791 'group_name' => 'CiviCRM Preferences',
792 'group' => 'core',
793 'name' => 'empoweredBy',
794 'type' => 'Boolean',
795 'quick_form_type' => 'YesNo',
796 'default' => 1,
797 'add' => '4.5',
732b1d05 798 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
799 'is_domain' => 1,
800 'is_contact' => 0,
732b1d05 801 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 802 'help_text' => NULL,
dfe1f88a
CW
803 ],
804 'logging_no_trigger_permission' => [
f76ec559
TO
805 'add' => '4.7',
806 'is_domain' => 1,
807 'is_contact' => 0,
808 'group_name' => 'CiviCRM Preferences',
809 'group' => 'core',
810 '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.'),
811 'name' => 'logging_no_trigger_permission',
812 'type' => 'Boolean',
813 'quick_form_type' => 'YesNo',
814 'html_type' => '',
815 'default' => 0,
732b1d05 816 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
817 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
818 ],
819 'logging' => [
e299c1d0 820 'add' => '4.7',
e299c1d0
TO
821 'help_text' => NULL,
822 'is_domain' => 1,
823 'is_contact' => 0,
824 'group_name' => 'CiviCRM Preferences',
825 'group' => 'core',
826 'name' => 'logging',
827 'type' => 'Boolean',
828 'quick_form_type' => 'YesNo',
829 'html_type' => '',
830 'default' => '0',
732b1d05 831 'title' => ts('Logging'),
832 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 833 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 834 'on_change' => [
e299c1d0 835 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
836 ],
837 ],
838 'logging_uniqueid_date' => [
8dd883ca 839 'add' => '4.7',
840 'help_text' => ts('This is the date when CRM-18193 was implemented'),
841 'is_domain' => 1,
842 'is_contact' => 0,
843 'group_name' => 'CiviCRM Preferences',
844 'group' => 'core',
845 'name' => 'logging_uniqueid_date',
846 'type' => 'Date',
847 'quick_form_type' => 'DateTime',
848 'html_type' => '',
849 'default' => NULL,
732b1d05 850 'title' => ts('Logging Unique ID not recorded before'),
851 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
852 ],
853 'logging_all_tables_uniquid' => [
8dd883ca 854 'add' => '4.7',
855 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
856 'is_domain' => 1,
857 'is_contact' => 0,
858 'group_name' => 'CiviCRM Preferences',
859 'group' => 'core',
860 'name' => 'logging_all_tables_uniquid',
861 'type' => 'Boolean',
862 'quick_form_type' => 'YesNo',
863 'html_type' => '',
864 'default' => 0,
732b1d05 865 'title' => ts('All tables use Unique Connection ID'),
866 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
867 ],
868 'userFrameworkUsersTableName' => [
348754d5
TO
869 'add' => '4.7',
870 'help_text' => NULL,
871 'is_domain' => 1,
872 'is_contact' => 0,
873 'group_name' => 'CiviCRM Preferences',
874 'group' => 'core',
875 'name' => 'userFrameworkUsersTableName',
876 'type' => 'String',
877 'quick_form_type' => 'Element',
878 'html_type' => 'text',
dfe1f88a 879 'html_attributes' => [
348754d5
TO
880 'size' => '32',
881 'maxlength' => '64',
dfe1f88a 882 ],
d98d91bd
SL
883 'default' => 'users',
884 'title' => ts('CMS Users Table Name'),
348754d5 885 'description' => '',
dfe1f88a
CW
886 ],
887 'wpLoadPhp' => [
fdd770db
KC
888 'group_name' => 'CiviCRM Preferences',
889 'group' => 'core',
890 'name' => 'wpLoadPhp',
891 'type' => 'String',
892 'html_type' => 'text',
893 'quick_form_type' => 'Element',
fdd770db
KC
894 'default' => '',
895 'add' => '4.6',
732b1d05 896 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
897 'is_domain' => 1,
898 'is_contact' => 0,
732b1d05 899 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 900 'help_text' => NULL,
dfe1f88a
CW
901 ],
902 'secure_cache_timeout_minutes' => [
87334e0f
TO
903 'group_name' => 'CiviCRM Preferences',
904 'group' => 'core',
905 'name' => 'secure_cache_timeout_minutes',
906 'type' => 'Integer',
907 'quick_form_type' => 'Element',
908 'html_type' => 'text',
dfe1f88a 909 'html_attributes' => [
87334e0f
TO
910 'size' => 2,
911 'maxlength' => 8,
dfe1f88a 912 ],
87334e0f
TO
913 'default' => 20,
914 'add' => '4.7',
732b1d05 915 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
916 'is_domain' => 1,
917 'is_contact' => 0,
732b1d05 918 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 919 'help_text' => NULL,
dfe1f88a
CW
920 ],
921 'site_id' => [
1ab26c95
CW
922 'group_name' => 'CiviCRM Preferences',
923 'group' => 'core',
924 'name' => 'site_id',
925 'type' => 'String',
30fcf833 926 'quick_form_type' => 'Element',
927 'html_type' => 'text',
1ab26c95
CW
928 'default' => '',
929 'add' => '4.6',
732b1d05 930 'title' => ts('Unique Site ID'),
1ab26c95
CW
931 'is_domain' => 1,
932 'is_contact' => 0,
933 'description' => NULL,
934 'help_text' => NULL,
dfe1f88a
CW
935 ],
936 'recentItemsMaxCount' => [
ac5f7c7f
NH
937 'group_name' => 'CiviCRM Preferences',
938 'group' => 'core',
939 'name' => 'recentItemsMaxCount',
940 'type' => 'Integer',
941 'quick_form_type' => 'Element',
942 'html_type' => 'text',
dfe1f88a 943 'html_attributes' => [
ac5f7c7f 944 'size' => 2,
136b401b 945 'maxlength' => 3,
dfe1f88a 946 ],
ac5f7c7f
NH
947 'default' => 20,
948 'add' => '4.7',
732b1d05 949 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
950 'is_domain' => 1,
951 'is_contact' => 0,
732b1d05 952 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 953 'help_text' => NULL,
dfe1f88a
CW
954 ],
955 'recentItemsProviders' => [
ac5f7c7f
NH
956 'group_name' => 'CiviCRM Preferences',
957 'group' => 'core',
958 'name' => 'recentItemsProviders',
959 'type' => 'Array',
960 'html_type' => 'Select',
961 'quick_form_type' => 'Select',
dfe1f88a 962 'html_attributes' => [
ac5f7c7f
NH
963 'multiple' => 1,
964 'class' => 'crm-select2',
dfe1f88a 965 ],
ac5f7c7f
NH
966 'default' => '',
967 'add' => '4.7',
732b1d05 968 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
969 'is_domain' => 1,
970 'is_contact' => 0,
732b1d05 971 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 972 'help_text' => NULL,
dfe1f88a 973 'pseudoconstant' => [
136b401b 974 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
975 ],
976 ],
977 'dedupe_default_limit' => [
30fcf833 978 'group_name' => 'CiviCRM Preferences',
979 'group' => 'core',
980 'name' => 'dedupe_default_limit',
981 'type' => 'Integer',
982 'default' => 0,
983 'quick_form_type' => 'Element',
984 'html_type' => 'text',
985 'add' => '4.7',
732b1d05 986 'title' => ts('Default limit for dedupe screen'),
30fcf833 987 'is_domain' => 1,
988 'is_contact' => 0,
989 'description' => ts('Default to only loading matches against this number of contacts'),
990 '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
991 ],
992 'syncCMSEmail' => [
5e7f101a 993 'group_name' => 'CiviCRM Preferences',
994 'group' => 'core',
995 'name' => 'syncCMSEmail',
996 'type' => 'Boolean',
c89a43b3 997 'html_type' => 'YesNo',
5e7f101a 998 'quick_form_type' => 'YesNo',
999 'default' => 1,
1000 'add' => '4.7',
c89a43b3 1001 'title' => ts('Sync CMS Email'),
5e7f101a 1002 'is_domain' => 1,
1003 'is_contact' => 0,
c89a43b3 1004 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 1005 'help_text' => NULL,
dfe1f88a
CW
1006 ],
1007 'preserve_activity_tab_filter' => [
a6d192c8 1008 'group_name' => 'CiviCRM Preferences',
1009 'group' => 'core',
1010 'name' => 'preserve_activity_tab_filter',
c89a43b3 1011 'type' => 'Boolean',
1012 'html_type' => 'checkbox',
a6d192c8 1013 'default' => '0',
1014 'add' => '4.7',
c89a43b3 1015 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 1016 'is_domain' => 1,
1017 'is_contact' => 0,
c89a43b3 1018 '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
1019 ],
1020 'do_not_notify_assignees_for' => [
b5407aa9 1021 'group_name' => 'CiviCRM Preferences',
ac983377 1022 'group' => 'core',
b5407aa9 1023 'name' => 'do_not_notify_assignees_for',
ac983377
JP
1024 'type' => 'Array',
1025 'add' => '4.7',
1026 'is_domain' => 1,
e74d9a43 1027 'is_contact' => 0,
dfe1f88a 1028 'default' => [],
719eda4a 1029 'title' => ts('Do not notify assignees for'),
1030 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
1031 'html_type' => 'select',
dfe1f88a 1032 'html_attributes' => [
b5407aa9
JP
1033 'multiple' => 1,
1034 'class' => 'huge crm-select2',
dfe1f88a
CW
1035 ],
1036 'pseudoconstant' => [
ac983377 1037 'optionGroupName' => 'activity_type',
dfe1f88a 1038 ],
b5407aa9 1039 'quick_form_type' => 'Select',
dfe1f88a
CW
1040 ],
1041 'menubar_position' => [
b30809e4
CW
1042 'group_name' => 'CiviCRM Preferences',
1043 'group' => 'core',
1044 'name' => 'menubar_position',
1045 'type' => 'String',
1046 'html_type' => 'select',
1047 'default' => 'over-cms-menu',
8a52ae34 1048 'add' => '5.12',
b30809e4
CW
1049 'title' => ts('Menubar position'),
1050 'is_domain' => 1,
1051 'is_contact' => 0,
1052 'description' => ts('Location of the CiviCRM main menu.'),
1053 'help_text' => NULL,
dfe1f88a 1054 'options' => [
b30809e4
CW
1055 'over-cms-menu' => ts('Replace website menu'),
1056 'below-cms-menu' => ts('Below website menu'),
1057 'above-crm-container' => ts('Above content area'),
1058 'none' => ts('None - disable menu'),
dfe1f88a
CW
1059 ],
1060 ],
1061 'menubar_color' => [
8a52ae34
CW
1062 'group_name' => 'CiviCRM Preferences',
1063 'group' => 'core',
1064 'name' => 'menubar_color',
1065 'type' => 'String',
1066 'html_type' => 'color',
1067 'default' => '#1b1b1b',
1068 'add' => '5.13',
1069 'title' => ts('Menubar color'),
1070 'is_domain' => 1,
1071 'is_contact' => 0,
1072 'description' => ts('Color of the CiviCRM main menu.'),
1073 'help_text' => NULL,
0f4485f5 1074 'validate_callback' => 'CRM_Utils_Color::normalize',
dfe1f88a 1075 ],
6cb3fe2e
SL
1076 'requestableMimeTypes' => [
1077 'group_name' => 'CiviCRM Preferences',
1078 'group' => 'core',
1079 'name' => 'requestableMimeTypes',
1080 'type' => 'String',
1081 'html_type' => 'Text',
1082 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1083 'add' => '5.13',
1084 'title' => ts('Mime Types that can be passed as URL params'),
1085 'is_domain' => 1,
1086 'is_contact' => 0,
1087 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1088 'help_text' => NULL,
1089 ],
d89d2545
TO
1090 'theme_frontend' => [
1091 'group_name' => 'CiviCRM Preferences',
1092 'group' => 'core',
1093 'name' => 'theme_frontend',
1094 'type' => 'String',
1095 'quick_form_type' => 'Select',
1096 'html_type' => 'Select',
1097 'html_attributes' => array(
1098 'class' => 'crm-select2',
1099 ),
1100 'pseudoconstant' => array(
1101 'callback' => 'call://themes/getAvailable',
1102 ),
1103 'default' => 'default',
4ef562f6 1104 'add' => '5.16',
d89d2545
TO
1105 'title' => ts('Frontend Theme'),
1106 'is_domain' => 1,
1107 'is_contact' => 0,
1108 'description' => ts('Theme to use on frontend pages'),
1109 'help_text' => NULL,
1110 ],
1111 'theme_backend' => [
1112 'group_name' => 'CiviCRM Preferences',
1113 'group' => 'core',
1114 'name' => 'theme_backend',
1115 'type' => 'String',
1116 'quick_form_type' => 'Select',
1117 'html_type' => 'Select',
1118 'html_attributes' => array(
1119 'class' => 'crm-select2',
1120 ),
1121 'pseudoconstant' => array(
1122 'callback' => 'call://themes/getAvailable',
1123 ),
1124 'default' => 'default',
4ef562f6 1125 'add' => '5.16',
d89d2545
TO
1126 'title' => ts('Backend Theme'),
1127 'is_domain' => 1,
1128 'is_contact' => 0,
1129 'description' => ts('Theme to use on backend pages'),
1130 'help_text' => NULL,
1131 ],
9679fb15
SL
1132 'http_timeout' => [
1133 'group_name' => 'CiviCRM Preferences',
1134 'group' => 'core',
1135 'name' => 'http_timeout',
1136 'type' => 'Integer',
1137 'quick_form_type' => 'Element',
1138 'html_type' => 'text',
1139 'html_attributes' => [
1140 'size' => 2,
1141 'maxlength' => 3,
1142 ],
1143 'default' => 5,
d79f40ee 1144 'add' => '5.14',
9679fb15
SL
1145 'title' => ts('HTTP request timeout'),
1146 'is_domain' => 1,
1147 'is_contact' => 0,
1148 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'),
1149 'help_text' => ts('Set the number of seconds http requests should run for before terminating'),
1150 ],
dfe1f88a 1151];