- Sep 03, 2021
-
-
Eileen McNaughton authored
-
Eileen McNaughton authored
activity import: prepend custom group title to custom fields
-
- Sep 02, 2021
-
-
Eileen McNaughton authored
[REF] Deprecate 2 del() functions in favor of generics and hooks (#2757)
-
Seamus Lee authored
Switch to CRM_Core_Form::setTitle() instead of CRM_Utils_System::setTitle() part 3
-
mattwire authored
-
colemanw authored
Switch to CRM_Core_Form::setTitle() instead of CRM_Utils_System::setTitle() part 2
-
colemanw authored
NFC Clarify description for ckeditor4 plugin
-
-
mattwire authored
[REF] Do not set input['line_item'] pointlessly
-
mattwire authored
-
mattwire authored
-
Eileen McNaughton authored
#1618 Trigger a reconciliation of logging tables after Extens…
-
gitsync authored
-
gitsync authored
-
Eileen McNaughton authored
SearchKit - Add download CSV action
-
Eileen McNaughton authored
TokenProcessor - Allow defining Smarty variables which are populated via token
-
Seamus Lee authored
[Ref] Deprecate Core_Error handling
-
Seamus Lee authored
Afform - Fix button appearance and block form during submission
-
Seamus Lee authored
[NFC] Fix E-notice in Afform unit tests
-
colemanw authored
-
Seamus Lee authored
[REF] Fix Page Hook test on php8 by putting in guard into customDataB…
-
Eileen McNaughton authored
SearchKit - Add links to admin table and refresh after popups
-
Seamus Lee authored
-
Seamus Lee authored
Tidies Joomla 4 integration (menu, padding) after final release
-
Eileen McNaughton authored
Simplify ContributionView form. Always display "lineitems"
-
- Sep 01, 2021
-
-
Seamus Lee authored
[REF] Fix Page Hook test on php8 by putting in guard into customDataBlock around the SubType variable
-
totten authored
[NFC] Cleanup boilerplate code in extension upgrader classes
-
Seamus Lee authored
#2806 Fix accidental exposure of v4 tokens
-
colemanw authored
-
Nicol authored
Adjustments in response to changed Joomla 4 admin menu height; removal of smallest screen behaviour as no longer needed.
-
Nicol authored
-
DaveD authored
[NFC/Unit test] Update flaky test CRM_Utils_TokenConsistencyTest::testCaseTokenConsistency
-
DaveD authored
-
colemanw authored
-
-
Seamus Lee authored
Afform - Optimize Get by checking type
-
Seamus Lee authored
Fixes unusable modals in Joomla 4
-
Eileen McNaughton authored
-
totten authored
Overview -------- This allow more interoperability between Smarty expressions and tokens. For example, suppose one had a contribution-related message that could use the Smarty variable `$theInvoiceId` and/or the token `{contribution.invoice_id}`. This revision allows the Smarty variable to function as an alias for the token. Before ------ The caller would need to precompute Smarty values, eg ```php $theInvoiceId = civicrm_api4('Contribution', 'get', [ 'select' => 'invoice_id', 'where' => [['id', '=', $contributionId]] ]); $p = new TokenProcessor($this->dispatcher, [ 'controller' => __CLASS__, 'schema' => ['contributionId'], 'smarty' => TRUE, ]); $p->addMessage('example', 'Invoice #{$theInvoiceId}!', 'text/plain'); $p->addRow(['contributionId' => 123]); ``` After ----- The caller can declare a Smarty=>Token alias and leverage token data-loader. ```php $p = new TokenProcessor($this->dispatcher, [ 'controller' => __CLASS__, 'schema' => ['contributionId'], 'smarty' => TRUE, 'smartyTokenAlias' => [ 'theInvoiceId' => 'contribution.invoice_id', ], ]); $p->addMessage('example', 'Invoice #{$theInvoiceId}!', 'text/plain'); $p->addRow(['contributionId' => 123]); ``` Comments -------- The target token must be populated via `civi.token.eval` (e.g `$e->token('foo', 'bar', 'value')`). This would work with `CRM_*_Tokens`. But if the token is evaluted by other means (eg `CRM_Utils_Token::replaceGreetingTokens()`), then it won't currently be resolved.
-
Eileen McNaughton authored
This is only called from here & is short & can just be part of the main function.
-