civicrm-core.git
4 years agoMerge pull request #15004 from davejenx/dev-core-860-discount-line-items-fix2
Eileen McNaughton [Mon, 26 Aug 2019 01:57:43 +0000 (13:57 +1200)]
Merge pull request #15004 from davejenx/dev-core-860-discount-line-items-fix2

dev/core/issues/860: discount not applied to line item: call buildAmount hook in CRM_Member_Form_Membership::submit().

4 years agoMerge pull request #15134 from mattwire/927_extractparticipant_membership
Eileen McNaughton [Sun, 25 Aug 2019 21:04:21 +0000 (09:04 +1200)]
Merge pull request #15134 from mattwire/927_extractparticipant_membership

Extract cancelParticipant and cancelMembership functions in baseIPN

4 years agoMerge pull request #15113 from eileenmcnaughton/weird_stuff
Matthew Wire [Sun, 25 Aug 2019 14:28:14 +0000 (15:28 +0100)]
Merge pull request #15113 from eileenmcnaughton/weird_stuff

[Ref] Extract addInheritedMembership

4 years agoExtract cancelParticipant and cancelMembership functions in baseIPN
Matthew Wire (MJW Consulting) [Sun, 25 Aug 2019 10:06:28 +0000 (11:06 +0100)]
Extract cancelParticipant and cancelMembership functions in baseIPN

4 years agoMerge pull request #15030 from mattwire/changecasestatus_relationshipapi
Eileen McNaughton [Sun, 25 Aug 2019 13:50:37 +0000 (01:50 +1200)]
Merge pull request #15030 from mattwire/changecasestatus_relationshipapi

Switch to relationship BAO when modifying relationships in change case status so we don't bypass hooks

4 years agoMerge pull request #15133 from mattwire/activityemail_extract
Eileen McNaughton [Sun, 25 Aug 2019 13:15:44 +0000 (01:15 +1200)]
Merge pull request #15133 from mattwire/activityemail_extract

Extract function to create email activity when sending an email to contact

4 years agoSwitch to relationship API when modifying relationships in change case status so...
Matthew Wire (MJW Consulting) [Tue, 13 Aug 2019 16:15:24 +0000 (17:15 +0100)]
Switch to relationship API when modifying relationships in change case status so we don't bypass hooks

4 years agoExtract function to create email activity when sending an email to contact
Matthew Wire (MJW Consulting) [Sun, 25 Aug 2019 09:43:33 +0000 (10:43 +0100)]
Extract function to create email activity when sending an email to contact

4 years agoMerge pull request #15129 from mattwire/refactor_baseipn_1
Eileen McNaughton [Sat, 24 Aug 2019 04:46:25 +0000 (16:46 +1200)]
Merge pull request #15129 from mattwire/refactor_baseipn_1

Initial refactor of BaseIPN

4 years agoMerge pull request #15123 from mattwire/fixhardcodedheadofhouseholdrelationship
Eileen McNaughton [Sat, 24 Aug 2019 01:38:47 +0000 (13:38 +1200)]
Merge pull request #15123 from mattwire/fixhardcodedheadofhouseholdrelationship

Fix hardcoded ID for Head of Household relationship

4 years agoMerge pull request #15044 from totten/master-composer-all-the-things
colemanw [Sat, 24 Aug 2019 01:31:25 +0000 (21:31 -0400)]
Merge pull request #15044 from totten/master-composer-all-the-things

Migrate bower.json into composer.json via composer-downloads-plugin

4 years agoMerge pull request #15128 from mattwire/minorcleanup
Seamus Lee [Sat, 24 Aug 2019 00:25:27 +0000 (10:25 +1000)]
Merge pull request #15128 from mattwire/minorcleanup

(dev/core#927) (NFC) Add comments to relate to gitlab ticket

4 years agoMerge pull request #15126 from mattwire/deprecateaddresssequence
Seamus Lee [Sat, 24 Aug 2019 00:24:33 +0000 (10:24 +1000)]
Merge pull request #15126 from mattwire/deprecateaddresssequence

Deprecate CRM_Core_Config::addressSequence()

4 years agoMerge pull request #15127 from mattwire/deprecatedefaultcountry
Seamus Lee [Fri, 23 Aug 2019 23:45:45 +0000 (09:45 +1000)]
Merge pull request #15127 from mattwire/deprecatedefaultcountry

Deprecate CRM_Core_Config::defaultContactCountry and defaultContactCountryName

4 years agoMerge pull request #15125 from eileenmcnaughton/mem_param
Seamus Lee [Fri, 23 Aug 2019 23:45:27 +0000 (09:45 +1000)]
Merge pull request #15125 from eileenmcnaughton/mem_param

Remove unused skipRedirect param

4 years agoMerge pull request #15116 from eileenmcnaughton/import_website
Seamus Lee [Fri, 23 Aug 2019 23:44:48 +0000 (09:44 +1000)]
Merge pull request #15116 from eileenmcnaughton/import_website

[Ref] [Import] Use processor to determine website type, location type, test

4 years agoMerge pull request #15120 from mattwire/apimembershiptype_defaultdomain
Eileen McNaughton [Fri, 23 Aug 2019 23:25:04 +0000 (11:25 +1200)]
Merge pull request #15120 from mattwire/apimembershiptype_defaultdomain

Add default domain to membershiptype API

4 years agoAdd comments to relate to gitlab ticket
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 23:16:03 +0000 (00:16 +0100)]
Add comments to relate to gitlab ticket

4 years agoInitial refactor of BaseIPN
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 23:14:19 +0000 (00:14 +0100)]
Initial refactor of BaseIPN

4 years agoDeprecate CRM_Core_Config::defaultContactCountry and defaultContactCountryName
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 22:45:10 +0000 (23:45 +0100)]
Deprecate CRM_Core_Config::defaultContactCountry and defaultContactCountryName

4 years agoDeprecate CRM_Core_Config::addressSequence()
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 22:44:13 +0000 (23:44 +0100)]
Deprecate CRM_Core_Config::addressSequence()

4 years agoMerge pull request #14367 from MegaphoneJon/financial-58
Eileen McNaughton [Fri, 23 Aug 2019 22:11:26 +0000 (10:11 +1200)]
Merge pull request #14367 from MegaphoneJon/financial-58

financial#58: Don't crash the View Batches page after a failed batch …

4 years agoRemove unused skipRedirect param
eileen [Fri, 23 Aug 2019 22:09:54 +0000 (10:09 +1200)]
Remove unused skipRedirect param

No longer used for anything - it can go

4 years agoMerge pull request #15124 from mattwire/REF_processMembershipPending
Eileen McNaughton [Fri, 23 Aug 2019 22:01:19 +0000 (10:01 +1200)]
Merge pull request #15124 from mattwire/REF_processMembershipPending

Minor refactor of 'Pending' parameter for processMembership

4 years agoMerge pull request #15112 from demeritcowboy/whats-my-name
Seamus Lee [Fri, 23 Aug 2019 21:46:51 +0000 (07:46 +1000)]
Merge pull request #15112 from demeritcowboy/whats-my-name

[Test] Fix Last_name in CiviUnitTestCase::activityCreate

4 years agoFix hardcoded ID for Head of Household relationship
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 14:31:10 +0000 (15:31 +0100)]
Fix hardcoded ID for Head of Household relationship

4 years agoMerge pull request #15121 from demeritcowboy/test-bao-relationship
Eileen McNaughton [Fri, 23 Aug 2019 20:15:08 +0000 (08:15 +1200)]
Merge pull request #15121 from demeritcowboy/test-bao-relationship

test for PR 15103

4 years agoMinor refactor of 'Pending' parameter for processMembership
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 17:37:24 +0000 (18:37 +0100)]
Minor refactor of 'Pending' parameter for processMembership

4 years agoMerge pull request #15103 from mattwire/relationshipaddbao
colemanw [Fri, 23 Aug 2019 14:37:35 +0000 (10:37 -0400)]
Merge pull request #15103 from mattwire/relationshipaddbao

Refactor CRM_Contact_BAO_Relationship::add to autoload missing params from existing record

4 years agotest for PR 15103
DemeritCowboy [Fri, 23 Aug 2019 13:38:27 +0000 (09:38 -0400)]
test for PR 15103

4 years agoAdd default domain to membershiptype API
Matthew Wire (MJW Consulting) [Fri, 23 Aug 2019 09:33:43 +0000 (10:33 +0100)]
Add default domain to membershiptype API

4 years agoRefactor CRM_Contact_BAO_Relationship::add to autoload missing params from existing...
Matthew Wire (MJW Consulting) [Sat, 17 Aug 2019 16:28:42 +0000 (17:28 +0100)]
Refactor CRM_Contact_BAO_Relationship::add to autoload missing params from existing record

4 years ago[Ref] [Import] Use processor to determine website type, location type, test
eileen [Fri, 23 Aug 2019 03:38:23 +0000 (15:38 +1200)]
[Ref] [Import] Use processor to determine website type, location type, test

4 years agoAdd test to ensure cleanup does not change js
eileen [Fri, 23 Aug 2019 03:33:59 +0000 (15:33 +1200)]
Add test to ensure cleanup does not change js

4 years agoMerge pull request #15097 from eileenmcnaughton/import_cleanup
Eileen McNaughton [Fri, 23 Aug 2019 02:32:33 +0000 (14:32 +1200)]
Merge pull request #15097 from eileenmcnaughton/import_cleanup

[Import] [ref] - minor cleanup to reduce code complexity

4 years ago[Ref] Extract addInheritedMembership
eileen [Fri, 23 Aug 2019 02:26:27 +0000 (14:26 +1200)]
[Ref] Extract addInheritedMembership

4 years agofix last name
DemeritCowboy [Fri, 23 Aug 2019 01:08:31 +0000 (21:08 -0400)]
fix last name

4 years agoUse Processor to determine the phone_type_id & im_provider_id
eileen [Thu, 22 Aug 2019 02:18:13 +0000 (14:18 +1200)]
Use Processor to  determine the phone_type_id & im_provider_id

What we are doing here is actually very simple - despite the code being kinda insane - we are just getting
the  fields from the database for  each column in the mapping.

The fields are all loaded into the processor already & those functions are tested. This switches to  using them
and to passing around less variables...

Follow ons will do the same for other fields (website_type_id, location_type_id but I will add more tests as I do that

4 years agoMerge pull request #15109 from civicrm/5.17
Eileen McNaughton [Fri, 23 Aug 2019 00:40:24 +0000 (12:40 +1200)]
Merge pull request #15109 from civicrm/5.17

5.17

4 years agoMerge pull request #15111 from seamuslee001/5_16_3_release_notes
Eileen McNaughton [Fri, 23 Aug 2019 00:40:10 +0000 (12:40 +1200)]
Merge pull request #15111 from seamuslee001/5_16_3_release_notes

Add in release notes for 5.16.3 drop

4 years agoMerge pull request #15105 from greenpeace-cee/fix-id-additionalinfo
Tim Otten [Fri, 23 Aug 2019 00:39:10 +0000 (17:39 -0700)]
Merge pull request #15105 from greenpeace-cee/fix-id-additionalinfo

dev/financial#66 - Fix missing contribution ID for AdditionalInfo

4 years agoMerge pull request #15104 from christianwach/lab-1203
Eileen McNaughton [Fri, 23 Aug 2019 00:32:54 +0000 (12:32 +1200)]
Merge pull request #15104 from christianwach/lab-1203

Add `pre` and `post` hooks to Domain create and edit operations

4 years agoUpdate release-notes.md
Tim Otten [Thu, 22 Aug 2019 23:07:44 +0000 (16:07 -0700)]
Update release-notes.md

4 years agoUpdate 5.16.3.md
Tim Otten [Thu, 22 Aug 2019 23:05:09 +0000 (16:05 -0700)]
Update 5.16.3.md

4 years agoAdd in release notes for 5.16.3 drop
Seamus Lee [Thu, 22 Aug 2019 22:39:34 +0000 (08:39 +1000)]
Add in release notes for 5.16.3 drop

4 years agoMerge pull request #15106 from alifrumin/5.17.0-rn
Seamus Lee [Thu, 22 Aug 2019 22:18:59 +0000 (08:18 +1000)]
Merge pull request #15106 from alifrumin/5.17.0-rn

5.17.0 release notes: first pass at sorting and annotating

4 years agodev/financial#66 - Fix missing contribution ID for AdditionalInfo
Patrick Figel [Thu, 22 Aug 2019 20:27:52 +0000 (22:27 +0200)]
dev/financial#66 - Fix missing contribution ID for AdditionalInfo

This fixes an issues where the contribution ID is not being passed
when the AdditionalInfo form block is retrieved in the contribution
form. This causes existing values of fields in this block to not be
loaded, leading to data loss when the form is saved.

4 years ago5.17.0 release notes: first pass at sorting and annotating
Alice Frumin [Wed, 21 Aug 2019 15:16:21 +0000 (11:16 -0400)]
5.17.0 release notes: first pass at sorting and annotating

4 years agoAdd `pre` and `post` hooks to Domain create and edit operations
Christian Wach [Thu, 22 Aug 2019 18:03:55 +0000 (19:03 +0100)]
Add `pre` and `post` hooks to Domain create and edit operations

4 years agocomposer.lock - Update to include civicrm/composer-downloads-plugin
Tim Otten [Thu, 22 Aug 2019 11:15:48 +0000 (04:15 -0700)]
composer.lock - Update to include civicrm/composer-downloads-plugin

4 years agocomposer.json - Add all bower assets via composer-downloads-plugin
Tim Otten [Thu, 15 Aug 2019 09:24:40 +0000 (02:24 -0700)]
composer.json - Add all bower assets via composer-downloads-plugin

Before
------

* JS and CSS libraries and downloaded via `bower`.
* `bower` is deprecated.
* `bower` is slow.
* `bower` requires installing NodeJS
* `bower` requries installing Bower

After
-----

* `composer install` downloads the `bower_components` folder
* `composer` has a better cache
* `composer` is fast
* You can setup a dev build with fewer dependencies.

Comments
--------

There are many, many composer plugins which can be referenced when managing
assets. This particular one has an important distinction:

* It does not require root-level package configuration.
* It produces a file-structure that closely matches the current one.
* It works just as well as whether 'civicrm-core' is used as a root-package
  or as an dependency.

4 years agoRemove bower.json
Tim Otten [Thu, 15 Aug 2019 09:24:20 +0000 (02:24 -0700)]
Remove bower.json

This will be replaced in an adjacent commit with updates to composer.json

4 years agoMerge pull request #15064 from seamuslee001/fee_amount_id_search_fix
Eileen McNaughton [Thu, 22 Aug 2019 09:03:17 +0000 (21:03 +1200)]
Merge pull request #15064 from seamuslee001/fee_amount_id_search_fix

CRM-17182 Fix Search on fee_level_id and ensure that participant.fee_amount isn't updated when label changes

4 years agoAdd in unit test of searching when price field value label has changed
Seamus Lee [Sun, 18 Aug 2019 03:17:09 +0000 (13:17 +1000)]
Add in unit test of searching when price field value label has changed

4 years agoResolve CRM-17182 by filtering on civicrm_line_item.price_field_value_id instead...
Seamus Lee [Sun, 18 Aug 2019 02:11:09 +0000 (12:11 +1000)]
Resolve CRM-17182 by filtering on civicrm_line_item.price_field_value_id instead of th fee_amount column

Pass id in the params array rather than in the ids array

4 years agoAdd in unit test demonstrating that fee label changes when the price field value...
Seamus Lee [Sat, 17 Aug 2019 22:56:18 +0000 (08:56 +1000)]
Add in unit test demonstrating that fee label changes when the price field value label changes

4 years agoMerge pull request #15095 from eileenmcnaughton/export_metadata
Seamus Lee [Thu, 22 Aug 2019 05:37:18 +0000 (15:37 +1000)]
Merge pull request #15095 from eileenmcnaughton/export_metadata

[Test] [NFC] upgrade remaining export tests

4 years agoMerge pull request #15098 from civicrm/5.17
Eileen McNaughton [Thu, 22 Aug 2019 05:18:19 +0000 (17:18 +1200)]
Merge pull request #15098 from civicrm/5.17

5.17

4 years agoMerge pull request #15089 from totten/5.17-install-msg
Eileen McNaughton [Thu, 22 Aug 2019 05:15:55 +0000 (17:15 +1200)]
Merge pull request #15089 from totten/5.17-install-msg

(dev/drupal#79) Fail more gracefully when attempting to install on PHP 5.x

4 years agoAdd test cover for js for an im provider mapping
eileen [Thu, 22 Aug 2019 02:10:02 +0000 (14:10 +1200)]
Add test cover for js for an im provider mapping

4 years agoMerge pull request #15061 from eileenmcnaughton/agile
Seamus Lee [Thu, 22 Aug 2019 01:07:53 +0000 (11:07 +1000)]
Merge pull request #15061 from eileenmcnaughton/agile

Fix readability & caching on CRM_Contact_BAO_Relationship::isInheritedMembershipInvalidated

4 years agoMerge pull request #15068 from eileenmcnaughton/mapping_test
colemanw [Thu, 22 Aug 2019 00:40:58 +0000 (20:40 -0400)]
Merge pull request #15068 from eileenmcnaughton/mapping_test

[REF] minor code refactor on import - Pass ProcessorObject into loadSavedMapping & use it to load the formName

4 years agoPass ProcessorObject into loadSavedMapping & use it to load the formName
eileen [Sun, 18 Aug 2019 08:08:24 +0000 (20:08 +1200)]
Pass ProcessorObject into loadSavedMapping & use it to load the formName

After a few more steps we can eliminate most of this function & use the processor but this is jusut a very small
change....

4 years agoMerge pull request #15072 from eileenmcnaughton/test_ext2
Seamus Lee [Wed, 21 Aug 2019 22:24:43 +0000 (08:24 +1000)]
Merge pull request #15072 from eileenmcnaughton/test_ext2

[NFC] Add ImportProcessor class & unit tests + extend existing cover

4 years ago[Test] [NFC] upgrade remamining export tests
eileen [Wed, 21 Aug 2019 19:43:23 +0000 (07:43 +1200)]
[Test] [NFC] upgrade remamining export tests

Fully switch to checking csv output with new helper - this allows us to remove the hack from the core fn

4 years agoMerge pull request #15093 from mattwire/contributionpage_typo
Eileen McNaughton [Wed, 21 Aug 2019 19:52:38 +0000 (07:52 +1200)]
Merge pull request #15093 from mattwire/contributionpage_typo

Fix wrong variable in check for profiles on contributionpage

4 years agoMerge pull request #15002 from demeritcowboy/activity-type-assignment-1116
Eileen McNaughton [Wed, 21 Aug 2019 18:19:14 +0000 (06:19 +1200)]
Merge pull request #15002 from demeritcowboy/activity-type-assignment-1116

dev/core#1116 - refactor/rename activityTypeName

4 years agocomposer.lock - Run: "composer update php"
Tim Otten [Wed, 21 Aug 2019 18:14:03 +0000 (11:14 -0700)]
composer.lock - Run: "composer update php"

4 years agoMerge pull request #14989 from eileenmcnaughton/import_sc
Eileen McNaughton [Wed, 21 Aug 2019 17:54:54 +0000 (05:54 +1200)]
Merge pull request #14989 from eileenmcnaughton/import_sc

 dev/core#1001 Fix count notice warnings in php 7.2 [Import]

4 years agoMerge pull request #15092 from christianwach/lab-1196
colemanw [Wed, 21 Aug 2019 16:17:49 +0000 (12:17 -0400)]
Merge pull request #15092 from christianwach/lab-1196

Fix recursion in crmInArray()

4 years agoFix recursion in crmInArray()
Christian Wach [Wed, 21 Aug 2019 14:35:09 +0000 (15:35 +0100)]
Fix recursion in crmInArray()

4 years agoMerge pull request #15091 from JKingsnorth/rm-unused-maxlocations
Eileen McNaughton [Wed, 21 Aug 2019 10:52:19 +0000 (22:52 +1200)]
Merge pull request #15091 from JKingsnorth/rm-unused-maxlocations

Remove unused method CRM_Contact_BAO_Contact_Utils::maxLocations

4 years agoRemove unused method CRM_Contact_BAO_Contact_Utils::maxLocations
JKingsnorth [Wed, 21 Aug 2019 08:14:31 +0000 (09:14 +0100)]
Remove unused method CRM_Contact_BAO_Contact_Utils::maxLocations

4 years agoMerge pull request #15069 from demeritcowboy/1-2-tolerance
Seamus Lee [Wed, 21 Aug 2019 08:05:13 +0000 (18:05 +1000)]
Merge pull request #15069 from demeritcowboy/1-2-tolerance

[Test] Tolerance parameter in attachmenttest needs to be one higher for integers

4 years ago(dev/drupal#79) Fail more gracefully when attempting to install on PHP 5.x
Tim Otten [Wed, 21 Aug 2019 02:48:41 +0000 (19:48 -0700)]
(dev/drupal#79) Fail more gracefully when attempting to install on PHP 5.x

Before
------

If an admin stracts the code and navigates to `/sites/all/modules/civicrm/install/index.php`, it displays
a syntax error.

After
-----

If an admin stracts the code and navigates to `/sites/all/modules/civicrm/install/index.php`, it displays
the message:

> __PHP Version Requirement__
> CiviCRM requires PHP 7.0+. The web server is running PHP 5.6.38.

Comments
--------

This is similar to https://github.com/civicrm/civicrm-drupal/pull/583

The canonical representation of the minimum PHP version is in
`$civicrm_root/CRM/Upgrade/Form.php`.  However, setting up the classloader
triggers a syntax error, so we need to read this without having access to
the classloader.

The approach herein has a few effects:

* The minimum PHP can be read from a JSON file.
* That JSON file is also used by `composer`, so you'll also get better errors when downloading that way.
* At some unknown point, the minimum will probably bump up again (7.1 or 7.2 or whatever). When that
  happens, the unit-test will ensure we keep `CRM/Upgrade/Form.php` and `composer.json` in sync.

Note: I was little concerned that the `composer.json` file might not be
available when normal installers run, so I checked the published tarballs
for D7, BD, WP, and J - in all cases, the `composer.json` looks to be
included at the expected location.

4 years agoMerge pull request #15088 from civicrm/5.17
Eileen McNaughton [Tue, 20 Aug 2019 19:55:04 +0000 (07:55 +1200)]
Merge pull request #15088 from civicrm/5.17

5.17 to master

4 years agoMerge pull request #15087 from agh1/5.17.0-releasenotes
Eileen McNaughton [Tue, 20 Aug 2019 19:52:41 +0000 (07:52 +1200)]
Merge pull request #15087 from agh1/5.17.0-releasenotes

5.17.0 release notes - initial run

4 years agoMerge pull request #15085 from seamuslee001/update_examples
Eileen McNaughton [Tue, 20 Aug 2019 19:52:20 +0000 (07:52 +1200)]
Merge pull request #15085 from seamuslee001/update_examples

[NFC] Update Examples

4 years ago5.17.0 release notes: added boilerplate
Andrew Hunt [Tue, 20 Aug 2019 16:39:44 +0000 (12:39 -0400)]
5.17.0 release notes: added boilerplate

4 years ago5.17.0 release notes: raw from script
Andrew Hunt [Tue, 20 Aug 2019 16:36:31 +0000 (12:36 -0400)]
5.17.0 release notes: raw from script

4 years agoMerge pull request #14916 from eileenmcnaughton/export_mem
Eileen McNaughton [Tue, 20 Aug 2019 12:47:50 +0000 (00:47 +1200)]
Merge pull request #14916 from eileenmcnaughton/export_mem

Fix metadata on member export

4 years ago[NFC] Update Examples
Seamus Lee [Tue, 20 Aug 2019 10:10:16 +0000 (20:10 +1000)]
[NFC] Update Examples

4 years agoFix wrong variable in check for profiles
Matthew Wire (MJW Consulting) [Tue, 20 Aug 2019 08:55:45 +0000 (09:55 +0100)]
Fix wrong variable in check for profiles

4 years agoMerge pull request #15078 from mlutfy/remove-old-scripts
Eileen McNaughton [Tue, 20 Aug 2019 04:50:39 +0000 (16:50 +1200)]
Merge pull request #15078 from mlutfy/remove-old-scripts

Remove a few unused scripts from tools/bin/scripts

4 years agoMerge pull request #15070 from eileenmcnaughton/deprecation
Eileen McNaughton [Tue, 20 Aug 2019 04:49:20 +0000 (16:49 +1200)]
Merge pull request #15070 from eileenmcnaughton/deprecation

Remove deprecated unused function.

4 years agoMerge pull request #15083 from civicrm/5.17
Seamus Lee [Tue, 20 Aug 2019 04:37:50 +0000 (14:37 +1000)]
Merge pull request #15083 from civicrm/5.17

5.17

4 years agoMerge pull request #15082 from totten/5.17-php-min
Seamus Lee [Tue, 20 Aug 2019 03:29:56 +0000 (13:29 +1000)]
Merge pull request #15082 from totten/5.17-php-min

(dev/drupal#79) CRM_Upgrade_Form - Raise MINIMUM_PHP_VERSION from 5.6 to 7.0

4 years agoMerge pull request #15051 from agileware/CIVICRM-1290
Seamus Lee [Tue, 20 Aug 2019 03:22:43 +0000 (13:22 +1000)]
Merge pull request #15051 from agileware/CIVICRM-1290

Remove "Copy Case custom data" code (circa 2013)

4 years agoCIVICRM-1290 CIVICRM-967 Add unit test: Migrate custom file attachments to new case...
Justin Freeman [Fri, 16 Aug 2019 21:24:26 +0000 (07:24 +1000)]
CIVICRM-1290 CIVICRM-967 Add unit test: Migrate custom file attachments to new case on reassignment
Add unit test from PR #14213 Migrate custom file attachments to new case on reassignment. https://github.com/civicrm/civicrm-core/pull/14213

4 years agoCIVICRM-1290 Remove "Copy Case custom data" code
Justin Freeman [Fri, 16 Aug 2019 07:20:50 +0000 (17:20 +1000)]
CIVICRM-1290 Remove "Copy Case custom data" code

Remove "Copy Case custom data" code. Fixes https://lab.civicrm.org/dev/core/issues/1183

4 years ago(dev/drupal#79) CRM_Upgrade_Form - Raise MINIMUM_PHP_VERSION from 5.6 to 7.0
Tim Otten [Tue, 20 Aug 2019 00:29:32 +0000 (17:29 -0700)]
(dev/drupal#79) CRM_Upgrade_Form - Raise MINIMUM_PHP_VERSION from 5.6 to 7.0

This version requirement officially went up to PHP 7.0 circa Civi 5.14.
However, at that time, the upgrade metadata was kept at PHP 5.6 to allow somewhat
softer landing for stragglers. That's no longer possible in 5.16+, so this
just updates the requirement.

Before
------

When upgrading via drush to Civi 5.16+ on PHP 5.6, the Civi class-loader fails to initialize.

```
Parse error: syntax error, unexpected ':', expecting '{' in /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/vendor/league/csv/src/functions.php on line 33
```

(Approximate call-path: `civicrm.drush.inc` => `civicrm.settings.php` =>
`CRM_Core_ClassLoader` => `vendor/autoload.php` => `vendor/league/csv/src/functions.php`)

After
-----

It still fails, but at least the metadata is accurate.

There will be a separate patch in another repo to make `drush` use this
metadata and present a better error.

4 years agoMerge pull request #15079 from demeritcowboy/enotice-add-multi-activity
Seamus Lee [Mon, 19 Aug 2019 22:47:52 +0000 (08:47 +1000)]
Merge pull request #15079 from demeritcowboy/enotice-add-multi-activity

dev/core#1192 - E_NOTICE on using Add Activity action on contact search results

4 years agoMerge pull request #15052 from 19ATF77/manageGroupFixes
Seamus Lee [Mon, 19 Aug 2019 21:55:01 +0000 (07:55 +1000)]
Merge pull request #15052 from 19ATF77/manageGroupFixes

Manage Group search message fix

4 years agoAdd ImportProcessor class & unit tests + extend existing cover
eileen [Mon, 19 Aug 2019 01:01:47 +0000 (13:01 +1200)]
Add ImportProcessor class & unit tests + extend existing cover

This adds the full ImportProcessor class from the WIP pr #15034 - minus the functions that
replace loadSavedMapping) along with tests. It does NOT start to use the new class as yet.

Note that #15068 will need rebasing if this is merged first & vice versa

The goal is to bring it into use along with extending tests but this is 'safe' in that no funcitonal code is changed

4 years agoMerge pull request #15076 from sushantpaste/priceset-hook
Eileen McNaughton [Mon, 19 Aug 2019 20:21:47 +0000 (08:21 +1200)]
Merge pull request #15076 from sushantpaste/priceset-hook

dev/core#870 priceset hook

4 years agoMerge pull request #15077 from mlutfy/api-docs-urls
Eileen McNaughton [Mon, 19 Aug 2019 20:20:27 +0000 (08:20 +1200)]
Merge pull request #15077 from mlutfy/api-docs-urls

[NFC] Update the APIv3 documentation links.

4 years agoMerge pull request #15075 from JMAConsulting/core-14172
Eileen McNaughton [Mon, 19 Aug 2019 20:18:50 +0000 (08:18 +1200)]
Merge pull request #15075 from JMAConsulting/core-14172

Fixes for taking dynamic form name in grant search

4 years agofix enotice
DemeritCowboy [Mon, 19 Aug 2019 18:57:47 +0000 (14:57 -0400)]
fix enotice

4 years agoRemove a few unused scripts from tools/bin/scripts
Mathieu Lutfy [Mon, 19 Aug 2019 18:51:00 +0000 (14:51 -0400)]
Remove a few unused scripts from tools/bin/scripts

4 years agoUpdate the APIv3 documentation links.
Mathieu Lutfy [Mon, 19 Aug 2019 18:39:37 +0000 (14:39 -0400)]
Update the APIv3 documentation links.