civicrm-core.git
2 years agoMerge pull request #21261 from totten/master-test-jwt
Seamus Lee [Tue, 28 Sep 2021 04:36:13 +0000 (14:36 +1000)]
Merge pull request #21261 from totten/master-test-jwt

HttpTestTrait - Allow one to easily authenticate subrequests

2 years agoMerge pull request #21650 from demeritcowboy/fileoncase
Eileen McNaughton [Mon, 27 Sep 2021 23:36:33 +0000 (12:36 +1300)]
Merge pull request #21650 from demeritcowboy/fileoncase

Fix extra apostrophe added in 21636

2 years agoMerge pull request #21649 from eileenmcnaughton/sub
Eileen McNaughton [Mon, 27 Sep 2021 23:35:58 +0000 (12:35 +1300)]
Merge pull request #21649 from eileenmcnaughton/sub

Test regression fix

2 years agoMerge pull request #21433 from jmcclelland/import-preferred-communication-method
Eileen McNaughton [Mon, 27 Sep 2021 22:36:49 +0000 (11:36 +1300)]
Merge pull request #21433 from jmcclelland/import-preferred-communication-method

avoid back trace when importing preferred communication method

2 years agoMerge pull request #21643 from colemanw/afformUrlArgs
Eileen McNaughton [Mon, 27 Sep 2021 21:41:06 +0000 (10:41 +1300)]
Merge pull request #21643 from colemanw/afformUrlArgs

Afform - ensure default value data type matches input type

2 years agoTest regression fix
Eileen McNaughton [Mon, 27 Sep 2021 21:21:40 +0000 (10:21 +1300)]
Test regression fix

2 years agoapos
demeritcowboy [Mon, 27 Sep 2021 21:21:39 +0000 (17:21 -0400)]
apos

2 years agoMerge pull request #21636 from eileenmcnaughton/not
demeritcowboy [Mon, 27 Sep 2021 18:13:01 +0000 (14:13 -0400)]
Merge pull request #21636 from eileenmcnaughton/not

Enotice fix

2 years agoMerge pull request #21632 from eileenmcnaughton/notice2
Yashodha Chaku [Mon, 27 Sep 2021 17:36:25 +0000 (23:06 +0530)]
Merge pull request #21632 from eileenmcnaughton/notice2

Enotice fixes

2 years agoMerge pull request #21639 from eileenmcnaughton/nofat
demeritcowboy [Mon, 27 Sep 2021 17:30:17 +0000 (13:30 -0400)]
Merge pull request #21639 from eileenmcnaughton/nofat

enotice fixes in fatal error template

2 years agoMerge pull request #21623 from eileenmcnaughton/email
demeritcowboy [Mon, 27 Sep 2021 17:26:42 +0000 (13:26 -0400)]
Merge pull request #21623 from eileenmcnaughton/email

Remove handling for empty required field

2 years agoAfform - ensure default value data type matches input type
Coleman Watts [Mon, 27 Sep 2021 16:02:59 +0000 (12:02 -0400)]
Afform - ensure default value data type matches input type

2 years agoMerge pull request #21624 from eileenmcnaughton/no_good
Monish Deb [Mon, 27 Sep 2021 10:33:45 +0000 (16:03 +0530)]
Merge pull request #21624 from eileenmcnaughton/no_good

dev/core#2629 show only contribution statuses on contribution form

2 years agoMerge pull request #21641 from eileenmcnaughton/contact
Eileen McNaughton [Mon, 27 Sep 2021 09:06:26 +0000 (22:06 +1300)]
Merge pull request #21641 from eileenmcnaughton/contact

Remove over-copied function

2 years agoRemove over-copied function
Eileen McNaughton [Mon, 27 Sep 2021 06:58:29 +0000 (19:58 +1300)]
Remove over-copied function

In the splitting out of Contact_Tokens from TokenSillyAbreviationSubscriber
I copied over this function - but it was an incorrect
duplication - it is not called

2 years agoMerge pull request #21626 from eileenmcnaughton/contact
Eileen McNaughton [Mon, 27 Sep 2021 06:37:07 +0000 (19:37 +1300)]
Merge pull request #21626 from eileenmcnaughton/contact

[REF] Separate contact tokens from 'tokenCompatSubscriber'

2 years agoenotice fixes in fatal error template
Eileen McNaughton [Mon, 27 Sep 2021 05:34:53 +0000 (18:34 +1300)]
enotice fixes in fatal error template

2 years ago[REF] Separate contact tokens from 'tokenCompatSubscriber'
Eileen McNaughton [Sun, 26 Sep 2021 20:13:50 +0000 (09:13 +1300)]
[REF] Separate contact tokens from 'tokenCompatSubscriber'

This just moves code around - loads of testing - but it separates
the contact entity stuff from the 'compat' - presumably 'compatibility'
subscriber.

2 years agoMerge pull request #21606 from colemanw/afformUrlArgs
Eileen McNaughton [Mon, 27 Sep 2021 02:51:07 +0000 (15:51 +1300)]
Merge pull request #21606 from colemanw/afformUrlArgs

Afform - Accept default field values from the url

2 years agoMerge pull request #21635 from seamuslee001/ref_update_frequency_variables
Eileen McNaughton [Mon, 27 Sep 2021 02:23:14 +0000 (15:23 +1300)]
Merge pull request #21635 from seamuslee001/ref_update_frequency_variables

[REF] Update Frequenecy template assignments in UpdateBilling to be c…

2 years agoEnotice fix
Eileen McNaughton [Mon, 27 Sep 2021 01:51:59 +0000 (14:51 +1300)]
Enotice fix

2 years agoMerge pull request #21634 from colemanw/api4ExplorerFix
Eileen McNaughton [Mon, 27 Sep 2021 01:30:09 +0000 (14:30 +1300)]
Merge pull request #21634 from colemanw/api4ExplorerFix

Fix dev/core#2867 - APIv4 Entity.get to return class name by default

2 years agoMerge pull request #21631 from eileenmcnaughton/notice
Eileen McNaughton [Mon, 27 Sep 2021 00:06:13 +0000 (13:06 +1300)]
Merge pull request #21631 from eileenmcnaughton/notice

enotice fix

2 years agoMerge pull request #21628 from eileenmcnaughton/test_cont
Eileen McNaughton [Mon, 27 Sep 2021 00:04:39 +0000 (13:04 +1300)]
Merge pull request #21628 from eileenmcnaughton/test_cont

Convert more tests to call postProcess

2 years agoMerge pull request #21627 from colemanw/searchKitShoreditch
Eileen McNaughton [Sun, 26 Sep 2021 23:53:10 +0000 (12:53 +1300)]
Merge pull request #21627 from colemanw/searchKitShoreditch

SearchKit - Style buttons for compatability with Shoreditch theme

2 years ago[REF] Update Frequenecy template assignments in UpdateBilling to be consistent with...
Seamus Lee [Sun, 26 Sep 2021 23:52:14 +0000 (09:52 +1000)]
[REF] Update Frequenecy template assignments in UpdateBilling to be consistent with #21469

2 years agoMerge pull request #21630 from eileenmcnaughton/tte
Seamus Lee [Sun, 26 Sep 2021 23:32:57 +0000 (09:32 +1000)]
Merge pull request #21630 from eileenmcnaughton/tte

Fix test to use postProcess

2 years agoMerge pull request #21609 from colemanw/afformFix
Eileen McNaughton [Sun, 26 Sep 2021 23:22:16 +0000 (12:22 +1300)]
Merge pull request #21609 from colemanw/afformFix

Afform - fix loading embedded blocks

2 years agoMerge pull request #21629 from eileenmcnaughton/test_cont2
Eileen McNaughton [Sun, 26 Sep 2021 23:15:05 +0000 (12:15 +1300)]
Merge pull request #21629 from eileenmcnaughton/test_cont2

Test cleanup -convert to use postProcess

2 years agoFix dev/core#2867 - APIv4 Entity.get to return class name by default
Coleman Watts [Sun, 26 Sep 2021 23:04:49 +0000 (19:04 -0400)]
Fix dev/core#2867 - APIv4 Entity.get to return class name by default

Ad-hoc entities (which includes the Entity entity) now default to not
return any fields not declared in GetFields.

2 years agoMerge pull request #21625 from demeritcowboy/settings-dep
Eileen McNaughton [Sun, 26 Sep 2021 22:27:11 +0000 (11:27 +1300)]
Merge pull request #21625 from demeritcowboy/settings-dep

Setting::getItem - use deprecatedWarning instead of just logging

2 years agoEnotice fixes
Eileen McNaughton [Sun, 26 Sep 2021 22:09:19 +0000 (11:09 +1300)]
Enotice fixes

2 years agoenotice fix
Eileen McNaughton [Sun, 26 Sep 2021 21:54:04 +0000 (10:54 +1300)]
enotice fix

2 years agoConvert more tests to call postProcess
Eileen McNaughton [Sun, 26 Sep 2021 20:54:04 +0000 (09:54 +1300)]
Convert more tests to call postProcess

2 years agoFix test to use postProcess
Eileen McNaughton [Sun, 26 Sep 2021 21:39:07 +0000 (10:39 +1300)]
Fix test to use postProcess

2 years agoTest cleanup -convert to use postProcess
Eileen McNaughton [Sun, 26 Sep 2021 21:20:25 +0000 (10:20 +1300)]
Test cleanup -convert to use postProcess

2 years agonoisier
demeritcowboy [Sun, 26 Sep 2021 14:19:19 +0000 (10:19 -0400)]
noisier

2 years agoSearchKit - Style buttons for compatability with Shoreditch theme
Coleman Watts [Sun, 26 Sep 2021 20:17:08 +0000 (16:17 -0400)]
SearchKit - Style buttons for compatability with Shoreditch theme

2 years agoMerge pull request #21622 from eileenmcnaughton/test_cont
colemanw [Sun, 26 Sep 2021 19:58:07 +0000 (15:58 -0400)]
Merge pull request #21622 from eileenmcnaughton/test_cont

Test cleanup

2 years agoMerge pull request #21570 from eileenmcnaughton/leg_contact
colemanw [Sun, 26 Sep 2021 19:56:25 +0000 (15:56 -0400)]
Merge pull request #21570 from eileenmcnaughton/leg_contact

dev/core#2650 dev/core#2814 Add support for preferred syntax for contact tokens

2 years agoMerge pull request #21600 from colemanw/searchKitEquations
colemanw [Sun, 26 Sep 2021 19:23:16 +0000 (15:23 -0400)]
Merge pull request #21600 from colemanw/searchKitEquations

SearchKit - Add UI for arithmetic equations

2 years agoSearchKit - Add UI for arithmetic equations
Coleman Watts [Fri, 24 Sep 2021 16:01:07 +0000 (12:01 -0400)]
SearchKit - Add UI for arithmetic equations

2 years agoAPIv4 - Restructure function params, add labels
Coleman Watts [Fri, 24 Sep 2021 13:11:45 +0000 (09:11 -0400)]
APIv4 - Restructure function params, add labels

2 years agoMerge pull request #21605 from eileenmcnaughton/gen_up
demeritcowboy [Sun, 26 Sep 2021 14:03:03 +0000 (10:03 -0400)]
Merge pull request #21605 from eileenmcnaughton/gen_up

 Add upgrade to replace legacy contribution tokens from message templates

2 years agoMerge pull request #21586 from colemanw/stableRandom
Eileen McNaughton [Sun, 26 Sep 2021 08:31:14 +0000 (21:31 +1300)]
Merge pull request #21586 from colemanw/stableRandom

SearchKit - A random stable genius

2 years agoTest cleanup
Eileen McNaughton [Sun, 26 Sep 2021 03:41:23 +0000 (16:41 +1300)]
Test cleanup

This switches us to a less hacky way to interact with the form in some of the tests.

Our helpers now support us interacting with the forms in a way that better mimics
the real flow & allows us to call 'postProcess'

2 years agoRemove handling for empty required field
Eileen McNaughton [Sun, 26 Sep 2021 03:55:20 +0000 (16:55 +1300)]
Remove handling for empty required field

From is a required field - remove code to handle it being empty

2 years agodev/core#2629 show contribution statuses on contribution form
Eileen McNaughton [Sun, 26 Sep 2021 06:03:22 +0000 (19:03 +1300)]
dev/core#2629 show contribution statuses on contribution form

This arose from digging into
https://lab.civicrm.org/dev/core/-/issues/2629
but I think it's a tangent....

However when editing contributions the available statuses
are not dependent on the component. Only the
contribution status is relevant

2 years agoMerge pull request #21617 from demeritcowboy/convert-date
Eileen McNaughton [Sun, 26 Sep 2021 03:48:30 +0000 (16:48 +1300)]
Merge pull request #21617 from demeritcowboy/convert-date

Remove unused function - convertDateFieldsToMySQL

2 years agoMerge pull request #21618 from eileenmcnaughton/email
Eileen McNaughton [Sun, 26 Sep 2021 03:11:08 +0000 (16:11 +1300)]
Merge pull request #21618 from eileenmcnaughton/email

[Ref] Function signature cleanup

2 years ago[Ref] Function signature cleanup
Eileen McNaughton [Sat, 25 Sep 2021 19:10:14 +0000 (08:10 +1300)]
[Ref] Function signature cleanup

2 years agoMerge pull request #21612 from civicrm/5.42
Seamus Lee [Sat, 25 Sep 2021 22:00:27 +0000 (08:00 +1000)]
Merge pull request #21612 from civicrm/5.42

5.42

2 years agounused function
demeritcowboy [Sat, 25 Sep 2021 18:03:45 +0000 (14:03 -0400)]
unused function

2 years agoMerge pull request #21608 from eileenmcnaughton/email
demeritcowboy [Sat, 25 Sep 2021 17:49:11 +0000 (13:49 -0400)]
Merge pull request #21608 from eileenmcnaughton/email

[REF] Return the sendEmail function to it's owner

2 years agoMerge pull request #21469 from mattwire/updatesubscriptionform
Matthew Wire [Sat, 25 Sep 2021 13:50:00 +0000 (14:50 +0100)]
Merge pull request #21469 from mattwire/updatesubscriptionform

Fix display of subscription frequency on 'Update Subscription' form

2 years agoMerge pull request #21594 from agileware/CIVICRM-1844
Eileen McNaughton [Sat, 25 Sep 2021 04:56:16 +0000 (16:56 +1200)]
Merge pull request #21594 from agileware/CIVICRM-1844

Remove all references to safe_mode, DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0

2 years agoMerge pull request #21601 from eileenmcnaughton/542
Seamus Lee [Sat, 25 Sep 2021 02:50:50 +0000 (12:50 +1000)]
Merge pull request #21601 from eileenmcnaughton/542

dev/core#2861 Saved search loading fix

2 years agoAfform - fix loading embedded blocks
Coleman Watts [Sat, 25 Sep 2021 00:13:54 +0000 (20:13 -0400)]
Afform - fix loading embedded blocks

2 years agodev/core#2861 Saved search loading fix
Eileen McNaughton [Fri, 24 Sep 2021 19:35:30 +0000 (07:35 +1200)]
dev/core#2861 Saved search loading fix

2 years agoMerge pull request #21597 from seamuslee001/flexmailer_unicode
Tim Otten [Fri, 24 Sep 2021 22:38:47 +0000 (15:38 -0700)]
Merge pull request #21597 from seamuslee001/flexmailer_unicode

CRM-19236 - Fix Flexmailer extension to support unicode urls

2 years agoMerge pull request #21602 from eileenmcnaughton/broke
Seamus Lee [Fri, 24 Sep 2021 21:36:59 +0000 (07:36 +1000)]
Merge pull request #21602 from eileenmcnaughton/broke

Remove broken code

2 years agoAdd upgrade to token style
Eileen McNaughton [Fri, 24 Sep 2021 21:20:15 +0000 (09:20 +1200)]
Add upgrade to token style

2 years agoReturn the sendEmail function to it's owner
Eileen McNaughton [Fri, 24 Sep 2021 21:13:14 +0000 (09:13 +1200)]
Return the sendEmail function to it's owner

This sendEmail function is only called from one place in core and it is not 'generally useful' having
an awful parameter set. This PR moves it back to the class that 'owns' it - which will
allow us to undo all the work of building up that parameter set
and make it possible to support tokens for other entities than those already mangled in.

I would normally add a noisy deprecation notice once a function becomes unused in
core but since that has been done to the pdf task this release I've left this
deprecation a bit quieter for now.

Note that I cleaned up the tokens handled here before deprecating so we
could get rid of those calls fully

Under the OO structure it becomes easier to add the missing token options
- membership & participant - but the business of 'one email per person, &
just grab the tokens from the last entity' is messing with
my head a bit. That's the next bit....

2 years agoMerge pull request #21565 from eileenmcnaughton/email
demeritcowboy [Fri, 24 Sep 2021 20:44:55 +0000 (16:44 -0400)]
Merge pull request #21565 from eileenmcnaughton/email

dev/core#2851 Fix send email task contribution tokens to the processor

2 years agoAfform - Accept default field values from the url
Coleman Watts [Fri, 24 Sep 2021 20:42:12 +0000 (16:42 -0400)]
Afform - Accept default field values from the url

On a submission-type form, the args will be prefixed with their entity names,
e.g. civicrm/my-afform#?Individual.first_name=Bob

On a search form the args don't need a prefix and just use the name of the field

2 years ago Add upgrade to replace legacy contribution tokens from message templates
Yashodha Chaku [Fri, 24 Sep 2021 11:24:37 +0000 (16:54 +0530)]
 Add upgrade to replace legacy contribution tokens from message templates

Under legacy token replacement these 4 work
contribution.contribution_status
contribution.contribution_status_id:label
contribution.campaign
contribution.campaign_id:label

But only the label ones work with the processor. This upgrades the
    old ones our of the message templates table

2 years agoRemove broken code
Eileen McNaughton [Fri, 24 Sep 2021 19:50:03 +0000 (07:50 +1200)]
Remove broken code

I don't even know what this is supposed to do - but since the function
has been missing for our entire git history it must
be unreachable.

https://github.com/civicrm/civicrm-core/blob/4d5c2eb510a6be0017085d1f8dae09495e28e74b/CRM/Contact/BAO/SearchCustom.php

2 years agodev/core#2851 Fix send email task contribution tokens to the processor
Eileen McNaughton [Tue, 21 Sep 2021 20:47:51 +0000 (08:47 +1200)]
dev/core#2851 Fix send email task contribution tokens to the processor

2 years agoMerge pull request #21598 from agileware/CIVICRM-1846
Yashodha Chaku [Fri, 24 Sep 2021 11:24:37 +0000 (16:54 +0530)]
Merge pull request #21598 from agileware/CIVICRM-1846

Find Activities Search, default search option for Activity Text is set to "both" in the code, but should actually be set to 6 which is the value for "both"

2 years agoCIVICRM-1846 Find Activities Search, default search option for Activity Text is set...
Justin Freeman [Fri, 24 Sep 2021 06:07:27 +0000 (16:07 +1000)]
CIVICRM-1846 Find Activities Search, default search option for Activity Text is set to "both" in the code, but should actually be set to 6 which is the value for "both"

2 years ago[REF] CRM-19236 Fix Flexmailer extension to support unicode urls
Seamus Lee [Fri, 24 Sep 2021 06:04:26 +0000 (16:04 +1000)]
[REF] CRM-19236 Fix Flexmailer extension to support unicode urls

2 years agoCIVICRM-1844 Remove all references to safe_mode, DEPRECATED as of PHP 5.3.0 and REMOV...
Justin Freeman [Fri, 24 Sep 2021 05:11:23 +0000 (15:11 +1000)]
CIVICRM-1844 Remove all references to safe_mode, DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0

2 years agoMerge pull request #21588 from eileenmcnaughton/cancel
Seamus Lee [Fri, 24 Sep 2021 03:05:08 +0000 (13:05 +1000)]
Merge pull request #21588 from eileenmcnaughton/cancel

Add test to cancel subscription form

2 years agoAdd test to cancel subscription form
Eileen McNaughton [Thu, 23 Sep 2021 21:12:25 +0000 (09:12 +1200)]
Add test to cancel subscription form

2 years agoMerge pull request #21585 from eileenmcnaughton/compat
Eileen McNaughton [Thu, 23 Sep 2021 22:11:19 +0000 (10:11 +1200)]
Merge pull request #21585 from eileenmcnaughton/compat

Fix test

2 years agoMerge pull request #21538 from mattwire/subscriptioncleanup
Seamus Lee [Thu, 23 Sep 2021 20:12:03 +0000 (06:12 +1000)]
Merge pull request #21538 from mattwire/subscriptioncleanup

Clean up UpdateBilling/UpdateSubscription/ContributionRecur to use getters

2 years agoFix test
Eileen McNaughton [Thu, 23 Sep 2021 11:42:30 +0000 (23:42 +1200)]
Fix test

Fixes test logic I accidentally voided

2 years agoMerge pull request #21457 from colemanw/searchDisplayAfformDelete
colemanw [Thu, 23 Sep 2021 19:19:56 +0000 (15:19 -0400)]
Merge pull request #21457 from colemanw/searchDisplayAfformDelete

Fixes dev/core#2824 - Handle related Afforms when deleting Search Displays

2 years agoMerge pull request #21577 from jmcclelland/display-backend-recur-options
Matthew Wire [Thu, 23 Sep 2021 17:28:04 +0000 (18:28 +0100)]
Merge pull request #21577 from jmcclelland/display-backend-recur-options

ensure recur options are present on backend cc contribution form.

2 years agoMerge pull request #21484 from JKingsnorth/price-field-id-css
Matthew Wire [Thu, 23 Sep 2021 17:24:08 +0000 (18:24 +0100)]
Merge pull request #21484 from JKingsnorth/price-field-id-css

Add unique class to price field template

2 years agoremove type hint to return bool - we are no longer using the ret value.
Jamie McClelland [Thu, 23 Sep 2021 15:47:13 +0000 (11:47 -0400)]
remove type hint to return bool - we are no longer using the ret value.

2 years agoensure recur options are present on backend cc contribution form.
Jamie McClelland [Wed, 22 Sep 2021 14:00:36 +0000 (10:00 -0400)]
ensure recur options are present on backend cc contribution form.

We seem to be adding an extra check to see if the given
payment processor has any credit card fields before including the
recur option on the backend contribution page. But some processors,
like Stripe, insert the fields via javascript. It should be enough
to just test for the existence of a payment processor that supports
recur to run the block.

Also, no other code is checking the return value of buildPaymentForm
so removing it.

2 years agoSearchKit - Keep randomly sorted results stable across pages
Coleman Watts [Thu, 23 Sep 2021 13:57:43 +0000 (09:57 -0400)]
SearchKit - Keep randomly sorted results stable across pages

SearchKit allows ORDER BY RAND() but this can cause unexpected reshuffling
when using the pager, editing-in-place or bulk-updating records.

The solution is to generate a seed on the client-side when the display initializes,
and re-use it every time results are fetched. This keeps the order stable,
only reshuffling when the browser reloads the page.

2 years agoAdd standardized params for billingStateProvince and billingCountry
Matthew Wire [Thu, 23 Sep 2021 10:56:13 +0000 (11:56 +0100)]
Add standardized params for billingStateProvince and billingCountry

2 years agoClean up UpdateBilling/UpdateSubscription/ContributionRecur to use getters
Matthew Wire [Sun, 19 Sep 2021 10:12:52 +0000 (11:12 +0100)]
Clean up UpdateBilling/UpdateSubscription/ContributionRecur to use getters

2 years agoMerge pull request #21525 from eileenmcnaughton/cont_dep
Seamus Lee [Thu, 23 Sep 2021 07:48:07 +0000 (17:48 +1000)]
Merge pull request #21525 from eileenmcnaughton/cont_dep

dev/core#2851 Block use of legacy style contribution tokens

2 years agoMerge pull request #21580 from demeritcowboy/tokerr
Eileen McNaughton [Thu, 23 Sep 2021 06:18:40 +0000 (18:18 +1200)]
Merge pull request #21580 from demeritcowboy/tokerr

dev/core#2856 - Token "filter" can be null so filter[0] doesn't exist

2 years agoMerge pull request #21568 from eileenmcnaughton/labels
Tim Otten [Thu, 23 Sep 2021 04:31:03 +0000 (21:31 -0700)]
Merge pull request #21568 from eileenmcnaughton/labels

dev/core#2814 fix tokenCompat to be consistent with unresolved tokens

2 years agonull
demeritcowboy [Thu, 23 Sep 2021 02:24:30 +0000 (22:24 -0400)]
null

2 years agoMerge pull request #21579 from eileenmcnaughton/notice
Eileen McNaughton [Thu, 23 Sep 2021 01:12:38 +0000 (13:12 +1200)]
Merge pull request #21579 from eileenmcnaughton/notice

Enotice fix

2 years agoRemove old comment
Eileen McNaughton [Thu, 23 Sep 2021 00:54:43 +0000 (12:54 +1200)]
Remove old comment

2 years agoMerge pull request #21574 from colemanw/searchPrimary
Eileen McNaughton [Thu, 23 Sep 2021 00:45:15 +0000 (12:45 +1200)]
Merge pull request #21574 from colemanw/searchPrimary

Fixes dev/core#2852 - Add is_primary as a default SearchKit filter

2 years ago(REF) TokenCompatSubscriber - Simplify expression that replaces unknown tokens
Tim Otten [Thu, 23 Sep 2021 00:25:45 +0000 (17:25 -0700)]
(REF) TokenCompatSubscriber - Simplify expression that replaces unknown tokens

Additionally, this uses the regex from `TokenProcessor` instead of the regex from `CRM_Utils_Token`.
These differ in whether they capture the '|filter' expressions.

2 years ago(REF) TokenProcessor::visitTokens() - Increase visibility. Refine comments+tests.
Tim Otten [Wed, 22 Sep 2021 23:52:47 +0000 (16:52 -0700)]
(REF) TokenProcessor::visitTokens() - Increase visibility. Refine comments+tests.

2 years agoMerge pull request #21564 from lcdservices/dev-core-2850
Seamus Lee [Wed, 22 Sep 2021 23:27:58 +0000 (09:27 +1000)]
Merge pull request #21564 from lcdservices/dev-core-2850

dev/core#2850 update_email_resetdate consider opt out on hold

2 years agoMerge pull request #21572 from colemanw/afformEvents
Seamus Lee [Wed, 22 Sep 2021 23:27:23 +0000 (09:27 +1000)]
Merge pull request #21572 from colemanw/afformEvents

Afform - Add getters/setters to the AfformSubmitEvent class

2 years agoEnotice fix
Eileen McNaughton [Wed, 22 Sep 2021 23:19:08 +0000 (11:19 +1200)]
Enotice fix

2 years agoMerge pull request #21551 from colemanw/sqlEquation
Eileen McNaughton [Wed, 22 Sep 2021 22:49:59 +0000 (10:49 +1200)]
Merge pull request #21551 from colemanw/sqlEquation

APIv4 - Add support for sql equations

2 years agoMerge pull request #21569 from totten/master-datets
Eileen McNaughton [Wed, 22 Sep 2021 22:48:35 +0000 (10:48 +1200)]
Merge pull request #21569 from totten/master-datets

CRM_Utils_Date - Month and day names should match active locale

2 years agoFixes dev/core#2852 - Add is_primary as a default SearchKit filter
Coleman Watts [Wed, 22 Sep 2021 14:45:50 +0000 (10:45 -0400)]
Fixes dev/core#2852 - Add is_primary as a default SearchKit filter

When joining Contacts to emails, addresses, phones and IMs this will
automatically add is_primary=1 as a default search criteria.