Tim Otten [Fri, 29 Jan 2016 05:06:57 +0000 (21:06 -0800)]
tools/scripts/phpunit - Accept EnvTest
Tim Otten [Fri, 29 Jan 2016 01:27:37 +0000 (17:27 -0800)]
CRM-17860 - Populate CiviSeleniumSettings using `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.
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
Tim Otten [Sat, 23 Jan 2016 01:41:50 +0000 (17:41 -0800)]
CRM-17860 - loadCaseSampleData - Don't muck with connections/transactions
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
Tim Otten [Sat, 23 Jan 2016 00:03:11 +0000 (16:03 -0800)]
CRM-17860 - CRM_Core_DAOConformanceTest - Fix for bootstrap level==settings
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.
Tim Otten [Fri, 22 Jan 2016 23:08:09 +0000 (15:08 -0800)]
CRM-17860 - CiviTest cv() - Guard better against bootstrap failures
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`
Tim Otten [Fri, 22 Jan 2016 20:23:59 +0000 (12:23 -0800)]
CRM-17860 - Mailing.preview API - Fix for PHP 5.4 testing
Tim Otten [Fri, 22 Jan 2016 11:57:50 +0000 (03:57 -0800)]
CRM-17860 - civicrm.settings.{cli,dist}.php - No longer needed
Tim Otten [Fri, 22 Jan 2016 11:50:10 +0000 (03:50 -0800)]
CRM-17860 - CiviUnitTestCase/ExternalBatch - Work with unified civicrm.settings.php
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.
Tim Otten [Fri, 22 Jan 2016 11:26:39 +0000 (03:26 -0800)]
CRM-17860 - CiviUnitTestCase::_populateDB() - Guard against accidental destruction
Tim Otten [Fri, 22 Jan 2016 11:24:44 +0000 (03:24 -0800)]
CRM-17860 - CiviTest - Use unified civicrm.settings.php
The wiring to load civicrm.settings.php is all over the place. With this
patch, most use-cases (runtime, headless test, web test) will go through one
`civicrm.settings.php`.
This requires the `cv` command.
Tim Otten [Fri, 22 Jan 2016 10:43:34 +0000 (02:43 -0800)]
CRM-17860 - phpunit bootstrap - Set CIVICRM_UF=UnitTests
This has been set in civicrm.settings.dist.php, but we're moving toward a
consolidated settings file. But we still need bit of logic which says: "Run
most unit tests in a headless environment." This pushes the policy pretty
far outside the code.
Tim Otten [Fri, 22 Jan 2016 09:48:43 +0000 (01:48 -0800)]
CRM-17860 - civicrm.settings.php.template - One settings for normal+headless cfg
If `CIVICRM_UF` is set before we load `civicrm.settings.php`, it can be used
to switch to headless mode. All but two settings should be the same.
colemanw [Mon, 1 Feb 2016 23:36:07 +0000 (16:36 -0700)]
Merge pull request #7708 from twomice/drupal8
Toward CRM-17917, support for Drupal 8
colemanw [Mon, 1 Feb 2016 22:02:56 +0000 (15:02 -0700)]
Merge pull request #7711 from colemanw/CRM-16444
CRM-16444 - Fix CK configurator with drupal js aggregation
Allen Shaw [Mon, 1 Feb 2016 05:35:12 +0000 (23:35 -0600)]
Added CRM_Utils_System_Drupal8::getModules().
colemanw [Mon, 1 Feb 2016 21:32:05 +0000 (14:32 -0700)]
Merge pull request #7709 from kcristiano/CRM-16421
CRM-16421- Remove hardcoded links to wp-login.php and ?action=lostpas…
Eileen McNaughton [Mon, 1 Feb 2016 20:53:13 +0000 (09:53 +1300)]
Merge pull request #7691 from jitendrapurohit/CRM-17863
CRM-17863 -- Payments don't appear to be linked to Contribution when …
Eileen McNaughton [Mon, 1 Feb 2016 20:48:49 +0000 (09:48 +1300)]
Merge pull request #7713 from saurabhbatra96/CRM-17913
CRM-17913 - unable to disable/modify some navigation items
Eileen McNaughton [Mon, 1 Feb 2016 20:47:35 +0000 (09:47 +1300)]
Merge pull request #7696 from eileenmcnaughton/CRM-17898
CRM-17898 look at phone_numeric rather than phone when deduping
Eileen McNaughton [Mon, 1 Feb 2016 20:46:52 +0000 (09:46 +1300)]
Merge pull request #7700 from xurizaemon/CRM-17909
CRM-17909. Correct parameter to ts() for risky file warning.
Saurabh Batra [Mon, 1 Feb 2016 20:17:32 +0000 (01:47 +0530)]
CRM-17913 - unable to disable/modify some navigation items
https://issues.civicrm.org/jira/browse/CRM-17913
Kevin Cristiano [Mon, 1 Feb 2016 20:12:05 +0000 (13:12 -0700)]
CRM-17593 - fix built in role 'administer users' to check for capability of 'edit_users' rather than set at the administrator level
----------------------------------------
* CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress
https://issues.civicrm.org/jira/browse/CRM-17593
colemanw [Mon, 1 Feb 2016 20:04:53 +0000 (13:04 -0700)]
Merge pull request #7710 from totten/master-ckeditor
CRM-17924 - crm.ckeditor.js - Allow email-style tags+attributes
Coleman Watts [Mon, 1 Feb 2016 19:28:49 +0000 (12:28 -0700)]
CRM-16444 - Fix CK configurator with drupal js aggregation
Tim Otten [Mon, 1 Feb 2016 18:49:32 +0000 (11:49 -0700)]
CRM-17924 - crm.ckeditor.js - Allow email-style tags+attributes
colemanw [Mon, 1 Feb 2016 17:36:59 +0000 (10:36 -0700)]
Merge pull request #7707 from mlutfy/4.7-crm17914
CRM-17914: Support right-to-left languages in the CiviCRM installer.
Coleman Watts [Mon, 1 Feb 2016 17:08:41 +0000 (10:08 -0700)]
Standardize @inheritDoc annotation
Kevin Cristiano [Mon, 1 Feb 2016 06:36:17 +0000 (23:36 -0700)]
CRM-16421- Remove hardcoded links to wp-login.php and ?action=lostpassword. Replace with WordPress functions
Allen Shaw [Sun, 31 Jan 2016 23:23:31 +0000 (17:23 -0600)]
Bug-fix: Bad path to Drupal's vendor/autoload.php file.
Tim Otten [Sun, 31 Jan 2016 22:58:37 +0000 (15:58 -0700)]
Merge pull request #7694 from routinet/CRM17748
Fix: new unbuffered query wrapper, work-around for no record count
Mathieu Lutfy [Sun, 31 Jan 2016 22:39:38 +0000 (17:39 -0500)]
CRM-17914: Support right-to-left languages in the CiviCRM installer.
Tim Otten [Sun, 31 Jan 2016 22:13:28 +0000 (15:13 -0700)]
Merge pull request #7701 from totten/master-getlink
CRM-17911 - Fix cxn "Settings" link on WordPress
Tim Otten [Sun, 31 Jan 2016 01:39:59 +0000 (18:39 -0700)]
CRM-17911 - crmCxn ManageCtrl - Use `page_name` instead of `page`
Tim Otten [Sun, 31 Jan 2016 01:26:37 +0000 (18:26 -0700)]
CRM-17911 - Cxn.getlink API - Accept `page` or `page_name`
Chris Burgess [Sat, 30 Jan 2016 19:52:05 +0000 (08:52 +1300)]
CRM-17909. Correct parameter to ts() for risky file warning.
Monish Deb [Fri, 29 Jan 2016 18:18:58 +0000 (23:48 +0530)]
Merge pull request #7697 from monishdeb/CRM-17892
CRM-17892 fix
Monish Deb [Fri, 29 Jan 2016 18:17:18 +0000 (23:47 +0530)]
Merge pull request #7698 from jitendrapurohit/CRM-17889
CRM-17889 -- New Mailing page hangs on multilingual setup
jitendrapurohit [Fri, 29 Jan 2016 11:12:48 +0000 (16:42 +0530)]
CRM-17889 -- New Mailing page hangs on multilingual setup
deb.monish [Fri, 29 Jan 2016 07:51:13 +0000 (13:21 +0530)]
CRM-17892 fix
eileenmcnaughton [Fri, 29 Jan 2016 06:53:30 +0000 (06:53 +0000)]
CRM-17898 look at phone_numeric rather than phone when deduping
colemanw [Fri, 29 Jan 2016 02:22:20 +0000 (21:22 -0500)]
Merge pull request #7695 from colemanw/explorer
Api explorer - fix javascript error
Coleman Watts [Fri, 29 Jan 2016 02:15:19 +0000 (21:15 -0500)]
Api explorer - fix javascript error
Steve Binkowski [Thu, 28 Jan 2016 20:51:53 +0000 (15:51 -0500)]
Cosmetic fixes, per Jenkins
Steve Binkowski [Thu, 28 Jan 2016 20:33:22 +0000 (15:33 -0500)]
Fix: new unbuffered query wrapper, work-around for no record count
colemanw [Thu, 28 Jan 2016 19:34:45 +0000 (14:34 -0500)]
Merge pull request #7692 from sarehag/master
CRM-17852 - Misspeled state names in Estonia/Lithuania - updated wher…
Eileen McNaughton [Thu, 28 Jan 2016 15:24:18 +0000 (04:24 +1300)]
Merge pull request #7678 from eileenmcnaughton/CRM-17882
CRM-17882 Add index to civicrm_contribution.credit_note_id
Eileen McNaughton [Thu, 28 Jan 2016 15:22:10 +0000 (04:22 +1300)]
Merge pull request #7659 from JMAConsulting/CRM-16188-1
--CRM-16188, added function to check the total amount and sum of line…
Eileen McNaughton [Thu, 28 Jan 2016 15:15:37 +0000 (04:15 +1300)]
Merge pull request #7690 from sarehag/master
CRM-17852 - Misspeled state names in Estonia/Lithuania
sarehag [Thu, 28 Jan 2016 14:07:23 +0000 (15:07 +0100)]
CRM-17852 - Misspeled state names in Estonia/Lithuania - updated where statements
jitendrapurohit [Thu, 28 Jan 2016 12:42:48 +0000 (18:12 +0530)]
style fixes
jitendrapurohit [Thu, 28 Jan 2016 12:04:59 +0000 (17:34 +0530)]
CRM-17863 -- Payments don't appear to be linked to Contribution when re: Membership
sarehag [Thu, 28 Jan 2016 11:55:02 +0000 (12:55 +0100)]
CRM-17852 - Misspeled state names in Estonia/Lithuania
CiviCRM [Wed, 27 Jan 2016 23:49:33 +0000 (15:49 -0800)]
Update version to 4.7.1
Tim Otten [Wed, 27 Jan 2016 23:31:36 +0000 (15:31 -0800)]
Merge pull request #7688 from totten/master-verchk
CRM_Utils_VersionCheck - Don't display warning on first login
Tim Otten [Wed, 27 Jan 2016 23:14:48 +0000 (15:14 -0800)]
CRM_Utils_VersionCheck - Don't display warning on first login
Using `$config->uploadDir` will trigger automatic setup for the dir.
Using `Civi::paths->getPath()` does not.
Tim Otten [Wed, 27 Jan 2016 22:11:12 +0000 (14:11 -0800)]
Merge pull request #7668 from totten/master-16514
CRM-16514 - Scheduled reminder should not be sent repeatedly
eileen [Wed, 27 Jan 2016 18:58:00 +0000 (07:58 +1300)]
CRM-17882 Add index to civicrm_contribution.credit_note_id
Change-Id: I5ad63820a3df93995ebd65ec76a8b3aac87ba1c6
colemanw [Wed, 27 Jan 2016 22:01:18 +0000 (17:01 -0500)]
Merge pull request #7682 from colemanw/undefined-index
Fix undefined index
colemanw [Wed, 27 Jan 2016 21:54:55 +0000 (16:54 -0500)]
Merge pull request #7681 from colemanw/CRM-17886
CRM-17886 - Fix contribution page toggleSubmitButton js
Coleman Watts [Wed, 27 Jan 2016 21:51:34 +0000 (16:51 -0500)]
Cleanup duplicate js
Tim Otten [Wed, 27 Jan 2016 01:30:31 +0000 (17:30 -0800)]
CRM-16514 - Scheduled reminder should not be sent repeatedly
Forward port of jitendra's
df8bf05e2dc6d4bd7979a0487a76f59fabf8a68b
Coleman Watts [Wed, 27 Jan 2016 21:25:07 +0000 (16:25 -0500)]
Fix undefined index
Coleman Watts [Wed, 27 Jan 2016 21:20:23 +0000 (16:20 -0500)]
CRM-17886 - Fix contribution page toggleSubmitButton js
colemanw [Wed, 27 Jan 2016 20:04:42 +0000 (15:04 -0500)]
Merge pull request #7673 from eileenmcnaughton/CRM-17752-re-do
CRM-17881 change index upgrade addition civicrm_financian_trxn.trxn_i…
Eileen McNaughton [Wed, 27 Jan 2016 20:01:46 +0000 (09:01 +1300)]
Merge pull request #7648 from eileenmcnaughton/master
Test Fix (entity tag ACL also needs access CiviCRM)
colemanw [Wed, 27 Jan 2016 19:59:06 +0000 (14:59 -0500)]
Merge pull request #7675 from PalanteJon/CRM-17885
CRM-17885 - Allow hiding notices on status screen
Eileen McNaughton [Wed, 27 Jan 2016 19:56:37 +0000 (08:56 +1300)]
Merge pull request #7672 from eileenmcnaughton/index
CRM-17881 add test to CRM_Core_BAO_SchemaHandler::createIndexes fn
eileen [Wed, 27 Jan 2016 19:36:20 +0000 (08:36 +1300)]
Test fix
Change-Id: I37cdcb1eae7dba845c619400f95eef6ca63425b4
eileen [Wed, 27 Jan 2016 08:23:53 +0000 (21:23 +1300)]
CRM-17881 add test to CRM_Core_BAO_SchemaHandler::createIndexes fn
eileen [Wed, 27 Jan 2016 08:38:10 +0000 (21:38 +1300)]
CRM-17881 change index upgrade addition civicrm_financian_trxn.trxn_id to be upgrade friendly
Also ref CRM-17752
colemanw [Wed, 27 Jan 2016 18:38:58 +0000 (13:38 -0500)]
Merge pull request #7676 from colemanw/iats-lock
Remove iats from 4.7.0 release
Coleman Watts [Wed, 27 Jan 2016 17:46:27 +0000 (12:46 -0500)]
Remove iats from 4.7.0 release
Jon goldberg [Wed, 27 Jan 2016 17:17:43 +0000 (12:17 -0500)]
CRM-17885 - Allow hiding notices on status screen
colemanw [Wed, 27 Jan 2016 14:42:51 +0000 (09:42 -0500)]
Merge pull request #7660 from JMAConsulting/CRM-16188-2
Crm 16188 2
Monish Deb [Wed, 27 Jan 2016 06:52:33 +0000 (12:22 +0530)]
Merge pull request #7595 from monishdeb/CRM-17807
Crm 17807
Eileen McNaughton [Wed, 27 Jan 2016 06:43:25 +0000 (19:43 +1300)]
Merge pull request #7671 from eileenmcnaughton/comments
some random comment fixes
Pradeep Nayak [Wed, 27 Jan 2016 03:55:22 +0000 (09:25 +0530)]
--CRM-16188, ignore syntax check for order
eileen [Wed, 27 Jan 2016 02:22:53 +0000 (15:22 +1300)]
some random comment fixes
colemanw [Wed, 27 Jan 2016 02:10:39 +0000 (21:10 -0500)]
Merge pull request #7665 from julialongtin/safe_changes
Safe changes
Julia Longtin [Tue, 26 Jan 2016 23:27:16 +0000 (23:27 +0000)]
missing period.
Julia Longtin [Tue, 26 Jan 2016 23:23:26 +0000 (23:23 +0000)]
group assignments, and add some better comments.
Pradeep Nayak [Tue, 26 Jan 2016 22:19:08 +0000 (03:49 +0530)]
CRM-16188, fixed check style
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 22:15:47 +0000 (03:45 +0530)]
CRM-16188, modified code to add exception and also changed test to check exception errors
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 21:57:20 +0000 (03:27 +0530)]
CRM-16188, added test for changes for commit https://github.com/JMAConsulting/civicrm-core/commit/
4a517906b390b7e9e73c77902f3a3ebf43c1ac15
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
colemanw [Tue, 26 Jan 2016 21:25:59 +0000 (16:25 -0500)]
Merge pull request #7625 from totten/master-case-rel
CRM-17342 - Case Managed Entities - Don't recreate disabled relationship types
colemanw [Tue, 26 Jan 2016 21:21:39 +0000 (16:21 -0500)]
Merge pull request #7620 from monishdeb/CRM-17685
CRM-17836 fix - custom fields attached to relationships are unsearchable
Pradeep Nayak [Tue, 26 Jan 2016 21:05:02 +0000 (02:35 +0530)]
-- fixed array indentation, CRM-16188
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 20:44:03 +0000 (02:14 +0530)]
--CRM-16188, fixed typo
Pradeep Nayak [Tue, 26 Jan 2016 20:39:51 +0000 (02:09 +0530)]
--CRM-16188, removed white spaces
Pradeep Nayak [Tue, 26 Jan 2016 20:37:11 +0000 (02:07 +0530)]
CRM-16188, removed white spaces
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 20:31:47 +0000 (02:01 +0530)]
CRM-16188, added order api test for get action
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 20:31:19 +0000 (02:01 +0530)]
--CRM-16188, changed code to use contribution_id when retrieving wrt contribution
Pradeep Nayak [Tue, 26 Jan 2016 20:30:38 +0000 (02:00 +0530)]
CRM-16188, added get Order api
----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
Pradeep Nayak [Tue, 26 Jan 2016 20:02:14 +0000 (01:32 +0530)]
--CRM-16188, added function to check the total amount and sum of line total