civicrm-core.git
6 years agoCRM-21813 : Parameter list mismatch (#11734)
Aniessh Sethh [Wed, 7 Mar 2018 03:30:53 +0000 (09:00 +0530)]
CRM-21813 : Parameter list mismatch (#11734)

* Fix for CRM-21813

6 years agoMerge pull request #11775 from agh1/cancel-fa-fixes
colemanw [Wed, 7 Mar 2018 02:24:13 +0000 (21:24 -0500)]
Merge pull request #11775 from agh1/cancel-fa-fixes

CiviMember: use `fa-ban`, proper `crm-i` class for canceled auto-renew

6 years agoCiviMember: use `fa-ban`, proper `crm-i` class for canceled auto-renew
Andrew Hunt [Tue, 6 Mar 2018 21:33:03 +0000 (16:33 -0500)]
CiviMember: use `fa-ban`, proper `crm-i` class for canceled auto-renew

6 years agoMerge pull request #11773 from civicrm/4.7.31-rc
Seamus Lee [Tue, 6 Mar 2018 20:13:02 +0000 (07:13 +1100)]
Merge pull request #11773 from civicrm/4.7.31-rc

4.7.31 rc

6 years agoMerge pull request #11749 from eileenmcnaughton/4.7.31-rc
Seamus Lee [Tue, 6 Mar 2018 20:10:28 +0000 (07:10 +1100)]
Merge pull request #11749 from eileenmcnaughton/4.7.31-rc

CRM-21771: error when viewing event registration with linked contribu…

6 years agoMerge pull request #11770 from mattwire/messagetemplate_form_fixes
colemanw [Tue, 6 Mar 2018 14:34:31 +0000 (09:34 -0500)]
Merge pull request #11770 from mattwire/messagetemplate_form_fixes

Add 'huge' class to html textarea to match plaintext textarea

6 years agoAdd 'huge' class to html textarea to match plaintext textarea
Matthew Wire [Tue, 6 Mar 2018 09:53:58 +0000 (09:53 +0000)]
Add 'huge' class to html textarea to match plaintext textarea

6 years agoMerge pull request #11757 from eileenmcnaughton/manual
Monish Deb [Tue, 6 Mar 2018 05:05:03 +0000 (10:35 +0530)]
Merge pull request #11757 from eileenmcnaughton/manual

CRM-21819 - Do not load 'Submit Credit Card Contribution' button if only pseudo-manual processor exists

6 years agoMerge pull request #11768 from jmcclelland/core-issue-7
Eileen McNaughton [Tue, 6 Mar 2018 05:01:27 +0000 (18:01 +1300)]
Merge pull request #11768 from jmcclelland/core-issue-7

ensure correct payment_instrument_id

6 years agoMerge pull request #11453 from colemanw/php55
Mathieu Lu [Tue, 6 Mar 2018 00:05:06 +0000 (19:05 -0500)]
Merge pull request #11453 from colemanw/php55

Update minimum php version to 5.5

6 years agoensure correct payment_instrument_id
Jamie McClelland [Mon, 5 Mar 2018 18:05:39 +0000 (13:05 -0500)]
ensure correct payment_instrument_id

https://lab.civicrm.org/dev/core/issues/7

Otherwise, after first recurring contribution, contributions are coded
as check, not credit card.

6 years agoMerge pull request #11760 from mattwire/CRM-21391_grant_task
colemanw [Mon, 5 Mar 2018 14:52:02 +0000 (09:52 -0500)]
Merge pull request #11760 from mattwire/CRM-21391_grant_task

CRM-21391 Convert Grant to use core Task class

6 years agoMerge pull request #11766 from mukeshcompucorp/fix-template-structure-issues
colemanw [Mon, 5 Mar 2018 14:36:11 +0000 (09:36 -0500)]
Merge pull request #11766 from mukeshcompucorp/fix-template-structure-issues

Fixed template structure issues

6 years agoMerge pull request #11759 from mattwire/CRM-21391_case_task
Eileen McNaughton [Mon, 5 Mar 2018 12:05:48 +0000 (01:05 +1300)]
Merge pull request #11759 from mattwire/CRM-21391_case_task

CRM-21391 Convert Case to use core Task class

6 years agoMerge pull request #11745 from agh1/0000-00-00
Eileen McNaughton [Mon, 5 Mar 2018 12:03:47 +0000 (01:03 +1300)]
Merge pull request #11745 from agh1/0000-00-00

Fix upgrade failures from zero value `trxn_date`

6 years agoFixed template strucutre issues
Mukesh Ram [Mon, 5 Mar 2018 11:28:47 +0000 (16:58 +0530)]
Fixed template strucutre issues

6 years agoMerge pull request #11758 from mattwire/CRM-21391_campaign_task
Eileen McNaughton [Mon, 5 Mar 2018 11:15:48 +0000 (00:15 +1300)]
Merge pull request #11758 from mattwire/CRM-21391_campaign_task

CRM-21391 Convert Campaign to use core Task class

6 years agoConvert Grant to use core Task class
Matthew Wire [Tue, 2 Jan 2018 09:05:16 +0000 (16:05 +0700)]
Convert Grant to use core Task class

6 years agoConvert Case to use core Task class
Matthew Wire [Tue, 2 Jan 2018 09:03:44 +0000 (16:03 +0700)]
Convert Case to use core Task class

6 years agoConvert Campaign to use core Task class
Matthew Wire [Tue, 2 Jan 2018 09:03:10 +0000 (16:03 +0700)]
Convert Campaign to use core Task class

6 years agoMerge pull request #11722 from omarabuhussein/CRM-21733-fix-until-date
Eileen McNaughton [Mon, 5 Mar 2018 07:53:39 +0000 (20:53 +1300)]
Merge pull request #11722 from omarabuhussein/CRM-21733-fix-until-date

CRM-21733: Set status override end date to null if no 'Override until selected date' is not selected

6 years agoMerge pull request #11691 from JKingsnorth/CRM-21773
Eileen McNaughton [Mon, 5 Mar 2018 07:03:36 +0000 (20:03 +1300)]
Merge pull request #11691 from JKingsnorth/CRM-21773

CRM-21773 Fix merging multi-value custom fields

6 years agoMerge pull request #11756 from kcristiano/CRM21826
Seamus Lee [Mon, 5 Mar 2018 01:00:25 +0000 (12:00 +1100)]
Merge pull request #11756 from kcristiano/CRM21826

CRM-21826:  Update System Checks to separate links to Domain Address …

6 years agoMerge pull request #11752 from colemanw/CKEditor
Seamus Lee [Mon, 5 Mar 2018 00:30:50 +0000 (11:30 +1100)]
Merge pull request #11752 from colemanw/CKEditor

CKEditor Advanced Options - Better validation of options

6 years agoCRM-21819 - Do not load 'Submit Credit Card Contribution' button if only pseudo-manua...
eileen [Sun, 4 Mar 2018 21:21:53 +0000 (10:21 +1300)]
CRM-21819 - Do not load 'Submit Credit Card Contribution' button if only pseudo-manual processor exists

6 years agoCRM-21826: Update System Checks to separate links to Domain Address and From Email...
Kevin Cristiano [Sat, 3 Mar 2018 23:47:00 +0000 (18:47 -0500)]
CRM-21826:  Update System Checks to separate links to Domain Address and From Email Address settings pages

----------------------------------------
* CRM-21826: Default FROM Email Address (for system-generated emails) link incorrect in System Status Screen
  https://issues.civicrm.org/jira/browse/CRM-21826

6 years agoMerge pull request #11751 from JMAConsulting/CRM-21806
Eileen McNaughton [Fri, 2 Mar 2018 22:04:15 +0000 (11:04 +1300)]
Merge pull request #11751 from JMAConsulting/CRM-21806

CRM-21806: Added Unit test

6 years agoMerge pull request #11630 from maitrepylos/master
colemanw [Fri, 2 Mar 2018 20:08:55 +0000 (15:08 -0500)]
Merge pull request #11630 from maitrepylos/master

CRM-20554: Error when running activity report

6 years agoMerge pull request #11746 from eileenmcnaughton/selector
Monish Deb [Fri, 2 Mar 2018 19:52:42 +0000 (01:22 +0530)]
Merge pull request #11746 from eileenmcnaughton/selector

CRM-21806 Search builder NOT Empty does not work

6 years agoValidate JSON input in configurator
Coleman Watts [Fri, 2 Mar 2018 17:50:26 +0000 (12:50 -0500)]
Validate JSON input in configurator

6 years agoUpdate doc link
Coleman Watts [Fri, 2 Mar 2018 16:06:14 +0000 (11:06 -0500)]
Update doc link

6 years agoCKEditor Advanced Options - Don't allow same option to be selected twice
Coleman Watts [Fri, 2 Mar 2018 14:42:40 +0000 (09:42 -0500)]
CKEditor Advanced Options - Don't allow same option to be selected twice

6 years agoMerge pull request #11750 from mukeshcompucorp/CRM-21823-change-position-of-div-and...
colemanw [Fri, 2 Mar 2018 14:16:59 +0000 (09:16 -0500)]
Merge pull request #11750 from mukeshcompucorp/CRM-21823-change-position-of-div-and-fix-structure-glitches

CRM-21823: Fix structure and style glitches

6 years agoMerge pull request #11748 from eileenmcnaughton/payment
Monish Deb [Fri, 2 Mar 2018 14:15:17 +0000 (19:45 +0530)]
Merge pull request #11748 from eileenmcnaughton/payment

CRM-20610 make it possible to enable the payment form

6 years agoCRM-21806: Added Unit test
deb.monish [Fri, 2 Mar 2018 13:52:26 +0000 (19:22 +0530)]
CRM-21806: Added Unit test

6 years agoCRM-21823: Fix structure and style glitches
Mukesh Ram [Fri, 2 Mar 2018 07:24:24 +0000 (12:54 +0530)]
CRM-21823: Fix structure and style glitches

6 years agoMerge pull request #11747 from colemanw/CKEditorConfig
Seamus Lee [Fri, 2 Mar 2018 07:12:01 +0000 (18:12 +1100)]
Merge pull request #11747 from colemanw/CKEditorConfig

CKEditorConfig - Fix double-escaped slashes

6 years agoCRM-21771: error when viewing event registration with linked contribution
Jitendra Purohit [Thu, 22 Feb 2018 08:43:57 +0000 (14:13 +0530)]
CRM-21771: error when viewing event registration with linked contribution

6 years agoCRM-20610 make it possible to enable the payment form
eileen [Fri, 2 Mar 2018 03:15:28 +0000 (16:15 +1300)]
CRM-20610 make it possible to enable the payment form

6 years agoCKEditorConfig - Fix double-escaped slashes
Coleman Watts [Fri, 2 Mar 2018 01:54:35 +0000 (20:54 -0500)]
CKEditorConfig - Fix double-escaped slashes

6 years agoCRM-21806 Search builder NOT Empty does not work
eileen [Fri, 2 Mar 2018 00:53:46 +0000 (13:53 +1300)]
CRM-21806 Search builder NOT Empty does not work

6 years agoCiviContribute: fix zero value trxn dates that choke upgrades on legacy sites
Andrew Hunt [Thu, 1 Mar 2018 19:51:58 +0000 (14:51 -0500)]
CiviContribute: fix zero value trxn dates that choke upgrades on legacy sites

6 years agoMerge pull request #11735 from mukeshcompucorp/CRM-21814-add-proper-container-to...
colemanw [Thu, 1 Mar 2018 15:21:57 +0000 (10:21 -0500)]
Merge pull request #11735 from mukeshcompucorp/CRM-21814-add-proper-container-to-text

CRM-21814: Fixed text wrapping

6 years agoMerge pull request #11742 from seanmadsen/NFC-CRM_PCP_Form_Event
colemanw [Wed, 28 Feb 2018 23:15:13 +0000 (18:15 -0500)]
Merge pull request #11742 from seanmadsen/NFC-CRM_PCP_Form_Event

(NFC) Remove redundant line, improve docblocks

6 years agoClean up docblock
Sean Madsen [Wed, 28 Feb 2018 21:40:03 +0000 (16:40 -0500)]
Clean up docblock

6 years agoRemove redundant line
Sean Madsen [Wed, 28 Feb 2018 21:30:44 +0000 (16:30 -0500)]
Remove redundant line

6 years agoMerge pull request #11738 from mukeshcompucorp/CRM-21817-move-help-section-outside...
colemanw [Wed, 28 Feb 2018 19:02:09 +0000 (14:02 -0500)]
Merge pull request #11738 from mukeshcompucorp/CRM-21817-move-help-section-outside-crm-block

CRM-21817: Move help section outside form block

6 years agoMerge pull request #11740 from JMAConsulting/update-templates
Tim Otten [Wed, 28 Feb 2018 17:33:55 +0000 (09:33 -0800)]
Merge pull request #11740 from JMAConsulting/update-templates

[NFC] Update xml/templates/* headers

6 years agoUpdate xml/templates/* headers
deb.monish [Wed, 28 Feb 2018 14:27:00 +0000 (19:57 +0530)]
Update xml/templates/* headers

6 years agoCRM-21817: Move help section outside form block
Mukesh Ram [Wed, 28 Feb 2018 13:17:21 +0000 (18:47 +0530)]
CRM-21817: Move help section outside form block

6 years agoCRM-21814: Fixed text wrapping
Mukesh Ram [Wed, 28 Feb 2018 06:15:41 +0000 (11:45 +0530)]
CRM-21814: Fixed text wrapping

6 years agoMerge pull request #11731 from totten/master-setver
Eileen McNaughton [Wed, 28 Feb 2018 02:42:54 +0000 (15:42 +1300)]
Merge pull request #11731 from totten/master-setver

(release/1) Allow set-version.php to generate upgraders for major/minor increments

6 years agoset-version.php - Update civicrm-version.php (if applicable)
Tim Otten [Tue, 27 Feb 2018 22:59:34 +0000 (14:59 -0800)]
set-version.php - Update civicrm-version.php (if applicable)

Currently, this file is produced by GenCode, so it's not critical to update it via `set-version.php`. However, it's
a bit easier to test the process if this file is kept up-to-date.

In the near future, this file may be reworked to read from the canonical
source.  However, the search/replace should still be safe then.

6 years agoset-version.php - Add support for generating major/minor PHP files
Tim Otten [Tue, 27 Feb 2018 22:33:16 +0000 (14:33 -0800)]
set-version.php - Add support for generating major/minor PHP files

6 years agoCRM_Upgrade_Form - Move number/label mapping to CRM_Utils_EnglishNumber
Tim Otten [Tue, 27 Feb 2018 22:23:34 +0000 (14:23 -0800)]
CRM_Upgrade_Form - Move number/label mapping to CRM_Utils_EnglishNumber

6 years agoMerge pull request #11702 from jmcclelland/pdf-receipt-filename
Seamus Lee [Tue, 27 Feb 2018 20:14:57 +0000 (07:14 +1100)]
Merge pull request #11702 from jmcclelland/pdf-receipt-filename

ensure pdfFilename is set

6 years agoMerge pull request #11712 from jitendrapurohit/CRM-21795
Seamus Lee [Tue, 27 Feb 2018 19:55:46 +0000 (06:55 +1100)]
Merge pull request #11712 from jitendrapurohit/CRM-21795

CRM-21795 - Avoid fatal error to be displayed in log files.

6 years agoMerge pull request #11728 from JMAConsulting/CRM-21809
Eileen McNaughton [Tue, 27 Feb 2018 19:42:41 +0000 (08:42 +1300)]
Merge pull request #11728 from JMAConsulting/CRM-21809

CRM-21809: 'Advance search' group by issue

6 years agoMerge pull request #11725 from tschuettler/fix-field-required
Monish Deb [Tue, 27 Feb 2018 17:12:33 +0000 (22:42 +0530)]
Merge pull request #11725 from tschuettler/fix-field-required

CiviReport - Check for trueish values of the parameter 'required'

6 years agoMerge pull request #11642 from JKingsnorth/CRM-21739
Monish Deb [Tue, 27 Feb 2018 17:11:36 +0000 (22:41 +0530)]
Merge pull request #11642 from JKingsnorth/CRM-21739

[NFC] CRM-21739 Test improvements for mailing getRecipients

6 years agoMerge pull request #11729 from lcdservices/CRM-21810
Monish Deb [Tue, 27 Feb 2018 17:02:49 +0000 (22:32 +0530)]
Merge pull request #11729 from lcdservices/CRM-21810

CRM-21810 changelog panel UI tweaks

6 years agoCRM-21810 changelog panel UI tweaks
Brian Shaughnessy [Tue, 27 Feb 2018 15:51:50 +0000 (10:51 -0500)]
CRM-21810 changelog panel UI tweaks

6 years agoCRM-21809: 'Advance search' group by issue
deb.monish [Tue, 27 Feb 2018 13:18:37 +0000 (18:48 +0530)]
CRM-21809: 'Advance search' group by issue

6 years agoCRM-21739 [NFC] Refactoring for SMS recipient test
JKingsnorth [Tue, 27 Feb 2018 12:22:15 +0000 (12:22 +0000)]
CRM-21739 [NFC] Refactoring for SMS recipient test

6 years agoCRM-21739 Test for getRecipients in/exclude mailing groups
JKingsnorth [Mon, 26 Feb 2018 15:39:39 +0000 (15:39 +0000)]
CRM-21739 Test for getRecipients in/exclude mailing groups

6 years agoCRM-21795 - Avoid fatal error to be displayed in log files.
Jitendra Purohit [Fri, 23 Feb 2018 06:30:11 +0000 (12:00 +0530)]
CRM-21795 - Avoid fatal error to be displayed in log files.

6 years agoCheck for trueish required values
Thomas Schüttler [Tue, 27 Feb 2018 09:35:07 +0000 (10:35 +0100)]
Check for trueish required values

6 years agoMerge pull request #11696 from mydropwizard/phpword-0.14.0
Eileen McNaughton [Mon, 26 Feb 2018 22:53:53 +0000 (11:53 +1300)]
Merge pull request #11696 from mydropwizard/phpword-0.14.0

Update to PHPWord 0.14.0

6 years agoMerge pull request #11723 from mukeshcompucorp/CRM-21805-fix-fields-and-labels-in...
Eileen McNaughton [Mon, 26 Feb 2018 22:45:16 +0000 (11:45 +1300)]
Merge pull request #11723 from mukeshcompucorp/CRM-21805-fix-fields-and-labels-in-find-participants

CRM-21805: Fixed fields and labels in find participants

6 years agoMerge pull request #11571 from magnolia61/CRM-21693_Show_Name_in_OnlinePayNow_UI
colemanw [Mon, 26 Feb 2018 22:43:58 +0000 (17:43 -0500)]
Merge pull request #11571 from magnolia61/CRM-21693_Show_Name_in_OnlinePayNow_UI

Crm 21693 show Display Name in online pay now UI

6 years agoUpdate composer.lock for PHPWord update
David Snopek [Mon, 26 Feb 2018 16:53:44 +0000 (10:53 -0600)]
Update composer.lock for PHPWord update

6 years agoUpdate to PHPWord 0.14.0
David Snopek [Tue, 20 Feb 2018 14:11:55 +0000 (08:11 -0600)]
Update to PHPWord 0.14.0

6 years agoCRM-21805: Fixed fields and labels in find participants
Mukesh Ram [Mon, 26 Feb 2018 12:59:50 +0000 (18:29 +0530)]
CRM-21805: Fixed fields and labels in find participants

6 years agoCRM-21733: Set status override end date to null if no 'Override until selected date...
Omar abu hussein [Mon, 26 Feb 2018 11:09:20 +0000 (11:09 +0000)]
CRM-21733: Set status override end date to null if no 'Override until selected date' is not selected

6 years agoMerge pull request #11719 from eileenmcnaughton/fatal
colemanw [Mon, 26 Feb 2018 09:44:32 +0000 (04:44 -0500)]
Merge pull request #11719 from eileenmcnaughton/fatal

Throw exception instead of using fatal

6 years agoCRM-21804 improve error handling on duplicate contribution.
eileen [Mon, 26 Feb 2018 02:32:35 +0000 (15:32 +1300)]
CRM-21804 improve error handling on duplicate contribution.

Duplicate contributions are a really not handled well anywhere in the form layer.
The CRM_Core_Error winds up using the fatal template, which has the same end
result for form users as if an exception were thrown, let's switch.

Note that this appears to be the only scenario when an error would
be returned so we can simply drop that handling

6 years agoMerge pull request #11718 from eileenmcnaughton/website
Monish Deb [Mon, 26 Feb 2018 04:15:05 +0000 (09:45 +0530)]
Merge pull request #11718 from eileenmcnaughton/website

CRM-21803 Fix another entity to be standardised & support custom data

6 years agoFix another entity to be standardised & support custom data
eileen [Sun, 25 Feb 2018 22:03:58 +0000 (11:03 +1300)]
Fix another entity to be standardised & support custom data

6 years agoMerge pull request #11688 from eileenmcnaughton/custom
colemanw [Sat, 24 Feb 2018 13:15:28 +0000 (08:15 -0500)]
Merge pull request #11688 from eileenmcnaughton/custom

Fix more entities to support custom fields (via api)

6 years agoMerge pull request #11713 from yashodha/update-year
Seamus Lee [Sat, 24 Feb 2018 09:24:00 +0000 (20:24 +1100)]
Merge pull request #11713 from yashodha/update-year

(NFC) Update copyright header for 2018

6 years agoMerge pull request #11717 from seamuslee001/nfc_renewal_civilint_Fix
Eileen McNaughton [Sat, 24 Feb 2018 07:50:16 +0000 (20:50 +1300)]
Merge pull request #11717 from seamuslee001/nfc_renewal_civilint_Fix

(NFC) MembershipRenewal.php - Fix civilint error

6 years agoMerge pull request #11714 from mukeshcompucorp/CRM-21797-change-structure-of-campaign...
colemanw [Sat, 24 Feb 2018 02:58:06 +0000 (21:58 -0500)]
Merge pull request #11714 from mukeshcompucorp/CRM-21797-change-structure-of-campaign-search-pages

CRM-21797: Fixed structure for campaign search pages

6 years agoMerge pull request #11694 from eileenmcnaughton/website
colemanw [Sat, 24 Feb 2018 02:43:35 +0000 (21:43 -0500)]
Merge pull request #11694 from eileenmcnaughton/website

Move towards standardising website.create function.

6 years agoNFC fix civilint error on MembershipRenewal.php
Seamus Lee [Sat, 24 Feb 2018 01:27:30 +0000 (12:27 +1100)]
NFC fix civilint error on MembershipRenewal.php

6 years agoMove towards standardising website.create function.
eileen [Tue, 20 Feb 2018 03:28:21 +0000 (16:28 +1300)]
Move towards standardising website.create function.

6 years agoCRM-21797: Fixed structure for campaign search pages
Mukesh Ram [Fri, 23 Feb 2018 09:30:42 +0000 (15:00 +0530)]
CRM-21797: Fixed structure for campaign search pages

6 years agofix header
yashodha [Fri, 23 Feb 2018 08:52:57 +0000 (14:22 +0530)]
fix header

6 years agoCRM-21773 Refactor related table static variable caches to support unit testing
JKingsnorth [Thu, 22 Feb 2018 14:02:56 +0000 (14:02 +0000)]
CRM-21773 Refactor related table static variable caches to support unit testing

6 years agoFix more entities to support custom fields (via api)
eileen [Mon, 19 Feb 2018 02:17:10 +0000 (15:17 +1300)]
Fix more entities to support custom fields (via api)

6 years agoMerge pull request #11154 from agileware/CRM-20421
colemanw [Fri, 23 Feb 2018 04:23:24 +0000 (23:23 -0500)]
Merge pull request #11154 from agileware/CRM-20421

CRM-20421: Inherited memberships are converted to individual memberships when the "parent" for the membership is merged with another contact

6 years agoMerge pull request #11711 from seamuslee001/variable_rename_filter_fields
Tim Otten [Thu, 22 Feb 2018 23:29:12 +0000 (15:29 -0800)]
Merge pull request #11711 from seamuslee001/variable_rename_filter_fields

(NFC) Rename fiterable fields param in _civicrm_api3_basic_array_get …

6 years agoMerge pull request #11709 from totten/master-extget
Seamus Lee [Thu, 22 Feb 2018 22:04:27 +0000 (09:04 +1100)]
Merge pull request #11709 from totten/master-extget

CRM-21792 Extension.get API - Fix regression (4.7.13) in result filtering

6 years ago(NFC) Rename fiterable fields param in _civicrm_api3_basic_array_get to be more expli...
Seamus Lee [Thu, 22 Feb 2018 21:15:14 +0000 (08:15 +1100)]
(NFC) Rename fiterable fields param in _civicrm_api3_basic_array_get to be more explicit about what it is for

6 years agoapi_v3_ExtensionTest::testExtensionGet - Be a little less flaky
Tim Otten [Thu, 22 Feb 2018 20:26:12 +0000 (12:26 -0800)]
api_v3_ExtensionTest::testExtensionGet - Be a little less flaky

The test has a magic number which seems to be based on the number of
extensions in the `drupal-clean` build profile -- which is basically the
smallest number anyone might have.  However, it gives false-negatives if you
have any other extensions around.  Make it a little less flaky.

6 years agoExtension.get API - Only apply special filters once (key/keys/full_name)
Tim Otten [Thu, 22 Feb 2018 20:15:24 +0000 (12:15 -0800)]
Extension.get API - Only apply special filters once (key/keys/full_name)

Filtering extensions by key is a good idea -- so good we have three ways to do it! ;)

All of these fields accept a `string|array<string>` input, which is different from
the typical filtering supported by `_civicrm_api3_basic_array_get()` (which only
matches on values)...  If you happen to choose a basic filter that passes both
filters (i.e.  a simple string-match), then it works.  But if you choose a filter
where they behave differnetly (i.e.  an array), then you get weird results.

6 years agoExtension.get API - Fix regression (4.7.13) in result filtering
Tim Otten [Thu, 22 Feb 2018 16:38:41 +0000 (08:38 -0800)]
Extension.get API - Fix regression (4.7.13) in result filtering

Overview
--------

When one calls the `Extension.get` API, it should support filtering.  For
example, these commands would return only installed extensions or only
uninstalled extensions (respectively):

```
cv api Extension.get status=installed
cv api Extension.get status=uninstalled
```

Before
------

The implementation of `Extension.get` passes a list of all extensions down to
`_civicrm_api3_basic_array_get()` which is supposed to interpret any APIv3
options (such as filter-values/offsets/limits).  However, it confuses the
`return` list (i.e.  the names of any columns *that the user wants to see*) with the
*filterable* list (i.e.  the names of any columns *for which filtering is
permitted*).

After
-----

The implementation of `Extension.get` passes a list of all extensions down to
`_civicrm_api3_basic_array_get()`.  It also passes a fixed list of columns
which one might reasonably want to filter.

It might be nice to support filtering on all fields, but (a) several fields
wouldn't be sensible (because they're nested arrays) and (b) this provides a
smaller surface-area to maintain.

Comments
--------

The doc-block for `_civicrm_api3_basic_array_get()` describes the purpose of this field:

https://github.com/civicrm/civicrm-core/blob/4.7.0/api/v3/utils.php#L2390-L2391

Since ~v4.7.13, this line of code appears to have gone through several revisions, e.g.

 * The regression was originally introduced by 517dfba8b
 * Subsequent partial-fixes were d4c44c7009776f41734239e81525ccb68

CC @lucianov88  @twomice @tschuettler @seamuslee001 for review

6 years agoMerge pull request #11706 from JMAConsulting/CRM-21789
colemanw [Thu, 22 Feb 2018 16:45:51 +0000 (11:45 -0500)]
Merge pull request #11706 from JMAConsulting/CRM-21789

CRM-21789: 'Find Case' group by issue

6 years agoMerge pull request #11681 from jitendrapurohit/CRM-21778
colemanw [Thu, 22 Feb 2018 16:40:31 +0000 (11:40 -0500)]
Merge pull request #11681 from jitendrapurohit/CRM-21778

CRM-21778 - Contact image uploaded from drupal webform don't render o…

6 years agotest failure fix
deb.monish [Thu, 22 Feb 2018 12:44:38 +0000 (18:14 +0530)]
test failure fix

6 years agoMerge pull request #11707 from jitendrapurohit/CRM-21771
Yashodha Chaku [Thu, 22 Feb 2018 11:18:08 +0000 (16:48 +0530)]
Merge pull request #11707 from jitendrapurohit/CRM-21771

CRM-21771: error when viewing event registration with linked contribu…