civicrm-core.git
2 years agoSet version to 5.48.1
Tim Otten [Tue, 12 Apr 2022 02:44:45 +0000 (19:44 -0700)]
Set version to 5.48.1

2 years agoCiviGrant - Remove unused managed entities during upgrade
Coleman Watts [Tue, 12 Apr 2022 15:31:02 +0000 (11:31 -0400)]
CiviGrant - Remove unused managed entities during upgrade

Removes managed entities which may have been added during the 5.47 upgrade,
to prevent the managed system from automatically deleting them.

2 years agoCiviGrant - Cleanup managed entities - fixes dev/core#3161
Coleman Watts [Fri, 8 Apr 2022 13:47:51 +0000 (09:47 -0400)]
CiviGrant - Cleanup managed entities - fixes dev/core#3161

- Ensure labels are translated
- Set stricter cleanup policy for entities that should be removed on uninstall
- Make grant_status options unmanaged. They will not be updated by the system ever,
  but they will be deleted on uninstall because the option group is a managed entity.

2 years agoMerge pull request #23131 from colemanw/managedOptionValueBackport
colemanw [Fri, 8 Apr 2022 01:08:45 +0000 (21:08 -0400)]
Merge pull request #23131 from colemanw/managedOptionValueBackport

Fix OptionValue BAO to call pre/post hooks to prevent force-reset of …

2 years agoFix OptionValue BAO to call pre/post hooks to prevent force-reset of managed entities
Coleman Watts [Thu, 7 Apr 2022 19:40:30 +0000 (15:40 -0400)]
Fix OptionValue BAO to call pre/post hooks to prevent force-reset of managed entities

Managed entities rely on pre/post hooks being called in order to track whether an entity
has been modified. Without those hooks OptionValues were being force-reverted by the
managed system even when the 'update' mode was set to 'unmodified', which is supposed
to defer to user modifications.

2 years agoSet version to 5.48.0
Tim Otten [Thu, 7 Apr 2022 06:25:50 +0000 (23:25 -0700)]
Set version to 5.48.0

2 years agoMerge pull request #23125 from agh1/5.48.0-releasenotes-final
Tim Otten [Thu, 7 Apr 2022 05:08:22 +0000 (22:08 -0700)]
Merge pull request #23125 from agh1/5.48.0-releasenotes-final

5.48.0 release notes: added late changes

2 years ago5.48.0 release notes: added late changes
Andie Hunt [Thu, 7 Apr 2022 02:17:01 +0000 (22:17 -0400)]
5.48.0 release notes: added late changes

2 years agoMerge pull request #23120 from colemanw/contentBlock2
colemanw [Thu, 7 Apr 2022 00:24:28 +0000 (20:24 -0400)]
Merge pull request #23120 from colemanw/contentBlock2

Afform - Ensure upgrade fully converts content blocks

2 years agoMerge pull request #23116 from colemanw/removeContactViewOptions
Eileen McNaughton [Wed, 6 Apr 2022 23:15:34 +0000 (11:15 +1200)]
Merge pull request #23116 from colemanw/removeContactViewOptions

CiviGrant - Remove upgrade that adds removed option value

2 years agoMerge pull request #23118 from colemanw/grantTab
colemanw [Wed, 6 Apr 2022 22:55:58 +0000 (18:55 -0400)]
Merge pull request #23118 from colemanw/grantTab

CiviGrant - Fix missing column and translate headers in contact summary tab

2 years agoMerge pull request #23115 from eileenmcnaughton/548
Eileen McNaughton [Wed, 6 Apr 2022 22:30:10 +0000 (10:30 +1200)]
Merge pull request #23115 from eileenmcnaughton/548

Fix broken civgrant shortcut link

2 years agoAfform - Ensure upgrade fully converts content blocks
Coleman Watts [Wed, 6 Apr 2022 22:21:02 +0000 (18:21 -0400)]
Afform - Ensure upgrade fully converts content blocks

Ensures `{block: '*'}` doesn't get converted to `{entity_type: '*'}`
because that's not a real entity type.

2 years agoMerge pull request #23104 from colemanw/contentBlock
Eileen McNaughton [Wed, 6 Apr 2022 22:13:55 +0000 (10:13 +1200)]
Merge pull request #23104 from colemanw/contentBlock

Afform - Fix regression editing a content block with no entity type

2 years agoCiviGrant - Fix missing column and translated headers in contact summary tab
Coleman Watts [Wed, 6 Apr 2022 16:06:16 +0000 (12:06 -0400)]
CiviGrant - Fix missing column and translated headers in contact summary tab

2 years agoCiviGrant - Refresh grants tab after adding a grant from contact summary actions...
Coleman Watts [Wed, 6 Apr 2022 15:55:05 +0000 (11:55 -0400)]
CiviGrant - Refresh grants tab after adding a grant from contact summary actions menu

2 years agoFix contact summary actions for CiviGrant
Coleman Watts [Wed, 6 Apr 2022 15:27:46 +0000 (11:27 -0400)]
Fix contact summary actions for CiviGrant

2 years agoFix broken civgrant shortcut link
Eileen McNaughton [Wed, 6 Apr 2022 06:03:14 +0000 (18:03 +1200)]
Fix broken civgrant shortcut link

2 years agoCiviGrant - Remove upgrade that adds removed option value
Coleman Watts [Wed, 6 Apr 2022 11:48:49 +0000 (07:48 -0400)]
CiviGrant - Remove upgrade that adds removed option value

2 years agoMerge pull request #23102 from seamuslee001/dompdf_update
Seamus Lee [Wed, 6 Apr 2022 04:18:14 +0000 (14:18 +1000)]
Merge pull request #23102 from seamuslee001/dompdf_update

Update DOMPDF to 1.2.1 and update composer-compile-plugin as per master

2 years agoMerge pull request #23105 from colemanw/grantViewOptions
demeritcowboy [Wed, 6 Apr 2022 03:25:38 +0000 (23:25 -0400)]
Merge pull request #23105 from colemanw/grantViewOptions

CiviGrant - Remove non-functional setting for grants tab

2 years agoCiviGrant - Remove non-functional setting for grants tab in `contact_view_options`
Coleman Watts [Wed, 6 Apr 2022 01:02:09 +0000 (21:02 -0400)]
CiviGrant - Remove non-functional setting for grants tab in `contact_view_options`

Fixes dev/core#3159

The status of the tab can be controlled at a coarse level by disabling/enabling the CiviGrant extension,
and at a finer level with the Contact Layout Editor extension, making this option unnecessary.
Since it's broken, it seemed best to remove it.

2 years agoAfform - Fix regression editing a content block with no entity type
Coleman Watts [Wed, 6 Apr 2022 00:37:04 +0000 (20:37 -0400)]
Afform - Fix regression editing a content block with no entity type

2 years agoUpdate DOMPDF to 1.2.1 and update composer-compile-plugin as per master
Seamus Lee [Tue, 5 Apr 2022 22:06:18 +0000 (08:06 +1000)]
Update DOMPDF to 1.2.1 and update composer-compile-plugin as per master

2 years agoMerge pull request #22986 from colemanw/afformFixBlocksAgain
demeritcowboy [Tue, 5 Apr 2022 20:57:47 +0000 (16:57 -0400)]
Merge pull request #22986 from colemanw/afformFixBlocksAgain

Afform - repeat block metadata update to fix errors when saving blocks

2 years agoMerge pull request #23086 from demeritcowboy/report-filter
Eileen McNaughton [Fri, 1 Apr 2022 20:49:22 +0000 (09:49 +1300)]
Merge pull request #23086 from demeritcowboy/report-filter

dev/core#3153 - Fix missing filter summary on CiviReports

2 years agofix missing filter summary
demeritcowboy [Fri, 1 Apr 2022 17:55:22 +0000 (13:55 -0400)]
fix missing filter summary

2 years agoMerge pull request #23051 from adixon/3031-smart-subscribe-check-sql
demeritcowboy [Fri, 1 Apr 2022 16:46:26 +0000 (12:46 -0400)]
Merge pull request #23051 from adixon/3031-smart-subscribe-check-sql

split sql select into two selects for performance reasons

2 years agosplit sql select into two selects for performance reasons
Alan Dixon [Mon, 28 Mar 2022 20:23:52 +0000 (16:23 -0400)]
split sql select into two selects for performance reasons

2 years agoMerge pull request #23070 from colemanw/searchKitGroupByFix
demeritcowboy [Fri, 1 Apr 2022 00:03:45 +0000 (20:03 -0400)]
Merge pull request #23070 from colemanw/searchKitGroupByFix

SearchKit - Fix broken group-by caused by non-aggregated id column

2 years agoMerge pull request #23071 from demeritcowboy/token-time
demeritcowboy [Thu, 31 Mar 2022 22:30:52 +0000 (18:30 -0400)]
Merge pull request #23071 from demeritcowboy/token-time

dev/core#3072 - Put contribution dates in message template back to not including time

2 years agoput dates back to not including time
demeritcowboy [Thu, 31 Mar 2022 17:21:13 +0000 (13:21 -0400)]
put dates back to not including time

2 years agoSearchKit - Fix UI to allow aggregation of custom fields
Coleman Watts [Thu, 31 Mar 2022 13:49:55 +0000 (09:49 -0400)]
SearchKit - Fix UI to allow aggregation of custom fields

Fixes dev/core#3143

2 years agoSearchKit - Fix broken group-by caused by non-aggregated id column
Coleman Watts [Thu, 31 Mar 2022 13:42:42 +0000 (09:42 -0400)]
SearchKit - Fix broken group-by caused by non-aggregated id column

Before: The `id` column was being unconditionally added, breaking FULL_GROUP_BY sql
After: Let the Api4SelectQuery take care of it for DAO entities

2 years agoMerge pull request #23063 from demeritcowboy/timezone-multilingual
demeritcowboy [Wed, 30 Mar 2022 22:55:06 +0000 (18:55 -0400)]
Merge pull request #23063 from demeritcowboy/timezone-multilingual

dev/core#3151 - Don't localize event_tz field when backing up the field during upgrade

2 years agodon't localize event_tz field when backing up
demeritcowboy [Wed, 30 Mar 2022 19:41:50 +0000 (15:41 -0400)]
don't localize event_tz field when backing up

2 years agoMerge pull request #22940 from demeritcowboy/revert-timezone-upgrade
Tim Otten [Sun, 27 Mar 2022 21:36:42 +0000 (14:36 -0700)]
Merge pull request #22940 from demeritcowboy/revert-timezone-upgrade

dev/core#2122 - Upgrade scripts for revert event timezones

2 years agoMerge pull request #23035 from colemanw/mergeContactsRedirectFix
demeritcowboy [Sun, 27 Mar 2022 18:33:49 +0000 (14:33 -0400)]
Merge pull request #23035 from colemanw/mergeContactsRedirectFix

Dedupe - Fix redirecting to contact after merge

2 years agodev/core#2122 - TimezoneRevertTrait - Failsafe to opt-out of TZ converter
Tim Otten [Fri, 25 Mar 2022 09:39:36 +0000 (02:39 -0700)]
dev/core#2122 - TimezoneRevertTrait - Failsafe to opt-out of TZ converter

2 years agodev/core#2122 - TimezoneRevertTrait - Cleanup modified TZ-offsets and DST skews
Tim Otten [Fri, 25 Mar 2022 05:18:28 +0000 (22:18 -0700)]
dev/core#2122 - TimezoneRevertTrait - Cleanup modified TZ-offsets and DST skews

2 years agoDedupe - Fix redirecting to contact after merge
Coleman Watts [Fri, 25 Mar 2022 13:20:52 +0000 (09:20 -0400)]
Dedupe - Fix redirecting to contact after merge

The final redirect was accidentally changed by a6f2a80ffbddfc0788199ec824b8aff46ccd1542
Fixes dev/core#3135

2 years agoMerge pull request #23030 from alifrumin/releasenotes5.48
Seamus Lee [Fri, 25 Mar 2022 08:21:35 +0000 (19:21 +1100)]
Merge pull request #23030 from alifrumin/releasenotes5.48

[NFC] First Pass at 5.48 release notes

2 years ago[NFC] 5.48 Release Notes - First Pass
Alice Frumin [Wed, 23 Mar 2022 15:56:29 +0000 (11:56 -0400)]
[NFC]  5.48 Release Notes - First Pass

2 years agoMerge pull request #23027 from eileenmcnaughton/548
Seamus Lee [Fri, 25 Mar 2022 02:48:50 +0000 (13:48 +1100)]
Merge pull request #23027 from eileenmcnaughton/548

dev/core#3134 Fix regression on unselected lineitem

2 years agodev/core#2122 - TimezoneRevertTrait - Downgrade should use same TZ as prior upgrade
Tim Otten [Fri, 25 Mar 2022 02:05:12 +0000 (19:05 -0700)]
dev/core#2122 - TimezoneRevertTrait - Downgrade should use same TZ as prior upgrade

2 years agodev/core#3134 Fix regression on unselected lineitem
Eileen McNaughton [Thu, 24 Mar 2022 23:27:36 +0000 (12:27 +1300)]
dev/core#3134 Fix regression on unselected lineitem

2 years agoMerge pull request #23024 from colemanw/fixSubmitActions
colemanw [Thu, 24 Mar 2022 13:57:03 +0000 (09:57 -0400)]
Merge pull request #23024 from colemanw/fixSubmitActions

Afform - fix missing submit actions

2 years agoAfform - fix missing submit actions
Coleman Watts [Thu, 24 Mar 2022 11:59:35 +0000 (07:59 -0400)]
Afform - fix missing submit actions

This regressed due to 09a3e37058f393276662301038a6437eaaa346e4 specifying the wrong type.

2 years agoMerge pull request #23012 from colemanw/fixSearchAfformFilter
Seamus Lee [Thu, 24 Mar 2022 09:57:26 +0000 (20:57 +1100)]
Merge pull request #23012 from colemanw/fixSearchAfformFilter

SearchKit - Fix multi-valued afform filters

2 years agodev/core#2122 - TimezoneRevertTrait - Tweak messaging
Tim Otten [Thu, 24 Mar 2022 07:21:29 +0000 (00:21 -0700)]
dev/core#2122 - TimezoneRevertTrait - Tweak messaging

2 years agodev/core#2122 - TimezoneRevertTrait - Split out messaging across bullets
Tim Otten [Wed, 23 Mar 2022 04:46:33 +0000 (21:46 -0700)]
dev/core#2122 - TimezoneRevertTrait - Split out messaging across bullets

2 years agodev/core#2122 - For 5.48.beta2, use TimezoneRevertTrait and updates msg tpls
Tim Otten [Wed, 23 Mar 2022 00:17:37 +0000 (17:17 -0700)]
dev/core#2122 - For 5.48.beta2, use TimezoneRevertTrait and updates msg tpls

2 years agodev/core#2122 - Add TimezoneRevertTrait (shared by 5.47/5.48)
demeritcowboy [Wed, 23 Mar 2022 00:08:01 +0000 (17:08 -0700)]
dev/core#2122 - Add TimezoneRevertTrait (shared by 5.47/5.48)

Based on upgrade-steps from demerit. Adapted to trait by totten.

2 years agoSet version to 5.48.beta2
Tim Otten [Wed, 23 Mar 2022 00:15:10 +0000 (17:15 -0700)]
Set version to 5.48.beta2

2 years agoMerge pull request #22930 from demeritcowboy/revert-event-timezone
Tim Otten [Thu, 24 Mar 2022 03:53:12 +0000 (20:53 -0700)]
Merge pull request #22930 from demeritcowboy/revert-event-timezone

dev/core#2122 - Revert event timezone

2 years agoSearchKit - Fix multi-valued afform filters
Coleman Watts [Wed, 23 Mar 2022 01:26:16 +0000 (21:26 -0400)]
SearchKit - Fix multi-valued afform filters

Multi-select search filters stopped working as of 007167dfb90eaaeb0c76f2c9e5b0327f0b3e22e9

2 years agoMerge pull request #23001 from agh1/5.48.0-releasenotes-initial
Tim Otten [Tue, 22 Mar 2022 22:52:49 +0000 (15:52 -0700)]
Merge pull request #23001 from agh1/5.48.0-releasenotes-initial

5.48.0 release notes initial run

2 years agoMerge pull request #22997 from colemanw/fixDeletingAfformWithSavedSearch
colemanw [Tue, 22 Mar 2022 15:50:51 +0000 (11:50 -0400)]
Merge pull request #22997 from colemanw/fixDeletingAfformWithSavedSearch

Fix deleting afforms when deleting saved search

2 years ago5.48.0 release notes: added boilerplate
Andie Hunt [Tue, 22 Mar 2022 15:26:28 +0000 (11:26 -0400)]
5.48.0 release notes: added boilerplate

2 years ago5.48.0 release notes: initial run
Andie Hunt [Tue, 22 Mar 2022 15:21:20 +0000 (11:21 -0400)]
5.48.0 release notes: initial run

2 years agoMerge pull request #22985 from demeritcowboy/postupgrademessage-2
Tim Otten [Tue, 22 Mar 2022 05:54:04 +0000 (22:54 -0700)]
Merge pull request #22985 from demeritcowboy/postupgrademessage-2

dev/core#3119 - Post-upgrade messages no longer being displayed

2 years agoMerge pull request #22998 from seamuslee001/update_guzzlehttp_18
Seamus Lee [Tue, 22 Mar 2022 03:00:42 +0000 (14:00 +1100)]
Merge pull request #22998 from seamuslee001/update_guzzlehttp_18

[REF] Update Guzzlehttp/psr7 version to be 1.8.5

2 years ago[REF] Update Guzzlehttp/psr7 version to be 1.8.5
Seamus Lee [Tue, 22 Mar 2022 00:01:37 +0000 (11:01 +1100)]
[REF] Update Guzzlehttp/psr7 version to be 1.8.5

2 years agoFix deleting afforms when deleting saved search
Coleman Watts [Mon, 21 Mar 2022 23:28:02 +0000 (19:28 -0400)]
Fix deleting afforms when deleting saved search

A typo in the code was preventing afforms from being deleted with a corresponding saved search,
and may have led to afforms being deleted incorrectly!

2 years agoCRM_Upgrade_Form::doFinish() - Narrower call to session-reset
Tim Otten [Mon, 21 Mar 2022 22:04:08 +0000 (15:04 -0700)]
CRM_Upgrade_Form::doFinish() - Narrower call to session-reset

The main call(s) to `rebuildMenuAndCaches()` do clear out most caches.  It's
_just_ the session that has been skipped.

2 years agoPost-upgrade messages no longer being displayed (part 2)
Tim Otten [Mon, 21 Mar 2022 21:38:48 +0000 (14:38 -0700)]
Post-upgrade messages no longer being displayed (part 2)

This line is only hit if the upgrader activates CiviGrant.

2 years agoAfform - Fix undefined array index warning
Coleman Watts [Sun, 20 Mar 2022 03:03:25 +0000 (23:03 -0400)]
Afform - Fix undefined array index warning

2 years agoAfform - repeat block metadata update to fix errors when saving blocks
Coleman Watts [Sat, 19 Mar 2022 21:32:39 +0000 (17:32 -0400)]
Afform - repeat block metadata update to fix errors when saving blocks

2 years agopostupgrade messages no longer being displayed
demeritcowboy [Sat, 19 Mar 2022 19:33:56 +0000 (15:33 -0400)]
postupgrade messages no longer being displayed

2 years agoMerge pull request #22963 from colemanw/fixAfformBlocks
demeritcowboy [Sat, 19 Mar 2022 19:19:51 +0000 (15:19 -0400)]
Merge pull request #22963 from colemanw/fixAfformBlocks

Afform - Fix saving and editing entity blocks

2 years agoMerge pull request #22976 from demeritcowboy/civireport-false
Eileen McNaughton [Sat, 19 Mar 2022 00:30:40 +0000 (13:30 +1300)]
Merge pull request #22976 from demeritcowboy/civireport-false

dev/core#3126 - CiviReport statistics appearing twice on page

2 years agofalse is true
demeritcowboy [Fri, 18 Mar 2022 20:38:06 +0000 (16:38 -0400)]
false is true

2 years agoMerge pull request #22964 from pradpnayak/fixfatalerror3
demeritcowboy [Fri, 18 Mar 2022 02:41:38 +0000 (22:41 -0400)]
Merge pull request #22964 from pradpnayak/fixfatalerror3

(Regression) - fixed tags form field display on New/Edit contact screen

2 years agofixed tags form field display on New/Edit contact screen
Pradeep Nayak [Thu, 17 Mar 2022 21:35:54 +0000 (21:35 +0000)]
fixed tags form field display on New/Edit contact screen

2 years agoAfform - Fix saving and editing entity blocks
Coleman Watts [Thu, 17 Mar 2022 18:16:44 +0000 (14:16 -0400)]
Afform - Fix saving and editing entity blocks

Fixes dev/core#3120
Regression caused by #21218
Also fixes undefined variable errors when editing a block.

2 years agoFix issues picked up by stylechecker
Seamus Lee [Thu, 17 Mar 2022 09:53:17 +0000 (20:53 +1100)]
Fix issues picked up by stylechecker

2 years agosecurity/core#112 Fix viewing contributions when user doesn't have acess to civicontr...
Seamus Lee [Tue, 1 Mar 2022 03:32:28 +0000 (14:32 +1100)]
security/core#112 Fix viewing contributions when user doesn't have acess to civicontribute or edit contributions permissions

2 years agosecurity/core#113 Apply patch from Mathieu to fix SQLI in participant import
Seamus Lee [Thu, 3 Mar 2022 06:23:19 +0000 (17:23 +1100)]
security/core#113 Apply patch from Mathieu to fix SQLI in participant import

2 years agoUpgrade CKEditor to 4.18
Seamus Lee [Wed, 16 Mar 2022 19:58:23 +0000 (06:58 +1100)]
Upgrade CKEditor to 4.18

2 years ago(security/core#111) Refine prose/naming
Tim Otten [Wed, 16 Mar 2022 09:27:19 +0000 (02:27 -0700)]
(security/core#111) Refine prose/naming

2 years agosecurity/core#111 Add in Status check for if Anonymous Users have edit contributions...
Seamus Lee [Wed, 16 Mar 2022 08:33:54 +0000 (01:33 -0700)]
security/core#111 Add in Status check for if Anonymous Users have edit contributions and or access CiviContribute Permissions

2 years agoCRM_Core_Permission - Allow checking of anon-perms by authenticated-users
CiviCRM [Wed, 16 Mar 2022 08:30:48 +0000 (01:30 -0700)]
CRM_Core_Permission - Allow checking of anon-perms by authenticated-users

Each CRM_Core_Permission_* adapter allows you to check the permissions on
behalf of some other user. However, if that "other user" is "anonymous",
then they are prone to mishandling.

2 years agoE2E Tests - Add coverage for variations on `Permission::check($perm,$cid)`
Tim Otten [Wed, 16 Mar 2022 03:37:33 +0000 (20:37 -0700)]
E2E Tests - Add coverage for variations on `Permission::check($perm,$cid)`

2 years agocomposer.json - Update jquery UI 1.13.0 => 1.13.1
Tim Otten [Wed, 16 Mar 2022 05:33:29 +0000 (22:33 -0700)]
composer.json - Update jquery UI 1.13.0 => 1.13.1

2 years agoMerge pull request #22948 from pradpnayak/fixfatalerror3
Seamus Lee [Tue, 15 Mar 2022 21:24:48 +0000 (08:24 +1100)]
Merge pull request #22948 from pradpnayak/fixfatalerror3

Return array for setdefaults

2 years agoReturn array for setdefaults
Pradeep Nayak [Tue, 15 Mar 2022 11:08:51 +0000 (11:08 +0000)]
Return array for setdefaults

2 years agoMerge pull request #22944 from colemanw/SoftDeleteActionTrait
demeritcowboy [Mon, 14 Mar 2022 18:12:06 +0000 (14:12 -0400)]
Merge pull request #22944 from colemanw/SoftDeleteActionTrait

[REF] Rename SoftDeleteEntity -> SoftDeleteActionTrait

2 years agoRename SoftDeleteEntity -> SoftDeleteActionTrait
Coleman Watts [Mon, 14 Mar 2022 15:18:25 +0000 (11:18 -0400)]
Rename SoftDeleteEntity -> SoftDeleteActionTrait

The trait is used by actions, not by entities.

2 years agoMerge pull request #22933 from colemanw/fixQueryHook
demeritcowboy [Sun, 13 Mar 2022 17:04:51 +0000 (13:04 -0400)]
Merge pull request #22933 from colemanw/fixQueryHook

Fix backward-compatability for new method in CRM_Contact_BAO_Query_Hook

2 years agoMerge pull request #22932 from eileenmcnaughton/upit
colemanw [Sun, 13 Mar 2022 15:41:04 +0000 (11:41 -0400)]
Merge pull request #22932 from eileenmcnaughton/upit

dev/core#3112 Clear caches to avoid error on upgrade

2 years agoFix backward-compatability for new method in CRM_Contact_BAO_Query_Hook
Coleman Watts [Sun, 13 Mar 2022 06:26:10 +0000 (01:26 -0500)]
Fix backward-compatability for new method in CRM_Contact_BAO_Query_Hook

The method getDefaultReturnProperties was just added to CRM_Contact_BAO_Query_Hook,
but some extensions do not yet implement it, and also do not extend that class so
cannot inherit the default method.

This adds a guard around calling the new method to avoid crashes.

2 years agoMerge pull request #22929 from colemanw/afformELementFix
demeritcowboy [Sun, 13 Mar 2022 13:55:05 +0000 (09:55 -0400)]
Merge pull request #22929 from colemanw/afformELementFix

Afform Gui - Fix selecting html element of text box

2 years agodev/core#3112 Clear caches to avoid error on upgrade
Eileen McNaughton [Sun, 13 Mar 2022 05:10:43 +0000 (18:10 +1300)]
dev/core#3112 Clear caches to avoid error on upgrade

There may be a better place for this - but at least here is is clear to the api call that
can fail without it .... if the metadata cache is populated from an earlier version the
table_name key may not exist & hence the api call fails with no table_name
in the from clause

2 years agoregenerate civicrm_generated
demeritcowboy [Sat, 12 Mar 2022 16:51:54 +0000 (11:51 -0500)]
regenerate civicrm_generated

2 years agoregenerate DAO
demeritcowboy [Sat, 12 Mar 2022 16:47:00 +0000 (11:47 -0500)]
regenerate DAO

2 years agoRevert "default event timezone for sample data"
demeritcowboy [Sat, 12 Mar 2022 16:38:10 +0000 (11:38 -0500)]
Revert "default event timezone for sample data"

This reverts commit 321eb9080a8523af9e03564f83eef206f9f325c0.

2 years agorevert 20476
demeritcowboy [Sat, 12 Mar 2022 16:36:58 +0000 (11:36 -0500)]
revert 20476

2 years agoAfform Gui - Fix selecting html element of text box
Coleman Watts [Thu, 10 Mar 2022 01:42:09 +0000 (20:42 -0500)]
Afform Gui - Fix selecting html element of text box

2 years agoMerge pull request #22921 from totten/5.48-yml
Eileen McNaughton [Thu, 10 Mar 2022 01:59:33 +0000 (14:59 +1300)]
Merge pull request #22921 from totten/5.48-yml

(NFC) contributor-key.yml - Fix syntax error

2 years agocontributor-key.yml - Fix syntax error
Tim Otten [Wed, 9 Mar 2022 23:26:50 +0000 (15:26 -0800)]
contributor-key.yml - Fix syntax error