civicrm-core.git
8 years agoMerge pull request #7761 from lcdservices/CRM-17988
colemanw [Sun, 7 Feb 2016 19:05:44 +0000 (14:05 -0500)]
Merge pull request #7761 from lcdservices/CRM-17988

CRM-17988: fix member source in search builder

8 years agoCRM-17988: fix member source in search builder
Brian Shaughnessy [Sun, 7 Feb 2016 03:31:51 +0000 (22:31 -0500)]
CRM-17988: fix member source in search builder

8 years agoMerge pull request #7758 from colemanw/phpVer
colemanw [Sun, 7 Feb 2016 00:44:58 +0000 (19:44 -0500)]
Merge pull request #7758 from colemanw/phpVer

Better deprecation warning about older php versions.

8 years agoBetter deprecation warning about older php versions.
Coleman Watts [Sat, 6 Feb 2016 02:52:05 +0000 (21:52 -0500)]
Better deprecation warning about older php versions.

8 years agoMerge pull request #7757 from civicrm/eileenmcnaughton-patch-1
Eileen McNaughton [Fri, 5 Feb 2016 19:53:28 +0000 (08:53 +1300)]
Merge pull request #7757 from civicrm/eileenmcnaughton-patch-1

CRM-17951 fix capitalisation on upgrade insert

8 years agoCRM-17951 fix capitalisation on upgrade insert
Eileen McNaughton [Fri, 5 Feb 2016 19:53:13 +0000 (08:53 +1300)]
CRM-17951 fix capitalisation on upgrade insert

8 years agoMerge pull request #7755 from yashodha/update-contributors
Yashodha Chaku [Fri, 5 Feb 2016 09:37:31 +0000 (15:07 +0530)]
Merge pull request #7755 from yashodha/update-contributors

Update contributors list

8 years agoUpdate contributors list
yashodha [Fri, 5 Feb 2016 08:37:21 +0000 (14:07 +0530)]
Update contributors list

8 years agoMerge pull request #7753 from rohankatkar/CRM-17878
Monish Deb [Fri, 5 Feb 2016 07:16:11 +0000 (12:46 +0530)]
Merge pull request #7753 from rohankatkar/CRM-17878

CRM-17878

8 years agoMerge pull request #7746 from yashodha/4.7.CRM-17908
Yashodha Chaku [Fri, 5 Feb 2016 05:23:03 +0000 (10:53 +0530)]
Merge pull request #7746 from yashodha/4.7.CRM-17908

CRM-17908:text version of header/footer not used when auto-generating

8 years agoMerge pull request #7749 from eileenmcnaughton/master
Eileen McNaughton [Fri, 5 Feb 2016 03:37:35 +0000 (16:37 +1300)]
Merge pull request #7749 from eileenmcnaughton/master

CRM-17951 add support for a financial account for refunds & chargebacks

8 years agoAPI Explorer: Use Civi::paths instead of global $civicrm_root
Coleman Watts [Thu, 4 Feb 2016 20:14:13 +0000 (13:14 -0700)]
API Explorer: Use Civi::paths instead of global $civicrm_root

8 years agoMerge pull request #7750 from agh1/petition-uf-block
colemanw [Thu, 4 Feb 2016 19:25:49 +0000 (12:25 -0700)]
Merge pull request #7750 from agh1/petition-uf-block

CRM-17969 petitions should use common profile block template

8 years agoMerge pull request #7748 from eileenmcnaughton/transaction_view
Eileen McNaughton [Thu, 4 Feb 2016 19:14:53 +0000 (08:14 +1300)]
Merge pull request #7748 from eileenmcnaughton/transaction_view

CRM-17951 modify transaction view to show the financial account of th…

8 years agoCRM-17969 petitions should use common profile block template
Andrew Hunt [Thu, 4 Feb 2016 18:42:30 +0000 (13:42 -0500)]
CRM-17969 petitions should use common profile block template

----------------------------------------
* CRM-17969: Free HTML field shows entry box in petitions
  https://issues.civicrm.org/jira/browse/CRM-17969

8 years agoCRM-17951 add Contribution Status of Chargeback
eileen [Thu, 4 Feb 2016 10:54:31 +0000 (23:54 +1300)]
CRM-17951 add Contribution Status of Chargeback

8 years agoMerge pull request #7747 from eileenmcnaughton/xml
Eileen McNaughton [Thu, 4 Feb 2016 12:20:25 +0000 (01:20 +1300)]
Merge pull request #7747 from eileenmcnaughton/xml

Fix schema for financial_trxn, on code review the status_id is contri…

8 years agoCRM-17951 add support for having an account relationship for refunds.
eileen [Thu, 4 Feb 2016 10:22:00 +0000 (23:22 +1300)]
CRM-17951 add support for having an account relationship for refunds.

The support covers the relationship 'falling back' to current behaviour if a Contra/Credit Revenue Account is
entry is not configured for the financial type.

8 years agoCRM-17951 add Chargeback & refund account relationships and Chargeback status
eileen [Thu, 4 Feb 2016 05:44:39 +0000 (18:44 +1300)]
CRM-17951 add Chargeback & refund account relationships and Chargeback status

8 years agoCRM-17951 modify transaction view to show the financial account of the transaction
eileen [Thu, 4 Feb 2016 11:33:33 +0000 (00:33 +1300)]
CRM-17951 modify transaction view to show the financial account of the transaction

Previously it was showing the financial type of the contribution - but the payment could have a different financial account, although that would not be the norm and for most users no difference would be apparent. I added a group_concat in case there are multiple accounts associated with a transaction now, or in the future.

Note we have separately discussed exposing line item detail - this got stalled on how to make it look tidy in the UI

8 years agoFix schema for financial_trxn, on code review the status_id is contribution_status_id
eileen [Thu, 4 Feb 2016 10:55:27 +0000 (23:55 +1300)]
Fix schema for financial_trxn, on code review the status_id is contribution_status_id

The comment implied it was financial_item_status_id but existing values/ code do not support this

8 years agoCRM-17908: more fixes
yashodha [Thu, 4 Feb 2016 10:36:03 +0000 (16:06 +0530)]
CRM-17908: more fixes

----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
  https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoCRM-17908 - text version of header/footer not used when auto-generating text version...
yashodha [Thu, 4 Feb 2016 10:30:46 +0000 (16:00 +0530)]
CRM-17908 - text version of header/footer not used when auto-generating text version of email

https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoMerge pull request #7745 from eileenmcnaughton/CRM-17951-refactor
Eileen McNaughton [Thu, 4 Feb 2016 09:37:09 +0000 (22:37 +1300)]
Merge pull request #7745 from eileenmcnaughton/CRM-17951-refactor

CRM-17951 preliminary refactoring to improve code legibility

8 years agoCRM-17908:text version of header/footer not used when auto-generating
yashodha [Thu, 4 Feb 2016 09:35:05 +0000 (15:05 +0530)]
CRM-17908:text version of header/footer not used when auto-generating

----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
  https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoCRM-17908:text version of header/footer not used when auto-generating
yashodha [Thu, 4 Feb 2016 07:04:35 +0000 (12:34 +0530)]
CRM-17908:text version of header/footer not used when auto-generating

----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
  https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoCRM-17951 preliminary refactoring to improve code legibility
eileen [Thu, 4 Feb 2016 05:44:39 +0000 (18:44 +1300)]
CRM-17951 preliminary refactoring to improve code legibility

Change-Id: I51fcaf6898dee9e32b56ea9fbe5b9d4c9bc457a6

8 years agoMerge pull request #7743 from eileenmcnaughton/entityFinancialAccount
Eileen McNaughton [Thu, 4 Feb 2016 04:03:18 +0000 (17:03 +1300)]
Merge pull request #7743 from eileenmcnaughton/entityFinancialAccount

Add Entity Financial Account api

8 years agoMerge pull request #7744 from totten/master-upg-baddir
Tim Otten [Thu, 4 Feb 2016 03:53:47 +0000 (20:53 -0700)]
Merge pull request #7744 from totten/master-upg-baddir

CRM_Core_Config, Upgrade Tests - Display warning when mkdir fails

8 years agoMerge pull request #7742 from totten/master-perm
Tim Otten [Thu, 4 Feb 2016 03:40:57 +0000 (20:40 -0700)]
Merge pull request #7742 from totten/master-perm

Remove unnecessary executable bits

8 years agoCRM_Core_Config - Display warning when mkdir fails
Tim Otten [Thu, 4 Feb 2016 03:16:20 +0000 (20:16 -0700)]
CRM_Core_Config - Display warning when mkdir fails

8 years agoAdd Entity Financial Account api
eileen [Thu, 4 Feb 2016 01:19:36 +0000 (14:19 +1300)]
Add Entity Financial Account api

(to support testing)

8 years agoRemove unnecessary executable bits
Tim Otten [Thu, 4 Feb 2016 00:22:29 +0000 (17:22 -0700)]
Remove unnecessary executable bits

8 years agoMerge pull request #7739 from twomice/CRM_17609
colemanw [Thu, 4 Feb 2016 00:00:39 +0000 (17:00 -0700)]
Merge pull request #7739 from twomice/CRM_17609

CRM_17609: Correct user->contact sync in Drupal 8.

8 years agoMerge pull request #7727 from totten/master-psr4
Tim Otten [Wed, 3 Feb 2016 23:57:28 +0000 (16:57 -0700)]
Merge pull request #7727 from totten/master-psr4

CRM-17957 - Allow extensions to register with PHP classloader (PSR-4)

8 years agoMerge pull request #7737 from totten/master-cv-env
Tim Otten [Wed, 3 Feb 2016 23:56:36 +0000 (16:56 -0700)]
Merge pull request #7737 from totten/master-cv-env

CiviTest/bootstrap.php - Change env handling in `cv()`

8 years agoMerge pull request #7741 from eileenmcnaughton/tests
Tim Otten [Wed, 3 Feb 2016 23:43:36 +0000 (16:43 -0700)]
Merge pull request #7741 from eileenmcnaughton/tests

Add default to function signature

8 years agoMerge pull request #7740 from civicrm/revert-7717-CRM-17908
Tim Otten [Wed, 3 Feb 2016 21:37:07 +0000 (14:37 -0700)]
Merge pull request #7740 from civicrm/revert-7717-CRM-17908

Revert "CRM-17908: text version of header/footer not used when auto-generatin…"

8 years agoAdd default to function signature
eileen [Wed, 3 Feb 2016 21:30:14 +0000 (10:30 +1300)]
Add default to function signature

8 years agoCRM_17609: Correct user->contact sync in Drupal 8.
Allen Shaw [Wed, 3 Feb 2016 20:45:03 +0000 (14:45 -0600)]
CRM_17609: Correct user->contact sync in Drupal 8.

8 years agoRevert "CRM-17908: text version of header/footer not used when auto-generatin…"
Tim Otten [Wed, 3 Feb 2016 21:12:13 +0000 (14:12 -0700)]
Revert "CRM-17908: text version of header/footer not used when auto-generatin…"

8 years agoCiviTest/bootstrap.php - Change env handling in `cv()`
Tim Otten [Wed, 3 Feb 2016 20:29:24 +0000 (13:29 -0700)]
CiviTest/bootstrap.php - Change env handling in `cv()`

In Ubuntu's php-cli, the php.ini overrides `variables_order` with `GPCS` --
which destroys `$_ENV`.

This seems pretty stupid...  perhaps they conflated `variables_order` with
`request_order`.

At any rate, we'll have to do statey-swappy `putenv()` things instead.

8 years agoMerge pull request #7734 from yashodha/4.7-version-fix
Yashodha Chaku [Wed, 3 Feb 2016 12:14:36 +0000 (17:44 +0530)]
Merge pull request #7734 from yashodha/4.7-version-fix

Update version to 4.7.2

8 years agoUpdate version to 4.7.2
yashodha [Wed, 3 Feb 2016 12:10:33 +0000 (17:40 +0530)]
Update version to 4.7.2

8 years agoMerge pull request #7732 from eileenmcnaughton/CRM-17951
Eileen McNaughton [Wed, 3 Feb 2016 11:00:18 +0000 (00:00 +1300)]
Merge pull request #7732 from eileenmcnaughton/CRM-17951

CRM-17951 Add function to safe-add option values in upgrade

8 years agoMerge pull request #7726 from eileenmcnaughton/CRM-17775
Eileen McNaughton [Wed, 3 Feb 2016 10:46:46 +0000 (23:46 +1300)]
Merge pull request #7726 from eileenmcnaughton/CRM-17775

CRM-17775 fix indexes on table civicrm_financial_item

8 years agoCRM-17951 Add function to safe-add option values in upgrade
eileen [Wed, 3 Feb 2016 09:54:28 +0000 (22:54 +1300)]
CRM-17951 Add function to safe-add option values in upgrade

8 years agoCRM-17775 fix indexes on table civicrm_financial_item
eileen [Tue, 2 Feb 2016 23:42:52 +0000 (12:42 +1300)]
CRM-17775 fix indexes on table civicrm_financial_item

8 years agoMerge pull request #7729 from colemanw/CRM-17960
colemanw [Wed, 3 Feb 2016 05:35:21 +0000 (22:35 -0700)]
Merge pull request #7729 from colemanw/CRM-17960

CRM-17960 - Handle redirects in popups

8 years agoCRM-17960 - Handle redirects in popups
Coleman Watts [Wed, 3 Feb 2016 05:20:48 +0000 (22:20 -0700)]
CRM-17960 - Handle redirects in popups

8 years agoMerge pull request #7722 from kcristiano/17593
Yashodha Chaku [Wed, 3 Feb 2016 05:20:27 +0000 (10:50 +0530)]
Merge pull request #7722 from kcristiano/17593

CRM-17593 -Update comment for change from role based permission to ca…

8 years agoMerge pull request #7717 from yashodha/CRM-17908
Yashodha Chaku [Wed, 3 Feb 2016 05:12:54 +0000 (10:42 +0530)]
Merge pull request #7717 from yashodha/CRM-17908

CRM-17908: text version of header/footer not used when auto-generatin…

8 years agoCRM-17957 - Allow extensions to register with PHP classloader (PSR-4)
Tim Otten [Wed, 3 Feb 2016 03:16:54 +0000 (20:16 -0700)]
CRM-17957 - Allow extensions to register with PHP classloader (PSR-4)

For example, in info.xml, add:

```
  <classloader>
    <psr4 prefix="Civi\Foo\Bar\" path="src"  />
  </classloader>
```

8 years agoMerge pull request #7724 from eileenmcnaughton/CRM-17775-test
Eileen McNaughton [Wed, 3 Feb 2016 01:18:38 +0000 (14:18 +1300)]
Merge pull request #7724 from eileenmcnaughton/CRM-17775-test

CRM-17775 Add safe function for dropping indexes

8 years agoCRM-17775 Add safe function for dropping indexes
eileen [Wed, 3 Feb 2016 00:10:57 +0000 (13:10 +1300)]
CRM-17775 Add safe function for dropping indexes

8 years agoMerge pull request #7686 from JMAConsulting/CRM-16188-5
Eileen McNaughton [Tue, 2 Feb 2016 23:10:50 +0000 (12:10 +1300)]
Merge pull request #7686 from JMAConsulting/CRM-16188-5

CRM-16188, added order api for create action with test

8 years agoMerge pull request #7641 from totten/master-test-cv
Tim Otten [Tue, 2 Feb 2016 20:02:59 +0000 (13:02 -0700)]
Merge pull request #7641 from totten/master-test-cv

CRM-17860 - Align bootstrap logic in tests; looser coupling

8 years agoCRM-17593 -Update comment for change from role based permission to capabilties based...
Kevin Cristiano [Tue, 2 Feb 2016 19:01:38 +0000 (12:01 -0700)]
CRM-17593 -Update comment for change from role based permission to capabilties based permissions

----------------------------------------
* CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress
  https://issues.civicrm.org/jira/browse/CRM-17593

8 years agoMerge pull request #7718 from jitendrapurohit/multi-installfix
colemanw [Tue, 2 Feb 2016 18:50:45 +0000 (11:50 -0700)]
Merge pull request #7718 from jitendrapurohit/multi-installfix

revert #5287 to avoid exception after non-English installation

8 years agoMerge pull request #7689 from eileenmcnaughton/CRM-17881
colemanw [Tue, 2 Feb 2016 18:33:47 +0000 (11:33 -0700)]
Merge pull request #7689 from eileenmcnaughton/CRM-17881

CRM-17881 extend createIndex function to create combined indexes

8 years agoMerge pull request #7637 from jmcclelland/CRM-17812
colemanw [Tue, 2 Feb 2016 18:31:25 +0000 (11:31 -0700)]
Merge pull request #7637 from jmcclelland/CRM-17812

CRM-17812 - enable anonymous access to angular extension pages

8 years agoMerge pull request #7714 from colemanw/Improve
colemanw [Tue, 2 Feb 2016 18:28:48 +0000 (11:28 -0700)]
Merge pull request #7714 from colemanw/Improve

Improve navigation menu item edit form

8 years agoMerge pull request #7716 from twomice/drupal8_master
colemanw [Tue, 2 Feb 2016 18:27:05 +0000 (11:27 -0700)]
Merge pull request #7716 from twomice/drupal8_master

Toward CRM-17917, support for Drupal 8

8 years agoMerge pull request #7719 from rohankatkar/test-fixes-master
Kurund Jalmi [Tue, 2 Feb 2016 18:19:27 +0000 (23:49 +0530)]
Merge pull request #7719 from rohankatkar/test-fixes-master

Test fixes

8 years agoMerge pull request #7715 from colemanw/CRM-17915
colemanw [Tue, 2 Feb 2016 17:50:24 +0000 (10:50 -0700)]
Merge pull request #7715 from colemanw/CRM-17915

CRM-17915 - Fix datepicker in profiles

8 years agoMerge pull request #7720 from jitendrapurohit/CRM-17918
colemanw [Tue, 2 Feb 2016 17:44:48 +0000 (10:44 -0700)]
Merge pull request #7720 from jitendrapurohit/CRM-17918

CRM-17918 -- set the scope for dataTable

8 years agoMoved system flush from setup.sh to first-run; added permissionEmails() and upgradePe...
Allen Shaw [Mon, 1 Feb 2016 19:02:56 +0000 (13:02 -0600)]
Moved system flush from setup.sh to first-run; added permissionEmails() and upgradePermissions() in CRM_Core_Permission_Drupal8.

8 years agoMerge pull request #7721 from totten/master-inst-typo
Tim Otten [Tue, 2 Feb 2016 16:56:15 +0000 (09:56 -0700)]
Merge pull request #7721 from totten/master-inst-typo

install/index.php - Fix typo in detection of existing installations

8 years agoinstall/index.php - Fix typo in detection of existing installations
Tim Otten [Tue, 2 Feb 2016 16:24:08 +0000 (09:24 -0700)]
install/index.php - Fix typo in detection of existing installations

8 years agorevert #5287 to avoid exception after non-English installation
jitendrapurohit [Tue, 2 Feb 2016 13:22:10 +0000 (18:52 +0530)]
revert #5287 to avoid exception after non-English installation

8 years agoCRM-17918 -- set the scope for dataTable
jitendrapurohit [Tue, 2 Feb 2016 13:19:21 +0000 (18:49 +0530)]
CRM-17918 -- set the scope for dataTable

8 years agoTest fixes
Web Access [Tue, 2 Feb 2016 13:18:48 +0000 (18:48 +0530)]
Test fixes

8 years agoMerge pull request #7705 from mlutfy/4.7-crm16801-1
Yashodha Chaku [Tue, 2 Feb 2016 10:59:15 +0000 (16:29 +0530)]
Merge pull request #7705 from mlutfy/4.7-crm16801-1

CRM-16801: revert seedLanguage fix in the installer.

8 years agoCRM-17908: text version of header/footer not used when auto-generating text version...
yashodha [Tue, 2 Feb 2016 10:09:34 +0000 (15:39 +0530)]
CRM-17908: text version of header/footer not used when auto-generating text version of email

----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
  https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoCRM-17908: text version of header/footer not used when auto-generating text version...
yashodha [Tue, 2 Feb 2016 07:47:03 +0000 (13:17 +0530)]
CRM-17908: text version of header/footer not used when auto-generating text version of email

----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
  https://issues.civicrm.org/jira/browse/CRM-17908

8 years agoCRM-17860 - Use phpunit4
Tim Otten [Tue, 2 Feb 2016 05:30:56 +0000 (22:30 -0700)]
CRM-17860 - Use phpunit4

8 years agoCRM-17860 - CiviTestSuite - Remove unnecessary require
Tim Otten [Tue, 2 Feb 2016 05:12:52 +0000 (22:12 -0700)]
CRM-17860 - CiviTestSuite - Remove unnecessary require

8 years agoCRM-17860 - Replace CiviTestPdoUtils, CiviTestDB with CiviTester
Tim Otten [Sat, 30 Jan 2016 01:55:46 +0000 (17:55 -0800)]
CRM-17860 - Replace CiviTestPdoUtils, CiviTestDB with CiviTester

8 years agoCRM-17860 - CiviUnitTestCase - Maintain headless schema automatically
Tim Otten [Fri, 29 Jan 2016 09:13:09 +0000 (01:13 -0800)]
CRM-17860 - CiviUnitTestCase - Maintain headless schema automatically

8 years agoCRM-17860 - CiviUnitTestCase - Extract body of populateDB to CiviTestDB
Tim Otten [Fri, 29 Jan 2016 07:28:50 +0000 (23:28 -0800)]
CRM-17860 - CiviUnitTestCase - Extract body of populateDB to CiviTestDB

8 years agotests/phpunit/** - Remove unnecessary "require_once" statements
Tim Otten [Fri, 29 Jan 2016 06:35:09 +0000 (22:35 -0800)]
tests/phpunit/** - Remove unnecessary "require_once" statements

Previous commit enabled autoloading for CiviTest classes.

8 years agoCiviTest - Configure autoloader for test classes
Tim Otten [Fri, 29 Jan 2016 06:14:07 +0000 (22:14 -0800)]
CiviTest - Configure autoloader for test classes

8 years agoCiviUnitTestCase - Remove foreignKeyChecksOff
Tim Otten [Fri, 29 Jan 2016 05:47:40 +0000 (21:47 -0800)]
CiviUnitTestCase - Remove foreignKeyChecksOff

This function appears to do the opposite of what it says (ie it sets
`foreign_key_checks=1`).  And there doesn't seem to be anything that
sets `foreign_key_checks=0` which would need to be cancelled-out.

8 years agoCiviTest - Eliminate global mysql variables. Simplify bootstrap.php.
Tim Otten [Fri, 29 Jan 2016 05:41:37 +0000 (21:41 -0800)]
CiviTest - Eliminate global mysql variables. Simplify bootstrap.php.

8 years agoCRM_Core_TransactionTest - Remove unnecessary require_once
Tim Otten [Fri, 29 Jan 2016 05:15:34 +0000 (21:15 -0800)]
CRM_Core_TransactionTest - Remove unnecessary require_once

8 years agotools/scripts/phpunit - Accept EnvTest
Tim Otten [Fri, 29 Jan 2016 05:06:57 +0000 (21:06 -0800)]
tools/scripts/phpunit - Accept EnvTest

8 years agoCRM-17860 - Populate CiviSeleniumSettings using `cv`
Tim Otten [Fri, 29 Jan 2016 01:27:37 +0000 (17:27 -0800)]
CRM-17860 - Populate CiviSeleniumSettings using `cv`

8 years agocivicrm.settings.php.template, ExternalBatch - Read unit test DSN from $_CV
Tim Otten [Fri, 29 Jan 2016 00:27:07 +0000 (16:27 -0800)]
civicrm.settings.php.template, ExternalBatch - Read unit test DSN from $_CV

In the previous formulation, a dev would need to perform more steps during setup, ie

 1. Edit main civicrm.settings.php to add test DSN
 2. Run `cv vars:fill` and edit ~/.cv.json

This patch makes the first step redundant.

This patch also makes it easier to swtich DB's for parallel test execution.

8 years agoCRM-17860 - CRM_Member_Import_Parser_MembershipTest - Fix for PHP 5.4
Tim Otten [Sat, 23 Jan 2016 02:35:20 +0000 (18:35 -0800)]
CRM-17860 - CRM_Member_Import_Parser_MembershipTest - Fix for PHP 5.4

8 years agoCRM-17860 - loadCaseSampleData - Don't muck with connections/transactions
Tim Otten [Sat, 23 Jan 2016 01:41:50 +0000 (17:41 -0800)]
CRM-17860 - loadCaseSampleData - Don't muck with connections/transactions

8 years agoCRM-17860 - CRM_Financial_Page_AjaxTest - Work with wellformed CIVICRM_UF_BASEURL
Tim Otten [Sat, 23 Jan 2016 00:24:30 +0000 (16:24 -0800)]
CRM-17860 - CRM_Financial_Page_AjaxTest - Work with wellformed CIVICRM_UF_BASEURL

8 years agoCRM-17860 - CRM_Core_DAOConformanceTest - Fix for bootstrap level==settings
Tim Otten [Sat, 23 Jan 2016 00:03:11 +0000 (16:03 -0800)]
CRM-17860 - CRM_Core_DAOConformanceTest - Fix for bootstrap level==settings

8 years agoCRM-17860 - SettingTest::testCreateInvalidURLSettings - Fail for the right reasons
Tim Otten [Fri, 22 Jan 2016 23:17:33 +0000 (15:17 -0800)]
CRM-17860 - SettingTest::testCreateInvalidURLSettings - Fail for the right reasons

The test checks that invalid URLs return an error.  The URLs given where
invalid -- but for the wrong reason.  In unit-tests, `CIVICRM_UF_BASEURL`
defaulted to the invalid `http://FIX ME`.

After unifying `civicrm.settings.php`, the `CIVICRM_UF_BASEURL` was valid.

The intention in the test was to include a weird character (`*`) to make the
test fail, but we need a weirder/more-incorrect character.

8 years agoCRM-17860 - CiviTest cv() - Guard better against bootstrap failures
Tim Otten [Fri, 22 Jan 2016 23:08:09 +0000 (15:08 -0800)]
CRM-17860 - CiviTest cv() - Guard better against bootstrap failures

8 years agoCRM-17860 - CiviTest bootstrap - Move test define()s from `cv` to `civicrm.settings...
Tim Otten [Fri, 22 Jan 2016 20:29:59 +0000 (12:29 -0800)]
CRM-17860 - CiviTest bootstrap - Move test define()s from `cv` to `civicrm.settings.php`

8 years agoCRM-17860 - Mailing.preview API - Fix for PHP 5.4 testing
Tim Otten [Fri, 22 Jan 2016 20:23:59 +0000 (12:23 -0800)]
CRM-17860 - Mailing.preview API - Fix for PHP 5.4 testing

8 years agoCRM-17860 - civicrm.settings.{cli,dist}.php - No longer needed
Tim Otten [Fri, 22 Jan 2016 11:57:50 +0000 (03:57 -0800)]
CRM-17860 - civicrm.settings.{cli,dist}.php - No longer needed

8 years agoCRM-17860 - CiviUnitTestCase/ExternalBatch - Work with unified civicrm.settings.php
Tim Otten [Fri, 22 Jan 2016 11:50:10 +0000 (03:50 -0800)]
CRM-17860 - CiviUnitTestCase/ExternalBatch - Work with unified civicrm.settings.php

8 years agoCRM-17860 - Remove unused `mk-drupal-test-site`
Tim Otten [Fri, 22 Jan 2016 11:28:00 +0000 (03:28 -0800)]
CRM-17860 - Remove unused `mk-drupal-test-site`

The recent changes would require updating this.  Not worth the effort.

8 years agoCRM-17860 - CiviUnitTestCase::_populateDB() - Guard against accidental destruction
Tim Otten [Fri, 22 Jan 2016 11:26:39 +0000 (03:26 -0800)]
CRM-17860 - CiviUnitTestCase::_populateDB() - Guard against accidental destruction