Seamus Lee [Thu, 4 May 2023 01:26:46 +0000 (11:26 +1000)]
Merge pull request #26108 from eileenmcnaughton/import_template
Importer - Ensure mapping ID is set in all places using import templates
Seamus Lee [Wed, 3 May 2023 23:27:21 +0000 (09:27 +1000)]
Merge pull request #26140 from eileenmcnaughton/561
dev/core#4225 Add test & fix for new regression - contact update fails when relationship exists & CiviMember disabled
Eileen McNaughton [Wed, 3 May 2023 22:20:17 +0000 (10:20 +1200)]
Merge pull request #26146 from MegaphoneJon/import-fill-fix
fixes core#4269 - Import "fill" doesn't fill phone/email
demeritcowboy [Wed, 3 May 2023 18:55:42 +0000 (14:55 -0400)]
Merge pull request #26141 from eileenmcnaughton/561_member
dev/core#4272 Fix unreleased regression on Membership form validation
Jon Goldberg [Wed, 3 May 2023 18:09:53 +0000 (14:09 -0400)]
Fixes core#4269 - import 'fill' doesn't work on phone/email
Eileen McNaughton [Wed, 3 May 2023 01:17:28 +0000 (13:17 +1200)]
dev/core#4272 Fix unreleased regression on Membership form validation
Eileen McNaughton [Wed, 3 May 2023 00:39:14 +0000 (12:39 +1200)]
Add Civi-Member is enabled check
Eileen McNaughton [Wed, 3 May 2023 00:31:33 +0000 (12:31 +1200)]
dev/core#4225 Add test for new regression
Eileen McNaughton [Sat, 29 Apr 2023 23:53:47 +0000 (11:53 +1200)]
Merge pull request #26127 from alifrumin/rn5.61
[NFC] 5.61 release notes
Alice Frumin [Fri, 28 Apr 2023 03:21:40 +0000 (23:21 -0400)]
[NFC] 5.61 release notes
Eileen McNaughton [Thu, 27 Apr 2023 22:46:33 +0000 (10:46 +1200)]
Merge pull request #26117 from agh1/5.61.0-releasenotes-initial
5.61.0 release notes initial run
Andie Hunt [Thu, 27 Apr 2023 20:48:16 +0000 (16:48 -0400)]
5.61.0 release notes: added boilerplate
Andie Hunt [Thu, 27 Apr 2023 20:43:30 +0000 (16:43 -0400)]
5.61.0 release notes: raw from script
demeritcowboy [Thu, 27 Apr 2023 13:31:12 +0000 (09:31 -0400)]
Merge pull request #26015 from eileenmcnaughton/dedupe_employer
dev/core#4156 Fix employer not carrying over correctly in merge
Eileen McNaughton [Tue, 25 Apr 2023 00:05:29 +0000 (12:05 +1200)]
Ensure mapping id is set in all places using import templates
This fixes the missing update saved mapping option when using a template
I think I changed the way the metadata was a few times & so it is
a bit confusing - but this ensures it is set in the
place MapField is expecting it to be
Seamus Lee [Sat, 22 Apr 2023 00:56:51 +0000 (10:56 +1000)]
Merge pull request #26099 from seamuslee001/5.61
dev/core#4249 Ensure that no deprecation logging occurs from groupPer…
Seamus Lee [Thu, 20 Apr 2023 03:26:15 +0000 (13:26 +1000)]
dev/core#4249 Ensure that no deprecation logging occurs from groupPermission having includeGroups as NULL rather than an empty array
Yashodha Chaku [Thu, 20 Apr 2023 06:30:00 +0000 (12:00 +0530)]
Merge pull request #26085 from seamuslee001/dev_core_4247
dev/core#4247 Ensure that Membership values are populated to prevent …
Seamus Lee [Thu, 20 Apr 2023 03:21:33 +0000 (13:21 +1000)]
dev/core#4247 Ensure that Membership values are populated to prevent fatal error on formatting start date
Seamus Lee [Wed, 19 Apr 2023 23:09:55 +0000 (09:09 +1000)]
Merge pull request #26082 from seamuslee001/5.61
Updates pear/pear-core-minimal and guzzlehttp/psr7
Seamus Lee [Wed, 19 Apr 2023 22:45:34 +0000 (08:45 +1000)]
Update Guzzle PSR7 package
Luke Stewart [Wed, 19 Apr 2023 20:55:40 +0000 (08:55 +1200)]
This has been closed in favour of pear/pear-core#124
Updates lock file to pull in latest version of pear/pear-core-minimal.
colemanw [Mon, 17 Apr 2023 21:07:33 +0000 (17:07 -0400)]
Merge pull request #26067 from colemanw/fixEntityRefSave
Fix dev/core#4240 - Saving entityReference field value via API
Coleman Watts [Mon, 17 Apr 2023 19:32:02 +0000 (15:32 -0400)]
CustomValue - Fix saving entityReference field as NULL and add test
Coleman Watts [Sat, 15 Apr 2023 19:57:43 +0000 (15:57 -0400)]
Fix dev/core#4240 - Saving entityReference field value via API
Eileen McNaughton [Thu, 13 Apr 2023 19:02:26 +0000 (07:02 +1200)]
Cleanup relationships
Eileen McNaughton [Thu, 13 Apr 2023 00:17:27 +0000 (12:17 +1200)]
Remove obsolete code
This was actually obsolete before the apiv4 switch I think - but it DEFINITELY is now
Eileen McNaughton [Thu, 13 Apr 2023 00:16:51 +0000 (12:16 +1200)]
More better fix on population on cached organization name
Eileen McNaughton [Fri, 7 Apr 2023 01:15:05 +0000 (13:15 +1200)]
Fix for handling of FALSE now we are getting apiv4 results
As exposed in api_v3_JobTest.testBatchMergeWorks
Eileen McNaughton [Thu, 6 Apr 2023 23:39:38 +0000 (11:39 +1200)]
Adjust to APiv4 returning label as a field
As tested by CRM_Dedupe_MergerTest::testGetRowsElementsAndInfoSpecialInfo
Eileen McNaughton [Thu, 6 Apr 2023 23:34:59 +0000 (11:34 +1200)]
Do not consider greeting display names in merges
As surfaced by api_v3_ContactTest::testMergeGetConflicts
these are basically caches of calculated fields
Eileen McNaughton [Thu, 6 Apr 2023 06:12:24 +0000 (18:12 +1200)]
Fix employer not carrying over correctly in merge
This addresses a deduper bug where selecting the employer_id to
carry over in the form does NOT result in the newly
merged contact having that organization's name
in it's organization_name field
colemanw [Fri, 7 Apr 2023 18:43:50 +0000 (14:43 -0400)]
Merge pull request #26008 from colemanw/fixEntityRefDefaults
Afform - Fix showing default values for EntityRef fields
CiviCRM [Thu, 6 Apr 2023 05:18:51 +0000 (05:18 +0000)]
Set version to 5.61.beta1
Seamus Lee [Thu, 6 Apr 2023 05:15:52 +0000 (15:15 +1000)]
Merge pull request #26013 from eileenmcnaughton/test_strict
Type hints & strictness fixes within tests
Eileen McNaughton [Thu, 6 Apr 2023 03:08:25 +0000 (15:08 +1200)]
Type hints & strictness fixes within tests
Eileen McNaughton [Thu, 6 Apr 2023 01:57:14 +0000 (13:57 +1200)]
Merge pull request #26012 from eileenmcnaughton/old
Remove an attention-span's worth of cvs info
Eileen McNaughton [Thu, 6 Apr 2023 01:56:59 +0000 (13:56 +1200)]
Merge pull request #26011 from eileenmcnaughton/strict_test
[Test] Strictness fixes - `CiviUntTestBaseClass`
Eileen McNaughton [Thu, 6 Apr 2023 00:57:27 +0000 (12:57 +1200)]
Remove an attention-span's worth of cvs info
Eileen McNaughton [Wed, 5 Apr 2023 23:18:04 +0000 (11:18 +1200)]
[Test] Strictness fixes
colemanw [Wed, 5 Apr 2023 21:11:58 +0000 (17:11 -0400)]
Merge pull request #26005 from eileenmcnaughton/strict_test
Strictness cleanups in test class
Coleman Watts [Wed, 5 Apr 2023 16:37:31 +0000 (12:37 -0400)]
Afform - Fix showing default values for EntityRef fields
There was some back-and-forth with this. #25374 removed the change() trigger, which fixed
the recursion bug described in https://lab.civicrm.org/dev/core/-/issues/4083 but broke
setting defaults, prompting #25465 which proposed to change it back.
This fix walks the line by triggering the change event but only when the value has actually changed.
Fixes dev/core#4110
Eileen McNaughton [Tue, 4 Apr 2023 23:17:40 +0000 (11:17 +1200)]
Strictness cleanups in test class
colemanw [Wed, 5 Apr 2023 01:26:25 +0000 (21:26 -0400)]
Merge pull request #25175 from colemanw/afformRepeatRelationships
Afform - Support repeatable relationships
Eileen McNaughton [Wed, 5 Apr 2023 01:04:26 +0000 (13:04 +1200)]
Merge pull request #26004 from eileenmcnaughton/dedupe_old
Remove upgrade custom field handling from Dedupe code - previously shared function
Eileen McNaughton [Wed, 5 Apr 2023 01:04:12 +0000 (13:04 +1200)]
Merge pull request #26003 from eileenmcnaughton/dedupe_strict
Clarify `entityID` types in Merger class
Eileen McNaughton [Tue, 4 Apr 2023 22:18:07 +0000 (10:18 +1200)]
Clarify entityID types in Merger class
demeritcowboy [Tue, 4 Apr 2023 22:32:23 +0000 (18:32 -0400)]
Merge pull request #26001 from demeritcowboy/undef
Avoid potentially undefined var
Eileen McNaughton [Tue, 4 Apr 2023 22:29:34 +0000 (10:29 +1200)]
Remove upgrade custom field handling from Dedupe code
colemanw [Tue, 4 Apr 2023 21:48:59 +0000 (17:48 -0400)]
Merge pull request #25988 from eileenmcnaughton/import_campaign
When importing invalid campaigns they pass validation (only to fail on import)
demeritcowboy [Tue, 4 Apr 2023 21:38:50 +0000 (17:38 -0400)]
avoid potentially undefined var
demeritcowboy [Tue, 4 Apr 2023 20:49:07 +0000 (16:49 -0400)]
Merge pull request #25647 from mattwire/disableinvalidrelationship
Allow to disable an invalid relationship (eg. contact subtype was changed so no longer valid)
colemanw [Tue, 4 Apr 2023 15:58:28 +0000 (11:58 -0400)]
Merge pull request #25997 from agileware/CIVICRM-2120
🥚 Payment API creates Activity with subject: "$x Offline Payment for Contribution" even when a payment was captured online
Yashodha Chaku [Tue, 4 Apr 2023 14:05:53 +0000 (19:35 +0530)]
Merge pull request #25991 from eileenmcnaughton/import_label
Use label, where present for import field labels
colemanw [Tue, 4 Apr 2023 11:43:35 +0000 (07:43 -0400)]
Merge pull request #25995 from colemanw/uniqueNameIndex
Campaign - Make name index unique
Coleman Watts [Tue, 4 Apr 2023 02:12:47 +0000 (22:12 -0400)]
Campaign - Allow writeRecord to autogenerate name from title, fix tests
The Campaign BAO was autogenerating a name from the title but without the dedupe checking feature
performed by writeRecord, so it was getting in the way of that safeguard.
Justin Freeman [Tue, 4 Apr 2023 05:51:34 +0000 (15:51 +1000)]
CIVICRM-2120 Payment API creates Activity with subject: "$x Offline Payment for Contribution" even when a payment was captured online
Coleman Watts [Mon, 3 Apr 2023 21:20:29 +0000 (17:20 -0400)]
Campaign - Make name index unique
colemanw [Tue, 4 Apr 2023 00:21:06 +0000 (20:21 -0400)]
Merge pull request #25996 from eileenmcnaughton/test_clean
[TESTS] Fix some campaign cleanup
Eileen McNaughton [Mon, 3 Apr 2023 23:47:07 +0000 (11:47 +1200)]
[TESTS] Fix some campaign cleanup
Eileen McNaughton [Mon, 3 Apr 2023 04:05:33 +0000 (16:05 +1200)]
Use label, where present
Label is preferred over title - when the metadata comes from the
DAO it is in html['label'], but if it comes from apiv4 it
seems it is mapped higher up...
Eileen McNaughton [Mon, 3 Apr 2023 03:52:14 +0000 (15:52 +1200)]
Merge pull request #25990 from eileenmcnaughton/import_user
Fix url from just-merged PR
Eileen McNaughton [Mon, 3 Apr 2023 03:51:00 +0000 (15:51 +1200)]
Fix url from just-merged PR
Eileen McNaughton [Mon, 3 Apr 2023 01:03:08 +0000 (13:03 +1200)]
Fix to validation error for invalid campaign
Seamus Lee [Thu, 27 Oct 2022 22:26:30 +0000 (09:26 +1100)]
[REF] Add in Test for importing a deliberartly bad campaign id
colemanw [Mon, 3 Apr 2023 00:45:11 +0000 (20:45 -0400)]
Merge pull request #25979 from eileenmcnaughton/civi_import_notice_fix
Fix enotice when using Civi-import
colemanw [Mon, 3 Apr 2023 00:43:29 +0000 (20:43 -0400)]
Merge pull request #25939 from eileenmcnaughton/template_search
Civi-Import - Add Template search
Eileen McNaughton [Mon, 3 Apr 2023 00:07:03 +0000 (12:07 +1200)]
Merge pull request #25971 from colemanw/acitivityCruft
Activity BAO - Remove unused classes/functions
Eileen McNaughton [Sun, 2 Apr 2023 23:53:02 +0000 (11:53 +1200)]
Merge pull request #25973 from colemanw/savedSearchUpdate
BAO - deprecate create for writeRecord: SavedSearch
Eileen McNaughton [Sun, 2 Apr 2023 23:52:13 +0000 (11:52 +1200)]
Merge pull request #25976 from colemanw/deprecateSetIsActive
BAO - Deprecate `setIsActive` BAO functions
Eileen McNaughton [Sun, 2 Apr 2023 23:47:52 +0000 (11:47 +1200)]
Merge pull request #25986 from civicrm/5.60
5.60
colemanw [Sun, 2 Apr 2023 23:19:52 +0000 (19:19 -0400)]
Merge pull request #25977 from eileenmcnaughton/import_edit_cond
Civi-Import - improvements to the search display for imported rows
colemanw [Sun, 2 Apr 2023 23:18:23 +0000 (19:18 -0400)]
Merge pull request #25980 from eileenmcnaughton/import_js
Minor fixes to Civi-Import screen, populating defaults, missing `ts`
demeritcowboy [Sun, 2 Apr 2023 23:01:11 +0000 (19:01 -0400)]
Merge pull request #25981 from eileenmcnaughton/560
Fix error when importing a soft credit AND a note when currency not provided
Eileen McNaughton [Sun, 2 Apr 2023 22:45:09 +0000 (10:45 +1200)]
Merge pull request #25985 from civicrm/5.60
5.60 to master
Eileen McNaughton [Sun, 2 Apr 2023 22:11:03 +0000 (10:11 +1200)]
Merge pull request #25982 from demeritcowboy/fileoncase
dev/core#4217 - Fix file on case search by id and broken entityref pagination
Eileen McNaughton [Sun, 2 Apr 2023 21:55:20 +0000 (09:55 +1200)]
Merge pull request #25983 from demeritcowboy/casejson
[NFC] Don't have null values for required fields in Case test fixture
Eileen McNaughton [Sun, 2 Apr 2023 21:51:13 +0000 (09:51 +1200)]
Extend Generic\CheckAccess to reduce boilerplate
Eileen McNaughton [Sun, 2 Apr 2023 07:04:30 +0000 (19:04 +1200)]
Minor fixes to Civi-Import screen, populating defaults, missing ts
Coleman Watts [Wed, 14 Dec 2022 22:27:15 +0000 (17:27 -0500)]
Afform - Support repeatable relationships
Coleman Watts [Sun, 2 Apr 2023 00:38:51 +0000 (20:38 -0400)]
BAO - Deprecate setIsActive BAO functions
demeritcowboy [Sun, 2 Apr 2023 19:20:30 +0000 (15:20 -0400)]
don't be null
demeritcowboy [Sun, 2 Apr 2023 19:17:26 +0000 (15:17 -0400)]
add test
demeritcowboy [Sun, 2 Apr 2023 17:28:19 +0000 (13:28 -0400)]
fix file on case search by id and broken pagination
Eileen McNaughton [Sun, 2 Apr 2023 07:18:24 +0000 (19:18 +1200)]
Fix error when importing a soft credit AND a note when currency not provided
Eileen McNaughton [Sun, 2 Apr 2023 04:36:32 +0000 (16:36 +1200)]
Fix enotice when using Civi-import
Eileen McNaughton [Sun, 2 Apr 2023 04:10:18 +0000 (16:10 +1200)]
Merge pull request #25974 from colemanw/updateSubHistory
BAO - deprecate create for writeRecord: SubscriptionHistory
Eileen McNaughton [Sun, 2 Apr 2023 03:33:22 +0000 (15:33 +1200)]
Merge pull request #25978 from civicrm/5.60
5.60 to master
Eileen McNaughton [Sun, 2 Apr 2023 03:31:18 +0000 (15:31 +1200)]
Merge pull request #25967 from alifrumin/5.60rn
[NFC] 5.60 release notes
Eileen McNaughton [Sun, 2 Apr 2023 03:30:51 +0000 (15:30 +1200)]
Merge pull request #25970 from colemanw/aclWriteRecord
BAO - deprecate create for writeRecord: ACL
Eileen McNaughton [Sun, 2 Apr 2023 03:29:10 +0000 (15:29 +1200)]
Merge pull request #25975 from colemanw/factory
Demolish the factory 🏭💥
Eileen McNaughton [Sun, 2 Apr 2023 03:19:23 +0000 (15:19 +1200)]
Move entity_id before status_message
Eileen McNaughton [Sun, 2 Apr 2023 02:48:29 +0000 (14:48 +1200)]
Removed edit-in-place options from Import views on imported rows.
It's confusing to the user to be able to edit the records when they
are already imported. This is not a real security thing - more
of a UI thing - but Coleman recommends implementing through
checkAccess. I did leave open the back door of being able to edit it
if the status is now present as there isn't a real reason they shouldn't -
just that it is confusing to present edit-in-place, except when they could
edit & re-try the import
Eileen McNaughton [Sun, 2 Apr 2023 03:12:08 +0000 (15:12 +1200)]
Merge pull request #25969 from colemanw/entityValues
SearchKit - Pass entire record into `checkAccess`
Eileen McNaughton [Sun, 2 Apr 2023 02:43:28 +0000 (14:43 +1200)]
Merge pull request #25972 from colemanw/batchUpdate
BAO - deprecate create for writeRecord: Batch
Coleman Watts [Sat, 1 Apr 2023 23:58:49 +0000 (19:58 -0400)]
Remove unused CRM_Contact_DAO_Factory
Coleman Watts [Sat, 1 Apr 2023 23:50:11 +0000 (19:50 -0400)]
BAO - deprecate create for writeRecord: SubscriptionHistory
Coleman Watts [Sat, 1 Apr 2023 23:44:20 +0000 (19:44 -0400)]
BAO - deprecate create for writeRecord: SavedSearch
Coleman Watts [Sat, 1 Apr 2023 23:31:53 +0000 (19:31 -0400)]
BAO - deprecate create for writeRecord: Batch
Coleman Watts [Sat, 1 Apr 2023 20:52:45 +0000 (16:52 -0400)]
Activity BAO - Remove unused classes/functions