Eileen McNaughton [Mon, 25 Sep 2023 21:17:10 +0000 (10:17 +1300)]
Remove unreachable code
Mailing is hard-coded to FALSE so anything that relies on it being TRUE
is unreachable
colemanw [Mon, 25 Sep 2023 13:45:45 +0000 (09:45 -0400)]
Merge pull request #27628 from mattwire/schedjoblog
AdminUI: Fix filtering logs by scheduled job
Matthew Wire [Mon, 25 Sep 2023 13:02:50 +0000 (14:02 +0100)]
Fix filtering logs by scheduled job
Eileen McNaughton [Mon, 25 Sep 2023 05:31:29 +0000 (18:31 +1300)]
Merge pull request #27627 from demeritcowboy/field
Fix typos in field.tpl
demeritcowboy [Mon, 25 Sep 2023 03:51:47 +0000 (23:51 -0400)]
Merge pull request #27600 from eileenmcnaughton/unreachable
Add deprecated notice to unreachable code
demeritcowboy [Mon, 25 Sep 2023 03:25:37 +0000 (23:25 -0400)]
typo on post_html_text
demeritcowboy [Mon, 25 Sep 2023 03:25:25 +0000 (23:25 -0400)]
typo, but pre_html_text is never used in universe
colemanw [Sun, 24 Sep 2023 23:41:05 +0000 (19:41 -0400)]
Merge pull request #27616 from colemanw/pagerCont
SearchKit - When hiding pager, also hide page count
colemanw [Sun, 24 Sep 2023 22:53:35 +0000 (18:53 -0400)]
Merge pull request #27595 from eileenmcnaughton/part_email_token
Replace email smarty var with token
colemanw [Sun, 24 Sep 2023 22:52:40 +0000 (18:52 -0400)]
Merge pull request #27623 from eileenmcnaughton/no_req
Revove always true if
Eileen McNaughton [Sun, 24 Sep 2023 21:02:03 +0000 (10:02 +1300)]
Merge pull request #27621 from larssandergreen/Remove-missed-backticks-for-Smarty-3
dev/core#4146: Remove missed backticks for Smarty 3, follow up to #27547
Eileen McNaughton [Sun, 24 Sep 2023 21:01:32 +0000 (10:01 +1300)]
Merge pull request #27617 from colemanw/afformBreadcrumb
Afform - run `civix upgrade`
Eileen McNaughton [Sun, 24 Sep 2023 20:59:47 +0000 (09:59 +1300)]
Replace email smarty var with token
This replaces the variable email with the appropriate smarty token
I spent some time tracking back the various contact ID & email refs
but concluded this value would always be the participant email, with
is assigned as contact to the tokens.
Eileen McNaughton [Sun, 24 Sep 2023 20:57:46 +0000 (09:57 +1300)]
Merge pull request #27594 from larssandergreen/Don't-repeat-Smarty-blocks
dev/core#4146 Don't repeat Smarty blocks
Eileen McNaughton [Sun, 24 Sep 2023 20:53:39 +0000 (09:53 +1300)]
Revove always true if
Eileen McNaughton [Sun, 24 Sep 2023 20:51:02 +0000 (09:51 +1300)]
Merge pull request #27619 from larssandergreen/Delete-unused-smarty-blocks
Delete unused Smarty block serialize
larssandergreen [Sun, 24 Sep 2023 19:26:25 +0000 (13:26 -0600)]
Don't repeat Smarty blocks
larssandergreen [Sun, 24 Sep 2023 18:51:37 +0000 (12:51 -0600)]
Delete block.serialize.php
colemanw [Sun, 24 Sep 2023 18:50:01 +0000 (14:50 -0400)]
Merge pull request #27620 from larssandergreen/Fix-coding-error-in-#27604
dev/core#4146 Fix coding error in #27604
colemanw [Sun, 24 Sep 2023 18:49:10 +0000 (14:49 -0400)]
Merge pull request #27622 from larssandergreen/Fix-broken-help-for-edit-pledge
Fix broken help for edit pledge
larssandergreen [Sun, 24 Sep 2023 17:14:13 +0000 (11:14 -0600)]
Fix broken help for edit pledge
larssandergreen [Sun, 24 Sep 2023 16:10:47 +0000 (10:10 -0600)]
Remove missed backticks for Smarty 3
larssandergreen [Sun, 24 Sep 2023 16:31:06 +0000 (10:31 -0600)]
Fix coding error in #27604
colemanw [Sun, 24 Sep 2023 16:18:58 +0000 (12:18 -0400)]
Merge pull request #27609 from eileenmcnaughton/no_req
Stop passing unused parameter
colemanw [Sun, 24 Sep 2023 15:17:14 +0000 (11:17 -0400)]
Merge pull request #27606 from eileenmcnaughton/online_pending
Remove always-same parameter from function signature
colemanw [Sun, 24 Sep 2023 15:10:26 +0000 (11:10 -0400)]
Merge pull request #27587 from eileenmcnaughton/smarty_mod
dev/core##4146 Add instance of smarty modifier to prevent errors when running smarty 3
colemanw [Sun, 24 Sep 2023 13:22:54 +0000 (09:22 -0400)]
Afform - run civix upgrade
colemanw [Sun, 24 Sep 2023 12:30:05 +0000 (08:30 -0400)]
SearchKit - When hiding pager, also hide page count
colemanw [Sun, 24 Sep 2023 10:17:54 +0000 (06:17 -0400)]
Merge pull request #27614 from eileenmcnaughton/role_token
Fix a couple more places to use tokens participant role
Eileen McNaughton [Thu, 21 Sep 2023 19:03:12 +0000 (07:03 +1200)]
Fix a couple more places to use tokens
I could make no sense of the whole default role ID thing
I removed it
colemanw [Sun, 24 Sep 2023 02:14:43 +0000 (22:14 -0400)]
Merge pull request #27598 from eileenmcnaughton/offline
[php8] Swap out some tpl variables for tokens in offline receipt template
colemanw [Sun, 24 Sep 2023 01:35:13 +0000 (21:35 -0400)]
Merge pull request #27605 from eileenmcnaughton/part_trait
Flatten array
Eileen McNaughton [Sat, 23 Sep 2023 23:33:02 +0000 (12:33 +1300)]
Merge pull request #27604 from larssandergreen/Fix-Smarty-3-broken-help
dev/core##4146 Fix Smarty 3 broken help
colemanw [Sat, 23 Sep 2023 22:37:28 +0000 (18:37 -0400)]
Merge pull request #27607 from braders/dead-code-checkSQLConstraint
Remove dead code - checkSQLConstraint functions
Eileen McNaughton [Sat, 23 Sep 2023 21:45:59 +0000 (10:45 +1300)]
Stop passing unused parameter
Eileen McNaughton [Sat, 23 Sep 2023 10:06:38 +0000 (22:06 +1200)]
Swap out some tpl variables for tokens
These ones are all pretty routine / been done in other templates
Bradley Taylor [Sat, 23 Sep 2023 21:14:27 +0000 (22:14 +0100)]
Remove dead code - checkSQLConstraint functions
Eileen McNaughton [Sat, 23 Sep 2023 21:11:31 +0000 (10:11 +1300)]
Remove always-same parameter from function signature
This function is only ever called with the component event. Removing that parameter makes is clearer
what (how little) it is doing
Eileen McNaughton [Sat, 23 Sep 2023 20:52:51 +0000 (09:52 +1300)]
Flatten array
This array is being built up with an unnecessary layer
colemanw [Sat, 23 Sep 2023 20:28:12 +0000 (16:28 -0400)]
Merge pull request #27601 from eileenmcnaughton/admin
Require all fields in signature, as always passed
colemanw [Sat, 23 Sep 2023 20:17:41 +0000 (16:17 -0400)]
Merge pull request #27603 from braders/dedupemerge-null
[NFC] Proper syntax for null in DedupeMerge
colemanw [Sat, 23 Sep 2023 18:19:16 +0000 (14:19 -0400)]
Merge pull request #27585 from eileenmcnaughton/smarty_compat
dev/core##4146 Add Smarty3 Compatibility helper
colemanw [Sat, 23 Sep 2023 18:11:52 +0000 (14:11 -0400)]
Merge pull request #27588 from eileenmcnaughton/smarty_package
dev/core##4146 Remove our override of Smartyv2 fetch function
larssandergreen [Sat, 23 Sep 2023 17:49:06 +0000 (11:49 -0600)]
Pass in title htxt id instead of assigning so it works in Smarty 3
colemanw [Sat, 23 Sep 2023 17:48:07 +0000 (13:48 -0400)]
Merge pull request #27597 from eileenmcnaughton/fix_loop
Remove undeclared properties `_contributorEmail`, `_toDoNotEmail` from participant form
colemanw [Sat, 23 Sep 2023 17:33:45 +0000 (13:33 -0400)]
Merge pull request #27602 from eileenmcnaughton/text_receipts
Simplify formatting in text versions of workflow messages
Bradley Taylor [Sat, 23 Sep 2023 17:06:21 +0000 (18:06 +0100)]
[NFC] Proper syntax for null in DedupeMerge
Eileen McNaughton [Sat, 23 Sep 2023 12:34:59 +0000 (00:34 +1200)]
Simplify formatting in text versions of workflow messages
Eileen McNaughton [Sat, 23 Sep 2023 12:01:25 +0000 (00:01 +1200)]
Simplify a couple of lines of code
Eileen McNaughton [Sat, 23 Sep 2023 11:55:05 +0000 (23:55 +1200)]
Require all fields in signature, as always passed
Eileen McNaughton [Sat, 23 Sep 2023 11:44:15 +0000 (23:44 +1200)]
Add deprecated notice to unreachable code
Per code comment & my own reading of the code today this else clause seems unreachable
priceSetID is set for quickConfig AND normal prices sets...
Eileen McNaughton [Sat, 23 Sep 2023 11:34:58 +0000 (23:34 +1200)]
Merge pull request #27599 from braders/error-policy-properties
[REF][PHP8.2] Declare properties in CRM_Queue_ErrorPolicy
Bradley Taylor [Sat, 23 Sep 2023 10:38:11 +0000 (11:38 +0100)]
[REF][PHP8.2] Declare properties in CRM_Queue_ErrorPolicy
Eileen McNaughton [Sat, 23 Sep 2023 08:40:17 +0000 (20:40 +1200)]
Remove undeclared properties contributorEmai, toDoNotEmail from participant form
We can use getContactValue to look them up in a cached way as appropriate
larssandergreen [Sat, 23 Sep 2023 04:27:04 +0000 (22:27 -0600)]
Don't repeat crmButton block
Eileen McNaughton [Sat, 23 Sep 2023 04:22:59 +0000 (16:22 +1200)]
Merge pull request #27547 from larssandergreen/More-Smarty-3+-prep
dev/core##4146 [NFC] More Smarty 3+ prep, mostly quoting strings and removing backticks
larssandergreen [Sat, 23 Sep 2023 03:37:39 +0000 (21:37 -0600)]
Fix Administer Custom Field Groups in AdminUI for Smarty 3
Eileen McNaughton [Sat, 23 Sep 2023 03:26:02 +0000 (15:26 +1200)]
Merge pull request #27590 from eileenmcnaughton/template_again
Fix those pesky field notices ...again
larssandergreen [Sat, 23 Sep 2023 03:11:29 +0000 (21:11 -0600)]
Smarty backticks fixes, etc
Eileen McNaughton [Sat, 23 Sep 2023 03:00:30 +0000 (15:00 +1200)]
Merge pull request #27589 from eileenmcnaughton/help_fix
Stop accessng _tpl_vars in smarty from property
Eileen McNaughton [Sat, 23 Sep 2023 02:12:10 +0000 (14:12 +1200)]
Fix those pesky field notices ...again
Eileen McNaughton [Sat, 23 Sep 2023 02:02:50 +0000 (14:02 +1200)]
Stop accessng _tpl_vars in smarty from property
it's bad practice & it hard fails in smartyv3
Eileen McNaughton [Sat, 23 Sep 2023 01:50:58 +0000 (13:50 +1200)]
Remove our override of Smartyv2 fetch function
Eileen McNaughton [Sat, 23 Sep 2023 00:51:30 +0000 (12:51 +1200)]
Add Smarty3 Compatibility helper
Eileen McNaughton [Sat, 23 Sep 2023 01:30:23 +0000 (13:30 +1200)]
Add instance of smarty modifier to prevent errors when running smarty 3
Tim Otten [Sat, 23 Sep 2023 00:20:20 +0000 (17:20 -0700)]
Merge pull request #27526 from eileenmcnaughton/hook
(dev/core#4490) Queues - Add setting and hook to pause/resume background-queues
Eileen McNaughton [Fri, 22 Sep 2023 23:47:34 +0000 (11:47 +1200)]
Merge pull request #27584 from colemanw/smartyEval
dev/core#4618 - Update APIv3 explorer to not encourage php-eval in smarty
Eileen McNaughton [Fri, 22 Sep 2023 23:32:54 +0000 (11:32 +1200)]
Merge pull request #27578 from eileenmcnaughton/offline_e
Fix undefined property on fromEmails for Participant fee
colemanw [Fri, 22 Sep 2023 23:13:20 +0000 (19:13 -0400)]
dev/core#4618 - Update APIv3 explorer to not encourage php-eval in smarty
Tim Otten [Fri, 22 Sep 2023 23:07:55 +0000 (16:07 -0700)]
Merge pull request #27553 from colemanw/afformPhp
dev/core#2396 - Read afform defn from .aff.php files
Eileen McNaughton [Fri, 22 Sep 2023 21:43:36 +0000 (09:43 +1200)]
Fix undefined property on fromEmails for Participant fee
Seamus Lee [Fri, 22 Sep 2023 22:14:26 +0000 (08:14 +1000)]
Merge pull request #27580 from civicrm/5.66
5.66
Tim Otten [Fri, 22 Sep 2023 21:43:47 +0000 (14:43 -0700)]
The Battle of the Synonyms was put on-hold.
With the recent update, it fires a hook, and the hook-data describes the
queue-status as "deferred".
But the setting which drives it is called "queue_suspended".
Which word is better? On reflection... neither!
In CiviMail, there's some existing functionality where you can "pause" a
mail-blast. And it's basically the same thing: we keep the queue-data, but
we tell the workers to temporarily refrain from execution. And that's fine.
"Pausing" sounds less scary...
Eileen McNaughton [Fri, 22 Sep 2023 21:51:09 +0000 (09:51 +1200)]
Merge pull request #27574 from demeritcowboy/sixhundred
[NFC] Partial backport of
0c1d533c to avoid random test fails
Eileen McNaughton [Fri, 22 Sep 2023 21:50:37 +0000 (09:50 +1200)]
Merge pull request #27573 from alifrumin/5.66rn
[NFC] 5.66 release notes
Tim Otten [Fri, 22 Sep 2023 21:40:55 +0000 (14:40 -0700)]
Queue::isActive() - Use the latest value of the setting
demeritcowboy [Fri, 22 Sep 2023 20:58:15 +0000 (16:58 -0400)]
Merge pull request #27530 from eileenmcnaughton/misc
php8.x Fix notice from adding esm_loader to wrong settings form
colemanw [Fri, 22 Sep 2023 20:09:38 +0000 (16:09 -0400)]
Merge pull request #27576 from colemanw/enter
SearchKit - Save In-place edit when pressing enter
colemanw [Fri, 22 Sep 2023 13:47:58 +0000 (09:47 -0400)]
Ext - Convert *.aff.json files to *.aff.php
Used a bunch of regexes to convert file formats
The new format allows titles, labels, etc to be translatable.
colemanw [Fri, 22 Sep 2023 19:53:38 +0000 (15:53 -0400)]
Merge pull request #27563 from eileenmcnaughton/pro
Remove unreachable code
colemanw [Fri, 22 Sep 2023 19:31:45 +0000 (15:31 -0400)]
SearchKit - Save In-place edit when pressing enter
demeritcowboy [Fri, 22 Sep 2023 17:41:41 +0000 (13:41 -0400)]
avoid random test fails
demeritcowboy [Fri, 22 Sep 2023 17:39:23 +0000 (13:39 -0400)]
Merge pull request #27572 from larssandergreen/Delete-unneeded-test-file
Remove unintentionally added test file
Alice Frumin [Tue, 19 Sep 2023 15:26:57 +0000 (11:26 -0400)]
[NFC] 5.66 release notes
larssandergreen [Fri, 22 Sep 2023 15:23:37 +0000 (09:23 -0600)]
Remove unintentionally added test file
colemanw [Thu, 21 Sep 2023 23:16:46 +0000 (19:16 -0400)]
Afform - Read afform defn from .aff.php files as well as .aff.json
By switching the file format, defn fields like `title` and `description` can be wrapped in ts().
This is intended for developers and extensions authors. They can generate these php files by calling `Afform.get`
with the api explorer, and copying the result (minus the "layout" field).
FormBuilder still saves files locally in `aff.json` format.
Overriding a packaged `.aff.php` form with a local `aff.json` works fine.
demeritcowboy [Fri, 22 Sep 2023 13:10:23 +0000 (09:10 -0400)]
Merge pull request #27571 from civicrm/5.66
5.66
demeritcowboy [Fri, 22 Sep 2023 12:36:33 +0000 (08:36 -0400)]
Merge pull request #27567 from eileenmcnaughton/action
Loosen action typing - doing nothing is doing something
colemanw [Fri, 22 Sep 2023 12:26:31 +0000 (08:26 -0400)]
Merge pull request #27560 from eileenmcnaughton/event_type
Stop using undefined properties to specify custom data extends values
demeritcowboy [Fri, 22 Sep 2023 12:26:03 +0000 (08:26 -0400)]
Merge pull request #27566 from eileenmcnaughton/price
Fix weight values on PriceSet page
colemanw [Fri, 22 Sep 2023 12:04:23 +0000 (08:04 -0400)]
Merge pull request #27316 from lemniscus/oauth-session-token
Implement OAuthSessionToken
colemanw [Fri, 22 Sep 2023 12:00:19 +0000 (08:00 -0400)]
Merge pull request #27570 from jensschuppe/financialItemEntityTableCampaign
Allow `civicrm_campaign` as `entity_table` for `FinancialItem` API entity
colemanw [Fri, 22 Sep 2023 11:58:58 +0000 (07:58 -0400)]
Merge pull request #27568 from eileenmcnaughton/petition
Fix notice on 'new petition' page
Jens Schuppe [Fri, 22 Sep 2023 09:39:15 +0000 (11:39 +0200)]
Allow `civicrm_campaign` as `entity_table` for `FinancialItem` API entity
Eileen McNaughton [Fri, 22 Sep 2023 08:11:06 +0000 (20:11 +1200)]
Fix notice on 'new petition' page
Eileen McNaughton [Fri, 22 Sep 2023 07:57:17 +0000 (19:57 +1200)]
Loosen action typing - doing nothing is doing something
Eileen McNaughton [Fri, 22 Sep 2023 07:34:26 +0000 (19:34 +1200)]
Fix weight values on PriceSet page
Tim Otten [Fri, 22 Sep 2023 04:41:15 +0000 (21:41 -0700)]
Use subsystem prefix on new setting
Eileen McNaughton [Fri, 22 Sep 2023 04:03:57 +0000 (16:03 +1200)]
Remove unreachable code
The ContributionRecur::add function throws an error if there
is a problem - it doesn't return an error
Noah Miller [Fri, 22 Sep 2023 04:03:43 +0000 (00:03 -0400)]
update function signature to match that in parent class (recently changed)