civicrm-core.git
3 years ago(REF) MailingTest - Relax assertions around `{action.*}`
Tim Otten [Thu, 7 Oct 2021 23:59:47 +0000 (16:59 -0700)]
(REF) MailingTest - Relax assertions around `{action.*}`

* Only check for http://{action.*}` on legacy mailer
* Split assertions to be more readable
* Accept `h=` or `h=fakehash`

3 years agoMailingTest - Slightly relax assertion about failure-message
Tim Otten [Mon, 4 Oct 2021 21:29:45 +0000 (14:29 -0700)]
MailingTest - Slightly relax assertion about failure-message

In this error scenario, both BAO and Flexmailer complain. Flexmailer is slightly more specific in that its error reports
the actual field names (`body_text`, `body_html`) rather than a phony field `body`.

3 years ago(NFC) MailingTest - Swap quotes. Switch assertFoos(). Declare return types.
Eileen McNaughton [Sat, 18 Sep 2021 00:00:45 +0000 (12:00 +1200)]
(NFC) MailingTest - Swap quotes. Switch assertFoos(). Declare return types.

3 years agoMerge pull request #21717 from jmcclelland/notedatefield
demeritcowboy [Thu, 7 Oct 2021 23:26:40 +0000 (19:26 -0400)]
Merge pull request #21717 from jmcclelland/notedatefield

ensure blank note date in UI defaults to current date.

3 years agoMerge pull request #21660 from eileenmcnaughton/dep
Eileen McNaughton [Thu, 7 Oct 2021 22:01:30 +0000 (11:01 +1300)]
Merge pull request #21660 from eileenmcnaughton/dep

[REF] Move getCustomFieldTokens to the tokens class, annotate more deprecations

3 years agoMerge pull request #21669 from MegaphoneJon/event-64
demeritcowboy [Thu, 7 Oct 2021 21:35:50 +0000 (17:35 -0400)]
Merge pull request #21669 from MegaphoneJon/event-64

fixes event#64: Send event confirmation to submitted email address

3 years agoMerge pull request #21704 from eileenmcnaughton/date_regression
Tim Otten [Thu, 7 Oct 2021 21:30:27 +0000 (14:30 -0700)]
Merge pull request #21704 from eileenmcnaughton/date_regression

Master only regression - fix empty token date

3 years agoensure blank note date in UI defaults to current date.
Jamie McClelland [Mon, 4 Oct 2021 13:44:02 +0000 (09:44 -0400)]
ensure blank note date in UI defaults to current date.

See https://lab.civicrm.org/dev/core/-/issues/2884

3 years agoMove getCustomFieldTokens to the tokens class
Eileen McNaughton [Wed, 29 Sep 2021 04:44:32 +0000 (17:44 +1300)]
Move getCustomFieldTokens to the tokens class

This deprecates (quietly) another function on CRM_Utils_Token. It's a pretty small function -
the sort you'd just copy & paste if you wanted to use outside of core but
I didn't add noise. The only core place that calls this is the tokenTrait
- which is 'used' by activity tokens - but only for the handling of _N_
which I think was actually not supposed to have been included in the merge.

Anyway - I'm leaving that question for later because I'm not sure if the token
trait is used outside of core or how our final interface will look

3 years agoMerge pull request #21765 from colemanw/arrayShapes
Eileen McNaughton [Thu, 7 Oct 2021 19:04:18 +0000 (08:04 +1300)]
Merge pull request #21765 from colemanw/arrayShapes

[NFC] Afform - Add array shape annotations to FormDataModel

3 years agoAfform - Add array shape annotations to FormDataModel
Coleman Watts [Thu, 7 Oct 2021 17:22:06 +0000 (13:22 -0400)]
Afform - Add array shape annotations to FormDataModel

3 years agoMerge pull request #21759 from colemanw/afformApiFixes
colemanw [Thu, 7 Oct 2021 17:19:44 +0000 (13:19 -0400)]
Merge pull request #21759 from colemanw/afformApiFixes

Afform - Fix chainSelect to work with anonymous users

3 years agoMerge pull request #21705 from eileenmcnaughton/prefix
colemanw [Thu, 7 Oct 2021 16:33:58 +0000 (12:33 -0400)]
Merge pull request #21705 from eileenmcnaughton/prefix

dev/core#2650 switch contact.individual_prefix tokens to contact.prefix_id:label (former still works)

3 years agoMerge pull request #21745 from eileenmcnaughton/e_build
colemanw [Thu, 7 Oct 2021 16:19:56 +0000 (12:19 -0400)]
Merge pull request #21745 from eileenmcnaughton/e_build

Support participant & membership tokens in send-email tasks

3 years agoMerge pull request #21758 from eileenmcnaughton/contactv4
Yashodha Chaku [Thu, 7 Oct 2021 15:55:15 +0000 (21:25 +0530)]
Merge pull request #21758 from eileenmcnaughton/contactv4

Remove function duplicated in error

3 years agoMerge pull request #21760 from eileenmcnaughton/pseudo
colemanw [Thu, 7 Oct 2021 14:14:37 +0000 (10:14 -0400)]
Merge pull request #21760 from eileenmcnaughton/pseudo

Remove now-obsolete getPseudoTokens

3 years agoAfform - Fix chainSelect to work with anonymous users
Coleman Watts [Thu, 7 Oct 2021 04:24:07 +0000 (00:24 -0400)]
Afform - Fix chainSelect to work with anonymous users

3 years agoRemove static caching in deprecated function that seems to break tests
Eileen McNaughton [Thu, 7 Oct 2021 11:40:22 +0000 (00:40 +1300)]
Remove static caching in deprecated function that seems to break tests

3 years agoMerge pull request #21646 from MegaphoneJon/core-2874
Eileen McNaughton [Thu, 7 Oct 2021 11:38:24 +0000 (00:38 +1300)]
Merge pull request #21646 from MegaphoneJon/core-2874

fixes core#2874 - Search Builder on State/Province with Primary and IN

3 years agoRemove now-obsolete getPseudoTokens
Eileen McNaughton [Thu, 7 Oct 2021 04:38:32 +0000 (17:38 +1300)]
Remove now-obsolete getPseudoTokens

This is now only called from legacy code. The buildContributionArray path
is still a little used :-( but is tested
from CRM_Contribute_Form_Task_PDFLetterCommonTest
and hard-coding the array now it is settled is appropriate
to that code path's life expectancy

This code is no longer used in the Tokens classes and the functions that used it
from outside of there are now 'settled into their final state & waiting to die'
so a hard-coded list will see out their lives. They are marked now as deprecated

3 years agoClean up tests to call full postProcess for tasks
Eileen McNaughton [Thu, 7 Oct 2021 02:06:59 +0000 (15:06 +1300)]
Clean up tests to call full postProcess for tasks

3 years agoAfform - Rename submitFile param from entityName to modelName
Coleman Watts [Wed, 6 Oct 2021 21:26:41 +0000 (17:26 -0400)]
Afform - Rename submitFile param from entityName to modelName

$entityName is already a private property of APIv4 and has its own getter
which conflicted with a getter for a param named $entityName.
Better to just rename it.

3 years agoRemove function duplicated in error
Eileen McNaughton [Thu, 7 Oct 2021 04:11:59 +0000 (17:11 +1300)]
Remove function duplicated in error

This function lives on & is called on the

3 years agoAdd token support for participant & membership tasks
Eileen McNaughton [Wed, 6 Oct 2021 11:01:03 +0000 (00:01 +1300)]
Add token support for participant & membership tasks

3 years agoAdjust getRows result to have schema as a key
Eileen McNaughton [Wed, 6 Oct 2021 09:22:30 +0000 (22:22 +1300)]
Adjust getRows result to have schema as a key

It becomes too complex to handle in email trait otherwise

3 years agoMove crazy submit pre-processing out of buildForm
Eileen McNaughton [Wed, 6 Oct 2021 04:28:17 +0000 (17:28 +1300)]
Move crazy submit pre-processing out of buildForm

3 years agoSimplify getSubject
Eileen McNaughton [Wed, 6 Oct 2021 08:01:40 +0000 (21:01 +1300)]
Simplify getSubject

3 years agoMerge pull request #21706 from eileenmcnaughton/token_metadata
colemanw [Thu, 7 Oct 2021 00:38:21 +0000 (20:38 -0400)]
Merge pull request #21706 from eileenmcnaughton/token_metadata

Tokens - Hide more sophisticated tokens. Refactor to use "$this->tokenMetadata".

3 years agoMerge pull request #21755 from civicrm/5.42
Seamus Lee [Wed, 6 Oct 2021 23:40:16 +0000 (10:40 +1100)]
Merge pull request #21755 from civicrm/5.42

5.42

3 years agoMerge pull request #21754 from agh1/5.42.0-releasenotes-final
Seamus Lee [Wed, 6 Oct 2021 23:38:10 +0000 (10:38 +1100)]
Merge pull request #21754 from agh1/5.42.0-releasenotes-final

5.42.0 release notes final updates

3 years ago5.42.0 release notes: added late changes
Andie Hunt [Wed, 6 Oct 2021 23:35:14 +0000 (19:35 -0400)]
5.42.0 release notes: added late changes

3 years agoAdd release-notes/5.41.2.md
Tim Otten [Sat, 25 Sep 2021 06:14:43 +0000 (23:14 -0700)]
Add release-notes/5.41.2.md

3 years agoAdd release-notes/5.41.1.md
Tim Otten [Fri, 17 Sep 2021 20:23:58 +0000 (13:23 -0700)]
Add release-notes/5.41.1.md

3 years agoMerge pull request #21753 from civicrm/5.42
Eileen McNaughton [Wed, 6 Oct 2021 22:38:42 +0000 (11:38 +1300)]
Merge pull request #21753 from civicrm/5.42

Merge 5.42 to master

3 years agoMerge pull request #21722 from colemanw/crmIconButton
Tim Otten [Wed, 6 Oct 2021 22:29:50 +0000 (15:29 -0700)]
Merge pull request #21722 from colemanw/crmIconButton

Angular UI - Fix crmIcon to only add crm-button class to non-bootstrap buttons

3 years agoMerge pull request #21740 from eileenmcnaughton/ev_cache
colemanw [Wed, 6 Oct 2021 20:52:35 +0000 (16:52 -0400)]
Merge pull request #21740 from eileenmcnaughton/ev_cache

Flush metadata cache on event edit

3 years agoMerge pull request #21743 from eileenmcnaughton/regress
colemanw [Wed, 6 Oct 2021 20:50:26 +0000 (16:50 -0400)]
Merge pull request #21743 from eileenmcnaughton/regress

Fix regression from enotice fixes

3 years agoMerge pull request #21747 from totten/master-preview
Eileen McNaughton [Wed, 6 Oct 2021 20:33:24 +0000 (09:33 +1300)]
Merge pull request #21747 from totten/master-preview

(dev/mail#83) message_admin - Multiple improvements to the "Preview" dialog

3 years agoMerge pull request #21731 from eileenmcnaughton/linerc
colemanw [Wed, 6 Oct 2021 20:17:29 +0000 (16:17 -0400)]
Merge pull request #21731 from eileenmcnaughton/linerc

Call line item pre hook after tax amount is calculated

3 years agoMerge pull request #21750 from colemanw/afformHoverFix
Eileen McNaughton [Wed, 6 Oct 2021 20:14:29 +0000 (09:14 +1300)]
Merge pull request #21750 from colemanw/afformHoverFix

Afform - ensure dragging classes are removed when not sorting

3 years agoMerge pull request #21752 from colemanw/searchKitPermissionFix
Seamus Lee [Wed, 6 Oct 2021 19:58:04 +0000 (06:58 +1100)]
Merge pull request #21752 from colemanw/searchKitPermissionFix

SearchKit - Fix anonymous access to running search displays

3 years agoMerge pull request #21716 from jaapjansma/issue_2885
colemanw [Wed, 6 Oct 2021 19:38:02 +0000 (15:38 -0400)]
Merge pull request #21716 from jaapjansma/issue_2885

Fix for dev/core#2885

3 years agoMerge pull request #21748 from mattwire/statusmorethan25
colemanw [Wed, 6 Oct 2021 19:12:38 +0000 (15:12 -0400)]
Merge pull request #21748 from mattwire/statusmorethan25

System status checks only shows 25 messages

3 years agoMerge pull request #21676 from eileenmcnaughton/mail
colemanw [Wed, 6 Oct 2021 19:03:40 +0000 (15:03 -0400)]
Merge pull request #21676 from eileenmcnaughton/mail

dev/core#2866 Ignore preferred mail format - send to both

3 years agoMerge pull request #21749 from colemanw/afformChainSelect
colemanw [Wed, 6 Oct 2021 18:56:46 +0000 (14:56 -0400)]
Merge pull request #21749 from colemanw/afformChainSelect

Afform - Fix chain-select of contry and address to work on SearchKit forms

3 years agoSearchKit - Fix anonymous access to running search displays
Coleman Watts [Wed, 6 Oct 2021 18:20:09 +0000 (14:20 -0400)]
SearchKit - Fix anonymous access to running search displays

This is the same fix as used by afform_civicrm_alterApiRoutePermissions()
to remove the barrier to entry for anonymous users.

3 years agoAfform - ensure dragging classes are removed when not sorting
Coleman Watts [Wed, 6 Oct 2021 17:42:27 +0000 (13:42 -0400)]
Afform - ensure dragging classes are removed when not sorting

3 years agoAfform - Fix chain-select of contry and address to work on SearchKit forms
Coleman Watts [Wed, 6 Oct 2021 15:49:46 +0000 (11:49 -0400)]
Afform - Fix chain-select of contry and address to work on SearchKit forms

Multiple fixes to the chainSelect mechanics
- Provides visual feedback when reloading options
- Works with defalut values from url args
- Works with multi-valued fields
- Works with searchKit joins

3 years agoFix for dev/core#2885
Jaap Jansma [Mon, 4 Oct 2021 11:21:45 +0000 (13:21 +0200)]
Fix for dev/core#2885

Added test

Added test

3 years agoAllow for more than 25 system status checks to be loaded
Matthew Wire [Wed, 6 Oct 2021 13:38:47 +0000 (14:38 +0100)]
Allow for more than 25 system status checks to be loaded

3 years agoMerge pull request #21599 from eileenmcnaughton/format
Tim Otten [Wed, 6 Oct 2021 10:13:37 +0000 (03:13 -0700)]
Merge pull request #21599 from eileenmcnaughton/format

(dev/core#2638) Civi::format() - Add helper for formatting

3 years agomessage_admin (Preview) - Fix loop-around on "<<Previous" button
Tim Otten [Wed, 6 Oct 2021 07:26:58 +0000 (00:26 -0700)]
message_admin (Preview) - Fix loop-around on "<<Previous" button

Before: If you open the new "Preview" pane and press the "<<Previous"
button, it loops to invalid position `-1`.

After: Loop-around works in both directions.

3 years agomessage_admin (Preview) - Add more tooltips to "Preview" dialog
Tim Otten [Wed, 6 Oct 2021 07:24:38 +0000 (00:24 -0700)]
message_admin (Preview) - Add more tooltips to "Preview" dialog

3 years agomessage_admin (Preview) - Add drill-down for example data
Tim Otten [Tue, 5 Oct 2021 22:40:24 +0000 (15:40 -0700)]
message_admin (Preview) - Add drill-down for example data

3 years agoMerge pull request #21744 from civicrm/5.42
Eileen McNaughton [Wed, 6 Oct 2021 06:20:49 +0000 (19:20 +1300)]
Merge pull request #21744 from civicrm/5.42

5.42 to master

3 years agoMerge pull request #21730 from alifrumin/rn5.42
Eileen McNaughton [Wed, 6 Oct 2021 06:20:02 +0000 (19:20 +1300)]
Merge pull request #21730 from alifrumin/rn5.42

[NFC] 5.42 First Pass at Release Notes

3 years agoFix regression from enotice fixes
Eileen McNaughton [Wed, 6 Oct 2021 06:08:51 +0000 (19:08 +1300)]
Fix regression from enotice fixes

3 years agoMerge pull request #21735 from colemanw/tplFix
Eileen McNaughton [Wed, 6 Oct 2021 05:46:33 +0000 (18:46 +1300)]
Merge pull request #21735 from colemanw/tplFix

Fix possibly unefined $form variables in smarty templates

3 years agoMerge pull request #21738 from agileware/ISSUE-2892
Eileen McNaughton [Wed, 6 Oct 2021 05:37:22 +0000 (18:37 +1300)]
Merge pull request #21738 from agileware/ISSUE-2892

#2892 Replace event type token in action schedule changes event.event_type_id to participant.event_type_id:label. But should be event.event_type_id to event.event_type_id:label

3 years agoMerge pull request #21737 from demeritcowboy/standalone-case-email
Eileen McNaughton [Wed, 6 Oct 2021 05:17:37 +0000 (18:17 +1300)]
Merge pull request #21737 from demeritcowboy/standalone-case-email

For latest iteration of case email form, don't fail when there's no To contact

3 years agoMerge pull request #21739 from agileware/DUPLICATE-FEE-AMOUNT
Eileen McNaughton [Wed, 6 Oct 2021 05:16:57 +0000 (18:16 +1300)]
Merge pull request #21739 from agileware/DUPLICATE-FEE-AMOUNT

Removes duplicate replace on event fee amount.

3 years agoFlush metadata cache on event edit
Eileen McNaughton [Wed, 6 Oct 2021 03:42:21 +0000 (16:42 +1300)]
Flush metadata cache on event edit

3 years agoRemoves duplicate replace on event fee amount.
Justin Freeman [Wed, 6 Oct 2021 03:14:17 +0000 (14:14 +1100)]
Removes duplicate replace on event fee amount.

3 years ago#2892 Replace event type token in action schedule changes event.event_type_id to...
Justin Freeman [Wed, 6 Oct 2021 03:10:18 +0000 (14:10 +1100)]
#2892 Replace event type token in action schedule changes event.event_type_id to participant.event_type_id:label. But should be event.event_type_id to event.event_type_id:label

3 years agodon't fail on empty array
demeritcowboy [Wed, 6 Oct 2021 02:42:38 +0000 (22:42 -0400)]
don't fail on empty array

3 years agoMerge pull request #21736 from civicrm/5.42
Eileen McNaughton [Wed, 6 Oct 2021 01:06:24 +0000 (14:06 +1300)]
Merge pull request #21736 from civicrm/5.42

5.42 to master

3 years agoMerge pull request #21734 from demeritcowboy/21729-542
Eileen McNaughton [Wed, 6 Oct 2021 01:06:03 +0000 (14:06 +1300)]
Merge pull request #21734 from demeritcowboy/21729-542

dev/financial#181 - backport 21729

3 years agoMerge pull request #21688 from eileenmcnaughton/case3
Eileen McNaughton [Wed, 6 Oct 2021 01:05:15 +0000 (14:05 +1300)]
Merge pull request #21688 from eileenmcnaughton/case3

Use Case form for case email action

3 years agoFix possibly unefined $form variables in smarty templates
Coleman Watts [Tue, 5 Oct 2021 23:47:29 +0000 (19:47 -0400)]
Fix possibly unefined $form variables in smarty templates

Referencing a property of the $form in smarty is almost always going to be undefined
if it hasn't been set on the form, so this fixes a bad pattern of not using empty()
to guard against e-notices.

3 years agoMerge pull request #21732 from eileenmcnaughton/notice
Eileen McNaughton [Tue, 5 Oct 2021 23:19:23 +0000 (12:19 +1300)]
Merge pull request #21732 from eileenmcnaughton/notice

Enotice fix

3 years agobackport 21729
demeritcowboy [Tue, 5 Oct 2021 22:59:55 +0000 (18:59 -0400)]
backport 21729

3 years agoRecurringEdit - Split examples
Tim Otten [Tue, 5 Oct 2021 21:20:15 +0000 (14:20 -0700)]
RecurringEdit - Split examples

3 years agoAfformAdmin - fix loading joined block contend (Email, Address, Phone, etc) in GUI...
Coleman Watts [Tue, 5 Oct 2021 20:20:37 +0000 (16:20 -0400)]
AfformAdmin - fix loading joined block contend (Email, Address, Phone, etc) in GUI editor

3 years agoSplit mechanism to derive token metadata from display
Eileen McNaughton [Sun, 3 Oct 2021 02:23:15 +0000 (15:23 +1300)]
Split mechanism to derive token metadata from display

3 years agoUpdate tests/phpunit/Civi/Core/FormatTest.php
Eileen McNaughton [Tue, 5 Oct 2021 19:29:57 +0000 (08:29 +1300)]
Update tests/phpunit/Civi/Core/FormatTest.php

Co-authored-by: Tim Otten <totten@civicrm.org>
3 years agoEnotice fix
Eileen McNaughton [Tue, 5 Oct 2021 19:18:16 +0000 (08:18 +1300)]
Enotice fix

3 years agoMerge pull request #21724 from colemanw/fixSeed
Eileen McNaughton [Tue, 5 Oct 2021 19:01:28 +0000 (08:01 +1300)]
Merge pull request #21724 from colemanw/fixSeed

Fixes dev/core#2888 SearchKit download CSV broken

3 years agoMerge pull request #21725 from demeritcowboy/maxfilesize2
Eileen McNaughton [Tue, 5 Oct 2021 18:58:22 +0000 (07:58 +1300)]
Merge pull request #21725 from demeritcowboy/maxfilesize2

[NFC] Unit test fixes for the problem of quickform rules going missing

3 years agoCall line item pre hook after tax amount is set
Eileen McNaughton [Tue, 5 Oct 2021 18:52:17 +0000 (07:52 +1300)]
Call line item pre hook after tax amount is set

3 years agoMerge pull request #21723 from eileenmcnaughton/not
colemanw [Tue, 5 Oct 2021 18:51:04 +0000 (14:51 -0400)]
Merge pull request #21723 from eileenmcnaughton/not

Enotice fixes

3 years agoMerge pull request #21729 from MegaphoneJon/financial-181-rc
colemanw [Tue, 5 Oct 2021 18:50:33 +0000 (14:50 -0400)]
Merge pull request #21729 from MegaphoneJon/financial-181-rc

fixes financial#181 - don't crash when displaying recurring contributions whose 'template' has no line items

3 years agoMerge pull request #21726 from colemanw/searchKitButtons
Eileen McNaughton [Tue, 5 Oct 2021 18:44:13 +0000 (07:44 +1300)]
Merge pull request #21726 from colemanw/searchKitButtons

SearchKit - tweak button styles for shorditch

3 years agoMerge pull request #21728 from yashodha/core_2766
Eileen McNaughton [Tue, 5 Oct 2021 18:43:34 +0000 (07:43 +1300)]
Merge pull request #21728 from yashodha/core_2766

(dev/core#2766) provide way to distinguish the core and custom fields…

3 years agoMerge pull request #21727 from colemanw/refApi
colemanw [Tue, 5 Oct 2021 18:09:49 +0000 (14:09 -0400)]
Merge pull request #21727 from colemanw/refApi

REF - Remove non-functional code from APIv3

3 years agofixes event#64: Send event confirmation to submitted email address
Jon Goldberg [Wed, 29 Sep 2021 17:13:49 +0000 (13:13 -0400)]
fixes event#64: Send event confirmation to submitted email address

3 years ago[NFC] First Pass at 5.42 release notes
Alice Frumin [Tue, 28 Sep 2021 17:33:33 +0000 (13:33 -0400)]
[NFC] First Pass at 5.42 release notes

3 years agofixes financial#181 - don't crash when displaying recurring contributions whose ...
Jon Goldberg [Mon, 4 Oct 2021 18:12:59 +0000 (14:12 -0400)]
fixes financial#181 - don't crash when displaying recurring contributions whose 'template' has no line items

3 years ago(dev/core#2766) provide way to distinguish the core and custom fields on Find and...
yashodha [Tue, 5 Oct 2021 16:21:59 +0000 (21:51 +0530)]
(dev/core#2766) provide way to distinguish the core and custom fields on Find and Merge Duplicate Contacts page

3 years agoMerge pull request #21695 from eileenmcnaughton/submit
colemanw [Tue, 5 Oct 2021 15:22:26 +0000 (11:22 -0400)]
Merge pull request #21695 from eileenmcnaughton/submit

Add participant tokens to pdf task

3 years agoREF - Remove non-functional code from APIv3
Coleman Watts [Tue, 5 Oct 2021 14:48:26 +0000 (10:48 -0400)]
REF - Remove non-functional code from APIv3

3 years agoSearchKit - Consistently use one-time binding with ts()
Coleman Watts [Tue, 5 Oct 2021 14:41:00 +0000 (10:41 -0400)]
SearchKit - Consistently use one-time binding with ts()

3 years agoSearchKit - tweak button styles for shorditch
Coleman Watts [Tue, 5 Oct 2021 14:33:12 +0000 (10:33 -0400)]
SearchKit - tweak button styles for shorditch

3 years agomore global fix
demeritcowboy [Mon, 4 Oct 2021 22:42:55 +0000 (18:42 -0400)]
more global fix

3 years agoFixes dev/core#2888 SearchKit download CSV broken
Coleman Watts [Tue, 5 Oct 2021 13:49:55 +0000 (09:49 -0400)]
Fixes dev/core#2888 SearchKit download CSV broken

3 years agoFix null token render bug
Eileen McNaughton [Tue, 5 Oct 2021 10:15:15 +0000 (23:15 +1300)]
Fix null token render bug

3 years agoAdd participant tokens to pdf letter task
Eileen McNaughton [Fri, 1 Oct 2021 21:09:21 +0000 (10:09 +1300)]
Add participant tokens to pdf letter task

3 years agoAdd money format functions
Eileen McNaughton [Mon, 4 Oct 2021 20:23:26 +0000 (09:23 +1300)]
Add money format functions

Civi::format()->money();
Civi::format()->number();
Civi::format()->moneyNumber();
Civi::format()->moneyLong();

3 years agoStandardise listTokens in email & pdf
Eileen McNaughton [Fri, 1 Oct 2021 23:05:37 +0000 (12:05 +1300)]
Standardise listTokens in email & pdf

This simplifies the code to 'listtokens' across most of the pdf & email classes.

The case tokens are a bit of a hold out as ideally we would have
one function on CRM_Case_Form_Task which email & pdf would use
but we are still getting to that point - see
https://github.com/civicrm/civicrm-core/pull/21688

3 years agoEnotice fixes
Eileen McNaughton [Tue, 5 Oct 2021 06:02:57 +0000 (19:02 +1300)]
Enotice fixes

3 years agoMerge pull request #21645 from colemanw/displayName
Eileen McNaughton [Tue, 5 Oct 2021 01:42:17 +0000 (14:42 +1300)]
Merge pull request #21645 from colemanw/displayName

Afform - Use search display name as field prefix for url-based field defaults