civicrm-core.git
14 months agoMerge pull request #27417 from colemanw/searchKitSpreasheetPerformance
colemanw [Sat, 16 Sep 2023 01:26:14 +0000 (21:26 -0400)]
Merge pull request #27417 from colemanw/searchKitSpreasheetPerformance

SearchKit - Improve performance of downloading spreadsheet

14 months agoMerge pull request #27454 from civicrm/5.66
demeritcowboy [Fri, 15 Sep 2023 23:16:35 +0000 (19:16 -0400)]
Merge pull request #27454 from civicrm/5.66

5.66

14 months agoMerge pull request #27452 from eileenmcnaughton/weight
demeritcowboy [Fri, 15 Sep 2023 23:07:31 +0000 (19:07 -0400)]
Merge pull request #27452 from eileenmcnaughton/weight

Add weights on profile fields page (notices

14 months agoMerge pull request #27451 from eileenmcnaughton/email_comments
demeritcowboy [Fri, 15 Sep 2023 23:06:52 +0000 (19:06 -0400)]
Merge pull request #27451 from eileenmcnaughton/email_comments

Add code comments re the cleanup I didn't do

14 months agoMerge pull request #27450 from demeritcowboy/weight566
demeritcowboy [Fri, 15 Sep 2023 22:41:54 +0000 (18:41 -0400)]
Merge pull request #27450 from demeritcowboy/weight566

backport of 27448

14 months agoMerge pull request #27391 from eileenmcnaughton/user_email
colemanw [Fri, 15 Sep 2023 22:24:29 +0000 (18:24 -0400)]
Merge pull request #27391 from eileenmcnaughton/user_email

Fix undefined properties on back-office pledge form

14 months agoMerge pull request #27435 from eileenmcnaughton/uf_profile_prefix
Eileen McNaughton [Fri, 15 Sep 2023 22:21:55 +0000 (10:21 +1200)]
Merge pull request #27435 from eileenmcnaughton/uf_profile_prefix

8.x Fix all instances of call Profile template to specify the prefix

14 months agoAdd weights on profile fields page
Eileen McNaughton [Fri, 15 Sep 2023 22:14:44 +0000 (10:14 +1200)]
Add weights on profile fields page

ie https://dmaster.localhost:32353/civicrm/admin/uf/group/field?reset=1&action=browse&gid=1

14 months agoAdd code comments re the cleanup I didn't do
Eileen McNaughton [Fri, 15 Sep 2023 22:07:33 +0000 (10:07 +1200)]
Add code comments re the cleanup I didn't do

I want the code to be stable in 5.66 for a few releases, absent any bugs so
commenting the further cleanup for 'one day'

14 months agofix order
demeritcowboy [Fri, 15 Sep 2023 13:39:17 +0000 (09:39 -0400)]
fix order

14 months agoFix all instances of call Profile template to specify the prefix
Eileen McNaughton [Fri, 15 Sep 2023 02:26:39 +0000 (14:26 +1200)]
Fix all instances of call Profile template to specify the prefix

14 months agoMerge pull request #27449 from braders/php8-CustomValueTest
demeritcowboy [Fri, 15 Sep 2023 21:36:41 +0000 (17:36 -0400)]
Merge pull request #27449 from braders/php8-CustomValueTest

[REF][PHP8.2] Remove dynamic property use in api_v3_CustomValueTest

14 months ago[REF][PHP8.2] Remove dynamic property use in api_v3_CustomValueTest
Bradley Taylor [Fri, 15 Sep 2023 20:31:04 +0000 (21:31 +0100)]
[REF][PHP8.2] Remove dynamic property use in api_v3_CustomValueTest

14 months agoMerge pull request #27447 from demeritcowboy/block-local
demeritcowboy [Fri, 15 Sep 2023 18:25:19 +0000 (14:25 -0400)]
Merge pull request #27447 from demeritcowboy/block-local

Fix e_warning in smarty `{localize}`

14 months agoMerge pull request #27425 from eileenmcnaughton/transfer
colemanw [Fri, 15 Sep 2023 16:40:59 +0000 (12:40 -0400)]
Merge pull request #27425 from eileenmcnaughton/transfer

Remove some unused undeclared properties on SelfSvcTransfer form

14 months agoMerge pull request #27424 from eileenmcnaughton/properties
colemanw [Fri, 15 Sep 2023 16:39:53 +0000 (12:39 -0400)]
Merge pull request #27424 from eileenmcnaughton/properties

Suppress rather than declare exception

14 months agoMerge pull request #27448 from demeritcowboy/contributionpageweight
demeritcowboy [Fri, 15 Sep 2023 16:36:21 +0000 (12:36 -0400)]
Merge pull request #27448 from demeritcowboy/contributionpageweight

fix ordering of contribution page links

14 months agoMerge pull request #27434 from eileenmcnaughton/uf_array
demeritcowboy [Fri, 15 Sep 2023 14:01:11 +0000 (10:01 -0400)]
Merge pull request #27434 from eileenmcnaughton/uf_array

8.x Fix a couple of notices when rendering profiles

14 months agoMerge pull request #27431 from eileenmcnaughton/delete_participant
colemanw [Fri, 15 Sep 2023 13:47:38 +0000 (09:47 -0400)]
Merge pull request #27431 from eileenmcnaughton/delete_participant

Fix notices when deleting participants

14 months agoMerge pull request #27444 from eileenmcnaughton/super
demeritcowboy [Fri, 15 Sep 2023 13:42:04 +0000 (09:42 -0400)]
Merge pull request #27444 from eileenmcnaughton/super

Superficial cleanup on Event Confirm - null object

14 months agofix order
demeritcowboy [Fri, 15 Sep 2023 13:39:17 +0000 (09:39 -0400)]
fix order

14 months agoMerge pull request #27442 from eileenmcnaughton/all
demeritcowboy [Fri, 15 Sep 2023 13:07:04 +0000 (09:07 -0400)]
Merge pull request #27442 from eileenmcnaughton/all

Remove unused variable from function signature

14 months agoe_warning
demeritcowboy [Fri, 15 Sep 2023 12:51:37 +0000 (08:51 -0400)]
e_warning

14 months agoMerge pull request #27445 from civicrm/5.66
demeritcowboy [Fri, 15 Sep 2023 12:39:51 +0000 (08:39 -0400)]
Merge pull request #27445 from civicrm/5.66

5.66

14 months agoMerge pull request #27433 from eileenmcnaughton/help_pre
demeritcowboy [Fri, 15 Sep 2023 12:12:55 +0000 (08:12 -0400)]
Merge pull request #27433 from eileenmcnaughton/help_pre

8.x Profiles Remove e-notices by removing never assigned help_pre, help_post

14 months agoMerge pull request #27443 from eileenmcnaughton/part_
colemanw [Fri, 15 Sep 2023 12:09:31 +0000 (08:09 -0400)]
Merge pull request #27443 from eileenmcnaughton/part_

Fix variable leakage in online event receipt

14 months agoMerge pull request #27407 from colemanw/contactNoteTab
colemanw [Fri, 15 Sep 2023 12:05:21 +0000 (08:05 -0400)]
Merge pull request #27407 from colemanw/contactNoteTab

SearchKit - Improve metadata, joins and links

14 months agoMerge pull request #27428 from eileenmcnaughton/custom_weight
demeritcowboy [Fri, 15 Sep 2023 11:49:07 +0000 (07:49 -0400)]
Merge pull request #27428 from eileenmcnaughton/custom_weight

Fix missing weights on Custom data screen (notices)

14 months agoSuperficial cleanup on Event Confirm
Eileen McNaughton [Fri, 15 Sep 2023 06:56:27 +0000 (18:56 +1200)]
Superficial cleanup on Event Confirm

str_starts_with is in our polyfill as @colemanw pointed out

14 months agoFix variable leakage in online event receipt
Eileen McNaughton [Fri, 15 Sep 2023 05:07:42 +0000 (17:07 +1200)]
Fix variable leakage in online event receipt

14 months agoMerge pull request #27438 from eileenmcnaughton/assign
colemanw [Fri, 15 Sep 2023 05:31:34 +0000 (01:31 -0400)]
Merge pull request #27438 from eileenmcnaughton/assign

Fix some variables to always assign

14 months agoMerge pull request #27437 from eileenmcnaughton/no_1028
colemanw [Fri, 15 Sep 2023 05:24:03 +0000 (01:24 -0400)]
Merge pull request #27437 from eileenmcnaughton/no_1028

Remove references to invalid action

14 months agoMerge pull request #27439 from eileenmcnaughton/captca
colemanw [Fri, 15 Sep 2023 05:07:54 +0000 (01:07 -0400)]
Merge pull request #27439 from eileenmcnaughton/captca

Remove broken recaptcha from profile preview

14 months agoMerge pull request #27441 from eileenmcnaughton/test_set
colemanw [Fri, 15 Sep 2023 04:52:59 +0000 (00:52 -0400)]
Merge pull request #27441 from eileenmcnaughton/test_set

Remove isset from template within unit tests

14 months agoMove scenario set up to trait
Eileen McNaughton [Wed, 6 Sep 2023 20:40:31 +0000 (08:40 +1200)]
Move scenario set up to trait

14 months agoRemove unused variable from function signature
Eileen McNaughton [Fri, 15 Sep 2023 03:56:42 +0000 (15:56 +1200)]
Remove unused variable from function signature

14 months agoRemove isset from template within unit tests
Eileen McNaughton [Fri, 15 Sep 2023 03:48:17 +0000 (15:48 +1200)]
Remove isset from template within unit tests

14 months agoMerge pull request #27440 from civicrm/5.66
Eileen McNaughton [Fri, 15 Sep 2023 03:40:16 +0000 (15:40 +1200)]
Merge pull request #27440 from civicrm/5.66

5.66 to master

14 months agoRemove broken recaptcha from profile preview
Eileen McNaughton [Fri, 15 Sep 2023 03:29:00 +0000 (15:29 +1200)]
Remove broken recaptcha from profile preview

The reCaptcha variable is never assigned to profile preview - resulting
in it never rendering (but rendering notices). This code has been broken
for a while without someone noticing - remove

14 months agoMerge pull request #27436 from eileenmcnaughton/dep
Eileen McNaughton [Fri, 15 Sep 2023 03:25:52 +0000 (15:25 +1200)]
Merge pull request #27436 from eileenmcnaughton/dep

Add deprecation notice to code that seems to be superceded

14 months agoFix some variables to always assign
Eileen McNaughton [Fri, 15 Sep 2023 03:24:49 +0000 (15:24 +1200)]
Fix some variables to always assign

14 months agoFix notices when deleting participants
Eileen McNaughton [Fri, 15 Sep 2023 01:34:10 +0000 (13:34 +1200)]
Fix notices when deleting participants

14 months agoRemove outdated code comment
Eileen McNaughton [Fri, 15 Sep 2023 03:05:24 +0000 (15:05 +1200)]
Remove outdated code comment

14 months agoRemove references to invalid action
Eileen McNaughton [Fri, 15 Sep 2023 03:01:56 +0000 (15:01 +1200)]
Remove references to invalid action

All these references refer to comparing action to 1028. The comments make is clear that
they are looking for 'preview' mode - but preview mode is 1024. The checks are all
does-not-equal. So, they would have always been true for a very long time.

Copy & paste is dead long live copy & paste

14 months agoMerge pull request #27432 from eileenmcnaughton/profile_weight
colemanw [Fri, 15 Sep 2023 02:46:05 +0000 (22:46 -0400)]
Merge pull request #27432 from eileenmcnaughton/profile_weight

Add weights on profile links (remove notices)

14 months agoAdd deprecation notice to code that seems to be superceded
Eileen McNaughton [Fri, 15 Sep 2023 02:37:54 +0000 (14:37 +1200)]
Add deprecation notice to code that seems to be superceded

14 months agoFix a couple of notices when rendering profiles
Eileen McNaughton [Fri, 15 Sep 2023 02:16:53 +0000 (14:16 +1200)]
Fix a couple of notices when rendering profiles

14 months agoMerge pull request #26042 from seamuslee001/ref_html_entities
colemanw [Fri, 15 Sep 2023 02:21:38 +0000 (22:21 -0400)]
Merge pull request #26042 from seamuslee001/ref_html_entities

[REF][PHP8.2] Fix deprecated usage of mb_convert_encoding with HTML-E…

14 months agoRemove e-notices by removing never assigned help_pre, help_post
Eileen McNaughton [Fri, 15 Sep 2023 02:07:25 +0000 (14:07 +1200)]
Remove e-notices by removing never assigned help_pre, help_post

14 months agoAdd weights on profile links (remove notices)
Eileen McNaughton [Fri, 15 Sep 2023 01:56:13 +0000 (13:56 +1200)]
Add weights on profile links (remove notices)

14 months agoMerge pull request #27427 from eileenmcnaughton/notice_it
Eileen McNaughton [Fri, 15 Sep 2023 00:48:57 +0000 (12:48 +1200)]
Merge pull request #27427 from eileenmcnaughton/notice_it

Fix another EventInfo notice

14 months agoUse local variable instead of undefined property for formType
Eileen McNaughton [Mon, 11 Sep 2023 23:49:10 +0000 (11:49 +1200)]
Use local variable instead of undefined property for formType

14 months agoFix EmailMode
Eileen McNaughton [Fri, 15 Sep 2023 00:01:13 +0000 (12:01 +1200)]
Fix EmailMode

14 months agoFix customData Include notice
Eileen McNaughton [Thu, 14 Sep 2023 23:59:40 +0000 (11:59 +1200)]
Fix customData Include notice

14 months agoFix missing weights on Custom data screen (notices)
Eileen McNaughton [Thu, 14 Sep 2023 23:54:44 +0000 (11:54 +1200)]
Fix missing weights on Custom data screen (notices)

14 months agoAdd getEventID() - this is part of an effort to ensure consistency
Eileen McNaughton [Thu, 14 Sep 2023 23:42:32 +0000 (11:42 +1200)]
Add getEventID() - this is part of an effort to ensure consistency

All event & participant forms should have public api functions for
getParticipantID() and getEventID() (participant ID
not so relevant here

14 months agoMerge pull request #27426 from eileenmcnaughton/pcp
Eileen McNaughton [Thu, 14 Sep 2023 23:43:26 +0000 (11:43 +1200)]
Merge pull request #27426 from eileenmcnaughton/pcp

Fix php notices in php dashboard code

14 months agoRemove unused variable
Eileen McNaughton [Thu, 14 Sep 2023 23:37:05 +0000 (11:37 +1200)]
Remove unused variable

14 months ago[REF][PHP8.2] Fix deprecated usage of mb_convert_encoding with HTML-Entities
Seamus Lee [Mon, 10 Apr 2023 02:41:24 +0000 (12:41 +1000)]
[REF][PHP8.2] Fix deprecated usage of mb_convert_encoding with HTML-Entities

14 months agoFix another EventInfo notice
Eileen McNaughton [Thu, 14 Sep 2023 23:32:48 +0000 (11:32 +1200)]
Fix another EventInfo notice

14 months agoMerge pull request #27423 from eileenmcnaughton/notice_it
Eileen McNaughton [Thu, 14 Sep 2023 23:15:39 +0000 (11:15 +1200)]
Merge pull request #27423 from eileenmcnaughton/notice_it

Fix notice on phone_ext

14 months agoFix php notices in php dashboard code
Eileen McNaughton [Thu, 14 Sep 2023 23:12:57 +0000 (11:12 +1200)]
Fix php notices in php dashboard code

14 months agoAlways define participant ID
Eileen McNaughton [Thu, 14 Sep 2023 22:51:00 +0000 (10:51 +1200)]
Always define participant ID

14 months agoRemove remaining undefined properties
Eileen McNaughton [Thu, 14 Sep 2023 22:50:32 +0000 (10:50 +1200)]
Remove remaining undefined properties

14 months agoUse form helper rather than undefined property to validate checksum user
Eileen McNaughton [Thu, 14 Sep 2023 22:40:06 +0000 (10:40 +1200)]
Use form helper rather than undefined property to validate checksum user

14 months agoRemove some unused undeclared properties on SelfSvcTransfer form
Eileen McNaughton [Thu, 14 Sep 2023 22:36:03 +0000 (10:36 +1200)]
Remove some unused undeclared properties on SelfSvcTransfer form

14 months agoSuppress rather than declare exception
Eileen McNaughton [Thu, 14 Sep 2023 22:18:48 +0000 (10:18 +1200)]
Suppress rather than declare exception

This function can throw an exception but the circumstances are such an obscure site
misconfiguration error (ie the date values are not defined) that I don't think it
makes sense to communicate up to calling functions that they should possibly handle it

14 months agoFix notice on phone_ext
Eileen McNaughton [Thu, 14 Sep 2023 21:52:06 +0000 (09:52 +1200)]
Fix notice on phone_ext

14 months agoMerge pull request #27294 from colemanw/afformDataType
Kurund Jalmi [Thu, 14 Sep 2023 16:16:00 +0000 (17:16 +0100)]
Merge pull request #27294 from colemanw/afformDataType

Afform - Fix getting and setting boolean/numeric types

14 months agoAdminUi - Switch to new toolbar setting for search displays
colemanw [Thu, 14 Sep 2023 13:34:27 +0000 (09:34 -0400)]
AdminUi - Switch to new toolbar setting for search displays

14 months agoCiviGrant - Switch to new toolbar searchKit display setting for summary tab
colemanw [Thu, 14 Sep 2023 13:33:30 +0000 (09:33 -0400)]
CiviGrant - Switch to new toolbar searchKit display setting for summary tab

14 months agoSearchKit - Toolbar buttons for search displays
colemanw [Thu, 14 Sep 2023 12:22:16 +0000 (08:22 -0400)]
SearchKit - Toolbar buttons for search displays

This expands on the concept of the "Add New" button at the top of some displays,
to allow a variety of buttons in a row (aka toolbar).

Before: addButton was pretty simple, only one allowed
After: Toolbar buttons can evaluate tokens, check permissions and conditional rules

14 months agoSearchKit - Fix invalid orderBy params
colemanw [Wed, 13 Sep 2023 16:48:59 +0000 (12:48 -0400)]
SearchKit - Fix invalid orderBy params

14 months agoAfform - Allow weight to be set for contact summary blocks/tabs
colemanw [Tue, 12 Sep 2023 20:49:17 +0000 (16:49 -0400)]
Afform - Allow weight to be set for contact summary blocks/tabs

Adds test cover for weight and also tab names from a68ee65
Sets CiviGrant tab to its original weight (from when it was a component)

14 months agoMerge pull request #27366 from eileenmcnaughton/CRM
Yashodha Chaku [Thu, 14 Sep 2023 06:55:21 +0000 (12:25 +0530)]
Merge pull request #27366 from eileenmcnaughton/CRM

Remove always true if for required role_id field, add test for value

14 months agoMerge pull request #27421 from demeritcowboy/desc
Seamus Lee [Thu, 14 Sep 2023 00:55:30 +0000 (10:55 +1000)]
Merge pull request #27421 from demeritcowboy/desc

Revert just merged 27412

14 months agoRevert "Fix notice on Membership Component Settings page"
demeritcowboy [Thu, 14 Sep 2023 00:37:11 +0000 (20:37 -0400)]
Revert "Fix notice on Membership Component Settings page"

This reverts commit e3f43b1ab5af0d3cf1063ee45805b3c6b66b6c4c.

14 months agoMerge pull request #27412 from eileenmcnaughton/admin_notice
Seamus Lee [Thu, 14 Sep 2023 00:09:50 +0000 (10:09 +1000)]
Merge pull request #27412 from eileenmcnaughton/admin_notice

Fix notice on Membership Component Settings page

14 months agoMerge pull request #27419 from eileenmcnaughton/no_push
demeritcowboy [Wed, 13 Sep 2023 21:02:25 +0000 (17:02 -0400)]
Merge pull request #27419 from eileenmcnaughton/no_push

Remove legacy error handling

14 months agoMerge pull request #27420 from larssandergreen/follow-up-to-add-comment-on-custom...
demeritcowboy [Wed, 13 Sep 2023 21:01:44 +0000 (17:01 -0400)]
Merge pull request #27420 from larssandergreen/follow-up-to-add-comment-on-custom-field-move

(NFC) Add comment for IS NOT NULL in moving custom fields

14 months agoMerge pull request #27418 from demeritcowboy/reg
colemanw [Wed, 13 Sep 2023 20:57:54 +0000 (16:57 -0400)]
Merge pull request #27418 from demeritcowboy/reg

regen

14 months agoAdd comment for IS NOT NULL in moving custom fields
larssandergreen [Wed, 13 Sep 2023 20:23:42 +0000 (14:23 -0600)]
Add comment for IS NOT NULL in moving custom fields

14 months agoRemove legacy error handling
Eileen McNaughton [Wed, 13 Sep 2023 19:43:27 +0000 (07:43 +1200)]
Remove legacy error handling

Our practice now is to throw exceptions - this results in a hard
fatal within apiv4 usage

14 months agoMerge pull request #27413 from larssandergreen/Don't-copy-nulls-when-moving-custom...
demeritcowboy [Wed, 13 Sep 2023 19:38:40 +0000 (15:38 -0400)]
Merge pull request #27413 from larssandergreen/Don't-copy-nulls-when-moving-custom-fields

dev/core#4568 Don't copy nulls when moving custom fields

14 months agoregen
demeritcowboy [Wed, 13 Sep 2023 19:24:52 +0000 (15:24 -0400)]
regen

14 months agoMerge pull request #27400 from eileenmcnaughton/legacy
demeritcowboy [Wed, 13 Sep 2023 19:15:06 +0000 (15:15 -0400)]
Merge pull request #27400 from eileenmcnaughton/legacy

dev/core#4112 stop installing legacycustomsearches on new installs

14 months agoMerge pull request #27416 from larssandergreen/Weights-for-custom-field-sets-page
demeritcowboy [Wed, 13 Sep 2023 19:04:49 +0000 (15:04 -0400)]
Merge pull request #27416 from larssandergreen/Weights-for-custom-field-sets-page

Weights for custom field groups page

14 months agoSearchKit - Improve performance of downloading spreadsheet
colemanw [Wed, 13 Sep 2023 17:51:19 +0000 (13:51 -0400)]
SearchKit - Improve performance of downloading spreadsheet

14 months agoWeights for custom field groups page
larssandergreen [Wed, 13 Sep 2023 16:43:39 +0000 (10:43 -0600)]
Weights for custom field groups page

14 months agoSearchKit - Fix link titles and icons
colemanw [Tue, 12 Sep 2023 18:39:37 +0000 (14:39 -0400)]
SearchKit - Fix link titles and icons

14 months agoAdd missing Note metadata for FormBuilder
colemanw [Tue, 12 Sep 2023 18:29:40 +0000 (14:29 -0400)]
Add missing Note metadata for FormBuilder

14 months agoSearchKit - Show (some) self-reference joins
colemanw [Tue, 12 Sep 2023 18:04:53 +0000 (14:04 -0400)]
SearchKit - Show (some) self-reference joins

14 months agoMerge pull request #27415 from PrzemyslawTabor/india-provinces
colemanw [Wed, 13 Sep 2023 16:02:35 +0000 (12:02 -0400)]
Merge pull request #27415 from PrzemyslawTabor/india-provinces

India-provinces update outdated provinces abbreviations

14 months agoMerge pull request #27411 from colemanw/civiGrantCleanup
colemanw [Wed, 13 Sep 2023 14:44:53 +0000 (10:44 -0400)]
Merge pull request #27411 from colemanw/civiGrantCleanup

CiviGrant - Cleanup and simplify grant form, remove unused tab code

14 months agoIndia-provinces update outdated provinces abbreviations
ptabor [Wed, 13 Sep 2023 14:43:02 +0000 (16:43 +0200)]
India-provinces update outdated provinces abbreviations

14 months agoMerge pull request #27414 from pradpnayak/entitybatch
colemanw [Wed, 13 Sep 2023 14:21:07 +0000 (10:21 -0400)]
Merge pull request #27414 from pradpnayak/entitybatch

Add Entity batch to Search kit

14 months agoAdd Entity batch to Search kit
Pradeep Nayak [Wed, 13 Sep 2023 13:10:11 +0000 (14:10 +0100)]
Add Entity batch to Search kit

14 months agoDon't copy nulls when moving custom fields
larssandergreen [Wed, 13 Sep 2023 04:41:30 +0000 (22:41 -0600)]
Don't copy nulls when moving custom fields

14 months agoMerge pull request #27408 from eileenmcnaughton/type_bounce
Eileen McNaughton [Wed, 13 Sep 2023 03:18:57 +0000 (15:18 +1200)]
Merge pull request #27408 from eileenmcnaughton/type_bounce

Fix mistake in just-merged email processor code

14 months agoFix notice on Membership Component Settings page
Eileen McNaughton [Wed, 13 Sep 2023 02:51:14 +0000 (14:51 +1200)]
Fix notice on Membership Component Settings page