Eileen McNaughton [Mon, 23 Aug 2021 21:14:25 +0000 (09:14 +1200)]
Merge pull request #21226 from colemanw/noteRef
[REF] Remove unused/unneeded variables from Note View page
Coleman Watts [Mon, 23 Aug 2021 17:43:00 +0000 (13:43 -0400)]
Refactor out unused/unneeded variables
Monish Deb [Mon, 23 Aug 2021 17:33:48 +0000 (23:03 +0530)]
Merge pull request #21213 from colemanw/entityBatchRef
EntityBatch - Deprecate del() function (dev/core#2757)
demeritcowboy [Mon, 23 Aug 2021 14:29:45 +0000 (10:29 -0400)]
Merge pull request #21223 from jitendrapurohit/dedupeerror
Fixes dev/core#2778 - Fatal error on dedupe screen
demeritcowboy [Mon, 23 Aug 2021 14:16:20 +0000 (10:16 -0400)]
Merge pull request #21222 from colemanw/delRecent
Improve test for CRM_Utils_Recent
Mathieu Lu [Mon, 23 Aug 2021 14:02:29 +0000 (10:02 -0400)]
Merge pull request #21216 from demeritcowboy/import-csv-blankline
Alternate to 20131 - Avoid crash during import for blank lines in a one-column csv file
jitendrapurohit [Mon, 23 Aug 2021 12:29:20 +0000 (17:59 +0530)]
Fix fatal error on dedupe screen
Coleman Watts [Mon, 23 Aug 2021 11:40:09 +0000 (07:40 -0400)]
Test cleanup
Eileen McNaughton [Mon, 23 Aug 2021 06:53:29 +0000 (18:53 +1200)]
Merge pull request #21204 from colemanw/delRecent
[REF] CRM_Utils_Recent - Use hook listener to delete items
Coleman Watts [Sat, 21 Aug 2021 19:51:29 +0000 (15:51 -0400)]
[REF] - Clean up recentItems functions and add test
Use array_filter() instead of brittle for() loops.
Eileen McNaughton [Mon, 23 Aug 2021 02:50:23 +0000 (14:50 +1200)]
Merge pull request #21219 from eileenmcnaughton/acl_cache
Extract ACL contact cache clearing part out
Seamus Lee [Sun, 22 Aug 2021 23:43:26 +0000 (09:43 +1000)]
Merge pull request #21191 from JMAConsulting/dev_2774
dev/core#2774 : Sort by date column on multirecord field listing section on profile edit mode doesn't work
Eileen McNaughton [Sun, 22 Aug 2021 23:30:11 +0000 (11:30 +1200)]
Extract ACL contact cache clearing part out
This allows us to be nuanced in the acl delete part & still clear the contact cache part
Coleman Watts [Sat, 21 Aug 2021 19:11:37 +0000 (15:11 -0400)]
CRM_Utils_Recent - Use hook listener to delete items
dev/core#2757
Eileen McNaughton [Sun, 22 Aug 2021 23:26:49 +0000 (11:26 +1200)]
Merge pull request #21201 from colemanw/hookDeleteAcl
[REF] dev/core#2757 Move acl delete logic to an event listener
Seamus Lee [Sun, 22 Aug 2021 22:58:17 +0000 (08:58 +1000)]
Merge pull request #21215 from demeritcowboy/alterExtern
[NFC] CRM_Utils_SystemTest - Call to Uri->withPath() using deprecated format
colemanw [Sun, 22 Aug 2021 22:26:32 +0000 (18:26 -0400)]
Merge pull request #21214 from demeritcowboy/extupg
[NFC] CRM_Extension_Manager_ModuleUpgTest - use ?? instead of error-suppression operator
demeritcowboy [Sun, 22 Aug 2021 14:10:57 +0000 (10:10 -0400)]
avoid crash with one column and blank lines
demeritcowboy [Sun, 22 Aug 2021 11:25:42 +0000 (07:25 -0400)]
deprecated format
Coleman Watts [Sun, 22 Aug 2021 05:21:45 +0000 (01:21 -0400)]
EntityBatch - Deprecate del() function
colemanw [Sun, 22 Aug 2021 05:13:57 +0000 (01:13 -0400)]
Merge pull request #21200 from colemanw/delFunctions
[REF] Deprecate unnecessary del() functions
Coleman Watts [Fri, 20 Aug 2021 18:22:06 +0000 (14:22 -0400)]
Deprecate unnecessary del() functions
demeritcowboy [Sun, 22 Aug 2021 00:08:31 +0000 (20:08 -0400)]
avoid error-supression operator
Seamus Lee [Sat, 21 Aug 2021 22:34:35 +0000 (08:34 +1000)]
Merge pull request #21209 from colemanw/removeUnusedFunctions
Remove unused, duplicate functions getEntitiesByTag
Coleman Watts [Fri, 20 Aug 2021 19:54:06 +0000 (15:54 -0400)]
Move acl delete logic to an event listener
Coleman Watts [Sat, 21 Aug 2021 20:10:36 +0000 (16:10 -0400)]
Remove unused, duplicate functions getEntitiesByTag
According to https://issues.civicrm.org/jira/browse/CRM-13156
the functions were only ever used in the v2 API, which no longer exists.
colemanw [Sat, 21 Aug 2021 18:08:50 +0000 (14:08 -0400)]
Merge pull request #21206 from demeritcowboy/extmgrmodtest
[NFC] CRM_Extension_Manager_ModuleTest - use ?? instead of error-suppression operator
colemanw [Sat, 21 Aug 2021 16:21:04 +0000 (12:21 -0400)]
Merge pull request #21207 from demeritcowboy/queueservice
CRM_Queue_Service - Use ?? instead of error-supression operator
demeritcowboy [Sat, 21 Aug 2021 12:28:35 +0000 (08:28 -0400)]
avoid error-supression operator
demeritcowboy [Sat, 21 Aug 2021 11:54:46 +0000 (07:54 -0400)]
avoid error-suppression operator
colemanw [Sat, 21 Aug 2021 05:13:07 +0000 (01:13 -0400)]
Merge pull request #21203 from eileenmcnaughton/master
5.41 to master (conflicts resolved)
Eileen McNaughton [Sat, 21 Aug 2021 00:13:19 +0000 (12:13 +1200)]
Merge branch '5.41' of github.com:civicrm/civicrm-core
colemanw [Sat, 21 Aug 2021 01:14:34 +0000 (21:14 -0400)]
Merge pull request #21184 from colemanw/pseudoconstantFixes
APIv4 pseudoconstant improvements
Eileen McNaughton [Sat, 21 Aug 2021 00:07:20 +0000 (12:07 +1200)]
Merge pull request #21195 from colemanw/UnknownFieldError
APIv4 - Properly show deprecated joins in unit tests (fixes dev/core#2771)
Eileen McNaughton [Fri, 20 Aug 2021 22:09:30 +0000 (10:09 +1200)]
Merge pull request #21193 from mattwire/settitle1
REF Switch to CRM_Core_Form::setTitle() instead of CRM_Utils_System::setTitle() part 1
Monish Deb [Fri, 20 Aug 2021 06:51:19 +0000 (12:21 +0530)]
dev/core#2774 : Sort by date column on multirecord field listing section on profile edit mode doesn't work
colemanw [Fri, 20 Aug 2021 17:50:09 +0000 (13:50 -0400)]
Merge pull request #21194 from kurund/grid-display-layout
add grid layout support for searchkit
Coleman Watts [Thu, 19 Aug 2021 14:22:13 +0000 (10:22 -0400)]
APIv4 - Add 'suffixes' to getFields metadata
This breaks apart the concept of a field having 'options' vs
a field supporting suffixes like campaign_id:label.
It is now possible for a field to not have options but still support suffixes.
This also makes the available suffixes for each field discoverable,
e.g. fields like state_province_id support an :abbr suffix.
Coleman Watts [Wed, 18 Aug 2021 21:47:20 +0000 (17:47 -0400)]
REF - Remove redundant `use` statements and add docblock
Coleman Watts [Wed, 18 Aug 2021 19:12:58 +0000 (15:12 -0400)]
Pseudoconstant - always explicitly name abbrColumn
Stop the overly-clever guesswork of abbrColumn so that
it can always be know if a pseudoconstant has an abbreviation.
demeritcowboy [Fri, 20 Aug 2021 14:14:08 +0000 (10:14 -0400)]
Merge pull request #21192 from jitendrapurohit/reminder
dev/core#2777 - Fix js break on reminder form
Coleman Watts [Fri, 20 Aug 2021 14:11:34 +0000 (10:11 -0400)]
APIv4 - Properly show deprecated joins in unit tests
Kurund Jalmi [Fri, 20 Aug 2021 14:04:15 +0000 (15:04 +0100)]
add grid layout support for searchkit
Matthew Wire [Fri, 20 Aug 2021 12:11:05 +0000 (13:11 +0100)]
Switch to CRM_Core_Form::setTitle() instead of CRM_Utils_System::setTitle() part 1
jitendrapurohit [Fri, 20 Aug 2021 11:49:55 +0000 (17:19 +0530)]
Fix js break on reminder form
Eileen McNaughton [Fri, 20 Aug 2021 06:47:20 +0000 (18:47 +1200)]
Merge pull request #21190 from civicrm/5.41
5.41
Seamus Lee [Fri, 20 Aug 2021 04:54:11 +0000 (14:54 +1000)]
Merge pull request #21189 from eileenmcnaughton/541b
dev/rc#14 handle api calls post schema change
Eileen McNaughton [Fri, 20 Aug 2021 02:48:11 +0000 (14:48 +1200)]
dev/rc#14 handle api calls post schema change
Eileen McNaughton [Thu, 19 Aug 2021 22:54:37 +0000 (10:54 +1200)]
Merge pull request #21185 from colemanw/campaignLists
Add no-prefetch campaign pseudoconstants
Coleman Watts [Thu, 19 Aug 2021 21:07:23 +0000 (17:07 -0400)]
Add no-prefetch campaign pseudoconstant
colemanw [Thu, 19 Aug 2021 11:47:39 +0000 (07:47 -0400)]
Merge pull request #21159 from colemanw/fixSearchKitBugs
SearchKit - Misc bulk action bug fixes
Eileen McNaughton [Thu, 19 Aug 2021 01:39:47 +0000 (13:39 +1200)]
Merge pull request #21179 from eileenmcnaughton/ft
Remove deprecated function
Eileen McNaughton [Wed, 18 Aug 2021 23:10:56 +0000 (11:10 +1200)]
Remove deprecated function
Function has been deprecated noisily for 6 months & was never
supported for out of core use
Seamus Lee [Wed, 18 Aug 2021 23:05:24 +0000 (09:05 +1000)]
Merge pull request #21173 from mattwire/mailerror
Log details of mailing error and don't display details to end user
Matthew Wire [Wed, 18 Aug 2021 13:46:38 +0000 (14:46 +0100)]
Log details of mailing error and don't display details to end user
Eileen McNaughton [Wed, 18 Aug 2021 19:56:16 +0000 (07:56 +1200)]
Merge pull request #21168 from MegaphoneJon/website-dedupe
closes core#2770: Dedupe by website
Jon Goldberg [Tue, 17 Aug 2021 22:30:29 +0000 (18:30 -0400)]
closes core#2770: Dedupe by website
colemanw [Wed, 18 Aug 2021 16:11:01 +0000 (12:11 -0400)]
Merge pull request #21160 from colemanw/fixSerialize
dev/core#2762 Fix custom field edit form to set serialization correctly
Seamus Lee [Wed, 18 Aug 2021 10:07:41 +0000 (20:07 +1000)]
Merge pull request #21171 from eileenmcnaughton/con
dev/core#2758 - Fix contribution activity campaign propagation ...more
Seamus Lee [Wed, 18 Aug 2021 10:07:21 +0000 (20:07 +1000)]
Merge pull request #21172 from colemanw/searchTokenPlaceholder
SearchKit - Add placeholder to token select
Seamus Lee [Wed, 18 Aug 2021 09:46:25 +0000 (19:46 +1000)]
Merge pull request #21119 from eileenmcnaughton/member
Update MembershipType.duration and MembershipStatus.name to be required
Coleman Watts [Wed, 18 Aug 2021 02:02:18 +0000 (22:02 -0400)]
SearchKit - Add placeholder to token select
Eileen McNaughton [Wed, 18 Aug 2021 00:50:26 +0000 (12:50 +1200)]
Merge pull request #21170 from eileenmcnaughton/notice
Enotice fixes in tpl
Eileen McNaughton [Tue, 17 Aug 2021 23:19:45 +0000 (11:19 +1200)]
dev/core#2758 - Fix contribution activity campaign propagation ...more
Fixes a scenario where the value can be 'null' and then fatals
I hit this creating a new membership record on a stock build
Eileen McNaughton [Tue, 17 Aug 2021 23:02:18 +0000 (11:02 +1200)]
Enotice fixes in tpl
Seamus Lee [Tue, 17 Aug 2021 23:00:25 +0000 (09:00 +1000)]
Merge pull request #21071 from colemanw/api4JoinFixes
APIv4 - Support multiple implicit joins to the same table
colemanw [Tue, 17 Aug 2021 22:48:15 +0000 (18:48 -0400)]
Merge pull request #21166 from eileenmcnaughton/cache2
dev/core#2763 cache clearing fix
Eileen McNaughton [Tue, 17 Aug 2021 21:02:22 +0000 (09:02 +1200)]
Merge pull request #21082 from colemanw/fixSearchKitPermissions
Fix search display access for non-admin users
demeritcowboy [Tue, 17 Aug 2021 13:08:13 +0000 (09:08 -0400)]
Merge pull request #21167 from greenpeace-cee/fix-contribution-activity-campaign-propagation
dev/core#2758 - Fix contribution activity campaign propagation
demeritcowboy [Tue, 17 Aug 2021 13:05:52 +0000 (09:05 -0400)]
Merge pull request #21161 from eileenmcnaughton/reinit
[Ref] remove unused variable
Patrick Figel [Tue, 17 Aug 2021 09:34:43 +0000 (11:34 +0200)]
dev/core#2758 - Fix contribution activity campaign propagation
This fixes an issue where contribution campaigns may not be propagated
to the corresponding contribution activity when the request that
triggers activity creation does not explicitly set the campaign_id
parameter.
Seamus Lee [Tue, 17 Aug 2021 09:04:13 +0000 (19:04 +1000)]
Merge pull request #21156 from colemanw/searchKitRef
[REF] SearchKit - Refactor search task code to share a trait
Eileen McNaughton [Tue, 17 Aug 2021 08:29:55 +0000 (20:29 +1200)]
Merge pull request #21164 from civicrm/5.41
5.41
Eileen McNaughton [Tue, 17 Aug 2021 07:51:41 +0000 (19:51 +1200)]
dev/core#2763 cache clearing fix
Eileen McNaughton [Tue, 17 Aug 2021 05:43:25 +0000 (17:43 +1200)]
[Ref] remove unused variable
Seamus Lee [Tue, 17 Aug 2021 06:49:42 +0000 (16:49 +1000)]
Merge pull request #21163 from seamuslee001/5.41
Add release-notes/5.40.2.md release-notes/5.40.1.md
Tim Otten [Tue, 17 Aug 2021 06:23:00 +0000 (23:23 -0700)]
Add release-notes/5.40.2.md release-notes/5.40.1.md
Eileen McNaughton [Tue, 17 Aug 2021 05:43:25 +0000 (17:43 +1200)]
[Ref] remove unused variable
Coleman Watts [Mon, 16 Aug 2021 21:53:13 +0000 (17:53 -0400)]
Fix custom field edit form to set serialization correctly
The custom_field.serialize column is NOT NULL in the database,
so setting it to null on the form is incorrect.
Fixes dev/core#2762
Eileen McNaughton [Mon, 16 Aug 2021 20:15:16 +0000 (08:15 +1200)]
Merge pull request #21158 from colemanw/fileApi
APIv4 - Add File entity
Coleman Watts [Mon, 16 Aug 2021 19:43:45 +0000 (15:43 -0400)]
SearchKit - Fix formatting of Date input fields in bulk-update dialog
Eileen McNaughton [Mon, 16 Aug 2021 19:42:17 +0000 (07:42 +1200)]
Merge pull request #21155 from demeritcowboy/regiontest
[NFC] Update CRM_Core_RegionTest so it doesn't need the error-suppression operator
Coleman Watts [Mon, 16 Aug 2021 19:41:50 +0000 (15:41 -0400)]
SearchKit - Fix JS undefined variable error when clearing field in update dialog
Coleman Watts [Mon, 16 Aug 2021 19:34:45 +0000 (15:34 -0400)]
SearchKit - Reset selection after bulk updates
Coleman Watts [Mon, 16 Aug 2021 18:58:24 +0000 (14:58 -0400)]
SearchKit - Refactor refresh code into traits
Coleman Watts [Mon, 16 Aug 2021 15:43:51 +0000 (11:43 -0400)]
SearchKit - Refactor search task code to share a trait
Coleman Watts [Mon, 16 Aug 2021 16:33:50 +0000 (12:33 -0400)]
APIv4 - Add File entity
demeritcowboy [Mon, 16 Aug 2021 13:41:34 +0000 (09:41 -0400)]
avoid error-suppression operator
Eileen McNaughton [Mon, 16 Aug 2021 09:16:17 +0000 (21:16 +1200)]
Merge pull request #21154 from civicrm/5.41
5.41
Eileen McNaughton [Mon, 16 Aug 2021 07:06:49 +0000 (19:06 +1200)]
Merge pull request #21151 from eileenmcnaughton/541m
Membership batch processing error
Eileen McNaughton [Mon, 16 Aug 2021 04:37:30 +0000 (16:37 +1200)]
Membership batch processing error
This fixes a fatal because of incorrect typing
Affects 5.40
Seamus Lee [Mon, 16 Aug 2021 03:38:35 +0000 (13:38 +1000)]
Merge pull request #21148 from civicrm/5.41
5.41
Eileen McNaughton [Mon, 16 Aug 2021 01:19:21 +0000 (13:19 +1200)]
Merge pull request #21143 from seamuslee001/fix_enotice_php8
[REF] Fix e-notice in APIv3 Profile Test on PHP8
Seamus Lee [Sun, 15 Aug 2021 23:57:44 +0000 (09:57 +1000)]
Merge pull request #21147 from eileenmcnaughton/541
dev/core#2758 fix task tiles
Eileen McNaughton [Sun, 15 Aug 2021 22:05:57 +0000 (10:05 +1200)]
Merge pull request #21146 from demeritcowboy/smarty-default-caserole
[NFC] Update testCaseActivityCopyTemplate to provide variable that would usually be present
Eileen McNaughton [Sun, 15 Aug 2021 22:01:07 +0000 (10:01 +1200)]
dev/core#2758 fix task tiles
Seamus Lee [Sat, 14 Aug 2021 23:27:39 +0000 (09:27 +1000)]
[REF] Fix e-notice in APIv3 Profile Test on PHP8
Remove e-notice issue found by dave d
demeritcowboy [Sun, 15 Aug 2021 14:04:38 +0000 (10:04 -0400)]
missing variable in template
Eileen McNaughton [Sat, 14 Aug 2021 21:57:29 +0000 (09:57 +1200)]
Merge pull request #21140 from demeritcowboy/smarty-long
Use convenience function for one-off token evaluations to avoid too-long filenames and possible privacy issues
demeritcowboy [Sat, 14 Aug 2021 15:05:08 +0000 (11:05 -0400)]
avoid fails for file too long, and possible privacy issues