This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitignore b/.gitignore | |
index baff153..bea989f 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,5 +1,6 @@ | |
# Ignore configuration files that may contain sensitive information. | |
sites/*/settings*.php | |
+sites/*/civicrm.settings*.php | |
+sites/default/civicrm/extensions/cache | |
+sites/default/civicrm/extensions/tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Civi\Payment\Exception; | |
/** | |
* Class PaymentProcessorException | |
*/ | |
class PaymentProcessorException extends \CRM_Core_Exception { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Get the date at ISO 8601 format | |
//date_default_timezone_set ('+13:00' ); | |
//$dateTime = date("c"); | |
// use a fixed string so people can replicate | |
$dateTime = date("c", strtotime('2014-12-01')); | |
// Create the string to be hashed, without URLencoding | |
$msg = "PBX_SITE=1999888". | |
"&PBX_RANG=32". | |
"&PBX_IDENTIFIANT=107904482". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) api_v3_SyntaxConformanceTest::testSqlOperators with data set #2 ('ActionSchedule') | |
PEAR_Exception: DB Error: no such field | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/CRM/Core/Error.php:867 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/PEAR.php:931 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/DB.php:975 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/PEAR.php:564 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/DB/common.php:1905 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/DB/mysql.php:899 | |
/home/vagrant/civicrm-buildkit/build/drupal-demo/sites/all/modules/civicrm/packages/DB/mysql.php:328 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
*/ | |
function api_payment_form_get($params) { | |
$paymentProcessor = civicrm_api3('payment_processor', 'getsingle', array('processor_id' => $params['processor_id'])); | |
$formData = paymentFormBuild($paymentProcessor, $params); | |
if ($params['output'] = 'json') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form novalidate="" action="" method="post" name="payment"> | |
<div id="payflowpro_gateway_gateway-personal-info"> | |
<div class="row-fluid"> | |
<span class="personalInfo"> | |
<div class="row-fluid"> | |
<div class="col-md-12"> | |
<h3 class="cc_header">Montant du don: <span id="selected-amount">€3.00</span><img style="vertical-align:baseline;margin-left:8px;" src="/extensions/DonationInterface/gateway_forms/includes/padlock.gif"></h3> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/ | |
public function prepare(&$entity, &$row) { | |
if(!empty($entity->prefix_id)){ | |
$prefixes = $this->prefixMapping(); | |
$entity->prefix_id = $prefixes[$entity->prefix_id]; | |
} | |
} | |
function prefixMapping(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/42mail.tpl b/42mail.tpl | |
index 3e40d51..d55e664 100644 | |
--- a/42mail.tpl | |
+++ b/42mail.tpl | |
@@ -23,7 +23,9 @@ | |
| see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
+--------------------------------------------------------------------+ | |
*} | |
- | |
+<div id="civicrm-multipage-enabled" style="display: none;"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `civicrm_system_log` ( | |
`id` INT(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: ID.', | |
`contact_id` INT(11) NULL DEFAULT NULL COMMENT 'Optional record of the logged in user', | |
`type` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'Type of log message', | |
`message` LONGTEXT NULL COMMENT 'JSON encoded data', | |
`severity` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'I dont really want to use a lookup here as I want to log before any processing if desired', | |
`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Unix timestamp of when event occurred.', | |
PRIMARY KEY (`id`), | |
INDEX `type` (`type`), | |
INDEX `contact_id` (`contact_id`), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |