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
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
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
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
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
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
Tim Otten [Thu, 4 Feb 2016 03:16:20 +0000 (20:16 -0700)]
CRM_Core_Config - Display warning when mkdir fails
eileen [Thu, 4 Feb 2016 01:19:36 +0000 (14:19 +1300)]
Add Entity Financial Account api
(to support testing)
Tim Otten [Thu, 4 Feb 2016 00:22:29 +0000 (17:22 -0700)]
Remove unnecessary executable bits
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.
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)
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()`
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
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…"
eileen [Wed, 3 Feb 2016 21:30:14 +0000 (10:30 +1300)]
Add default to function signature
Allen Shaw [Wed, 3 Feb 2016 20:45:03 +0000 (14:45 -0600)]
CRM_17609: Correct user->contact sync in Drupal 8.
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…"
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.
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
yashodha [Wed, 3 Feb 2016 12:10:33 +0000 (17:40 +0530)]
Update version to 4.7.2
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
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
eileen [Wed, 3 Feb 2016 09:54:28 +0000 (22:54 +1300)]
CRM-17951 Add function to safe-add option values in upgrade
eileen [Tue, 2 Feb 2016 23:42:52 +0000 (12:42 +1300)]
CRM-17775 fix indexes on table civicrm_financial_item
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
Coleman Watts [Wed, 3 Feb 2016 05:20:48 +0000 (22:20 -0700)]
CRM-17960 - Handle redirects in popups
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…
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…
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>
```
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
eileen [Wed, 3 Feb 2016 00:10:57 +0000 (13:10 +1300)]
CRM-17775 Add safe function for dropping indexes
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
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
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
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
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
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
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
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
Kurund Jalmi [Tue, 2 Feb 2016 18:19:27 +0000 (23:49 +0530)]
Merge pull request #7719 from rohankatkar/test-fixes-master
Test fixes
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
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
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.
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
Tim Otten [Tue, 2 Feb 2016 16:24:08 +0000 (09:24 -0700)]
install/index.php - Fix typo in detection of existing installations
jitendrapurohit [Tue, 2 Feb 2016 13:22:10 +0000 (18:52 +0530)]
revert #5287 to avoid exception after non-English installation
jitendrapurohit [Tue, 2 Feb 2016 13:19:21 +0000 (18:49 +0530)]
CRM-17918 -- set the scope for dataTable
Web Access [Tue, 2 Feb 2016 13:18:48 +0000 (18:48 +0530)]
Test fixes
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.
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
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
Tim Otten [Tue, 2 Feb 2016 05:30:56 +0000 (22:30 -0700)]
CRM-17860 - Use phpunit4
Tim Otten [Tue, 2 Feb 2016 05:12:52 +0000 (22:12 -0700)]
CRM-17860 - CiviTestSuite - Remove unnecessary require
Tim Otten [Sat, 30 Jan 2016 01:55:46 +0000 (17:55 -0800)]
CRM-17860 - Replace CiviTestPdoUtils, CiviTestDB with CiviTester
Tim Otten [Fri, 29 Jan 2016 09:13:09 +0000 (01:13 -0800)]
CRM-17860 - CiviUnitTestCase - Maintain headless schema automatically
Tim Otten [Fri, 29 Jan 2016 07:28:50 +0000 (23:28 -0800)]
CRM-17860 - CiviUnitTestCase - Extract body of populateDB to CiviTestDB
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.
Tim Otten [Fri, 29 Jan 2016 06:14:07 +0000 (22:14 -0800)]
CiviTest - Configure autoloader for test classes
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.
Tim Otten [Fri, 29 Jan 2016 05:41:37 +0000 (21:41 -0800)]
CiviTest - Eliminate global mysql variables. Simplify bootstrap.php.
Tim Otten [Fri, 29 Jan 2016 05:15:34 +0000 (21:15 -0800)]
CRM_Core_TransactionTest - Remove unnecessary require_once
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.
Coleman Watts [Tue, 2 Feb 2016 00:59:39 +0000 (17:59 -0700)]
CRM-17915 - Fix datepicker in profiles
Coleman Watts [Mon, 1 Feb 2016 23:59:37 +0000 (16:59 -0700)]
Whitespace fixes
Coleman Watts [Mon, 1 Feb 2016 23:57:31 +0000 (16:57 -0700)]
Improve navigation menu item edit form
Coleman Watts [Mon, 1 Feb 2016 23:57:11 +0000 (16:57 -0700)]
Fix broken caching in basicPermissions getter
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
eileen [Thu, 28 Jan 2016 01:15:12 +0000 (14:15 +1300)]
CRM-17881 extend createIndex function to create combined indexes
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