civicrm-core.git
2 years ago[REF] dev/core#3676 Add in html2text/html2text to replace usage of roundcube's versio...
Seamus Lee [Fri, 8 Jul 2022 05:52:21 +0000 (15:52 +1000)]
[REF] dev/core#3676 Add in html2text/html2text to replace usage of roundcube's version we have in packages

2 years agoAdd in necessary patch for html2text for php8.1
Seamus Lee [Fri, 8 Jul 2022 05:42:28 +0000 (15:42 +1000)]
Add in necessary patch for html2text for php8.1

2 years agoMerge pull request #23967 from colemanw/angularCleanup
Eileen McNaughton [Fri, 8 Jul 2022 02:41:32 +0000 (14:41 +1200)]
Merge pull request #23967 from colemanw/angularCleanup

REF - Remove unneeded return from private fn, add comments

2 years agoREF - Remove unneeded return from private fn, add comments
Coleman Watts [Thu, 7 Jul 2022 22:19:26 +0000 (18:19 -0400)]
REF - Remove unneeded return from private fn, add comments

2 years agoMerge pull request #23965 from MegaphoneJon/contribution-view-perm-fix
Eileen McNaughton [Thu, 7 Jul 2022 21:57:01 +0000 (09:57 +1200)]
Merge pull request #23965 from MegaphoneJon/contribution-view-perm-fix

Fixes core#3725 'Access CiviContribute' can't view a single contribution

2 years agoMerge pull request #23925 from seamuslee001/type_hints_2
Tim Otten [Thu, 7 Jul 2022 21:46:38 +0000 (14:46 -0700)]
Merge pull request #23925 from seamuslee001/type_hints_2

[REF][PHP8.1] Add in type hints to fix deprecations and add in #[\Ret…

2 years agoFixes core#3725 'Access CiviContribute' can't view a single contribution
Jon Goldberg [Thu, 7 Jul 2022 18:35:27 +0000 (14:35 -0400)]
Fixes core#3725 'Access CiviContribute' can't view a single contribution

2 years agoMerge pull request #23929 from eileenmcnaughton/recur
colemanw [Thu, 7 Jul 2022 15:02:32 +0000 (11:02 -0400)]
Merge pull request #23929 from eileenmcnaughton/recur

Upgrade script for contribution_recur amount, fix loading

2 years agoMerge pull request #23809 from eileenmcnaughton/invoice_recur
colemanw [Thu, 7 Jul 2022 15:02:18 +0000 (11:02 -0400)]
Merge pull request #23809 from eileenmcnaughton/invoice_recur

Fix bug whereby editing contribution_recur.amount was not updating single-line-item-template-contributions

2 years agoMerge pull request #23964 from eileenmcnaughton/tpl_err
colemanw [Thu, 7 Jul 2022 15:00:42 +0000 (11:00 -0400)]
Merge pull request #23964 from eileenmcnaughton/tpl_err

Do not escape error message

2 years agoMerge pull request #23937 from demeritcowboy/case-activity-search-filter
Matthew Wire [Thu, 7 Jul 2022 12:38:32 +0000 (13:38 +0100)]
Merge pull request #23937 from demeritcowboy/case-activity-search-filter

dev/core#3709 - Make the activity search filter on manage case less unwieldy

2 years agoMerge pull request #23962 from eileenmcnaughton/pledge
Matthew Wire [Thu, 7 Jul 2022 12:37:26 +0000 (13:37 +0100)]
Merge pull request #23962 from eileenmcnaughton/pledge

Remove another instance of pledges using contribution option group

2 years agoMerge pull request #23963 from eileenmcnaughton/tpl
Matthew Wire [Thu, 7 Jul 2022 12:36:34 +0000 (13:36 +0100)]
Merge pull request #23963 from eileenmcnaughton/tpl

Smarty notice fix

2 years agoMerge pull request #23924 from colemanw/afformPopup
Matthew Wire [Thu, 7 Jul 2022 12:35:55 +0000 (13:35 +0100)]
Merge pull request #23924 from colemanw/afformPopup

Angular - Support popping up an afform or other ang module via ajax modal

2 years agoAlso don't escape in if context
Eileen McNaughton [Thu, 7 Jul 2022 09:13:04 +0000 (21:13 +1200)]
Also don't escape in if context

- just a bit less confusing when debugging

2 years agoAdd precautionary purify
Eileen McNaughton [Thu, 7 Jul 2022 08:58:14 +0000 (20:58 +1200)]
Add precautionary purify

2 years agoDo not escape error message
Eileen McNaughton [Thu, 7 Jul 2022 08:57:05 +0000 (20:57 +1200)]
Do not escape error message

2 years agoSmarty notice fix
Eileen McNaughton [Thu, 7 Jul 2022 08:25:32 +0000 (20:25 +1200)]
Smarty notice fix

2 years agoMerge pull request #23961 from totten/master-mgdphp-caseacttype
Seamus Lee [Thu, 7 Jul 2022 07:37:36 +0000 (17:37 +1000)]
Merge pull request #23961 from totten/master-mgdphp-caseacttype

(NFC) mgd-php@1 - Add example+assertions for new case-type

2 years agoMerge pull request #23960 from seamuslee001/fix_static_calling_trait
Seamus Lee [Thu, 7 Jul 2022 07:37:26 +0000 (17:37 +1000)]
Merge pull request #23960 from seamuslee001/fix_static_calling_trait

[REF][PHP8.1] Fix deprecations where by calling trait static function…

2 years agoMerge pull request #23959 from totten/master-casexml-acttype
Eileen McNaughton [Thu, 7 Jul 2022 06:38:04 +0000 (18:38 +1200)]
Merge pull request #23959 from totten/master-casexml-acttype

(NFC) case-xml@1 - Add example+assertions of new activity-type

2 years agoRemove another instance of pledges using contribution option group
Eileen McNaughton [Thu, 7 Jul 2022 05:22:57 +0000 (17:22 +1200)]
Remove another instance of pledges using contribution option group

2 years agoDeclare total_amount, make amount an alias
Eileen McNaughton [Thu, 7 Jul 2022 02:06:15 +0000 (14:06 +1200)]
Declare total_amount, make amount an alias

The confusion between amount & total_amount is in
multiple places - this means they are treated 'the same' if passed
into repeattransaction

2 years agoFix handling of parameters in repeattransaction
Eileen McNaughton [Thu, 7 Jul 2022 02:00:34 +0000 (14:00 +1200)]
Fix handling of parameters in repeattransaction

The function was forcing in the value from the original contribution
into amount, rather than the value from the templateContribution

2 years agoEnotice fix for when campaign is disabled
Eileen McNaughton [Wed, 6 Jul 2022 23:04:12 +0000 (11:04 +1200)]
Enotice fix for when campaign is disabled

2 years agoUpgrade script for contribution_recur amount, fix loading
Eileen McNaughton [Fri, 1 Jul 2022 21:13:07 +0000 (09:13 +1200)]
Upgrade script for contribution_recur amount, fix loading

2 years agoMerge pull request #23084 from pradpnayak/paypalipnchangemaount
Eileen McNaughton [Thu, 7 Jul 2022 05:05:27 +0000 (17:05 +1200)]
Merge pull request #23084 from pradpnayak/paypalipnchangemaount

Subscription Amount change not respected in Paypal

2 years ago[REF][PHP8.1] Fix deprecations where by calling trait static functions when not from...
Seamus Lee [Thu, 7 Jul 2022 04:23:31 +0000 (14:23 +1000)]
[REF][PHP8.1] Fix deprecations where by calling trait static functions when not from a class that implements the trait is deprecated

2 years agoMerge pull request #23958 from civicrm/5.51
Seamus Lee [Thu, 7 Jul 2022 04:14:25 +0000 (14:14 +1000)]
Merge pull request #23958 from civicrm/5.51

5.51

2 years agomgd-php@1 - Add example+assertions for new case-type (but without a real `definition`)
Tim Otten [Thu, 7 Jul 2022 03:15:14 +0000 (20:15 -0700)]
mgd-php@1 - Add example+assertions for new case-type (but without a real `definition`)

2 years agocase-xml@1 - Add example+assertions of new activity-type
Tim Otten [Thu, 7 Jul 2022 03:12:03 +0000 (20:12 -0700)]
case-xml@1 - Add example+assertions of new activity-type

2 years agoMerge pull request #23956 from agh1/5.51.0-releasenotes-final
Seamus Lee [Thu, 7 Jul 2022 01:42:59 +0000 (11:42 +1000)]
Merge pull request #23956 from agh1/5.51.0-releasenotes-final

5.51.0 release notes final changes

2 years agoMerge pull request #23933 from eileenmcnaughton/require
colemanw [Wed, 6 Jul 2022 23:02:23 +0000 (19:02 -0400)]
Merge pull request #23933 from eileenmcnaughton/require

Import fix - if there are no required fields validateRequiredFields should 'pass'

2 years agoMerge pull request #23934 from eileenmcnaughton/url_tokens
colemanw [Wed, 6 Jul 2022 22:59:52 +0000 (18:59 -0400)]
Merge pull request #23934 from eileenmcnaughton/url_tokens

dev/core#3713 Use front-end urls for event url tokens

2 years agoMerge pull request #23953 from eileenmcnaughton/imp_job
colemanw [Wed, 6 Jul 2022 22:56:36 +0000 (18:56 -0400)]
Merge pull request #23953 from eileenmcnaughton/imp_job

dev/core#3719 fix inconistent handling of job_type:label

2 years agoAfform - Close popup dialog after submitting
Coleman Watts [Wed, 6 Jul 2022 21:10:35 +0000 (17:10 -0400)]
Afform - Close popup dialog after submitting

2 years agoAfform - Use urlHash embedded in popup dialog
Coleman Watts [Wed, 6 Jul 2022 21:01:47 +0000 (17:01 -0400)]
Afform - Use urlHash embedded in popup dialog

2 years agocrmUi - Fix crmPageTitle directive to work inside a modal
Coleman Watts [Fri, 1 Jul 2022 02:12:24 +0000 (22:12 -0400)]
crmUi - Fix crmPageTitle directive to work inside a modal

2 years agoAngular - Support popping up an afform or other ang module via ajax modal
Coleman Watts [Fri, 1 Jul 2022 01:53:54 +0000 (21:53 -0400)]
Angular - Support popping up an afform or other ang module via ajax modal

Fixes the AngularLoader to work with modal dialogs via ajax.
Dedupes the already-loaded modules to only load what's needed.

2 years agoMerge pull request #23947 from totten/master-php81-global
Tim Otten [Wed, 6 Jul 2022 21:01:29 +0000 (14:01 -0700)]
Merge pull request #23947 from totten/master-php81-global

dev/core#3181 - Resolver - Compatibility fix for GLOBALS in PHP 8.1

2 years ago5.51.0 release notes: added late changes
Andie Hunt [Wed, 6 Jul 2022 19:47:53 +0000 (15:47 -0400)]
5.51.0 release notes: added late changes

2 years agoAdd release-notes/5.50.4.md
Tim Otten [Mon, 27 Jun 2022 22:35:00 +0000 (15:35 -0700)]
Add release-notes/5.50.4.md

2 years agoAdd release-notes/5.50.3.md
Tim Otten [Fri, 17 Jun 2022 06:00:57 +0000 (23:00 -0700)]
Add release-notes/5.50.3.md

2 years agoFix typo in version of Guzzle
tschuettler [Wed, 15 Jun 2022 07:36:07 +0000 (09:36 +0200)]
Fix typo in version of Guzzle

2 years agoAdd release-notes/5.50.2.md
Tim Otten [Tue, 14 Jun 2022 21:22:48 +0000 (14:22 -0700)]
Add release-notes/5.50.2.md

2 years agoAdd release-notes/5.50.1.md
Tim Otten [Fri, 3 Jun 2022 04:51:42 +0000 (21:51 -0700)]
Add release-notes/5.50.1.md

2 years agoMerge pull request #23945 from eileenmcnaughton/map
Yashodha Chaku [Wed, 6 Jul 2022 15:22:19 +0000 (20:52 +0530)]
Merge pull request #23945 from eileenmcnaughton/map

Enotice fix

2 years agoMerge pull request #23346 from mattwire/totaltaxamount
Matthew Wire [Wed, 6 Jul 2022 08:58:31 +0000 (09:58 +0100)]
Merge pull request #23346 from mattwire/totaltaxamount

Fix calculation and assignment of taxAmount on contribution page confirmation

2 years agodev/core#3719 fix inconistent handling of job_type:label
Eileen McNaughton [Wed, 6 Jul 2022 07:57:21 +0000 (19:57 +1200)]
dev/core#3719 fix inconistent handling of job_type:label

2 years agoMerge pull request #23951 from civicrm/5.51
Eileen McNaughton [Wed, 6 Jul 2022 07:42:24 +0000 (19:42 +1200)]
Merge pull request #23951 from civicrm/5.51

5.51 to master

2 years agoMerge pull request #23949 from alifrumin/rn5.51
Eileen McNaughton [Wed, 6 Jul 2022 07:23:24 +0000 (19:23 +1200)]
Merge pull request #23949 from alifrumin/rn5.51

[NFC] 5.51 Release Notes - first pass

2 years ago[NFC] 5.51 release notes
Alice Frumin [Sat, 2 Jul 2022 00:20:39 +0000 (20:20 -0400)]
[NFC] 5.51 release notes

2 years agodev/core#3181 - Resolver - Compatibility fix for GLOBALS in PHP 8.1
Tim Otten [Tue, 5 Jul 2022 23:33:17 +0000 (16:33 -0700)]
dev/core#3181 - Resolver - Compatibility fix for GLOBALS in PHP 8.1

2 years agoCRM_Utils_Array - All `pathGet()`-like methods will accept empty-path
Tim Otten [Tue, 5 Jul 2022 23:23:36 +0000 (16:23 -0700)]
CRM_Utils_Array - All `pathGet()`-like methods will accept empty-path

These two are equivalent:

  (A) $data['sub1']['sub2']['sub3']
  (B) CRM_Utils_Array::pathGet($data, ['sub1', 'sub2', 'sub3'])

But what if the list of subpaths is empty -- ie you're accessing the top-level item?

  (A) $data
  (B) CRM_Utils_Array::pathGet($data, [])

It worked correctly on `pathGet()`, but accessing the top-level using a
related methods (eg `pathSet()`) would generate a PHP error.

This commit ensures that related methods can be used to check/update the
top-level item (ie path===[]).

Note that there is some decent test-coverage already for the regular
scenarios (eg `testGetSetPathParts()`).

2 years agoEnotice fix
Eileen McNaughton [Tue, 5 Jul 2022 20:46:05 +0000 (08:46 +1200)]
Enotice fix

2 years agoMerge pull request #23942 from tschuettler/3717-sort-mapping-page
Eileen McNaughton [Tue, 5 Jul 2022 20:44:00 +0000 (08:44 +1200)]
Merge pull request #23942 from tschuettler/3717-sort-mapping-page

dev/core#3717 - Fix sorting by mapping type

2 years agoMerge pull request #23931 from eileenmcnaughton/repeat_pledge
Matthew Wire [Tue, 5 Jul 2022 19:29:00 +0000 (20:29 +0100)]
Merge pull request #23931 from eileenmcnaughton/repeat_pledge

RepeatTransaction - separate out repeat pledge handling from completeOrder

2 years agoMerge pull request #23943 from civicrm/5.51
demeritcowboy [Tue, 5 Jul 2022 18:03:25 +0000 (14:03 -0400)]
Merge pull request #23943 from civicrm/5.51

5.51

2 years agoMake the activity search filter on manage case less unwieldy
demeritcowboy [Mon, 4 Jul 2022 00:58:54 +0000 (20:58 -0400)]
Make the activity search filter on manage case less unwieldy

2 years agoMerge pull request #23927 from eileenmcnaughton/url
demeritcowboy [Tue, 5 Jul 2022 15:32:17 +0000 (11:32 -0400)]
Merge pull request #23927 from eileenmcnaughton/url

dev/core#3707 Fix wordpress issue of page not refreshing after import

2 years agoMerge pull request #23935 from seamuslee001/fix_more_null
demeritcowboy [Tue, 5 Jul 2022 15:15:36 +0000 (11:15 -0400)]
Merge pull request #23935 from seamuslee001/fix_more_null

[REF][PHP8.1] Another set of fixes for passing in NULL values to php …

2 years agoMerge pull request #23928 from artfulrobot/artfulrobot-cleanup-repeattransaction
Matthew Wire [Tue, 5 Jul 2022 13:30:14 +0000 (14:30 +0100)]
Merge pull request #23928 from artfulrobot/artfulrobot-cleanup-repeattransaction

Cleanup repeattransaction

2 years agoMinor tidyup of api3 completetransaction; plus comments
Rich Lott / Artful Robot [Tue, 5 Jul 2022 09:00:23 +0000 (10:00 +0100)]
Minor tidyup of api3 completetransaction; plus comments

2 years agoAdd docblock comments to explain $input param in CRM_Contribute_BAO::repeatTransaction
Rich Lott / Artful Robot [Tue, 5 Jul 2022 08:42:59 +0000 (09:42 +0100)]
Add docblock comments to explain $input param in CRM_Contribute_BAO::repeatTransaction

2 years agoFix sorting by mapping type
Thomas Schüttler [Tue, 5 Jul 2022 08:33:09 +0000 (10:33 +0200)]
Fix sorting by mapping type

2 years agoMerge pull request #23939 from civicrm/5.51
Eileen McNaughton [Tue, 5 Jul 2022 03:59:10 +0000 (15:59 +1200)]
Merge pull request #23939 from civicrm/5.51

5.51

2 years agoMerge pull request #23938 from seamuslee001/brick_math_update
Eileen McNaughton [Tue, 5 Jul 2022 03:55:22 +0000 (15:55 +1200)]
Merge pull request #23938 from seamuslee001/brick_math_update

[REF][PHP8.1] Update Brick/Math to a version that works with php8.1

2 years agoMerge pull request #23904 from eileenmcnaughton/grant
Seamus Lee [Tue, 5 Jul 2022 00:53:48 +0000 (10:53 +1000)]
Merge pull request #23904 from eileenmcnaughton/grant

dev/core#3503, dev/core#3492 Fix grant exports and relative dates

2 years ago[REF][PHP8.1] Update Brick/Math to a version that works with php8.1
Seamus Lee [Tue, 5 Jul 2022 00:42:46 +0000 (10:42 +1000)]
[REF][PHP8.1] Update Brick/Math to a version that works with php8.1

2 years ago[REF][PHP8.1] Another set of fixes for passing in NULL values to php string or preg...
Seamus Lee [Sun, 3 Jul 2022 07:15:25 +0000 (17:15 +1000)]
[REF][PHP8.1] Another set of fixes for passing in NULL values to php string or preg replace functions

Update to Dave's suggestion for default value

2 years agoFix broken tests highlighted by but not caused by pull 23928
Rich Lott / Artful Robot [Mon, 4 Jul 2022 14:01:01 +0000 (15:01 +0100)]
Fix broken tests highlighted by but not caused by pull 23928

2 years agoMerge pull request #23913 from seamuslee001/symfony_upgrade
demeritcowboy [Mon, 4 Jul 2022 12:47:35 +0000 (08:47 -0400)]
Merge pull request #23913 from seamuslee001/symfony_upgrade

[REF][PHP8.1] Upgrade Symfony to 4.x for WP, Drupal7, Backdrop, Joomla

2 years agoMerge pull request #23912 from mlutfy/reportVars
Yashodha Chaku [Mon, 4 Jul 2022 12:45:04 +0000 (18:15 +0530)]
Merge pull request #23912 from mlutfy/reportVars

CRM_Report_Form: set _from and _where as public for the alterReportVar hook

2 years agoMerge pull request #23919 from colemanw/afformIcon
demeritcowboy [Mon, 4 Jul 2022 12:19:59 +0000 (08:19 -0400)]
Merge pull request #23919 from colemanw/afformIcon

Afform - Allow picking icon for tab, add CrmUiIconPicker widget

2 years agoMerge pull request #23922 from seamuslee001/str_func_null_1
Seamus Lee [Mon, 4 Jul 2022 04:51:45 +0000 (14:51 +1000)]
Merge pull request #23922 from seamuslee001/str_func_null_1

[REF][PHP8.1] Stop Passing NULL values into mb_strlen in DAO nad strp…

2 years ago[REF][PHP8.1] Stop Passing NULL values into mb_strlen in DAO nad strpos in API valida...
Seamus Lee [Fri, 1 Jul 2022 01:08:51 +0000 (11:08 +1000)]
[REF][PHP8.1] Stop Passing NULL values into mb_strlen in DAO nad strpos in API validate string function

2 years agoMerge pull request #23808 from agileware/CIVICRM-1861
Matthew Wire [Sun, 3 Jul 2022 14:40:07 +0000 (15:40 +0100)]
Merge pull request #23808 from agileware/CIVICRM-1861

issues/2887 Enhancements to improve the iCal, Outlook and Google Calendar integration

2 years agodev/core#3713 Use front-end urls for event url tokens
Eileen McNaughton [Sun, 3 Jul 2022 02:16:07 +0000 (14:16 +1200)]
dev/core#3713 Use front-end urls for event url tokens

2 years agoImport fix - if there are no required fields validateRequiredFields should 'pass'
Eileen McNaughton [Sun, 3 Jul 2022 00:53:56 +0000 (12:53 +1200)]
Import fix - if there are no required fields validateRequiredFields should 'pass'

2 years agoRepeatTransaction - separate out repeat pledge handling from complete
Eileen McNaughton [Sat, 2 Jul 2022 00:42:02 +0000 (12:42 +1200)]
RepeatTransaction - separate out repeat pledge handling from complete

2 years agoMerge pull request #23930 from demeritcowboy/trigger-comment
Eileen McNaughton [Sat, 2 Jul 2022 05:00:10 +0000 (17:00 +1200)]
Merge pull request #23930 from demeritcowboy/trigger-comment

[NFC] Add code comment about triggerinfo "variables"

2 years agoadd comment
demeritcowboy [Sat, 2 Jul 2022 00:50:38 +0000 (20:50 -0400)]
add comment

2 years agoMerge pull request #23926 from seamuslee001/fix_default_value_php81
demeritcowboy [Sat, 2 Jul 2022 00:44:48 +0000 (20:44 -0400)]
Merge pull request #23926 from seamuslee001/fix_default_value_php81

[REF][PHP8.1] Fix default values which triggeres deprecation notices …

2 years ago[REF][PHP8.1] Fix default values which triggeres deprecation notices in php8.1
Seamus Lee [Fri, 1 Jul 2022 02:33:29 +0000 (12:33 +1000)]
[REF][PHP8.1] Fix default values which triggeres deprecation notices in php8.1

Switch to non array::value format

2 years ago[REF][PHP8.1] Upgrade Symfony to 4.x for WP, Drupal7, Backdrop, Joomla
Seamus Lee [Wed, 29 Jun 2022 23:14:25 +0000 (09:14 +1000)]
[REF][PHP8.1] Upgrade Symfony to 4.x for WP, Drupal7, Backdrop, Joomla

2 years agoMerge pull request #23923 from seamuslee001/upgrade_mail_mime
demeritcowboy [Fri, 1 Jul 2022 19:42:37 +0000 (15:42 -0400)]
Merge pull request #23923 from seamuslee001/upgrade_mail_mime

[REF][PHP8.1] Upgrade Pear/mail_mime package to support php8.1

2 years agoInitial go at cleaning up repeattransaction
Rich Lott / Artful Robot [Fri, 1 Jul 2022 15:51:28 +0000 (16:51 +0100)]
Initial go at cleaning up repeattransaction

2 years agodev/core#3707 Fix wordpress issue of page not refreshing after import
Eileen McNaughton [Fri, 1 Jul 2022 04:56:50 +0000 (16:56 +1200)]
dev/core#3707 Fix wordpress issue of page not refreshing after import

2 years ago[REF][PHP8.1] Add in type hints to fix deprecations and add in #[\ReturnTypeWillChang...
Seamus Lee [Fri, 1 Jul 2022 02:31:29 +0000 (12:31 +1000)]
[REF][PHP8.1] Add in type hints to fix deprecations and add in #[\ReturnTypeWillChange] where type hint would be transversable or mixed for php7 compatability

2 years ago[REF][PHP8.1] Upgrade Pear/mail_mime package to support php8.1
Seamus Lee [Fri, 1 Jul 2022 02:19:04 +0000 (12:19 +1000)]
[REF][PHP8.1] Upgrade Pear/mail_mime package to support php8.1

2 years agoMerge pull request #23921 from civicrm/5.51
Seamus Lee [Fri, 1 Jul 2022 01:10:30 +0000 (11:10 +1000)]
Merge pull request #23921 from civicrm/5.51

5.51 to master

2 years agoMerge pull request #23920 from MegaphoneJon/url-validation-regression
Eileen McNaughton [Thu, 30 Jun 2022 22:02:11 +0000 (10:02 +1200)]
Merge pull request #23920 from MegaphoneJon/url-validation-regression

fixes #3706 URL validation regression

2 years agofixes #3706 URL validation regression
Jon Goldberg [Thu, 30 Jun 2022 19:45:14 +0000 (15:45 -0400)]
fixes #3706 URL validation regression

2 years agoAfform - Allow picking icon
Coleman Watts [Thu, 30 Jun 2022 18:50:56 +0000 (14:50 -0400)]
Afform - Allow picking icon

Allows afforms placed as a contact summary tab to specify an icon.
It also switches Afforms's hook_civicrm_tabset to use the API, which ensures virtual forms get picked up.
Adds the new icon for CiviGrant as an example.

2 years agoCrmUi - Add crmUiIconPicker Angular widget
Coleman Watts [Thu, 30 Jun 2022 18:50:34 +0000 (14:50 -0400)]
CrmUi - Add crmUiIconPicker Angular widget

2 years agoMerge pull request #23914 from seamuslee001/file_substr_null
demeritcowboy [Thu, 30 Jun 2022 15:31:09 +0000 (11:31 -0400)]
Merge pull request #23914 from seamuslee001/file_substr_null

[REF][PHP8.1] Ensure that NULL is not passed to substr in CRM_Utils_F…

2 years agoMerge pull request #23916 from totten/master-wfmsg-data-boot
Eileen McNaughton [Thu, 30 Jun 2022 08:32:39 +0000 (20:32 +1200)]
Merge pull request #23916 from totten/master-wfmsg-data-boot

WorkflowMessageTest - Fix weird inconsistency in resolving `@dataProvider`

2 years agoWorkflowMessageTest - Fix weird inconsistency in resolving `@dataProvider`
Tim Otten [Thu, 30 Jun 2022 03:54:19 +0000 (20:54 -0700)]
WorkflowMessageTest - Fix weird inconsistency in resolving `@dataProvider`

We see a failure scenario where:

* The first execution of WorkflowMessageTest runs fine.
* The second execution of WorkflowMessageTest fails to boot (while evaluating `@dataProvider`)
* If you reset the DB, then it works again - but only once.

2 years ago CIVICRM-1861 Embed timezone output for iCal
Francis Whittle [Thu, 30 Jun 2022 00:02:43 +0000 (10:02 +1000)]
CIVICRM-1861 Embed timezone output for iCal
    CIVICRM-1988 Add HTML alternate description to iCAL
    CIVICRM-1987 Add to Google Calendar Link

2 years ago[REF][PHP8.1] Ensure that NULL is not passed to substr in CRM_Utils_File::addTrailing...
Seamus Lee [Wed, 29 Jun 2022 23:43:57 +0000 (09:43 +1000)]
[REF][PHP8.1] Ensure that NULL is not passed to substr in CRM_Utils_File::addTrailingSlash