colemanw [Wed, 4 Oct 2023 14:53:12 +0000 (10:53 -0400)]
SearchKit - Use filters from having clause as well as where clause for toolbar buttons
colemanw [Wed, 4 Oct 2023 14:52:21 +0000 (10:52 -0400)]
Activity Form - Show activity_type_id if not passed in url
colemanw [Wed, 4 Oct 2023 12:34:06 +0000 (08:34 -0400)]
ContactSummary - Add SearchKit display for activities tab to AdminUI
colemanw [Wed, 4 Oct 2023 12:32:03 +0000 (08:32 -0400)]
Afform - Use list of allowed operators if set on the form, adjust width
Eileen McNaughton [Tue, 2 Jan 2024 21:47:54 +0000 (10:47 +1300)]
Merge pull request #28668 from colemanw/utilsArrayCollect
REF - Swap CRM_Utils_Array::collect with vanilla array_column
colemanw [Tue, 2 Jan 2024 21:31:55 +0000 (16:31 -0500)]
Merge pull request #28828 from eileenmcnaughton/date_iso
Fix time validation for iso date format
Eileen McNaughton [Tue, 2 Jan 2024 20:36:08 +0000 (09:36 +1300)]
Merge pull request #28834 from colemanw/phpStormGetLinks
[NFC] Add 'getLinks' action to phpStorm extension
Eileen McNaughton [Tue, 2 Jan 2024 20:26:25 +0000 (09:26 +1300)]
Merge pull request #28837 from colemanw/group_notice2
Fix e-notice on contact create for low-permissioned user
Tim Otten [Tue, 2 Jan 2024 19:17:36 +0000 (13:17 -0600)]
Merge pull request #28786 from colemanw/oauthLinks
dev/core#4674 - Add Oauth links for AdminUi MailSettings
colemanw [Tue, 2 Jan 2024 18:44:58 +0000 (13:44 -0500)]
Merge pull request #28838 from spalmstr/Issue_4879
Issue 4879 second attempt
Stephen Palmstrom [Tue, 2 Jan 2024 17:47:22 +0000 (17:47 +0000)]
Following suggested additional changes.
colemanw [Tue, 2 Jan 2024 15:08:53 +0000 (10:08 -0500)]
Fix e-notice on contact create for low-permissioned user
This cleans up some very messy code which was emitting e-notices when the 'group' key was missing.
This can happen when the current user does not have permissions to add contacts to groups.
Stephen Palmstrom [Tue, 2 Jan 2024 14:53:46 +0000 (14:53 +0000)]
Issue 4879
colemanw [Tue, 2 Jan 2024 14:48:58 +0000 (09:48 -0500)]
Merge pull request #28831 from eileenmcnaughton/template_vars_sample
Remove smarty2 functions from sample code
colemanw [Tue, 2 Jan 2024 14:35:56 +0000 (09:35 -0500)]
Merge pull request #28829 from eileenmcnaughton/template_vars
Use getTemplateVars in smarty help function
colemanw [Tue, 2 Jan 2024 14:33:42 +0000 (09:33 -0500)]
Merge pull request #28830 from eileenmcnaughton/template_smarty
Replace getTemplateVars() in test, assignTemplateVariables
colemanw [Tue, 2 Jan 2024 14:29:24 +0000 (09:29 -0500)]
Merge pull request #28621 from artfulrobot/issue-4857
standalone: implement cms-prefixed permissions as concrete ones
colemanw [Tue, 2 Jan 2024 14:18:53 +0000 (09:18 -0500)]
Merge pull request #28833 from artfulrobot/standaloneusers-dependency
Remove missingStandaloneExtension() checks which were pre-alpha scaffold
colemanw [Tue, 2 Jan 2024 14:02:25 +0000 (09:02 -0500)]
Add 'getLinks' action to phpStorm extension
Rich Lott / Artful Robot [Tue, 2 Jan 2024 12:43:18 +0000 (12:43 +0000)]
Remove missingStandaloneExtension() checks which were pre-alpha scaffold
Rich Lott [Tue, 2 Jan 2024 09:33:23 +0000 (09:33 +0000)]
Merge pull request #28784 from mlutfy/floatLeftButton
Merging as no objections
eileen [Tue, 2 Jan 2024 08:31:22 +0000 (21:31 +1300)]
Remove smarty2 functions from sample code
eileen [Tue, 2 Jan 2024 08:24:50 +0000 (21:24 +1300)]
Replace getTemplateVars() in test, assignTemplateVariables
eileen [Tue, 2 Jan 2024 07:56:58 +0000 (20:56 +1300)]
Use getTeplateVars in smarty help function
eileen [Tue, 2 Jan 2024 01:06:13 +0000 (14:06 +1300)]
Fix time validation for iso date format
As this is a very simple format strtotime will get it right
so we just fix our validation & simplify
Eileen McNaughton [Tue, 2 Jan 2024 06:47:21 +0000 (19:47 +1300)]
Merge pull request #28826 from eileenmcnaughton/act_workflow
Use distinct test workflow message for workflow message tests
eileen [Tue, 2 Jan 2024 05:13:22 +0000 (18:13 +1300)]
Disable check temporily for PR juggling
colemanw [Sat, 23 Dec 2023 15:50:09 +0000 (10:50 -0500)]
dev/core#4674 - Add Oauth links for AdminUi MailSettings
This fixes https://lab.civicrm.org/dev/core/-/issues/4674 by adding a LinksProvider
for the new GetLinks action from #27973.
It uses the CRM_Core_BAO_MailSettings::getSetupActions() function to generate the extra links,
but there is a mismatch between the two functions:
- getSetupActions() returns a fully-formed url
- API::getLinks() returns a path
However, I noticed that while in theory hook_civicrm_mailSetupActions could return various urls,
in practice they are all the same: a generic civicrm/ajax/setupMailAccount redirect.
So this returns that as the path and it works.
Perhaps we should deprecate the option to return a url from hook_civicrm_mailSetupActions
(or just remove it, since it appears to be unused & YAGNI).
Eileen McNaughton [Tue, 2 Jan 2024 03:39:09 +0000 (16:39 +1300)]
Merge pull request #27973 from colemanw/getLinks
SearchKit - New getLinks API action for advanced link handling
colemanw [Tue, 2 Jan 2024 03:23:31 +0000 (22:23 -0500)]
Merge pull request #28789 from eileenmcnaughton/message_template
Update `MessageTemplates` generation to work with Smarty3
eileen [Tue, 2 Jan 2024 03:10:58 +0000 (16:10 +1300)]
Use distinct test workflow message for workflow message tests
The tests for the workflow message subsystem use an instance of a test
case_activity template attached the real message workflow template. They
test the text version - meaning that removing it, like we have with
others, causes various fails. In addition adding a real template that
does not match the test version causes mayhem.
In this case we want to ensure we keep all the tests for the subsystem
functionality but undo the tethering to a particular
template to allow that template to have updates without
having to go deep into this code
eileen [Tue, 2 Jan 2024 00:06:19 +0000 (13:06 +1300)]
Extract date regex validation
Eileen McNaughton [Tue, 2 Jan 2024 02:47:28 +0000 (15:47 +1300)]
Merge pull request #28825 from eileenmcnaughton/no_ref
Remove function use of reference
colemanw [Tue, 2 Jan 2024 02:37:13 +0000 (21:37 -0500)]
Merge pull request #28822 from eileenmcnaughton/date_formats_test
Extend date formats being tested
colemanw [Tue, 2 Jan 2024 02:36:43 +0000 (21:36 -0500)]
Merge pull request #28823 from eileenmcnaughton/date_const
Use constants for date formats
colemanw [Tue, 2 Jan 2024 02:34:45 +0000 (21:34 -0500)]
Merge pull request #28556 from eileenmcnaughton/trait_meta
Fully deprecate MetadataTrait
eileen [Tue, 2 Jan 2024 01:50:08 +0000 (14:50 +1300)]
Deprecate passing in month
eileen [Tue, 2 Jan 2024 01:36:54 +0000 (14:36 +1300)]
Remove pass-by-reference
We have removed a bunch of these (added for php4.x support) with no
issues - it's only where there is inheritance we have
hit issues
eileen [Mon, 1 Jan 2024 23:34:25 +0000 (12:34 +1300)]
Use constants for date formats
eileen [Mon, 1 Jan 2024 21:23:03 +0000 (10:23 +1300)]
Extend date formats to be tested
Eileen McNaughton [Mon, 1 Jan 2024 20:55:58 +0000 (09:55 +1300)]
Merge pull request #28821 from eileenmcnaughton/add
Fix error due to merges co-inciding
eileen [Mon, 1 Jan 2024 20:52:45 +0000 (09:52 +1300)]
Fix error due to merges co-inciding
Eileen McNaughton [Mon, 1 Jan 2024 04:51:26 +0000 (17:51 +1300)]
Merge pull request #28808 from colemanw/canAggregate
SearchKit - Allow aggregate functions to be used without GroupBy
Eileen McNaughton [Mon, 1 Jan 2024 03:15:06 +0000 (16:15 +1300)]
Merge pull request #28818 from civicrm/5.69
Merge forward (5.69-rc to master)
Tim Otten [Mon, 1 Jan 2024 02:08:50 +0000 (20:08 -0600)]
Merge pull request #28718 from eileenmcnaughton/2_term
dev/core#3810 dev/core#3339 Fix handling of auto renew memberships where frequency_interval > 1
Eileen McNaughton [Mon, 1 Jan 2024 01:22:48 +0000 (14:22 +1300)]
Merge pull request #28811 from colemanw/searchDisplayRemoveColFix
SearchKit - Fix wrong column being removed from displays
Eileen McNaughton [Mon, 1 Jan 2024 00:29:42 +0000 (13:29 +1300)]
Merge pull request #28812 from colemanw/removeContactTypeField
APIv4 - Hide 'contact_type' from Individual,Organization,Household getFields
Eileen McNaughton [Sun, 31 Dec 2023 23:59:14 +0000 (12:59 +1300)]
Merge pull request #28783 from braders/php8-last-participant
[REF][PHP8.2] Declare _lastParticipant property
Eileen McNaughton [Sun, 31 Dec 2023 23:58:53 +0000 (12:58 +1300)]
Merge pull request #28815 from braders/event-additional-particiapant-properties
[REF][PHP8.2] Declare missing properties on CRM_Event_Form_Registration_AdditionalParticipant
colemanw [Sun, 31 Dec 2023 13:48:52 +0000 (08:48 -0500)]
Merge pull request #28775 from seamuslee001/dev_core_4841
dev/core#4841 Ensure that APIv4 have same default values which ensureā¦
Seamus Lee [Sun, 31 Dec 2023 05:37:57 +0000 (16:37 +1100)]
Merge pull request #28816 from braders/php8-discounts
[REF][PHP8.2] Cleanup discounts property in eventcart ext
Seamus Lee [Fri, 22 Dec 2023 00:50:49 +0000 (11:50 +1100)]
dev/core#4841 Ensure that APIv4 have same default values which ensures that all required selects are filled out when creating new bulk mailing from Search Kit
Update as per coleman and fix Test fails
Fix calls to defaultComponent to fix test fails
colemanw [Sat, 30 Dec 2023 22:45:43 +0000 (17:45 -0500)]
Merge pull request #28730 from eileenmcnaughton/recur_cancel_api_2
Stop bypassing hooks on ContributionRecur.cancel
Bradley Taylor [Sat, 30 Dec 2023 20:16:42 +0000 (20:16 +0000)]
[REF][PHP8.2] Cleanup discounts property in eventcart ext
Bradley Taylor [Sat, 30 Dec 2023 18:17:50 +0000 (18:17 +0000)]
[REF][PHP8.2] Declare missing properties on CRM_Event_Form_Registration_AdditionalParticipant
colemanw [Sat, 30 Dec 2023 15:58:44 +0000 (09:58 -0600)]
APIv4 - Remove 'contact_type' from Individual,Organization,Household
This field is irrelevant to these pseudo-entities and shouldn't need to be used at all.
Before: Creating a new SearchKit search for Individual includes Contact Type in the default columns.
After: Now it doesn't, and the field is completely hidden for all but the Contact entity.
colemanw [Sat, 30 Dec 2023 16:16:44 +0000 (10:16 -0600)]
Merge pull request #28799 from eileenmcnaughton/date_consolidate
Consolidate import date handling
colemanw [Sat, 30 Dec 2023 16:11:25 +0000 (10:11 -0600)]
Merge pull request #28753 from eileenmcnaughton/search_settings
Clean up search settings page, update group cache text
colemanw [Sat, 30 Dec 2023 16:05:29 +0000 (10:05 -0600)]
Merge pull request #28748 from eileenmcnaughton/dep
Bubble up deprecation if getVar used to get a deprecated property
colemanw [Sat, 30 Dec 2023 03:06:37 +0000 (21:06 -0600)]
Merge pull request #28814 from MegaphoneJon/anonymous-acl-cache
Don't try to insert 0 as a user_id to ACL contact cache
demeritcowboy [Fri, 29 Dec 2023 23:05:54 +0000 (18:05 -0500)]
Merge pull request #28813 from colemanw/deletePhantomJsPolyfill
Remove unused phantomjs-polyfill package
colemanw [Fri, 29 Dec 2023 21:00:05 +0000 (15:00 -0600)]
Remove unused phantomjs-polyfill package
As of
23051b6 we no longer use PhantomJS so this package should not be needed.
Jon Goldberg [Fri, 29 Dec 2023 21:05:49 +0000 (16:05 -0500)]
Don't try to insert 0 as a user_id to ACL contact cache
colemanw [Fri, 29 Dec 2023 20:24:32 +0000 (14:24 -0600)]
SearchKit - Fix wrong column being removed from displays
Fixes recent regression from
4099cd6 causing the wrong column to be removed from a display.
To reproduce: Create a search display, go back to the main search criteria and delete a column,
then tab back to the display. The deleted column should have been removed but instead the wrong
one is still there.
Yashodha Chaku [Fri, 29 Dec 2023 17:22:46 +0000 (22:52 +0530)]
Merge pull request #28776 from eileenmcnaughton/submit
Remove api annotation from getSubmittableFields()
Eileen McNaughton [Fri, 29 Dec 2023 03:44:16 +0000 (16:44 +1300)]
Merge pull request #28809 from civicrm/5.69
5.69 to master
Eileen McNaughton [Fri, 29 Dec 2023 03:43:50 +0000 (16:43 +1300)]
Merge pull request #28807 from alifrumin/5.69rn
[NFC] 5.69 Release Notes first pass
colemanw [Fri, 29 Dec 2023 03:19:52 +0000 (21:19 -0600)]
SearchKit - Allow aggregate functions to be used without GroupBy
Fixes https://lab.civicrm.org/dev/core/-/issues/2415
demeritcowboy [Fri, 29 Dec 2023 00:28:13 +0000 (19:28 -0500)]
Merge pull request #28804 from eileenmcnaughton/regen
Update regen for event message template
Alice Frumin [Tue, 12 Dec 2023 19:33:06 +0000 (14:33 -0500)]
[NFC] 5.69 release notes first pass
demeritcowboy [Thu, 28 Dec 2023 18:49:24 +0000 (13:49 -0500)]
Merge pull request #28803 from eileenmcnaughton/notice
E-notice fix in membership workflow examples
demeritcowboy [Thu, 28 Dec 2023 18:48:23 +0000 (13:48 -0500)]
Merge pull request #28798 from eileenmcnaughton/date_test
NFC Superficial cleanup in test class
demeritcowboy [Thu, 28 Dec 2023 18:46:29 +0000 (13:46 -0500)]
Merge pull request #28805 from eileenmcnaughton/code_notes
[NFC] Add todos to the invoice code
Eileen McNaughton [Wed, 13 Dec 2023 05:17:40 +0000 (18:17 +1300)]
Add todos to the invoice code
This helps clarify that most of this code is slated for removal
in order to make the forms non-form-dependent
Eileen McNaughton [Sat, 23 Dec 2023 23:00:48 +0000 (12:00 +1300)]
Update MessageTemplates generation to not use weird old methods
Eileen McNaughton [Thu, 28 Dec 2023 05:15:42 +0000 (18:15 +1300)]
Update regen for event message template
Eileen McNaughton [Thu, 28 Dec 2023 03:43:33 +0000 (16:43 +1300)]
Merge pull request #28801 from eileenmcnaughton/fork/mapping-edit-button-fix
Fix edit button for 'Import/Export Mapping'
eileen [Thu, 28 Dec 2023 03:13:32 +0000 (16:13 +1300)]
E-notice fix in membership workflow examples
19ATF72 [Wed, 6 Dec 2023 00:05:16 +0000 (16:05 -0800)]
Fix edit button for 'Import/Export Mapping'
eileen [Thu, 28 Dec 2023 01:01:56 +0000 (14:01 +1300)]
Consolidate import date handling
eileen [Thu, 28 Dec 2023 00:02:57 +0000 (13:02 +1300)]
NFC Superficial cleanup in test class
demeritcowboy [Wed, 27 Dec 2023 23:11:19 +0000 (18:11 -0500)]
Merge pull request #28797 from eileenmcnaughton/nfc
[NFC] Superficial cleanup
eileen [Wed, 27 Dec 2023 21:13:35 +0000 (10:13 +1300)]
[NFC] Superficial cleanup
Yashodha Chaku [Wed, 27 Dec 2023 08:36:25 +0000 (14:06 +0530)]
Merge pull request #28788 from eileenmcnaughton/assign
Fix codeGen assign to do what it says on the box
colemanw [Wed, 27 Dec 2023 00:42:33 +0000 (19:42 -0500)]
Merge pull request #28738 from mlutfy/maxSpin
menubar spin: stop after 10 seconds
colemanw [Wed, 27 Dec 2023 00:40:57 +0000 (19:40 -0500)]
Merge pull request #28794 from demeritcowboy/del
update deleted files list
demeritcowboy [Tue, 26 Dec 2023 16:06:53 +0000 (11:06 -0500)]
deleted files list
demeritcowboy [Tue, 26 Dec 2023 16:52:27 +0000 (11:52 -0500)]
Merge pull request #28793 from civicrm/5.69
5.69
demeritcowboy [Tue, 26 Dec 2023 16:03:41 +0000 (11:03 -0500)]
Merge pull request #28781 from vingle/5.69-ux-regressions
Fixes two small accordion UX regressions
demeritcowboy [Tue, 26 Dec 2023 15:58:57 +0000 (10:58 -0500)]
Merge pull request #28673 from bb/migrate-snappy-to-composer
Migrate Snappy to composer
Eileen McNaughton [Tue, 26 Dec 2023 00:09:45 +0000 (13:09 +1300)]
Merge pull request #28792 from civicrm/5.69
5.69 to master
Eileen McNaughton [Tue, 26 Dec 2023 00:08:42 +0000 (13:08 +1300)]
Merge pull request #28791 from eileenmcnaughton/569
Fix typo in smarty compatibility class
colemanw [Mon, 25 Dec 2023 00:30:57 +0000 (19:30 -0500)]
Merge pull request #28782 from mlutfy/extList
Manage Extensions: hide the type/module column
Mathieu Lu [Fri, 22 Dec 2023 19:45:47 +0000 (14:45 -0500)]
Manage Extensions: hide the type/module column
Eileen McNaughton [Sun, 24 Dec 2023 04:21:14 +0000 (17:21 +1300)]
Fix typo in smarty compatibility class
demeritcowboy [Sun, 24 Dec 2023 03:18:55 +0000 (22:18 -0500)]
Merge pull request #28790 from eileenmcnaughton/str_contains
Remove str_contains from civicrm.settings template
colemanw [Fri, 22 Dec 2023 16:36:01 +0000 (11:36 -0500)]
SearchKit - Show multiple 'create' links in toolbar
colemanw [Sun, 24 Dec 2023 00:41:05 +0000 (19:41 -0500)]
Merge pull request #28787 from eileenmcnaughton/get_template_vars
Standardise `getTemplateVars()`
colemanw [Thu, 21 Dec 2023 03:29:23 +0000 (22:29 -0500)]
APIv4 - Fix getLinks permission checks
The getLinks action checks all permissions internally, so should not have any
external gatekeeper checks applied.
colemanw [Thu, 21 Dec 2023 02:55:34 +0000 (21:55 -0500)]
SearchKit - Use getLinks api in formatLink