Seamus Lee [Mon, 2 Jan 2023 22:08:16 +0000 (09:08 +1100)]
Merge pull request #25267 from eileenmcnaughton/no_input
Move part of deprecated function `loadRelatedObjects` to calling functions
Seamus Lee [Mon, 2 Jan 2023 21:01:51 +0000 (08:01 +1100)]
Merge pull request #25253 from braders/api3-properties
[REF][PHP8.2] Avoid dynamic properties in civicrm_api3 class
Seamus Lee [Mon, 2 Jan 2023 21:01:17 +0000 (08:01 +1100)]
Merge pull request #25252 from braders/empty-param-annotations
Remove empty param declarations in docblocks
Eileen McNaughton [Mon, 2 Jan 2023 20:43:04 +0000 (09:43 +1300)]
Move part of deprecated function loadRelatedObjects to calling functions
Eileen McNaughton [Mon, 2 Jan 2023 20:07:54 +0000 (09:07 +1300)]
Merge pull request #25266 from braders/phpdoc-fixes3
PHPDoc corrections
Bradley Taylor [Sat, 31 Dec 2022 23:37:26 +0000 (23:37 +0000)]
Remove empty param declarations in docblocks
demeritcowboy [Mon, 2 Jan 2023 17:48:03 +0000 (12:48 -0500)]
Merge pull request #25265 from braders/tagelement-property-removal
(REF) Remove _tagElement dynamic property
demeritcowboy [Mon, 2 Jan 2023 17:31:30 +0000 (12:31 -0500)]
Merge pull request #25261 from eileenmcnaughton/notice
Smarty notice fix on contact search results
Bradley Taylor [Mon, 2 Jan 2023 16:52:10 +0000 (16:52 +0000)]
PHPDoc corrections
Bradley Taylor [Mon, 2 Jan 2023 16:18:47 +0000 (16:18 +0000)]
(REF) Remove _tagElement dynamic property
Matthew Wire [Mon, 2 Jan 2023 09:49:55 +0000 (09:49 +0000)]
Merge pull request #25238 from eileenmcnaughton/is_separate
Extract `getMembershipBlock`
Yashodha Chaku [Mon, 2 Jan 2023 07:52:10 +0000 (13:22 +0530)]
Merge pull request #25263 from eileenmcnaughton/by_ref
Remove unnecessary pass-by-ref
Eileen McNaughton [Mon, 2 Jan 2023 06:02:44 +0000 (19:02 +1300)]
Remove unnecessary pass-by-ref
Eileen McNaughton [Mon, 2 Jan 2023 04:34:14 +0000 (17:34 +1300)]
Smarty notice fix on contact search results
demeritcowboy [Mon, 2 Jan 2023 01:57:50 +0000 (20:57 -0500)]
Merge pull request #25257 from eileenmcnaughton/unused
Remove unused variable
Yashodha Chaku [Mon, 2 Jan 2023 01:45:09 +0000 (07:15 +0530)]
Merge pull request #25255 from eileenmcnaughton/test_simp
Simplify dataProvider in queryTest
Eileen McNaughton [Mon, 2 Jan 2023 00:16:48 +0000 (13:16 +1300)]
Remove unused variable
Eileen McNaughton [Mon, 2 Jan 2023 00:02:51 +0000 (13:02 +1300)]
Simplify dataProvider in queryTest
This data provider really is not doing much more than returning
an array - but it's adding confusing complexity and a maintenance
need (as can be seen by the fact it has been edited for php 8 compatibility
Bradley Taylor [Sun, 1 Jan 2023 15:09:54 +0000 (15:09 +0000)]
[REF][PHP8.2] Avoid dynamic properties in civicrm_api3 class
Eileen McNaughton [Sat, 31 Dec 2022 23:10:06 +0000 (12:10 +1300)]
Merge pull request #25246 from braders/payment-getbyclass-return-type
(NFC) Fix documented return type on getByClass method
Bradley Taylor [Sat, 31 Dec 2022 20:10:30 +0000 (20:10 +0000)]
(NFC) Fix documented return type on getByClass method
Eileen McNaughton [Fri, 30 Dec 2022 22:30:45 +0000 (11:30 +1300)]
Merge pull request #25243 from braders/php82_mailbox_dynamic_properties
[REF][PHP8.2] Avoid dynamic properties in mailstores
Eileen McNaughton [Fri, 30 Dec 2022 22:26:23 +0000 (11:26 +1300)]
Merge pull request #25244 from braders/php82_signer_dynamic_props
[REF][PHP8.2] Avoid dynamic properties in CRM_Utils_Signer
demeritcowboy [Fri, 30 Dec 2022 20:02:30 +0000 (15:02 -0500)]
Merge pull request #25221 from eileenmcnaughton/cust_ed3
[REF] [merge custom fields function] Stop returning unaltered cFields parameter (good unit test cover)
Bradley Taylor [Fri, 30 Dec 2022 19:56:44 +0000 (19:56 +0000)]
[REF][PHP8.2] Avoid dynamic properties in CRM_Utils_Signer
demeritcowboy [Fri, 30 Dec 2022 16:07:43 +0000 (11:07 -0500)]
Merge pull request #25242 from braders/var-docblock-type-order
(NFC) When using @var annotations, ensure type comes first
Bradley Taylor [Fri, 30 Dec 2022 13:51:21 +0000 (13:51 +0000)]
[REF][PHP8.2] Avoid dynamic properties in mailstores
Bradley Taylor [Fri, 30 Dec 2022 10:47:09 +0000 (10:47 +0000)]
When using @var annotations, ensure type comes first
Yashodha Chaku [Fri, 30 Dec 2022 04:13:47 +0000 (09:43 +0530)]
Merge pull request #25234 from braders/unused-line
[NFC] Remove line that does nothing
Yashodha Chaku [Fri, 30 Dec 2022 04:10:12 +0000 (09:40 +0530)]
Merge pull request #25240 from eileenmcnaughton/cancel
Remove legacy code payment processor handling
Eileen McNaughton [Fri, 30 Dec 2022 00:28:47 +0000 (13:28 +1300)]
Merge pull request #25236 from braders/shouldexitafterfatal-docblock
[NFC] Fix @method documentation for shouldExitAfterFatal
Eileen McNaughton [Fri, 30 Dec 2022 00:03:27 +0000 (13:03 +1300)]
Remove legacy code payment processor handling
Eileen McNaughton [Thu, 29 Dec 2022 23:31:08 +0000 (12:31 +1300)]
Extract getMembershipBlock
Bradley Taylor [Thu, 29 Dec 2022 21:54:20 +0000 (21:54 +0000)]
Fix @method documentation for shouldExitAfterFatal
Eileen McNaughton [Thu, 29 Dec 2022 21:44:29 +0000 (10:44 +1300)]
Merge pull request #25230 from braders/php8-customdatabytype
[REF] Fix strstr deprecation in CustomDataByType class
Eileen McNaughton [Thu, 29 Dec 2022 21:42:41 +0000 (10:42 +1300)]
Merge pull request #25233 from braders/remove-isHtml
Remove broken method CRM_Utils_File::isHtml()
Bradley Taylor [Thu, 29 Dec 2022 21:31:18 +0000 (21:31 +0000)]
Remove line that does nothing
Bradley Taylor [Thu, 29 Dec 2022 20:10:22 +0000 (20:10 +0000)]
Remove broken method CRM_Utils_File::isHtml()
Bradley Taylor [Wed, 28 Dec 2022 20:35:28 +0000 (20:35 +0000)]
Fix strstr deprecation in CustomDataByType class
Yashodha Chaku [Wed, 28 Dec 2022 09:56:42 +0000 (15:26 +0530)]
Merge pull request #25227 from eileenmcnaughton/dedupe_rule
Support DedupeRules as Managed entities
Eileen McNaughton [Wed, 28 Dec 2022 07:01:57 +0000 (20:01 +1300)]
Merge pull request #25228 from civicrm/5.57
5.57 to master
Eileen McNaughton [Wed, 28 Dec 2022 07:01:22 +0000 (20:01 +1300)]
Merge pull request #25225 from agh1/5.57.0-releasenotes-initial
5.57.0 release notes initial run
Eileen McNaughton [Wed, 28 Dec 2022 01:02:21 +0000 (14:02 +1300)]
Support DedupeRules as Managed entities
Andie Hunt [Tue, 27 Dec 2022 21:23:49 +0000 (16:23 -0500)]
5.57.0 release notes: added boilerplate
Andie Hunt [Tue, 27 Dec 2022 14:57:39 +0000 (09:57 -0500)]
5.57.0 release notes: raw from script
Yashodha Chaku [Tue, 27 Dec 2022 05:01:05 +0000 (10:31 +0530)]
Merge pull request #25223 from eileenmcnaughton/dep_opt
Remove deprecated ids from OptionValue::add
Eileen McNaughton [Tue, 27 Dec 2022 02:49:32 +0000 (15:49 +1300)]
Remove deprecated ids from OptionValue::add
Eileen McNaughton [Mon, 26 Dec 2022 22:09:36 +0000 (11:09 +1300)]
Stop returning unaltered cFields parameter
demeritcowboy [Fri, 23 Dec 2022 19:03:21 +0000 (14:03 -0500)]
Merge pull request #25217 from braders/profile-image-accept-types
Only allow valid image types to be uploaded to image_URL field on profiles
demeritcowboy [Fri, 23 Dec 2022 18:09:31 +0000 (13:09 -0500)]
Merge pull request #25216 from civicrm/5.57
5.57
Bradley Taylor [Fri, 23 Dec 2022 17:05:03 +0000 (17:05 +0000)]
Only allow valid image types to be uploaded to image_URL field on profiles
Yashodha Chaku [Fri, 23 Dec 2022 08:06:03 +0000 (13:36 +0530)]
Merge pull request #25213 from demeritcowboy/fract-qty
dev/core#4039 - Restore ability to have fractional quantity for text price fields
demeritcowboy [Fri, 23 Dec 2022 00:15:22 +0000 (19:15 -0500)]
restore ability to have fractional quantity
demeritcowboy [Thu, 22 Dec 2022 21:34:23 +0000 (16:34 -0500)]
Merge pull request #25212 from seamuslee001/ref_composer_patches
[REF][PHP8.2] Update Composer Patches to latest version to fix notice…
Seamus Lee [Thu, 22 Dec 2022 19:51:51 +0000 (06:51 +1100)]
[REF][PHP8.2] Update Composer Patches to latest version to fix notice issue in php8.2
Seamus Lee [Wed, 21 Dec 2022 07:31:36 +0000 (18:31 +1100)]
Merge pull request #25201 from demeritcowboy/empty-checkbox
[NFC] php8 - Unit test for empty checkbox array #23305
demeritcowboy [Wed, 21 Dec 2022 03:10:32 +0000 (22:10 -0500)]
Merge pull request #25208 from civicrm/5.57
5.57
Eileen McNaughton [Tue, 20 Dec 2022 22:18:25 +0000 (11:18 +1300)]
Merge pull request #25204 from kurund/contribution-import-fix
dev/core#4038 import contribution fixes in update mode
demeritcowboy [Tue, 20 Dec 2022 18:46:05 +0000 (13:46 -0500)]
Merge pull request #23305 from ginkgomzd/custom-empty-array
correct logic for handling empty-array values for checkboxes;
demeritcowboy [Tue, 20 Dec 2022 17:18:43 +0000 (12:18 -0500)]
Merge pull request #25205 from mattwire/activityimporttypo
NFC: Fix variable name in activity import
ginkgoMZD [Tue, 20 Dec 2022 15:52:58 +0000 (10:52 -0500)]
correctly handle empty arrays in custom-fields;
Matthew Wire [Tue, 20 Dec 2022 13:03:32 +0000 (13:03 +0000)]
Fix variable name in activity import
Kurund Jalmi [Tue, 20 Dec 2022 10:06:25 +0000 (10:06 +0000)]
import contribution fixes in update mode
demeritcowboy [Tue, 20 Dec 2022 03:26:40 +0000 (22:26 -0500)]
Merge pull request #25202 from seamuslee001/php82_deprecation_classvariables
[REF][PHP8.2] Further resolve some deprecation issues around dynamic …
demeritcowboy [Mon, 19 Dec 2022 19:39:40 +0000 (14:39 -0500)]
failing test for empty checkbox array
Seamus Lee [Mon, 19 Dec 2022 22:55:05 +0000 (09:55 +1100)]
Merge pull request #25203 from seamuslee001/update_compile_lib
[REF] Update Composer Compile Lib with latest version
Seamus Lee [Mon, 19 Dec 2022 20:54:20 +0000 (20:54 +0000)]
[REF][PHP8.2] Further resolve some deprecation issues around dynamic class properties
Seamus Lee [Mon, 19 Dec 2022 21:23:12 +0000 (08:23 +1100)]
[REF] Update Composer Compile Lib with latest version
Seamus Lee [Mon, 19 Dec 2022 20:24:44 +0000 (07:24 +1100)]
Merge pull request #25186 from eileenmcnaughton/data_array
Remove reference to 'dataArray' from text version of contribution_online_receipt
demeritcowboy [Mon, 19 Dec 2022 19:25:31 +0000 (14:25 -0500)]
Merge pull request #25200 from MegaphoneJon/gotv-static
PHP8: callback function on GOTV must be static
demeritcowboy [Mon, 19 Dec 2022 18:19:18 +0000 (13:19 -0500)]
Merge pull request #25178 from totten/master-civiunitestcase
(REF) CiviUnitTestCase - Cleanup and simplify the DB-reset mechanism
Jon Goldberg [Mon, 19 Dec 2022 17:33:59 +0000 (12:33 -0500)]
callback function on GOTV must be static
colemanw [Mon, 19 Dec 2022 15:33:31 +0000 (10:33 -0500)]
Merge pull request #25164 from alifrumin/mailingLabels
[dev/core#3470] Search Kit: Mailing labels don't work
Yashodha Chaku [Mon, 19 Dec 2022 04:25:44 +0000 (09:55 +0530)]
Merge pull request #25193 from demeritcowboy/act-targ
E_WARNING on bulk email activity view
Eileen McNaughton [Mon, 19 Dec 2022 00:31:44 +0000 (13:31 +1300)]
Merge pull request #25197 from colemanw/fixOptions
SearchKit - Fix option loading & rendering for in-place edit
Seamus Lee [Sun, 18 Dec 2022 22:20:19 +0000 (09:20 +1100)]
Merge pull request #25147 from colemanw/bumpPhpMin
Bump min PHP version to 7.3.0
Eileen McNaughton [Sun, 18 Dec 2022 02:27:00 +0000 (15:27 +1300)]
Merge pull request #25120 from briennekordis/event_fees_tab
Configure Event Fees tab
demeritcowboy [Sun, 18 Dec 2022 00:11:15 +0000 (19:11 -0500)]
Merge pull request #25196 from seamuslee001/php82_errors_2
[REF] Fix a couple of errors in PHP8.2
demeritcowboy [Sun, 18 Dec 2022 00:11:03 +0000 (19:11 -0500)]
Merge pull request #25173 from eileenmcnaughton/no_const
Standardise method of getting entity in imports
demeritcowboy [Sun, 18 Dec 2022 00:10:42 +0000 (19:10 -0500)]
Merge pull request #25194 from eileenmcnaughton/build_divide
Post code-divide tidy-up
demeritcowboy [Sat, 17 Dec 2022 23:10:39 +0000 (18:10 -0500)]
Merge pull request #25154 from totten/master-month-names
CRM_Utils_Date - Get month names from IntlDateFormatter. Ignore timezones.
Coleman Watts [Sat, 17 Dec 2022 23:02:15 +0000 (18:02 -0500)]
SearchKit - Fix option loading & rendering for in-place edit
Fixes dev/core#4037
Eileen McNaughton [Wed, 14 Dec 2022 20:26:04 +0000 (09:26 +1300)]
Standardise method of getting entity
Seamus Lee [Sat, 17 Dec 2022 21:56:13 +0000 (08:56 +1100)]
[REF] Fix a couple of errors in PHP8.2
Eileen McNaughton [Fri, 16 Dec 2022 23:17:45 +0000 (12:17 +1300)]
Post code-divide tidy-up
Follow up to https://github.com/civicrm/civicrm-core/pull/25184
demeritcowboy [Fri, 16 Dec 2022 20:31:31 +0000 (15:31 -0500)]
E_NOTICE
demeritcowboy [Fri, 16 Dec 2022 20:25:09 +0000 (15:25 -0500)]
Merge pull request #25192 from mlutfy/addCroatian
List of languages: Enable Croatian language by default
demeritcowboy [Fri, 16 Dec 2022 19:12:41 +0000 (14:12 -0500)]
Merge pull request #25190 from civicrm/5.57
5.57
Mathieu Lutfy [Fri, 16 Dec 2022 18:48:45 +0000 (13:48 -0500)]
List of languages: Enable Croatian language by default
demeritcowboy [Fri, 16 Dec 2022 17:19:33 +0000 (12:19 -0500)]
Merge pull request #25189 from MegaphoneJon/batch-form-entity
Fix 'cannot determine default entity' error on New Batch page
demeritcowboy [Fri, 16 Dec 2022 15:33:11 +0000 (10:33 -0500)]
Merge pull request #25184 from eileenmcnaughton/build_divide
Divide & conquer, `initSet` no longer shared as much code is not
Jon Goldberg [Fri, 16 Dec 2022 15:24:30 +0000 (10:24 -0500)]
Fix 'cannot determine default entity' error on New Batch page
Tim Otten [Fri, 16 Dec 2022 10:46:36 +0000 (02:46 -0800)]
Merge pull request #25179 from jaapjansma/civix_issue_257
totten/civix#257 Fix Civix not correctly loading Mixinx
Eileen McNaughton [Fri, 16 Dec 2022 06:42:06 +0000 (19:42 +1300)]
Remove reference to 'dataArray' from text version of contribution_online_receipt
Tim Otten [Thu, 15 Dec 2022 08:36:04 +0000 (00:36 -0800)]
CiviUnitTestCase - Simplify console message. Remove unused method 'getDBName()'.
Tim Otten [Thu, 15 Dec 2022 08:31:45 +0000 (00:31 -0800)]
CiviUnitTestCase - Inline method '_populateDB()'
At this point, it's just a bunch of verbosely written conditions that
appear to be trueisms;
* When called via `setUpBeforeClass()`, the `$perClass` flag is TRUE,
so it does the reset.
* When called via `setUp()`, the `$object` flag is non-null,
so it does the reset.
At this point, the actual reset bit is 1-line. Easier to just call that.
Tim Otten [Thu, 15 Dec 2022 08:26:46 +0000 (00:26 -0800)]
CiviUnitTestCase - Extract method 'buildEnvironment'. Future target for method-overrides.
Tim Otten [Thu, 15 Dec 2022 07:13:02 +0000 (23:13 -0800)]
CiviUnitTestCase - Move UF check
In practice, this check is the first thing done by `setUpBeforeClass()`.
Might as well move it there.
Technically, this check is also called by way of `setUp()`, but it's
redundant at that point. (Constants are constants...)
Tim Otten [Thu, 15 Dec 2022 07:04:05 +0000 (23:04 -0800)]
CiviUnitTestCase - Inline misleading function 'getConnection'
This function returns a connection that nobody uses. It has only one
caller. It's mostly interesting because it can reset the database.
Hiding it under the name `getConnection` is misleading.
Tim Otten [Thu, 15 Dec 2022 07:02:11 +0000 (23:02 -0800)]
CiviUnitTestCase - Remove unused property $_dbconn