X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCore.setting.php;h=f3079b296c5525f4ee5dbe759b88fc09a3925153;hb=1d041a1c448b0659f1dc35841ff70d59f84ba60d;hp=20b7d50b2412a2d7cbfff46e8c79309d90aee720;hpb=4a857b55aa93910463dad24efcdf76035b50a517;p=civicrm-core.git diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 20b7d50b24..f3079b296c 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -358,9 +358,26 @@ return [ 'pseudoconstant' => [ 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes', ], - 'description' => ts('Should the smart groups be by cron jobs or user actions'), + 'description' => ts('Should the smart groups be flushed by cron jobs or user actions'), '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.'), ], + 'acl_cache_refresh_mode' => [ + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'acl_cache_refresh_mode', + 'type' => 'String', + 'html_type' => 'radio', + 'default' => 'opportunistic', + 'add' => '5.37.0', + 'title' => ts('ACL Group Refresh Mode'), + 'is_domain' => 1, + 'is_contact' => 0, + 'pseudoconstant' => [ + 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes', + ], + 'description' => ts('Should the acl cache be flushed by cron jobs or user actions'), + '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.'), + ], 'installed' => [ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'CiviCRM Preferences', @@ -512,92 +529,92 @@ return [ 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions', ], ], - 'wkhtmltopdfPath' => [ + 'dompdf_font_dir' => [ + 'is_domain' => 1, + 'is_contact' => 0, 'group_name' => 'CiviCRM Preferences', 'group' => 'core', - 'name' => 'wkhtmltopdfPath', + 'name' => 'dompdf_font_dir', + 'title' => ts('DOMPDF Font Folder'), + 'description' => ts('Additional folder where DOMPDF will look for fonts.'), 'type' => 'String', 'quick_form_type' => 'Element', + 'html_type' => 'text', 'html_attributes' => [ 'size' => 64, 'maxlength' => 256, ], - 'html_type' => 'text', 'default' => NULL, - 'add' => '4.3', - 'title' => ts('Path to wkhtmltopdf executable'), - 'is_domain' => 1, - 'is_contact' => 0, - 'description' => NULL, 'help_text' => NULL, + 'add' => '5.43', ], - 'recaptchaOptions' => [ + 'dompdf_chroot' => [ + 'is_domain' => 1, + 'is_contact' => 0, 'group_name' => 'CiviCRM Preferences', 'group' => 'core', - 'name' => 'recaptchaOptions', + 'name' => 'dompdf_chroot', + 'title' => ts('DOMPDF Local Images Folder'), + '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.'), 'type' => 'String', 'quick_form_type' => 'Element', + 'html_type' => 'text', 'html_attributes' => [ 'size' => 64, - 'maxlength' => 64, + 'maxlength' => 256, ], - 'html_type' => 'text', 'default' => NULL, - 'add' => '4.3', - 'title' => ts('reCAPTCHA Options'), + 'help_text' => NULL, + 'add' => '5.43', + ], + 'dompdf_enable_remote' => [ 'is_domain' => 1, 'is_contact' => 0, - 'description' => ts('You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.'), + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'dompdf_enable_remote', + 'title' => ts('DOMPDF Enable Remote Images'), + '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.'), + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'html_type' => '', + 'default' => TRUE, 'help_text' => NULL, + 'add' => '5.43', ], - 'recaptchaPublicKey' => [ + 'dompdf_log_output_file' => [ + 'is_domain' => 1, + 'is_contact' => 0, 'group_name' => 'CiviCRM Preferences', 'group' => 'core', - 'name' => 'recaptchaPublicKey', + 'name' => 'dompdf_log_output_file', + 'title' => ts('DOMPDF Log File'), + 'description' => ts('DOMPDF will log debugging output in this file.'), 'type' => 'String', 'quick_form_type' => 'Element', + 'html_type' => 'text', 'html_attributes' => [ 'size' => 64, - 'maxlength' => 64, + 'maxlength' => 256, ], - 'html_type' => 'text', 'default' => NULL, - 'add' => '4.3', - 'title' => ts('reCAPTCHA Site Key'), - 'is_domain' => 1, - 'is_contact' => 0, - 'description' => NULL, 'help_text' => NULL, + 'add' => '5.43', ], - 'forceRecaptcha' => [ - 'add' => '4.7', - 'help_text' => NULL, - 'is_domain' => 1, - 'is_contact' => 0, - 'group_name' => 'CiviCRM Preferences', - 'group' => 'core', - 'name' => 'forceRecaptcha', - 'type' => 'Boolean', - 'quick_form_type' => 'YesNo', - 'html_type' => '', - 'default' => '0', - 'title' => ts('Force reCAPTCHA on Contribution pages'), - 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'), - ], - 'recaptchaPrivateKey' => [ + 'wkhtmltopdfPath' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', - 'name' => 'recaptchaPrivateKey', + 'name' => 'wkhtmltopdfPath', 'type' => 'String', 'quick_form_type' => 'Element', 'html_attributes' => [ 'size' => 64, - 'maxlength' => 64, + 'maxlength' => 256, ], 'html_type' => 'text', 'default' => NULL, 'add' => '4.3', - 'title' => ts('reCAPTCHA Secret Key'), + 'title' => ts('Path to wkhtmltopdf executable'), 'is_domain' => 1, 'is_contact' => 0, 'description' => NULL,