Jon Goldberg [Fri, 2 Dec 2022 16:22:11 +0000 (11:22 -0500)]
PHP8.1 - prices must be numbers, not strings for arithmetic
demeritcowboy [Thu, 1 Dec 2022 02:53:48 +0000 (21:53 -0500)]
Merge pull request #25095 from seamuslee001/npm_package_fixes
[REF] Results of npm audit fix
Seamus Lee [Thu, 1 Dec 2022 01:34:29 +0000 (12:34 +1100)]
[REF] Results of npm audit fix
Eileen McNaughton [Wed, 30 Nov 2022 19:29:36 +0000 (08:29 +1300)]
Merge pull request #25089 from agh1/5.56.0-releasenotes-initial
5.56.0 release notes initial run
Andie Hunt [Wed, 30 Nov 2022 16:43:05 +0000 (11:43 -0500)]
5.56.0 release notes: added boilerplate
Andie Hunt [Wed, 30 Nov 2022 15:22:52 +0000 (10:22 -0500)]
5.56.0 release notes: raw from script
Eileen McNaughton [Sun, 27 Nov 2022 20:23:58 +0000 (09:23 +1300)]
Merge pull request #25061 from colemanw/fixAfformFilter
Afform - fix empty search filters
Coleman Watts [Sun, 27 Nov 2022 16:26:09 +0000 (11:26 -0500)]
Afform - fix empty search filters
Fixes dev/core#3997
Eileen McNaughton [Fri, 25 Nov 2022 22:15:54 +0000 (11:15 +1300)]
Merge pull request #25055 from colemanw/upgraderFix
Fix upgrader to safely run multiple times
Coleman Watts [Fri, 25 Nov 2022 20:57:43 +0000 (15:57 -0500)]
Fix upgrader to safely run multiple times
demeritcowboy [Wed, 23 Nov 2022 15:36:14 +0000 (10:36 -0500)]
Merge pull request #24996 from totten/5.56-locale-uf-test
(dev/core#3979) Localization - Assign a locale for UF during negotiation
demeritcowboy [Tue, 22 Nov 2022 17:51:10 +0000 (12:51 -0500)]
Merge pull request #25025 from mlutfy/fixAnonEventReg
Fix Authorization failed on Event Registration - 5.56 RC regression
Mathieu Lutfy [Tue, 22 Nov 2022 14:42:39 +0000 (09:42 -0500)]
Fix Authorization failed on Event Registration
Tim Otten [Mon, 21 Nov 2022 22:32:19 +0000 (14:32 -0800)]
E2E\Api4\LocaleTest - Update to reflect current reality
Yashodha Chaku [Mon, 21 Nov 2022 13:24:43 +0000 (18:54 +0530)]
Merge pull request #25016 from JMAConsulting/dev-core#3999-56
dev/core#3999 : Unable to delete price field
Monish Deb [Mon, 21 Nov 2022 08:12:05 +0000 (13:42 +0530)]
dev/core#3999 : Unable to delete price field
Tim Otten [Fri, 18 Nov 2022 02:16:00 +0000 (18:16 -0800)]
dev/core#3979 - Make an educated guess about how to set UF locale. Add test-case.
Tim Otten [Fri, 18 Nov 2022 01:12:48 +0000 (17:12 -0800)]
dev/core#3979 - Add test to reproduce error
Note: On current D7, this doesn't actually reproduce the message because `bootstrap.inc` redirects it
```
function _drupal_bootstrap_configuration() {
// Set the Drupal custom error handler.
set_error_handler('_drupal_error_handler');
set_exception_handler('_drupal_exception_handler');
```
But if you comment out `set_error_handler()`, then it does. And I presume it would on D8+...
demeritcowboy [Wed, 16 Nov 2022 22:13:04 +0000 (17:13 -0500)]
Merge pull request #24926 from eileenmcnaughton/5.56
dev/core#3685 Fix price sets in sample data
Eileen McNaughton [Mon, 14 Nov 2022 00:04:09 +0000 (13:04 +1300)]
Merge pull request #24965 from colemanw/afformFieldMetaFix
[PHP 8.1 compat] Afform - Fix display of search filter fields
Eileen McNaughton [Sun, 13 Nov 2022 23:59:48 +0000 (12:59 +1300)]
Merge pull request #24950 from MegaphoneJon/better-clean-url-wp-rc
Fix WP Clean Pages check when components are disabled
Coleman Watts [Sun, 13 Nov 2022 01:32:02 +0000 (20:32 -0500)]
Afform - Fix display of search filter fields in PHP 8.1+
In PHP 8.1 Afform search fields stopped working. This is due to an encoding change which broke the parser.
According to https://www.php.net/manual/en/function.htmlspecialchars.php#refsect1-function.htmlspecialchars-changelog
PHP 8.1 changed the default mode for `htmlspecialchars`, the impact of which is to escape straight quotes
instead of leaving them alone.
This ensures the function works the same on all PHP versions by explicitly setting the mode.
colemanw [Sat, 12 Nov 2022 22:41:02 +0000 (17:41 -0500)]
Merge pull request #24962 from colemanw/afformAutoservice
[REF] Afform - Use autoservice for event subscribers
demeritcowboy [Sat, 12 Nov 2022 21:19:14 +0000 (16:19 -0500)]
Merge pull request #24961 from colemanw/psr0Path
Update psr0 paths to match current convention
Coleman Watts [Sat, 12 Nov 2022 15:23:57 +0000 (10:23 -0500)]
Afform - Use autoservice for event subscribers
Coleman Watts [Sat, 12 Nov 2022 15:32:12 +0000 (10:32 -0500)]
Update psr0 paths to match current convention
Eileen McNaughton [Fri, 11 Nov 2022 03:29:05 +0000 (16:29 +1300)]
Merge pull request #24951 from demeritcowboy/socketio-556
Backport 24940 (socketio-parser)
demeritcowboy [Thu, 10 Nov 2022 22:33:01 +0000 (17:33 -0500)]
backport 24940
Jon Goldberg [Thu, 10 Nov 2022 19:10:38 +0000 (14:10 -0500)]
Fix WP Clean Pages check when components are disabled
Eileen McNaughton [Tue, 8 Nov 2022 21:51:31 +0000 (10:51 +1300)]
Merge pull request #24930 from alifrumin/backdrop76
[dev/backdrop#76] The control buttons in crm pop ups are all X's
Eileen McNaughton [Tue, 8 Nov 2022 08:31:43 +0000 (21:31 +1300)]
dev/core#3685 Fix price sets in sample data
Alice Frumin [Tue, 8 Nov 2022 19:11:44 +0000 (14:11 -0500)]
[dev/backdrop#76] The control buttons in crm pop ups are all X's
Tim Otten [Tue, 8 Nov 2022 05:54:43 +0000 (21:54 -0800)]
Merge pull request #24897 from eileenmcnaughton/billing56
(dev/core#3918) Revert "Add missing country=>billingCountry to PropertyBag mapping"
Tim Otten [Mon, 7 Nov 2022 23:11:48 +0000 (15:11 -0800)]
Merge pull request #24895 from eileenmcnaughton/key
dev/core#3960 Remove legacy ar key
demeritcowboy [Sun, 6 Nov 2022 15:39:34 +0000 (10:39 -0500)]
Merge pull request #24909 from totten/5.56-cacert
composer.json - Update cacerts fallback
Tim Otten [Sun, 6 Nov 2022 02:44:49 +0000 (19:44 -0700)]
composer.json - Update cacerts fallback
demeritcowboy [Sat, 5 Nov 2022 22:48:59 +0000 (18:48 -0400)]
Merge pull request #24904 from sebalis/patch-1
avoid fatal error in PHP 8 in BAO/Navigation.php
sebalis [Fri, 4 Nov 2022 23:54:14 +0000 (00:54 +0100)]
avoid fatal error in PHP 8 in BAO/Navigation.php
See https://lab.civicrm.org/dev/core/-/issues/3968 for details.
Eileen McNaughton [Thu, 3 Nov 2022 22:39:49 +0000 (11:39 +1300)]
Revert "Add missing country=>billingCountry to PropertyBag mapping"
This reverts commit
99d7dc7bd17b81e7041c7d85d72b0e70210201d8.
Eileen McNaughton [Thu, 3 Nov 2022 22:56:33 +0000 (11:56 +1300)]
dev/core#3960 Remove legacy ar key
CiviCRM [Thu, 3 Nov 2022 02:39:58 +0000 (02:39 +0000)]
Set version to 5.56.beta1
Tim Otten [Thu, 3 Nov 2022 01:41:42 +0000 (18:41 -0700)]
Merge pull request #24873 from colemanw/searchKitIcons
SearchKit - Improve icon handling
Seamus Lee [Thu, 3 Nov 2022 01:19:40 +0000 (12:19 +1100)]
Merge pull request #24887 from civicrm/5.55
5.55
Tim Otten [Fri, 28 Oct 2022 03:00:40 +0000 (20:00 -0700)]
Add release-notes/5.54.1.md
Seamus Lee [Thu, 3 Nov 2022 01:14:10 +0000 (12:14 +1100)]
Merge pull request #24886 from agh1/5.55.0-releasenotes-final
5.55.0 release notes: added late changes
Andie Hunt [Thu, 3 Nov 2022 01:07:57 +0000 (21:07 -0400)]
5.55.0 release notes: added late changes
Seamus Lee [Wed, 2 Nov 2022 22:34:46 +0000 (09:34 +1100)]
Merge pull request #24885 from seamuslee001/master
5.55
Seamus Lee [Wed, 2 Nov 2022 22:33:59 +0000 (09:33 +1100)]
Merge branch '5.55'
Seamus Lee [Wed, 2 Nov 2022 22:30:35 +0000 (09:30 +1100)]
Merge pull request #24872 from seamuslee001/dev_core_3952
dev/core#3952 Add in Upgrade script to fix up print labels where " wa…
Tim Otten [Wed, 2 Nov 2022 20:53:23 +0000 (13:53 -0700)]
Target 5.55.beta2
Tim Otten [Wed, 2 Nov 2022 20:52:38 +0000 (13:52 -0700)]
Set version to 5.55.beta2
Tim Otten [Wed, 2 Nov 2022 20:40:29 +0000 (13:40 -0700)]
Target 5.55.beta
Seamus Lee [Wed, 2 Nov 2022 20:36:33 +0000 (07:36 +1100)]
Merge pull request #24858 from eileenmcnaughton/import_soft
dev/core#3879 Fix failure to accept soft credit contact id
Eileen McNaughton [Wed, 2 Nov 2022 20:35:56 +0000 (09:35 +1300)]
Merge pull request #24882 from colemanw/fixDefaultSearchDisplayLink
Fix missing links in SearchKit results
Coleman Watts [Wed, 2 Nov 2022 14:39:45 +0000 (10:39 -0400)]
Fix missing links in SearchKit results
Regression:
Go to SearchKit and click "New Search" (for contacts). The display name column is no longer a clickable link.
Yashodha Chaku [Wed, 2 Nov 2022 07:42:54 +0000 (13:12 +0530)]
Merge pull request #24876 from larssandergreen/add-help-text-for-scheduled-reminders-for-events
Add help text for event scheduled reminders relative and absolute dates
Seamus Lee [Wed, 2 Nov 2022 00:12:59 +0000 (11:12 +1100)]
Merge pull request #24875 from mattwire/searchkitdatediff
Add DATEDIFF to calculate days between two dates
demeritcowboy [Wed, 2 Nov 2022 00:10:08 +0000 (20:10 -0400)]
Merge pull request #24879 from seamuslee001/php82_dynamic_properties_2
[REF][PHP8.2] Fix some instances of properties not being declared on …
Seamus Lee [Tue, 1 Nov 2022 22:31:31 +0000 (09:31 +1100)]
Merge pull request #24807 from eileenmcnaughton/spec55
dev/core#3941 Fix import spec class loader issue
Seamus Lee [Tue, 1 Nov 2022 22:24:03 +0000 (09:24 +1100)]
Merge pull request #24880 from civicrm/5.55
5.55
Seamus Lee [Tue, 1 Nov 2022 22:23:51 +0000 (09:23 +1100)]
Merge pull request #24877 from colemanw/backwardsTest
Test - Fix backwards params to assertEquals
colemanw [Tue, 1 Nov 2022 22:16:41 +0000 (18:16 -0400)]
Merge pull request #24860 from colemanw/formbuilder-recaptcha2
Afform - Add support for ReCaptcha v2
colemanw [Tue, 1 Nov 2022 21:44:24 +0000 (17:44 -0400)]
Merge pull request #24810 from colemanw/searchSegmentFilter
SearchKit - Expose SearchSegment fields as filters
Seamus Lee [Tue, 1 Nov 2022 21:04:19 +0000 (08:04 +1100)]
Merge pull request #24874 from totten/5.55-enable-specprov
SpecScanner - Fix installation error ("Class XyzSpecProvider does not exist")
Seamus Lee [Tue, 1 Nov 2022 21:03:00 +0000 (08:03 +1100)]
Merge pull request #24871 from eileenmcnaughton/import_save_dots
Import regression, fix loading of saved mapping with soft-credit email mapped
Seamus Lee [Tue, 1 Nov 2022 21:01:43 +0000 (08:01 +1100)]
Merge remote-tracking branch 'Toby-fz/master'
Seamus Lee [Fri, 28 Oct 2022 23:09:19 +0000 (23:09 +0000)]
[REF][PHP8.2] Fix some instances of properties not being declared on classes
Coleman Watts [Tue, 1 Nov 2022 20:14:55 +0000 (16:14 -0400)]
Test - Fix backwards params to assertEquals
Kurund Jalmi [Fri, 7 Oct 2022 19:09:57 +0000 (20:09 +0100)]
Afform - Add support for ReCaptcha v2
Fixes dev/core#3173
Co-authored-by: Coleman Watts <coleman@civicrm.org>
Coleman Watts [Tue, 1 Nov 2022 19:08:30 +0000 (15:08 -0400)]
APIv4 - Add tests for SQL DATE functions
Matthew Wire [Tue, 1 Nov 2022 14:04:02 +0000 (14:04 +0000)]
APIv4 - Add DATEDIFF to calculate days between two dates
Co-authored-by: colemanw <coleman@civicrm.org>
larssandergreen [Tue, 1 Nov 2022 17:42:58 +0000 (11:42 -0600)]
Add help text for event scheduled reminders relative and absolute dates
demeritcowboy [Tue, 1 Nov 2022 17:12:46 +0000 (13:12 -0400)]
Merge pull request #24857 from seamuslee001/db_patches_php82
[REF][PHP8.2] Add patches to pear upstream packages to fix issues with PHP8.2
Yashodha Chaku [Tue, 1 Nov 2022 14:29:20 +0000 (19:59 +0530)]
Merge pull request #24863 from mattwire/eventtemplatecaching
Fix event template cache not updating. Replace some deprecated functions with API4
Coleman Watts [Tue, 1 Nov 2022 02:10:33 +0000 (22:10 -0400)]
SearchKit - Improve icon handling
Gives the ability to have "fallback" icons, e.g. choosing the
icon for contact_sub_type with a fallback to contact_type.
Tim Otten [Tue, 1 Nov 2022 09:16:25 +0000 (02:16 -0700)]
search_kit_civicrm_config - Remove redundant registration
The `SearchKitSubscriber` is now registered as an auto-service. This behaves better when dealing with
various enable/disable flows.
Tim Otten [Tue, 1 Nov 2022 09:01:04 +0000 (02:01 -0700)]
LegacySpecScanner - Degrade gracefully if we have temporary rebuilds during installation
During the process of installing an extension, there are various flushes/rebuilds. Each of these flushes can lead to a (temporary) rebuild of the container.
In 5.54.0, a caching bug prevents these flushes from rebuilding the container promptly.
In 5.54.1 and 5.55.beta, the caching bug goes away -- and now it tries to rebuild the container (multiple times).
However, during the an early attempt, it fails: there is a mismatch between `getActiveModuleFiles()` (which is used by
`CRM_Api4_Services`/`LegacySpecScanner` to discover classes like `ImportSpecProvider`) and the active class-loader
(which is not available yet -- but it's supposed to load the source for `ImportSpecProvider`). This
means that `CRM_Api4_Services`/`LegacySpecScanner` may raise a class-not-found exception.
This patch basically makes `LegacySpecScanner` behave more like `ClassScanner` during the early parts
of bootstrap -- if a class is not loadable yet, then ignore it.
This should still work out in the end -- because there are multiple rebuilds, and the final disposition is based on the
final build.
Toby-fz [Tue, 1 Nov 2022 02:15:34 +0000 (15:15 +1300)]
Add as contributor
Eileen McNaughton [Tue, 1 Nov 2022 01:44:19 +0000 (14:44 +1300)]
Merge pull request #24867 from Toby-fz/master
dev/financial#209 Stop disabled financial types showing on price fields
Seamus Lee [Tue, 1 Nov 2022 01:00:03 +0000 (12:00 +1100)]
dev/core#3952 Add in Upgrade script to fix up print labels where " was not being properly escaped for json purposes on previous upgrade process
Eileen McNaughton [Tue, 1 Nov 2022 00:25:02 +0000 (13:25 +1300)]
Import regression, fix loading of saved mapping with soft-credit email mapped
Eileen McNaughton [Sun, 30 Oct 2022 07:37:11 +0000 (20:37 +1300)]
dev/core#3879 Fix failure to accept soft credit contact id
Seamus Lee [Sat, 29 Oct 2022 21:53:42 +0000 (08:53 +1100)]
[REF][PHP8.2] Add patches to pear upstream packages to fix issues with PHP8.2
Remove Pear/DB DB_DataObject patch as not needed
Seamus Lee [Tue, 1 Nov 2022 00:00:35 +0000 (11:00 +1100)]
Merge pull request #24870 from seamuslee001/master
5.55
Seamus Lee [Mon, 31 Oct 2022 23:59:02 +0000 (10:59 +1100)]
Merge branch '5.55'
Seamus Lee [Mon, 31 Oct 2022 23:56:33 +0000 (10:56 +1100)]
Merge pull request #24838 from eileenmcnaughton/import_reg
dev/core#3939 Fix import mandatory field validation regression
Eileen McNaughton [Mon, 31 Oct 2022 23:28:29 +0000 (12:28 +1300)]
Merge pull request #24868 from christopher-yu/master
php8 compatibility, replace array_key_exists() on non-array.
cyu [Mon, 31 Oct 2022 22:09:09 +0000 (15:09 -0700)]
add contributor
cyu [Mon, 31 Oct 2022 21:52:03 +0000 (14:52 -0700)]
php8 compatibility, replace array_key_exists() on non-array.
Eileen McNaughton [Mon, 31 Oct 2022 21:45:03 +0000 (10:45 +1300)]
Merge pull request #24864 from demeritcowboy/github-action
[REF] Update github action deprecations
Eileen McNaughton [Mon, 31 Oct 2022 21:44:30 +0000 (10:44 +1300)]
Merge pull request #24865 from mlutfy/campaignSubPage
CiviCampaign Dashboard: fix default active tab
Toby-fz [Mon, 31 Oct 2022 21:18:30 +0000 (10:18 +1300)]
dev/financial#209 Stop disabled financial types showing on price fields
colemanw [Mon, 31 Oct 2022 18:42:25 +0000 (14:42 -0400)]
Merge pull request #24848 from eileenmcnaughton/import_box
dev/core#3850 Fix checkboxes handling for custom fields in contact import
Mathieu Lutfy [Mon, 31 Oct 2022 18:16:39 +0000 (14:16 -0400)]
CiviCampaign Dashboard: fix default active tab
colemanw [Mon, 31 Oct 2022 17:46:56 +0000 (13:46 -0400)]
Merge pull request #24830 from colemanw/searchKitModulo
SearchKit - Add modulo operator to math function
demeritcowboy [Mon, 31 Oct 2022 17:09:40 +0000 (13:09 -0400)]
github action deprecations
Matthew Wire [Mon, 31 Oct 2022 13:34:09 +0000 (13:34 +0000)]
Fix event template cache not updating. Replace some deprecated functions with API4
colemanw [Mon, 31 Oct 2022 15:54:45 +0000 (11:54 -0400)]
Merge pull request #24862 from colemanw/afformGeneric
Afform - Support editing new element types added by extensions
Coleman Watts [Thu, 27 Oct 2022 03:22:31 +0000 (23:22 -0400)]
SearchKit - Add modulo operator to math function
Coleman Watts [Thu, 27 Oct 2022 03:17:21 +0000 (23:17 -0400)]
SearchKit - Set better default when selecting math function
Instead of a blank field selector with no way to clear it,
it now picks the first available field for you so it's easier to clear
and replace with a number if you so choose.