civicrm-core.git
3 years agoMerge pull request #17640 from samuelsov/bugreportcivigrant
Seamus Lee [Wed, 17 Jun 2020 01:09:11 +0000 (11:09 +1000)]
Merge pull request #17640 from samuelsov/bugreportcivigrant

Bug in Grant statistics report

3 years agoMerge pull request #17639 from mlutfy/pfSetEntity
Eileen McNaughton [Tue, 16 Jun 2020 23:22:15 +0000 (11:22 +1200)]
Merge pull request #17639 from mlutfy/pfSetEntity

Price Field Form: save the fid for the postProcess hook

3 years agoPrice Field Form: save the fid for the postProcess hook
Mathieu Lutfy [Tue, 16 Jun 2020 19:57:40 +0000 (15:57 -0400)]
Price Field Form: save the fid for the postProcess hook

3 years agoBug in Grant statistics report
Samuel Vanhove [Tue, 16 Jun 2020 20:03:47 +0000 (16:03 -0400)]
Bug in Grant statistics report

3 years agoMerge pull request #17516 from eileenmcnaughton/pf_field
Mathieu Lu [Tue, 16 Jun 2020 19:55:06 +0000 (15:55 -0400)]
Merge pull request #17516 from eileenmcnaughton/pf_field

Add EntityFormTrait to pricefieldForm - stdised getEntityId()

3 years agoMerge pull request #17634 from civicrm/5.27
Seamus Lee [Tue, 16 Jun 2020 10:04:27 +0000 (20:04 +1000)]
Merge pull request #17634 from civicrm/5.27

5.27

3 years agoMerge pull request #17635 from seamuslee001/5262_notes
Seamus Lee [Tue, 16 Jun 2020 10:00:57 +0000 (20:00 +1000)]
Merge pull request #17635 from seamuslee001/5262_notes

5.26.2 Release Notes

3 years agoUpdate 5.26.2.md
Tim Otten [Tue, 16 Jun 2020 08:25:08 +0000 (01:25 -0700)]
Update 5.26.2.md

3 years agoUpdate 5.26.2.md
Tim Otten [Tue, 16 Jun 2020 05:49:04 +0000 (22:49 -0700)]
Update 5.26.2.md

3 years ago5.26.2 Release Notes
Seamus Lee [Tue, 16 Jun 2020 00:27:55 +0000 (10:27 +1000)]
5.26.2 Release Notes

3 years agoMerge pull request #17632 from seamuslee001/dev_core_1806
Seamus Lee [Tue, 16 Jun 2020 08:13:00 +0000 (18:13 +1000)]
Merge pull request #17632 from seamuslee001/dev_core_1806

dev/core#1806 - Fix import of "Radio"-style custom fields using option "label"

3 years agodev/core#1806 Fix issue with importing radio custom data field using the option label
Seamus Lee [Tue, 16 Jun 2020 04:57:41 +0000 (14:57 +1000)]
dev/core#1806 Fix issue with importing radio custom data field using the option label

3 years agoMerge pull request #17631 from seamuslee001/master
Seamus Lee [Tue, 16 Jun 2020 04:21:01 +0000 (14:21 +1000)]
Merge pull request #17631 from seamuslee001/master

5.27

3 years agoRegenerate DAO
Seamus Lee [Tue, 16 Jun 2020 04:20:04 +0000 (14:20 +1000)]
Regenerate DAO

3 years agoMerge in 5.27
Seamus Lee [Tue, 16 Jun 2020 04:19:37 +0000 (14:19 +1000)]
Merge in 5.27

3 years agoMerge pull request #17628 from colemanw/customOptionsFallback
Tim Otten [Tue, 16 Jun 2020 04:14:39 +0000 (21:14 -0700)]
Merge pull request #17628 from colemanw/customOptionsFallback

dev/core#1816 - Legacy support for matching custom field options by label

3 years agoMerge pull request #17627 from demeritcowboy/deprecate-allactivitytypes
Seamus Lee [Tue, 16 Jun 2020 02:36:31 +0000 (12:36 +1000)]
Merge pull request #17627 from demeritcowboy/deprecate-allactivitytypes

dev/core#1433 - Add deprecation warning for CRM_Case_XMLProcessor::allActivityTypes

3 years agodev/core#1816 - Legacy support for matching custom field options by label
Coleman Watts [Tue, 16 Jun 2020 00:15:02 +0000 (20:15 -0400)]
dev/core#1816 - Legacy support for matching custom field options by label

3 years agoMerge pull request #17625 from demeritcowboy/missing-activitytype-5.27
Seamus Lee [Tue, 16 Jun 2020 00:58:31 +0000 (10:58 +1000)]
Merge pull request #17625 from demeritcowboy/missing-activitytype-5.27

dev/core#1822 - Fix missing newly created activity types from the dropdown on the new activity form

3 years agoadd deprecation warning
demeritcowboy [Tue, 16 Jun 2020 00:13:53 +0000 (20:13 -0400)]
add deprecation warning

3 years agoMerge pull request #17622 from seamuslee001/smart_group_error
Seamus Lee [Tue, 16 Jun 2020 00:07:14 +0000 (10:07 +1000)]
Merge pull request #17622 from seamuslee001/smart_group_error

Fix issue with building smart groups when  is empty

3 years agofix missing newly created activity types
demeritcowboy [Mon, 15 Jun 2020 23:32:47 +0000 (19:32 -0400)]
fix missing newly created activity types

3 years agoMerge pull request #17619 from seamuslee001/dev_core_1823_alt
Seamus Lee [Mon, 15 Jun 2020 23:33:02 +0000 (09:33 +1000)]
Merge pull request #17619 from seamuslee001/dev_core_1823_alt

dev/core#1823 Fix building the Price Field visibility options

3 years agoMerge pull request #17616 from demeritcowboy/xml-acttype-more-more
Eileen McNaughton [Mon, 15 Jun 2020 23:03:33 +0000 (11:03 +1200)]
Merge pull request #17616 from demeritcowboy/xml-acttype-more-more

dev/core#1433 - Replace last instances of calls to CRM_Case_XMLProcessor::allActivityTypes()

3 years agoFix issue with building smart groups when is empty
Seamus Lee [Mon, 15 Jun 2020 23:01:59 +0000 (09:01 +1000)]
Fix issue with building smart groups when  is empty

3 years agodev/core#1823 Fix building the Price Field visibility options
Seamus Lee [Mon, 15 Jun 2020 22:00:54 +0000 (08:00 +1000)]
dev/core#1823 Fix building the Price Field visibility options

3 years agotest for case search form
demeritcowboy [Mon, 15 Jun 2020 14:33:02 +0000 (10:33 -0400)]
test for case search form

3 years agoreplace function that doesn't cache properly with the one it ends up calling which...
demeritcowboy [Mon, 15 Jun 2020 14:32:39 +0000 (10:32 -0400)]
replace function that doesn't cache properly with the one it ends up calling which does cache properly

3 years agoMerge pull request #17610 from eileenmcnaughton/tax
Seamus Lee [Mon, 15 Jun 2020 12:22:46 +0000 (22:22 +1000)]
Merge pull request #17610 from eileenmcnaughton/tax

dev/core#1603 remove places where taxAmount is rounded

3 years agoMerge pull request #17614 from demeritcowboy/xmlproc-acttypes-more
Seamus Lee [Mon, 15 Jun 2020 00:34:50 +0000 (10:34 +1000)]
Merge pull request #17614 from demeritcowboy/xmlproc-acttypes-more

dev/core#1433 - Replace call to CRM_Case_XMLProcessor::allActivityTypes() that doesn't cache properly

3 years agoreplace call to function that doesn't cache properly
demeritcowboy [Sun, 14 Jun 2020 21:45:10 +0000 (17:45 -0400)]
replace call to function that doesn't cache properly

3 years agoMerge pull request #17613 from civicrm/5.27
Eileen McNaughton [Sun, 14 Jun 2020 20:34:32 +0000 (08:34 +1200)]
Merge pull request #17613 from civicrm/5.27

5.27 to master

3 years agoMerge pull request #17607 from eileenmcnaughton/pi
Matthew Wire [Sun, 14 Jun 2020 20:32:57 +0000 (21:32 +0100)]
Merge pull request #17607 from eileenmcnaughton/pi

Fix payment instrument bug by using correct payment instrument

3 years agodev/core#1603 remove places where taxAmount is rounded
eileen [Sun, 14 Jun 2020 05:33:52 +0000 (17:33 +1200)]
dev/core#1603 remove places where taxAmount is rounded

3 years agoMerge pull request #17600 from seamuslee001/null_array_access
Seamus Lee [Sun, 14 Jun 2020 05:06:16 +0000 (15:06 +1000)]
Merge pull request #17600 from seamuslee001/null_array_access

[REF] Fix issue with using array access tools on NULL values

3 years ago[REF] Fix issue with using array access tools on NULL values
Seamus Lee [Sat, 13 Jun 2020 07:20:59 +0000 (17:20 +1000)]
[REF] Fix issue with using array access tools on NULL values

3 years agoMerge pull request #17604 from seamuslee001/incorrect_array_key_exist_group
Seamus Lee [Sun, 14 Jun 2020 03:58:53 +0000 (13:58 +1000)]
Merge pull request #17604 from seamuslee001/incorrect_array_key_exist_group

[REF] Replace incorrect usage of array_key_exists with property_exist…

3 years agoMerge pull request #17605 from eileenmcnaughton/membertest
Seamus Lee [Sun, 14 Jun 2020 03:58:38 +0000 (13:58 +1000)]
Merge pull request #17605 from eileenmcnaughton/membertest

[NFC] Add assertions to existing test to lock in current behaviour

3 years agoMerge pull request #17606 from seamuslee001/php74_mock
Seamus Lee [Sun, 14 Jun 2020 03:53:38 +0000 (13:53 +1000)]
Merge pull request #17606 from seamuslee001/php74_mock

[NFC] Update mocking to use getMockBuilder instead instead of createMock

3 years agoFix payment instrument bug by using correct payment instrument
eileen [Sun, 14 Jun 2020 02:36:46 +0000 (14:36 +1200)]
Fix payment instrument bug by using correct payment instrument

Per https://github.com/civicrm/civicrm-core/pull/17589 it is necessary that we do NOT pass the wrong payment_instrument_id
to the payment processor. BUT we have to provide accurate defaults for manual payments. This is a narrower fix than

- back office membership form
- back office participant form
- back office contribution form

and in all cases the Manual processor still loaded correctly. I don't feel I can say this is the last fix in this
area but it stands alone as a sensible fix to do and also one that should address the immediate issue.

Note there is some weirdness in a second function in EventFees - that function should GO IMHO - but I have not yet reached it in
UI testing to confirm if other changes need to be made.

3 years ago[NFC] Update mocking to use getMockBuilder instead instead of createMock
Seamus Lee [Sun, 14 Jun 2020 02:22:23 +0000 (12:22 +1000)]
[NFC] Update mocking to use getMockBuilder instead instead of createMock

3 years ago[NFC] Add assertions to existing test to lock in current behaviour
eileen [Sun, 14 Jun 2020 01:57:07 +0000 (13:57 +1200)]
[NFC] Add assertions to existing test to lock in current behaviour

Per standard tdd refactoring I'm adding tests before I alter the code that is tested. Note that the code
has quite a bit I think can go

3 years ago[REF] Replace incorrect usage of array_key_exists with property_exists in Group BAO...
Seamus Lee [Sun, 14 Jun 2020 01:43:25 +0000 (11:43 +1000)]
[REF] Replace incorrect usage of array_key_exists with property_exists in Group BAO Class

3 years agoMerge pull request #17596 from eileenmcnaughton/deprecation
Seamus Lee [Sun, 14 Jun 2020 01:11:01 +0000 (11:11 +1000)]
Merge pull request #17596 from eileenmcnaughton/deprecation

dev/financial#131 Give deprecation notice if the payment processor returns an error

3 years agoMerge pull request #17597 from eileenmcnaughton/dopayment
Seamus Lee [Sun, 14 Jun 2020 01:10:23 +0000 (11:10 +1000)]
Merge pull request #17597 from eileenmcnaughton/dopayment

dev/financial#131 Remove last places where Core Processors return error object

3 years agoMerge pull request #17564 from eileenmcnaughton/renewd
Seamus Lee [Sun, 14 Jun 2020 00:54:11 +0000 (10:54 +1000)]
Merge pull request #17564 from eileenmcnaughton/renewd

[REF] Add test for renewing old expired membership via form

3 years agoMerge pull request #17598 from seamuslee001/php74_packages
Eileen McNaughton [Sun, 14 Jun 2020 00:53:50 +0000 (12:53 +1200)]
Merge pull request #17598 from seamuslee001/php74_packages

[REF] Update packages to work with PHP7.4

3 years agoMerge pull request #17601 from seamuslee001/array_key_exists_fix
Eileen McNaughton [Sun, 14 Jun 2020 00:42:31 +0000 (12:42 +1200)]
Merge pull request #17601 from seamuslee001/array_key_exists_fix

[REF] Fix another couple of uses of array_key_exists when the variabl…

3 years agoMerge pull request #17599 from seamuslee001/array_key_offsets
Eileen McNaughton [Sun, 14 Jun 2020 00:42:02 +0000 (12:42 +1200)]
Merge pull request #17599 from seamuslee001/array_key_offsets

[REF] Fix some additional issues where curly braces were being used t…

3 years agoMerge pull request #17603 from mattwire/cleanuprecurtpl
Seamus Lee [Sat, 13 Jun 2020 22:48:54 +0000 (08:48 +1000)]
Merge pull request #17603 from mattwire/cleanuprecurtpl

NFC Formatting cleanup on contribution/recur templates

3 years ago[REF] Update packages to work with PHP7.4
Seamus Lee [Sat, 13 Jun 2020 07:20:40 +0000 (17:20 +1000)]
[REF] Update packages to work with PHP7.4

Update to use latest master zetacomponents/mail as php74 fix has been incoporated

Update to tagged release of zetacomponents

3 years agoMerge pull request #16918 from mattwire/smartyerrorevent
Seamus Lee [Sat, 13 Jun 2020 22:33:32 +0000 (08:33 +1000)]
Merge pull request #16918 from mattwire/smartyerrorevent

Add smarty error event

3 years agoFormatting cleanup on contribution/recur templates
Matthew Wire [Sat, 13 Jun 2020 12:05:35 +0000 (13:05 +0100)]
Formatting cleanup on contribution/recur templates

3 years ago[REF] Fix another couple of uses of array_key_exists when the variable being checked...
Seamus Lee [Sat, 13 Jun 2020 07:22:21 +0000 (17:22 +1000)]
[REF] Fix another couple of uses of array_key_exists when the variable being checked is an object

3 years ago[REF] Fix some additional issues where curly braces were being used to access string...
Seamus Lee [Sat, 13 Jun 2020 07:20:47 +0000 (17:20 +1000)]
[REF] Fix some additional issues where curly braces were being used to access string or array offsets

3 years agoMerge pull request #17551 from eileenmcnaughton/guzzle
Seamus Lee [Sat, 13 Jun 2020 04:43:28 +0000 (14:43 +1000)]
Merge pull request #17551 from eileenmcnaughton/guzzle

dev/core#1803 Update guzzlehttp, psr7, psrlog, cxn-pc

3 years agodev/financial#131 Remove last places where Core Processors return error object
eileen [Sat, 13 Jun 2020 02:28:47 +0000 (14:28 +1200)]
dev/financial#131 Remove last places where Core Processors return error object

3 years agodev/financial#131 Give deprecation notice if the payment processor returns an error
eileen [Sat, 13 Jun 2020 01:18:11 +0000 (13:18 +1200)]
dev/financial#131 Give deprecation notice if the payment processor returns an error

This notice will show up on dev sites & should highlight the expectation that processors throw errors

3 years agoMerge pull request #17522 from seamuslee001/remove_deprecated_methods
Seamus Lee [Sat, 13 Jun 2020 00:06:54 +0000 (10:06 +1000)]
Merge pull request #17522 from seamuslee001/remove_deprecated_methods

[REF] Remove deprecated methods of booting drupal container and getti…

3 years agoMerge pull request #17593 from seamuslee001/fix_requirements_version
Seamus Lee [Sat, 13 Jun 2020 00:02:38 +0000 (10:02 +1000)]
Merge pull request #17593 from seamuslee001/fix_requirements_version

Fix retrieving MySQL version for checking as part of install requirem…

3 years agoMerge pull request #17592 from eileenmcnaughton/junc
Seamus Lee [Fri, 12 Jun 2020 23:58:29 +0000 (09:58 +1000)]
Merge pull request #17592 from eileenmcnaughton/junc

dev/financial#131 Remove legacy error handling from Paypal code.

3 years agoFix retrieving MySQL version for checking as part of install requirements
Seamus Lee [Fri, 12 Jun 2020 22:26:22 +0000 (08:26 +1000)]
Fix retrieving MySQL version for checking as part of install requirements

3 years agodev/financial#131 Remove legacy error handling from Paypal code.
eileen [Fri, 12 Jun 2020 22:21:57 +0000 (10:21 +1200)]
dev/financial#131 Remove legacy error handling from Paypal code.

https://lab.civicrm.org/dev/financial/-/issues/131

3 years agoMerge pull request #17579 from colemanw/menubarSep
Seamus Lee [Fri, 12 Jun 2020 22:24:48 +0000 (08:24 +1000)]
Merge pull request #17579 from colemanw/menubarSep

Update has_separator field in civicrm_navigation

3 years agoMerge pull request #17585 from eileenmcnaughton/anetup
Seamus Lee [Fri, 12 Jun 2020 22:20:30 +0000 (08:20 +1000)]
Merge pull request #17585 from eileenmcnaughton/anetup

[Ref] Convert Authorize.net to use Guzzle for update subscription class, add test

3 years agoMerge pull request #17487 from eileenmcnaughton/date
Mathieu Lu [Fri, 12 Jun 2020 13:07:51 +0000 (09:07 -0400)]
Merge pull request #17487 from eileenmcnaughton/date

[Ref] Mark unused date functions as deprecated

3 years agoMerge pull request #17144 from lcdservices/dev-core-1716
Seamus Lee [Fri, 12 Jun 2020 11:06:15 +0000 (21:06 +1000)]
Merge pull request #17144 from lcdservices/dev-core-1716

dev/core#1716 add customPre hook

3 years agoMerge pull request #17563 from eileenmcnaughton/pending
Seamus Lee [Fri, 12 Jun 2020 11:04:04 +0000 (21:04 +1000)]
Merge pull request #17563 from eileenmcnaughton/pending

Remove unreachable lines

3 years agoMerge pull request #17581 from mlutfy/EventInfoCleanup
Matthew Wire [Fri, 12 Jun 2020 09:32:51 +0000 (10:32 +0100)]
Merge pull request #17581 from mlutfy/EventInfoCleanup

EventInfo template cleanup

3 years agoMerge pull request #17321 from artfulrobot/artfulrobot-identify-request-key
Matthew Wire [Fri, 12 Jun 2020 09:31:38 +0000 (10:31 +0100)]
Merge pull request #17321 from artfulrobot/artfulrobot-identify-request-key

Allow HEAD requests to generate a form key

3 years agoMerge pull request #17587 from civicrm/5.27
Seamus Lee [Fri, 12 Jun 2020 09:29:14 +0000 (19:29 +1000)]
Merge pull request #17587 from civicrm/5.27

5.27

3 years agoMerge pull request #17586 from seamuslee001/wip_56_test_fixes
Seamus Lee [Fri, 12 Jun 2020 05:08:53 +0000 (15:08 +1000)]
Merge pull request #17586 from seamuslee001/wip_56_test_fixes

[REF] Fix unit test failures on MySQL 5.6 due to Custom Field table being created without Dynamic Row Format

3 years agoFix unit test failures on MySQL 5.6 due to Custom Field table being created without...
Seamus Lee [Fri, 12 Jun 2020 03:17:48 +0000 (13:17 +1000)]
Fix unit test failures on MySQL 5.6 due to Custom Field table being created without Dynamic Row Format

3 years ago[Ref] Convert Authorize.net to use Guzzle for update subscription, change subscriptio...
eileen [Thu, 11 Jun 2020 23:50:33 +0000 (11:50 +1200)]
[Ref] Convert Authorize.net to use Guzzle for update subscription, change subscription, add test

This is part of the effort to expand our testing & standardise core processors

3 years agoMerge pull request #17583 from civicrm/5.27
Seamus Lee [Fri, 12 Jun 2020 01:14:29 +0000 (11:14 +1000)]
Merge pull request #17583 from civicrm/5.27

5.27

3 years agoMerge pull request #17584 from eileenmcnaughton/process
Eileen McNaughton [Fri, 12 Jun 2020 00:28:53 +0000 (12:28 +1200)]
Merge pull request #17584 from eileenmcnaughton/process

Fix fatal error regression in master

3 years agoFix fatal error regression in master
eileen [Thu, 11 Jun 2020 23:17:06 +0000 (11:17 +1200)]
Fix fatal error regression in master

Fatal from this line due to pass by reference

https://github.com/civicrm/civicrm-core/pull/16514/files#diff-a8611c9a226a40b585001082b38467b0R207

3 years agoMerge pull request #17582 from colemanw/upgrade
Seamus Lee [Thu, 11 Jun 2020 22:45:20 +0000 (08:45 +1000)]
Merge pull request #17582 from colemanw/upgrade

Fix duplicate upgrade function

3 years agoMerge pull request #17577 from seamuslee001/deprecated_checks_money_value_format
Seamus Lee [Thu, 11 Jun 2020 22:45:03 +0000 (08:45 +1000)]
Merge pull request #17577 from seamuslee001/deprecated_checks_money_value_format

Add in deprecation notice and status check for a money value format co…

3 years agoMerge pull request #17567 from eileenmcnaughton/dupe_speed
Seamus Lee [Thu, 11 Jun 2020 22:06:43 +0000 (08:06 +1000)]
Merge pull request #17567 from eileenmcnaughton/dupe_speed

Dedupe performance - hard-remove financial_item from list of dymnamic  refs to contact table

3 years agoAdd in depreation notice and status check for a money value format configuration...
Seamus Lee [Thu, 11 Jun 2020 02:59:31 +0000 (12:59 +1000)]
Add in depreation notice and status check for a money value format configuration other than the default

Update to include issue link

Update to use CRM_Core_Error::deprecated function and mention deprecation notice on settings page

3 years agoMerge pull request #17565 from eileenmcnaughton/processor
Seamus Lee [Thu, 11 Jun 2020 21:38:10 +0000 (07:38 +1000)]
Merge pull request #17565 from eileenmcnaughton/processor

dev/financial#131 Fix Elavon processor to throw exceptions

3 years agoFix duplicate upgrade function
Coleman Watts [Thu, 11 Jun 2020 21:38:04 +0000 (17:38 -0400)]
Fix duplicate upgrade function

3 years agoMerge pull request #17531 from colemanw/customIcon
Eileen McNaughton [Thu, 11 Jun 2020 21:26:25 +0000 (09:26 +1200)]
Merge pull request #17531 from colemanw/customIcon

Add icons to multi-valued custom groups and display on contact tab

3 years agoMerge pull request #17576 from colemanw/emptyLeaf
Eileen McNaughton [Thu, 11 Jun 2020 21:25:29 +0000 (09:25 +1200)]
Merge pull request #17576 from colemanw/emptyLeaf

APIv4 - Skip empty leaves in WHERE clause

3 years agoEventInfo template cleanup.
Mathieu Lutfy [Thu, 11 Jun 2020 20:00:06 +0000 (16:00 -0400)]
EventInfo template cleanup.

3 years agoMerge pull request #17578 from yashodha/dev_1787
colemanw [Thu, 11 Jun 2020 17:34:50 +0000 (13:34 -0400)]
Merge pull request #17578 from yashodha/dev_1787

(dev/core#1787) Regression : File fields export results in DB error

3 years agoUpdate has_separator field in civicrm_navigation
Coleman Watts [Thu, 11 Jun 2020 15:55:05 +0000 (11:55 -0400)]
Update has_separator field in civicrm_navigation

This field was incorrectly marked as a boolean;
it's actually an int with an option list.

3 years ago(dev/core#1787) Regression : File fields export results in DB error
yashodha [Thu, 11 Jun 2020 14:09:19 +0000 (19:39 +0530)]
(dev/core#1787) Regression : File fields export results in DB error

3 years agoMerge pull request #17573 from seamuslee001/incorrect_use_array_key_exists
Seamus Lee [Thu, 11 Jun 2020 06:46:27 +0000 (16:46 +1000)]
Merge pull request #17573 from seamuslee001/incorrect_use_array_key_exists

[REF] Replace incorrect usages of array_key_exists when the variable …

3 years ago[REF] Replace incorrect usages of array_key_exists when the variable is not an array...
Seamus Lee [Wed, 10 Jun 2020 22:39:44 +0000 (08:39 +1000)]
[REF] Replace incorrect usages of array_key_exists when the variable is not an array with property_exists and also fix the parameter order for an implode statement

3 years agoMerge pull request #15796 from seamuslee001/dev_core_183_requirements
Seamus Lee [Thu, 11 Jun 2020 03:05:52 +0000 (13:05 +1000)]
Merge pull request #15796 from seamuslee001/dev_core_183_requirements

dev/core#183 Use CRM_Utils_SQL_TempTable for generating temp table na…

3 years agoAPIv4 - Skip empty leaves in WHERE clause
Coleman Watts [Thu, 11 Jun 2020 00:41:51 +0000 (20:41 -0400)]
APIv4 - Skip empty leaves in WHERE clause

Fixes an annoying problem with search builder
where the api gives a sql error while building your where clause.
The solution is to skip empty leaves, treating them as WIP.

3 years agoMerge pull request #17574 from seamuslee001/string_offsets_curly
Seamus Lee [Thu, 11 Jun 2020 00:29:28 +0000 (10:29 +1000)]
Merge pull request #17574 from seamuslee001/string_offsets_curly

[REF] Using {} to access string or array offsets has been deprecated …

3 years agoMerge pull request #17440 from eileenmcnaughton/log_summ
Seamus Lee [Thu, 11 Jun 2020 00:26:52 +0000 (10:26 +1000)]
Merge pull request #17440 from eileenmcnaughton/log_summ

dev/core#1749 Fix missing parameter in link to logging detail

3 years agoMerge pull request #15422 from artfulrobot/queue-parallel
Eileen McNaughton [Thu, 11 Jun 2020 00:18:34 +0000 (12:18 +1200)]
Merge pull request #15422 from artfulrobot/queue-parallel

Include a new SqlParallel queue type that enables multiple queue runners to process in parallel

3 years agoMerge pull request #17575 from seamuslee001/php74_deprecations
Seamus Lee [Wed, 10 Jun 2020 23:55:52 +0000 (09:55 +1000)]
Merge pull request #17575 from seamuslee001/php74_deprecations

[REF] Using ternary operation without nesting is deprecated and also …

3 years agoMerge pull request #17570 from seamuslee001/conact_type_populated
Seamus Lee [Wed, 10 Jun 2020 22:46:07 +0000 (08:46 +1000)]
Merge pull request #17570 from seamuslee001/conact_type_populated

[REF] Add in upgrade step to populate missing contact_type.name field

3 years ago[REF] Using ternary operation without nesting is deprecated and also using methods...
Seamus Lee [Wed, 10 Jun 2020 22:45:53 +0000 (08:45 +1000)]
[REF] Using ternary operation without nesting is deprecated and also using methods and properly instanciate the CiviCase Info object in test

3 years ago[REF] Using {} to access string or array offsets has been deprecated in PHP7.4
Seamus Lee [Wed, 10 Jun 2020 22:40:26 +0000 (08:40 +1000)]
[REF] Using {} to access string or array offsets has been deprecated in PHP7.4