'pseudoconstant' => [
'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
],
- 'description' => ts('Should the acl cache be by cron jobs or user actions'),
+ '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' => [
'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 <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.'),
+ '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,
- ],
- '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.'),
+ 'add' => '5.43',
],
- '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,