civicrm-core.git
21 months agoMerge pull request #25463 from demeritcowboy/profile-null
Seamus Lee [Mon, 30 Jan 2023 21:19:56 +0000 (08:19 +1100)]
Merge pull request #25463 from demeritcowboy/profile-null

php8 - don't pass null to htmlspecialchars on profile admin page

21 months agoMerge pull request #25462 from demeritcowboy/number
Eileen McNaughton [Mon, 30 Jan 2023 20:54:06 +0000 (09:54 +1300)]
Merge pull request #25462 from demeritcowboy/number

dev/core#4097 - Add deprecation notice as per comments at #25448

21 months agoMerge pull request #25453 from eileenmcnaughton/notice_no_display
demeritcowboy [Mon, 30 Jan 2023 18:11:25 +0000 (13:11 -0500)]
Merge pull request #25453 from eileenmcnaughton/notice_no_display

Smarty notice fix - check array key exists before querying

21 months agodon't pass null to htmlspecialchars
demeritcowboy [Mon, 30 Jan 2023 17:44:38 +0000 (12:44 -0500)]
don't pass null to htmlspecialchars

21 months agoMerge pull request #25323 from herbdool/core-4074
demeritcowboy [Mon, 30 Jan 2023 15:56:07 +0000 (10:56 -0500)]
Merge pull request #25323 from herbdool/core-4074

(dev/core#4074) Make CRM_Core_BAO_CMSUser CMS agnostic

21 months agoadd deprecation notice
demeritcowboy [Mon, 30 Jan 2023 13:12:38 +0000 (08:12 -0500)]
add deprecation notice

21 months agoMerge pull request #25448 from redcuillin/stringfix_formatLocaleNumeric
demeritcowboy [Mon, 30 Jan 2023 13:09:13 +0000 (08:09 -0500)]
Merge pull request #25448 from redcuillin/stringfix_formatLocaleNumeric

dev/core#4097 Fix empty string $amount error

21 months agoMerge pull request #25452 from eileenmcnaughton/notice
Yashodha Chaku [Mon, 30 Jan 2023 09:13:21 +0000 (14:43 +0530)]
Merge pull request #25452 from eileenmcnaughton/notice

Report tpl enotices fix

21 months agoMerge pull request #25459 from eileenmcnaughton/is_test
Seamus Lee [Mon, 30 Jan 2023 01:13:04 +0000 (12:13 +1100)]
Merge pull request #25459 from eileenmcnaughton/is_test

Fix some more smarty assignments to assign even when FALSE

21 months agoFix some more smarty assignments to assign even when FALSE
Eileen McNaughton [Sun, 29 Jan 2023 23:29:22 +0000 (12:29 +1300)]
Fix some more smarty assignments to assign even when FALSE

22 months agoAnother array_key_exists check for notice purposes
Eileen McNaughton [Sun, 29 Jan 2023 00:26:34 +0000 (13:26 +1300)]
Another array_key_exists check for notice purposes

22 months agoMerge pull request #25451 from eileenmcnaughton/num
demeritcowboy [Sun, 29 Jan 2023 00:24:55 +0000 (19:24 -0500)]
Merge pull request #25451 from eileenmcnaughton/num

Do not attempt to format custom value of empty string

22 months agoSmarty notice fix - check array key exists before querying
Eileen McNaughton [Sun, 29 Jan 2023 00:19:46 +0000 (13:19 +1300)]
Smarty notice fix - check array key exists before querying

22 months agoReport tpl enotice fix
Eileen McNaughton [Sun, 29 Jan 2023 00:09:22 +0000 (13:09 +1300)]
Report tpl enotice fix

22 months agoDo not attempt to format custom value of empty string
Eileen McNaughton [Sat, 28 Jan 2023 23:35:19 +0000 (12:35 +1300)]
Do not attempt to format custom value of empty string

22 months agoMerge pull request #25450 from braders/tidyup-detail-test
Seamus Lee [Sat, 28 Jan 2023 22:12:37 +0000 (09:12 +1100)]
Merge pull request #25450 from braders/tidyup-detail-test

[REF][PHP8.2] Tidy up of CRM_Report_Form_Member_DetailTest

22 months agoMerge pull request #25447 from braders/properties-hooktest
Seamus Lee [Sat, 28 Jan 2023 22:11:55 +0000 (09:11 +1100)]
Merge pull request #25447 from braders/properties-hooktest

[REF][PHP8.2] Declare missing property on CRM_Utils_HookTest

22 months ago[REF][PHP8.2] Tidy up of CRM_Report_Form_Member_DetailTest
Bradley Taylor [Sat, 28 Jan 2023 20:28:37 +0000 (20:28 +0000)]
[REF][PHP8.2] Tidy up of CRM_Report_Form_Member_DetailTest

22 months ago[REF][PHP8.2] Declare missing property on CRM_Utils_HookTest
Bradley Taylor [Fri, 27 Jan 2023 20:49:41 +0000 (20:49 +0000)]
[REF][PHP8.2] Declare missing property on CRM_Utils_HookTest

22 months agoMerge pull request #25449 from braders/dynamic-properties-participant-test
demeritcowboy [Sat, 28 Jan 2023 19:25:15 +0000 (14:25 -0500)]
Merge pull request #25449 from braders/dynamic-properties-participant-test

[REF][PHP8.2] Avoid dynamic properties in CRM_Event_BAO_ParticipantTest

22 months agoMerge pull request #25426 from seamuslee001/php82_payment_insturment_contribution
demeritcowboy [Sat, 28 Jan 2023 19:22:21 +0000 (14:22 -0500)]
Merge pull request #25426 from seamuslee001/php82_payment_insturment_contribution

[REF][PHP8.2] Fix Dynamic property payment instrument id on back offi…

22 months ago[REF][PHP8.2] Avoid dynamic properties in CRM_Event_BAO_ParticipantTest
Bradley Taylor [Sat, 28 Jan 2023 13:30:49 +0000 (13:30 +0000)]
[REF][PHP8.2] Avoid dynamic properties in CRM_Event_BAO_ParticipantTest

22 months agoFix empty string $amount error
redcuillin [Sat, 28 Jan 2023 04:11:26 +0000 (04:11 +0000)]
Fix empty string $amount error

22 months agoMerge pull request #25440 from dontub/fix/Case-CustomDataView
demeritcowboy [Fri, 27 Jan 2023 22:50:00 +0000 (17:50 -0500)]
Merge pull request #25440 from dontub/fix/Case-CustomDataView

Fix display of custom data in cases

22 months agodev/core#4074 make CRM_Core_BAO_CMSUser CMS agnostic
Herb v/d Dool [Wed, 11 Jan 2023 18:06:31 +0000 (13:06 -0500)]
dev/core#4074 make CRM_Core_BAO_CMSUser CMS agnostic

22 months agoMerge pull request #25419 from mlutfy/l10nExt
demeritcowboy [Fri, 27 Jan 2023 21:38:00 +0000 (16:38 -0500)]
Merge pull request #25419 from mlutfy/l10nExt

dev/translation#76 Allow extension gettext mo files to live in the I18N resource dir

22 months agoMerge pull request #25371 from herbdool/backdrop-77
demeritcowboy [Fri, 27 Jan 2023 21:33:55 +0000 (16:33 -0500)]
Merge pull request #25371 from herbdool/backdrop-77

(dev/backdrop#77) Fix fatal error with password validation

22 months agoMerge pull request #25409 from colemanw/entityAutocomplete
Seamus Lee [Thu, 26 Jan 2023 23:23:44 +0000 (10:23 +1100)]
Merge pull request #25409 from colemanw/entityAutocomplete

APIv4 - Support autocompletes of the Entity entity

22 months agoMerge pull request #25401 from braders/declare-system-properties
Tim Otten [Thu, 26 Jan 2023 21:38:42 +0000 (13:38 -0800)]
Merge pull request #25401 from braders/declare-system-properties

[REF][PHP8.2] Declare system property in tests

22 months agoMerge pull request #25439 from totten/master-test-tx
Tim Otten [Thu, 26 Jan 2023 21:37:49 +0000 (13:37 -0800)]
Merge pull request #25439 from totten/master-test-tx

(NFC) Speed up random tests by 55-60%

22 months agoMerge pull request #25405 from braders/dynamic-property-infotest
Tim Otten [Thu, 26 Jan 2023 21:36:52 +0000 (13:36 -0800)]
Merge pull request #25405 from braders/dynamic-property-infotest

[REF][PHP8.2] Declare file property in CRM_Extension_InfoTest

22 months agoMerge pull request #25443 from braders/dynamic-properties-ajaxtest
Tim Otten [Thu, 26 Jan 2023 20:38:03 +0000 (12:38 -0800)]
Merge pull request #25443 from braders/dynamic-properties-ajaxtest

[REF][PHP8.2] Declare properties in CRM_Activity_Page_AJAXTest

22 months agoMerge pull request #25442 from braders/dynamic-property-casetest
Tim Otten [Thu, 26 Jan 2023 20:37:32 +0000 (12:37 -0800)]
Merge pull request #25442 from braders/dynamic-property-casetest

[REF][PHP8.2] Refactor CRM_Case_BAO_CaseTest to use const

22 months ago[REF][PHP8.2] Declare properties in CRM_Activity_Page_AJAXTest
Bradley Taylor [Thu, 26 Jan 2023 19:46:54 +0000 (19:46 +0000)]
[REF][PHP8.2] Declare properties in CRM_Activity_Page_AJAXTest

22 months ago[REF][PHP8.2] Refactor CRM_Case_BAO_CaseTest to use const
Bradley Taylor [Thu, 26 Jan 2023 19:33:35 +0000 (19:33 +0000)]
[REF][PHP8.2] Refactor CRM_Case_BAO_CaseTest to use const

22 months agoFix display of custom data in cases
Dominic Tubach [Thu, 26 Jan 2023 12:08:52 +0000 (13:08 +0100)]
Fix display of custom data in cases

22 months ago(NFC) Speed up more random tests, part 4 (58s=>29s)
Tim Otten [Thu, 26 Jan 2023 09:03:05 +0000 (01:03 -0800)]
(NFC) Speed up more random tests, part 4 (58s=>29s)

22 months ago(NFC) Speed up more random tests, part 3 (26s=>15s)
Tim Otten [Thu, 26 Jan 2023 08:51:33 +0000 (00:51 -0800)]
(NFC) Speed up more random tests, part 3 (26s=>15s)

22 months ago(NFC) Speed up more random tests, part 2
Tim Otten [Thu, 26 Jan 2023 08:47:27 +0000 (00:47 -0800)]
(NFC) Speed up more random tests, part 2

22 months ago(NFC) Speed up more random tests
Tim Otten [Thu, 26 Jan 2023 08:46:50 +0000 (00:46 -0800)]
(NFC) Speed up more random tests

22 months ago(NFC) ArrayTest - Speed up ~50%
Tim Otten [Thu, 26 Jan 2023 08:07:43 +0000 (00:07 -0800)]
(NFC) ArrayTest - Speed up ~50%

Before: On local i3-12100, takes ~17s (avg over two runs)

After: On local i3-12100, take ~8s (avg over two runs)

22 months ago(NFC) StringTest - Speed up ~60%
Tim Otten [Thu, 26 Jan 2023 08:05:32 +0000 (00:05 -0800)]
(NFC) StringTest - Speed up ~60%

Before: On local i3-12100, takes ~34s (avg over two runs)

After: On local i3-12100, take ~14s (avg over two runs)

22 months ago(NFC) JSTest - Speed up ~60%
Tim Otten [Thu, 26 Jan 2023 08:01:58 +0000 (00:01 -0800)]
(NFC) JSTest - Speed up ~60%

Before: On local i3-12100, takes ~34s (avg over two runs)

After: On local i3-12100, take ~14s (avg over two runs)

22 months ago(NFC) RuleTest - Speed up ~55%
Tim Otten [Thu, 26 Jan 2023 07:57:12 +0000 (23:57 -0800)]
(NFC) RuleTest - Speed up ~55%

Before: On local i3-12100, takes ~64s (avg over two runs)

After: On local i3-12100, take ~28s (avg over two runs)

22 months ago(NFC) DateTest - Speed up ~55%
Tim Otten [Thu, 26 Jan 2023 07:42:16 +0000 (23:42 -0800)]
(NFC) DateTest - Speed up ~55%

Before: On local i3-12100, takes ~90s (avg over 2 runs)

After: On local i3-12100, take ~40s (avg over 2 runs)

22 months ago[REF][PHP8.2] Fix Dynamic property payment instrument id on back office contribution...
Seamus Lee [Thu, 26 Jan 2023 00:35:48 +0000 (00:35 +0000)]
[REF][PHP8.2] Fix Dynamic property payment instrument id on back office contribution form

22 months agoMerge pull request #25425 from civicrm/5.58
Seamus Lee [Wed, 25 Jan 2023 23:39:28 +0000 (10:39 +1100)]
Merge pull request #25425 from civicrm/5.58

5.58

22 months agoMerge pull request #25412 from eileenmcnaughton/api4trait
colemanw [Wed, 25 Jan 2023 23:04:15 +0000 (18:04 -0500)]
Merge pull request #25412 from eileenmcnaughton/api4trait

dev/core#4088 Convert api4 helper functionality to a trait & make available

22 months agoMerge pull request #25421 from aydun/fix_core_4095
Eileen McNaughton [Wed, 25 Jan 2023 22:55:31 +0000 (11:55 +1300)]
Merge pull request #25421 from aydun/fix_core_4095

dev/core#4095 - update log schema of civicrm_option_group before adding values

22 months agoMerge pull request #25424 from totten/5.58-json-wp
Seamus Lee [Wed, 25 Jan 2023 22:39:59 +0000 (09:39 +1100)]
Merge pull request #25424 from totten/5.58-json-wp

distmaker - Fix 'WordPress' entry in JSON report

22 months agoMerge pull request #25423 from seamuslee001/5.58
Seamus Lee [Wed, 25 Jan 2023 22:36:54 +0000 (09:36 +1100)]
Merge pull request #25423 from seamuslee001/5.58

[REF] Bump UA Parser to 0.7.33

22 months agodistmaker - Fix 'WordPress' entry in JSON report
Tim Otten [Wed, 25 Jan 2023 22:18:18 +0000 (14:18 -0800)]
distmaker - Fix 'WordPress' entry in JSON report

22 months ago[REF] Bump UA Parser to 0.7.33
Seamus Lee [Wed, 25 Jan 2023 21:48:05 +0000 (08:48 +1100)]
[REF] Bump UA Parser to 0.7.33

22 months agoMerge pull request #25417 from eileenmcnaughton/poly
demeritcowboy [Wed, 25 Jan 2023 21:43:05 +0000 (16:43 -0500)]
Merge pull request #25417 from eileenmcnaughton/poly

Update polyfill packages

22 months agodev/core#4095 - update log schema of civicrm_option_group before adding values
Aidan Saunders [Wed, 25 Jan 2023 21:29:20 +0000 (21:29 +0000)]
dev/core#4095 - update log schema of civicrm_option_group before adding values

22 months agoAllow extension gettext mo files to live in the I18N resource dir
Mathieu Lutfy [Wed, 25 Jan 2023 20:42:26 +0000 (15:42 -0500)]
Allow extension gettext mo files to live in the I18N resource dir

CiviCRM core already supports having the civicrm.mo files in a custom
directory, defined by the CIVICRM_L10N_BASEDIR constant. With this patch,
it will also be possible to have the 'mo' files from extensions in that
directory.

It will be assumed that if an extension is called "foo" then the mo file
will be foo.mo and in the same directory as civicrm.mo.

22 months agoUpdate polyfill packages
Eileen McNaughton [Wed, 25 Jan 2023 20:27:43 +0000 (09:27 +1300)]
Update polyfill packages

 - Upgrading symfony/polyfill-php80 (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-ctype (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-iconv (v1.17.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-mbstring (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-php72 (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-intl-normalizer (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-intl-idn (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-php81 (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-php73 (v1.25.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-php74 (v1.26.0 => v1.27.0): Extracting archive
  - Upgrading symfony/polyfill-php82 (v1.26.0 => v1.27.0): Extracting archive

22 months agoMerge pull request #25416 from totten/master-scan-fix
Eileen McNaughton [Wed, 25 Jan 2023 09:52:53 +0000 (22:52 +1300)]
Merge pull request #25416 from totten/master-scan-fix

CaseActivityTest - Fix quiet regressions

22 months agoMerge pull request #25396 from colemanw/customMaskDrop
Yashodha Chaku [Wed, 25 Jan 2023 07:28:28 +0000 (12:58 +0530)]
Merge pull request #25396 from colemanw/customMaskDrop

CustomFields - Drop unused column 'mask'

22 months agoMerge pull request #25398 from demeritcowboy/extendedreport-contributionpage
demeritcowboy [Wed, 25 Jan 2023 05:07:25 +0000 (00:07 -0500)]
Merge pull request #25398 from demeritcowboy/extendedreport-contributionpage

[NFC] Incorrect docblock in CRM_Contribute_PseudoConstant::contributionPage()

22 months agoMerge pull request #25407 from braders/dynamic-property-xmlprocessortest
demeritcowboy [Wed, 25 Jan 2023 05:06:48 +0000 (00:06 -0500)]
Merge pull request #25407 from braders/dynamic-property-xmlprocessortest

[REF][PHP8.2] Declare processor property in CRM_Case_XMLProcessorTest

22 months agoCaseActivityTest - Fix regression
Tim Otten [Wed, 25 Jan 2023 04:43:17 +0000 (20:43 -0800)]
CaseActivityTest - Fix regression

The relevant example data was changed by 98e528a20637e880863371a1277f13a887e37eb5.

22 months agoRestore execution of CaseActivityTest
Tim Otten [Wed, 25 Jan 2023 04:34:04 +0000 (20:34 -0800)]
Restore execution of CaseActivityTest

Following eb92dd792c07e0b11ee1561cf00930402345e8b3, the `CaseActivityTest` started to run
only intermittently. Why?

__high-level__: `Civi\Core\ClassScanner` and `phpunit8` both do a scan over the folder `tests/phpunit/CRM/Case/WorkflowMessage`

__low-level__: `Civi\Core\ClassScanner` has caching. Depending on the state of the cache, it may or may not do a scan:

* If the cache is filled, then `ClassScanner` doesn't need to scan.
    * When `phpunit8` subsequently does a scan, it will load `CaseActivityTest.php` normally.
* If the cache is empty, then `ClassScanner` does the first scan. It is the one that actually loads `CaseActivityTest.php`.
    * Later, `phpunit8` does a scan. Due to a quirk, it doesn't realize the class exists.

The scanner in phpunit works roughly like this:

```php
$tests = [];
foreach (glob('*Test.php') as $file) {
  $before = get_declared_classes();
  require_once $file;
  $after = get_declared_classes();
  $tests = array_merge($tests, array_diff($before, $after));
}
```

So if the class was previously loaded, then phpunit doesn't see it.

22 months agoMerge pull request #25415 from totten/master-scan
Tim Otten [Wed, 25 Jan 2023 05:00:34 +0000 (21:00 -0800)]
Merge pull request #25415 from totten/master-scan

(dev/core#4088) ClassScanner - Move test registration

22 months agoCleanup comments, remove unnecessary public function
Eileen McNaughton [Wed, 25 Jan 2023 02:31:20 +0000 (15:31 +1300)]
Cleanup comments, remove unnecessary public function

22 months agoUse Trait directly from managed entity test
Eileen McNaughton [Tue, 24 Jan 2023 22:45:51 +0000 (11:45 +1300)]
Use Trait directly from managed entity test

I'm not sure if the test fail was an intermittent or related but this seems cleaner

22 months agoMove over testRecords property
Eileen McNaughton [Tue, 24 Jan 2023 22:30:15 +0000 (11:30 +1300)]
Move over testRecords property

22 months agoClarify function signature
Eileen McNaughton [Tue, 24 Jan 2023 22:24:52 +0000 (11:24 +1300)]
Clarify function signature

It was doing both pass-by-ref and return to give back the value - this
settles on using return.

22 months agoMerge pull request #25404 from demeritcowboy/activityinfos-static
Seamus Lee [Wed, 25 Jan 2023 01:39:16 +0000 (12:39 +1100)]
Merge pull request #25404 from demeritcowboy/activityinfos-static

[REF] Use civi::statics to get activityinfos in case activity view

22 months ago(dev/core#4088) ClassScanner - Move unit-test registration
Tim Otten [Wed, 25 Jan 2023 01:06:57 +0000 (17:06 -0800)]
(dev/core#4088) ClassScanner - Move unit-test registration

Before: The `ClassScanner` includes a special  rule to load some
mocks/examples from `tests/phpunit/` which are needed for some core tests.
But (reportedly) it will load even when running other test-suites.

After: The special rule has moved to the `bootstrap.php` for
core tests. It should be inert when running other test-suites.

Technical Details: I believe the reason why the special rule was originally
embedded into `ClassScanner` was that `ClassScanner` has special place in
bootstrap/system-lifecycle.  To get around this, the patch adds
`CIVICRM_FORCE_MODULES` as a way to pre-register some hook listeners.  (To
wit: `civitest` is a "force-enabled module" defined by `bootstrap.php`.
It's always-on; it can participate in special/pre-boot hooks; and it
doesn't present as a configurable extension. You might also call it
a "ghost module"...)

22 months agoMerge pull request #25413 from seamuslee001/regen
demeritcowboy [Wed, 25 Jan 2023 00:55:54 +0000 (19:55 -0500)]
Merge pull request #25413 from seamuslee001/regen

[REF] Regen following #25211

22 months agoFix country id in state_provice_data as per Dave and fix the original state abbreviat...
Seamus Lee [Wed, 25 Jan 2023 00:10:35 +0000 (11:10 +1100)]
Fix country id in state_provice_data as per Dave and fix the original state abbreviations as well and regen again

22 months ago[REF] Regen following #25211
Seamus Lee [Tue, 24 Jan 2023 23:51:29 +0000 (10:51 +1100)]
[REF] Regen following #25211

22 months agoMerge pull request #25211 from jmacarthur98/luxembourg-provinces
Seamus Lee [Tue, 24 Jan 2023 23:47:30 +0000 (10:47 +1100)]
Merge pull request #25211 from jmacarthur98/luxembourg-provinces

luxembourg-provices added missing provices, updated outdated ISO code…

22 months agoMerge pull request #25369 from totten/master-smarty-mixin
Tim Otten [Tue, 24 Jan 2023 22:32:08 +0000 (14:32 -0800)]
Merge pull request #25369 from totten/master-smarty-mixin

Smarty Mixin - Allow extensions to enable Smarty via mixin

22 months agoConvert api4 helper functionality to a trait & make available
Eileen McNaughton [Tue, 24 Jan 2023 21:52:30 +0000 (10:52 +1300)]
Convert api4 helper functionality to a trait & make available

22 months ago(NFC) smarty-v2 mixin
Tim Otten [Tue, 24 Jan 2023 21:34:12 +0000 (13:34 -0800)]
(NFC) smarty-v2 mixin

22 months agomerge form errors into existing errors instead
Herb v/d Dool [Tue, 24 Jan 2023 15:41:07 +0000 (10:41 -0500)]
merge form errors into existing errors instead

22 months agoluxembourg-provinces added check for country ID
Jakub MacArthur [Thu, 19 Jan 2023 09:16:24 +0000 (10:16 +0100)]
luxembourg-provinces added check for country ID

22 months agoluxembourg-provinces removed one unnecessary comma, added one comma
Jakub MacArthur [Tue, 3 Jan 2023 10:27:36 +0000 (11:27 +0100)]
luxembourg-provinces removed one unnecessary comma, added one comma

22 months agoluxembourg-provices added missing provices, updated outdated ISO codes, renamed one...
Jakub MacArthur [Wed, 21 Dec 2022 10:54:33 +0000 (11:54 +0100)]
luxembourg-provices added missing provices, updated outdated ISO codes, renamed one provice

22 months agoAPIv4 - Support autocompletes of the Entity entity
Coleman Watts [Fri, 20 Jan 2023 23:57:33 +0000 (18:57 -0500)]
APIv4 - Support autocompletes of the Entity entity

Allows browsing API entities with the APIv4 autocomplete select

22 months agoMerge pull request #25397 from colemanw/customFieldTplCleanup
Yashodha Chaku [Mon, 23 Jan 2023 06:14:21 +0000 (11:44 +0530)]
Merge pull request #25397 from colemanw/customFieldTplCleanup

CustomField - Fix smarty notices on field create/edit form

22 months ago[REF][PHP8.2] Declare processor property in CRM_Case_XMLProcessorTest
Bradley Taylor [Sun, 22 Jan 2023 12:40:40 +0000 (12:40 +0000)]
[REF][PHP8.2] Declare processor property in CRM_Case_XMLProcessorTest

22 months ago[REF][PHP8.2] Declare file property in CRM_Extension_InfoTest
Bradley Taylor [Sun, 22 Jan 2023 11:27:29 +0000 (11:27 +0000)]
[REF][PHP8.2] Declare file property in CRM_Extension_InfoTest

22 months agouse civi statics
demeritcowboy [Sun, 22 Jan 2023 00:02:53 +0000 (19:02 -0500)]
use civi statics

22 months ago[REF][PHP8.2] Declare system property in tests
Bradley Taylor [Sat, 21 Jan 2023 20:24:12 +0000 (20:24 +0000)]
[REF][PHP8.2] Declare system property in tests

22 months agoMerge pull request #25399 from braders/dynamic-property-report-test
demeritcowboy [Sat, 21 Jan 2023 13:16:49 +0000 (08:16 -0500)]
Merge pull request #25399 from braders/dynamic-property-report-test

[REF][PHP8.2] Avoid dynamic property in ReportTest

22 months ago[REF][PHP8.2] Avoid dynamic property in ReportTest
Bradley Taylor [Sat, 21 Jan 2023 12:07:56 +0000 (12:07 +0000)]
[REF][PHP8.2] Avoid dynamic property in ReportTest

22 months agoMerge pull request #25229 from braders/core-2985-original-value-displayed-after-setti...
demeritcowboy [Sat, 21 Jan 2023 03:50:57 +0000 (22:50 -0500)]
Merge pull request #25229 from braders/core-2985-original-value-displayed-after-setting-blank-balue

dev/core#2985 Original value is displayed after setting custom event field blank

22 months agoincorrect docblock
demeritcowboy [Sat, 21 Jan 2023 03:23:02 +0000 (22:23 -0500)]
incorrect docblock

22 months agoCustomField - Fix smarty notices on field create/edit form
Coleman Watts [Fri, 20 Jan 2023 23:50:49 +0000 (18:50 -0500)]
CustomField - Fix smarty notices on field create/edit form

The structure of the form was changed back in 2020 to stop using a hierarchical quickform select,
so references to `$form.data_type.value.0` etc are no longer valid.
This was resulting in massive smarty notices.

This removes the offending clauses which were not doing anything as the show/hide is now handled by jQuery.

22 months agoMerge pull request #25394 from civicrm/5.58
demeritcowboy [Fri, 20 Jan 2023 17:24:43 +0000 (12:24 -0500)]
Merge pull request #25394 from civicrm/5.58

5.58

22 months agoCustomFields - Drop unused column 'mask'
Coleman Watts [Fri, 20 Jan 2023 15:51:51 +0000 (10:51 -0500)]
CustomFields - Drop unused column 'mask'

This column doesn't appear to be used for anything.

22 months agoMerge pull request #25381 from demeritcowboy/case-act-vars
Yashodha Chaku [Fri, 20 Jan 2023 11:26:57 +0000 (16:56 +0530)]
Merge pull request #25381 from demeritcowboy/case-act-vars

Undefined array keys on case activity view

22 months agomixin/smarty-v2 - Update for compatibility with more versions of CiviCRM
Tim Otten [Fri, 20 Jan 2023 01:20:30 +0000 (17:20 -0800)]
mixin/smarty-v2 - Update for compatibility with more versions of CiviCRM

22 months agoMerge pull request #25380 from demeritcowboy/act-rev
Seamus Lee [Fri, 20 Jan 2023 01:18:52 +0000 (12:18 +1100)]
Merge pull request #25380 from demeritcowboy/act-rev

Avoid 5.57 upgrade taking hours on large activity tables

22 months agoMerge pull request #25393 from seamuslee001/php82_legacy_custom_searches
Eileen McNaughton [Fri, 20 Jan 2023 00:43:24 +0000 (13:43 +1300)]
Merge pull request #25393 from seamuslee001/php82_legacy_custom_searches

[REF][PHP8.2] Fix Deprecated Dynamic class properties in Legacy custo…

22 months ago[REF][PHP8.2] Fix Deprecated Dynamic class properties in Legacy custom searches extension
Seamus Lee [Fri, 20 Jan 2023 00:39:00 +0000 (00:39 +0000)]
[REF][PHP8.2] Fix Deprecated Dynamic class properties in Legacy custom searches extension

22 months agoMerge pull request #25389 from eileenmcnaughton/main_pledge
demeritcowboy [Fri, 20 Jan 2023 00:12:20 +0000 (19:12 -0500)]
Merge pull request #25389 from eileenmcnaughton/main_pledge

Make otherwise unused form function private