This file contains 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
--- mysql.orig 2016-02-20 14:31:25.601574577 -0500 | |
+++ mysql 2016-02-20 14:52:32.685574577 -0500 | |
@@ -238,14 +238,14 @@ | |
then | |
if [ $usevserver = yes ] | |
then | |
- debug 'set -o pipefail ; echo show databases | $VSERVER $vsname exec su $user -c \"$MYSQL $defaultsfile\" | grep -v Database' | |
- databases=`set -o pipefail ; echo 'show databases' | $VSERVER $vsname exec su $user -c "$MYSQL $defaultsfile" | grep -v Database` | |
+ debug 'set -o pipefail ; echo show databases | $VSERVER $vsname exec su $user -c \"$MYSQL $defaultsfile\" | grep -v Database | grep -v '^\(information\|performance\)_schema$'' | |
+ databases=`set -o pipefail ; echo 'show databases' | $VSERVER $vsname exec su $user -c "$MYSQL $defaultsfile" | grep -v Database | grep -v '^\(information\|performance\)_schema$'` |
This file contains 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
function generate_post_data() { | |
cat <<EOF | |
{ | |
"exit_status": $EXIT_STATUS, | |
"plugin_output": "$PLUGIN_OUTPUT" | |
} | |
EOF | |
} | |
function generate_post_reschedule() { |
This file contains 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
//Fields.In is a rowMetaInterface. | |
// We want to call the setName method of the valueMetaInterface, which we can grab from rowMetaInterface. | |
private FieldHelper inputField = null; | |
private ValueMetaInterface vMeta = null; | |
private int index; | |
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException | |
{ | |
// Get a row from the stream. | |
Object[] r = getRow(); |
This file contains 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
* -UI zoom=in places work jobs in the wrong place on the UI (RimThemesLite? Work tab vertical text option?)- [This is a known issue](https://github.com/fluffy-mods/WorkTab/issues/77) | |
* Methadone doesn't work? | |
* Animals aren't affected by cold? |
This file contains 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
#!/usr/bin/php | |
<?php | |
// How long does it take to create 10 contacts? | |
eval(`cv php:boot`); | |
\CRM_Core_Config::singleton()->doNotResetCache = 1; | |
//place this before any script you want to calculate time | |
$time_start = microtime(true); | |
$startTime = date('H:i:s'); |
This file contains 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
--- a/CRM/Financial/BAO/FinancialAccount.php | |
+++ b/CRM/Financial/BAO/FinancialAccount.php | |
@@ -292,6 +292,7 @@ | |
'Discounts Account is' => 'Revenue', | |
'Sales Tax Account is' => 'Liability', | |
'Deferred Revenue Account is' => 'Liability', | |
+ 'Grant Expense Account is' => 'Expenses', | |
]; | |
if (!$flip) { | |
foreach ($Links as $accountRelation => $accountType) { |
This file contains 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
+ /** | |
+ * Ensure that a LEFT JOIN to a 1-to-many table doesn't multiply the statistics (reporting#21). | |
+ */ | |
+ public function testContributionDetailStatisticsMultiRecordCustomField() { | |
+ $customGroup = $this->CustomGroupMultipleCreateWithFields(); | |
+ $contactID = $this->individualCreate(); | |
+ $params = [ | |
+ 'entity_id' => $contactID, | |
+ 'custom_' . $customGroup['custom_field_id'][0] => 'value 1', | |
+ ]; |
This file contains 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/CRM/Export/Form/Select.php b/CRM/Export/Form/Select.php | |
index 182e4fdba8..2fa668f950 100644 | |
--- a/CRM/Export/Form/Select.php | |
+++ b/CRM/Export/Form/Select.php | |
@@ -231,11 +231,23 @@ FROM {$this->_componentTable} | |
$this->assign('totalSelectedRecords', $rowCount); | |
} | |
+ // If you have a large export and transfer data via $this->get() or $this->set(), | |
+ // it can overwhelm session storage limits. Use a temporary space. |
This file contains 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 | |
/* | |
+--------------------------------------------------------------------+ | |
| CiviCRM version 5 | | |
+--------------------------------------------------------------------+ | |
| Copyright CiviCRM LLC (c) 2004-2018 | | |
+--------------------------------------------------------------------+ | |
| This file is a part of CiviCRM. | | |
| | | |
| CiviCRM is free software; you can copy, modify, and distribute it | |
OlderNewer