civicrm-core.git
5 years agoMerge pull request #13158 from elisseck/dev/core/544
Eileen McNaughton [Thu, 28 Mar 2019 21:38:17 +0000 (10:38 +1300)]
Merge pull request #13158 from elisseck/dev/core/544

dev/core/544 Add report support for filter on multiple contact subtypes

5 years agoMerge pull request #13873 from eileenmcnaughton/mutliple_activity_types
Eileen McNaughton [Thu, 28 Mar 2019 20:24:27 +0000 (09:24 +1300)]
Merge pull request #13873 from eileenmcnaughton/mutliple_activity_types

Mutliple activity type filters on activity tab on contact records

5 years agoMerge pull request #13819 from mfb/temp-table
Eileen McNaughton [Thu, 28 Mar 2019 20:22:00 +0000 (09:22 +1300)]
Merge pull request #13819 from mfb/temp-table

Use TempTable methods

5 years agoMerge pull request #13900 from greenpeace-cee/fix-get-custom-field
Eileen McNaughton [Thu, 28 Mar 2019 20:03:34 +0000 (09:03 +1300)]
Merge pull request #13900 from greenpeace-cee/fix-get-custom-field

dev/core#755 - CRM/Core - Fix missing group name in custom field cache

5 years ago#829 Swaziland has changed its name to Eswatini (#13902)
lordt [Thu, 28 Mar 2019 19:49:11 +0000 (20:49 +0100)]
#829 Swaziland has changed its name to Eswatini (#13902)

* #829 Swaziland has changed its name to Eswatini

* #829 Swaziland has changed its name to Eswatini

* #829 Swaziland has changed its name to Eswatini

* #829 Swaziland has changed its name to Eswatini

5 years agoSupport a multiple select for activity types to include & exclude
eileen [Thu, 21 Mar 2019 01:22:03 +0000 (14:22 +1300)]
Support a multiple select for activity types to include & exclude

5 years agoMerge pull request #13855 from eileenmcnaughton/activity_date_picker
colemanw [Thu, 28 Mar 2019 13:48:57 +0000 (09:48 -0400)]
Merge pull request #13855 from eileenmcnaughton/activity_date_picker

Convert activity tab to use datepicker

5 years agoMerge pull request #13596 from jackrabbithanna/726-address-api-states
Eileen McNaughton [Thu, 28 Mar 2019 04:53:25 +0000 (17:53 +1300)]
Merge pull request #13596 from jackrabbithanna/726-address-api-states

CiviCRM API, lookup state_province_id options based on country parame…

5 years agoMerge pull request #13904 from eileenmcnaughton/test
Eileen McNaughton [Thu, 28 Mar 2019 00:54:44 +0000 (13:54 +1300)]
Merge pull request #13904 from eileenmcnaughton/test

Add Unit test for export with incomplete data

5 years agoFix api validate of states and improve test
Coleman Watts [Wed, 27 Mar 2019 23:48:00 +0000 (19:48 -0400)]
Fix api validate of states and improve test

5 years agodev/core#755 - CRM/Core - Fix missing group name in custom field cache
Patrick Figel [Wed, 27 Mar 2019 20:46:50 +0000 (21:46 +0100)]
dev/core#755 - CRM/Core - Fix missing group name in custom field cache

CRM_Core_BAO_CustomField::getCustomFieldID caches custom fields based
on the field name, meaning if a custom field of the same name exists
in more than one group, the method will always return the first field
that was cached. This change adds the $groupName parameter to the
cache key.

This also adds a missing test for the $fullString parameter and
renames the $groupTitle parameter to $groupName in preparation
for future changes.

5 years agoMerge pull request #13905 from civicrm/5.12
Eileen McNaughton [Wed, 27 Mar 2019 20:13:09 +0000 (09:13 +1300)]
Merge pull request #13905 from civicrm/5.12

5.12 to master

5 years agoMerge pull request #13903 from agh1/userdashcontrib-5-12
Eileen McNaughton [Wed, 27 Mar 2019 20:12:44 +0000 (09:12 +1300)]
Merge pull request #13903 from agh1/userdashcontrib-5-12

Intra-RC regression: User dashboard: show most recent contributions, not earliest

5 years agoAdd Unit test for export with incomplete data
eileen [Wed, 27 Mar 2019 20:03:57 +0000 (09:03 +1300)]
Add Unit test for export with incomplete data

5 years agoMerge pull request #13889 from pradpnayak/ExportBug
Eileen McNaughton [Wed, 27 Mar 2019 20:07:09 +0000 (09:07 +1300)]
Merge pull request #13889 from pradpnayak/ExportBug

dev/core/issues/819, Fixed fatal error on export screen

5 years agoUser dash: adjust test to make sure contributions are chronological
Andrew Hunt [Wed, 27 Mar 2019 17:31:37 +0000 (13:31 -0400)]
User dash: adjust test to make sure contributions are chronological

5 years agoMerge pull request #13864 from eileenmcnaughton/rule_group
Eileen McNaughton [Wed, 27 Mar 2019 17:28:32 +0000 (06:28 +1300)]
Merge pull request #13864 from eileenmcnaughton/rule_group

Expose sort_name as a dedupe-matchable field

5 years agoUser dash: show most recent contributions, not earliest
Andrew Hunt [Wed, 27 Mar 2019 15:43:34 +0000 (11:43 -0400)]
User dash: show most recent contributions, not earliest

5 years agoMerge pull request #13896 from eileenmcnaughton/ar
colemanw [Wed, 27 Mar 2019 16:39:29 +0000 (12:39 -0400)]
Merge pull request #13896 from eileenmcnaughton/ar

[NFC] IDE formatting only

5 years agoMerge pull request #13898 from eileenmcnaughton/merge_summary_2
colemanw [Wed, 27 Mar 2019 14:13:00 +0000 (10:13 -0400)]
Merge pull request #13898 from eileenmcnaughton/merge_summary_2

dev/core#824 Render contact type icons in std way on merge screen

5 years agoMerge pull request #13883 from agh1/grantdetailgroupby
Eileen McNaughton [Wed, 27 Mar 2019 05:34:04 +0000 (18:34 +1300)]
Merge pull request #13883 from agh1/grantdetailgroupby

PHP Error on Grant Detail Report

5 years agoMerge pull request #13892 from aydun/pdf_refactor
Eileen McNaughton [Wed, 27 Mar 2019 05:25:40 +0000 (18:25 +1300)]
Merge pull request #13892 from aydun/pdf_refactor

Refactor CRM_Contact_Form_Task_PDFLetterCommon

5 years agoRender contact type icons in std way on merge screen
eileen [Wed, 27 Mar 2019 04:43:15 +0000 (17:43 +1300)]
Render contact type icons in std way on merge screen

The merge screen currently shows contact types as a row but that is meaningless as we don't currently
permit them to be changed when merging. Rendering as an icon is more consistent with elsewhere
and potentially the hover makes it easy to see salient information about the contact.

5 years agoRationalise summary part of the merge screen.
eileen [Wed, 27 Mar 2019 03:56:02 +0000 (16:56 +1300)]
Rationalise summary part of the merge screen.

This does 3 things
1) reduces contact get queries from 3 to 1 since the 2 in the tpl layer are removed
2) adds created date to the merge summary information
3) makes it easier for extensions to replace/ extend this data (although core makes no
commitment to the tpl remaining unchanged so extension writers need to carry that risk)

5 years agoMerge pull request #13894 from civicrm/5.12
Eileen McNaughton [Wed, 27 Mar 2019 02:23:04 +0000 (15:23 +1300)]
Merge pull request #13894 from civicrm/5.12

5.12

5 years agoArray formatting
eileen [Wed, 27 Mar 2019 02:20:35 +0000 (15:20 +1300)]
Array formatting

5 years agoMerge pull request #13893 from colemanw/dev/core#821
Seamus Lee [Wed, 27 Mar 2019 00:42:19 +0000 (11:42 +1100)]
Merge pull request #13893 from colemanw/dev/core#821

[Regression] dev/core#821 - Fix entityRef filter value selection

5 years agodev/core#821 - Fix entityRef filter value selection
Coleman Watts [Tue, 26 Mar 2019 14:16:11 +0000 (10:16 -0400)]
dev/core#821 - Fix entityRef filter value selection

5 years agoMove some of the content from CRM_Contact_Form_Task_PDFLetterCommon
Aidan Saunders [Tue, 26 Mar 2019 09:29:03 +0000 (09:29 +0000)]
Move some of the content from CRM_Contact_Form_Task_PDFLetterCommon
into a new base class CRM_Core_Form_Task_PDFLetterCommon

Move handling of templates from processMessageTemplate() to processTemplate()

5 years agoMerge pull request #13787 from eileenmcnaughton/label_button
Mathieu Lu [Mon, 25 Mar 2019 22:05:37 +0000 (18:05 -0400)]
Merge pull request #13787 from eileenmcnaughton/label_button

Allow payment processor to determine the text around 'continue'

5 years agoExpose sort_name as a dedupe-matchable field
eileen [Wed, 20 Mar 2019 02:59:09 +0000 (15:59 +1300)]
Expose sort_name as a dedupe-matchable field

This opens up the option of us using a hook to do some standardisation - e.g getting rid of 'The'
in the sort name & it helping with both sorting and with deduping

5 years agoMerge pull request #13863 from eileenmcnaughton/pre_test
colemanw [Mon, 25 Mar 2019 21:04:01 +0000 (17:04 -0400)]
Merge pull request #13863 from eileenmcnaughton/pre_test

Fix Contact.create calls to respect passed in variables & variables set via hook for sort_name & display_name

5 years agoMerge pull request #13857 from eileenmcnaughton/line_item_assignment
Eileen McNaughton [Mon, 25 Mar 2019 20:33:25 +0000 (09:33 +1300)]
Merge pull request #13857 from eileenmcnaughton/line_item_assignment

Minor code cleanups around invoicing assignment

5 years agoMerge pull request #13567 from pradpnayak/DateFilter
Eileen McNaughton [Mon, 25 Mar 2019 19:49:44 +0000 (08:49 +1300)]
Merge pull request #13567 from pradpnayak/DateFilter

dev/core#709, fixed date filter for custom fields

5 years agoMerge pull request #13888 from pradpnayak/AdvMailin
Eileen McNaughton [Mon, 25 Mar 2019 19:33:59 +0000 (08:33 +1300)]
Merge pull request #13888 from pradpnayak/AdvMailin

Added unit test for dev/core/issues/726

5 years agodev/core/issues/819, Fixed fatal error on export screen
Pradeep Nayak [Mon, 25 Mar 2019 13:47:29 +0000 (13:47 +0000)]
dev/core/issues/819, Fixed fatal error on export screen

5 years agoAdded unit test for dev/core/issues/726
Pradeep Nayak [Mon, 25 Mar 2019 12:28:42 +0000 (12:28 +0000)]
Added unit test for dev/core/issues/726

5 years agodev/core/issues/709, fixed date filter for custom fields
Pradeep Nayak [Mon, 25 Mar 2019 10:45:32 +0000 (10:45 +0000)]
dev/core/issues/709, fixed date filter for custom fields

5 years agoMerge pull request #13886 from eileenmcnaughton/clean_fn
Eileen McNaughton [Mon, 25 Mar 2019 09:40:46 +0000 (22:40 +1300)]
Merge pull request #13886 from eileenmcnaughton/clean_fn

Remove switch statement that no longer switches

5 years agoMerge pull request #13885 from eileenmcnaughton/pp
Eileen McNaughton [Mon, 25 Mar 2019 09:31:36 +0000 (22:31 +1300)]
Merge pull request #13885 from eileenmcnaughton/pp

Use label not name for payment processor type

5 years agoRemove switch statement that no longer switches
eileen [Mon, 25 Mar 2019 08:02:48 +0000 (21:02 +1300)]
Remove switch statement that no longer switches

5 years agoMerge pull request #13884 from eileenmcnaughton/search_lastish
Eileen McNaughton [Mon, 25 Mar 2019 07:17:14 +0000 (20:17 +1300)]
Merge pull request #13884 from eileenmcnaughton/search_lastish

dev/core#502 fix bug on sorting by address fields when viewing search results by profile

5 years agoUse label not name for payment processor type
eileen [Mon, 25 Mar 2019 02:17:16 +0000 (15:17 +1300)]
Use label not name for payment processor type

5 years agodev/core#502 fix bug on sorting by address fields when viewing search results by...
eileen [Sun, 24 Mar 2019 23:00:17 +0000 (12:00 +1300)]
dev/core#502 fix bug on sorting by address fields when viewing search results by profile

Fixes a bug whereby a fatal error occurs if you attempt to export contacts after sorting by postal_code from
an search profile

5 years agoMerge pull request #13785 from demeritcowboy/devcore784
Eileen McNaughton [Sun, 24 Mar 2019 20:33:08 +0000 (09:33 +1300)]
Merge pull request #13785 from demeritcowboy/devcore784

dev/core#784 - On civicase case type editing screen creating a new relationship type on the fly inserts a blank row

5 years agoremove unneeded var
demeritcowboy [Tue, 19 Mar 2019 22:17:28 +0000 (18:17 -0400)]
remove unneeded var

5 years agodev/core#784
DemeritCowboy [Thu, 7 Mar 2019 15:36:12 +0000 (10:36 -0500)]
dev/core#784

5 years agoMerge pull request #13640 from pradpnayak/notevalidation
Eileen McNaughton [Sat, 23 Mar 2019 21:19:36 +0000 (10:19 +1300)]
Merge pull request #13640 from pradpnayak/notevalidation

dev/core/issues/740, Show form on validation error

5 years agoMerge pull request #13850 from eileenmcnaughton/bounce
Eileen McNaughton [Sat, 23 Mar 2019 20:51:11 +0000 (09:51 +1300)]
Merge pull request #13850 from eileenmcnaughton/bounce

dev/core#560 Update Cancel Billing & update billing to use status bounce rather than fatal

5 years agoMerge pull request #13068 from alifrumin/formLink
Eileen McNaughton [Sat, 23 Mar 2019 20:49:48 +0000 (09:49 +1300)]
Merge pull request #13068 from alifrumin/formLink

send action links on any page that extends CRM_Core_Page_basic thru hook_civicrm_links

5 years agoMerge pull request #12639 from aniesshsethh/issue_314
Eileen McNaughton [Sat, 23 Mar 2019 20:43:35 +0000 (09:43 +1300)]
Merge pull request #12639 from aniesshsethh/issue_314

dev/core#314 Event self-service Transfer picks up the deleted contact ID basically transferring to the wrong contact

5 years agoGrant detail report tidy up display
Andrew Hunt [Fri, 22 Mar 2019 17:26:38 +0000 (13:26 -0400)]
Grant detail report tidy up display

5 years agoGrant detail report: drop redundant where() and select()
Andrew Hunt [Fri, 22 Mar 2019 17:12:27 +0000 (13:12 -0400)]
Grant detail report: drop redundant where() and select()

5 years agoGrant detail report standardize from(), add phone, email and custom
Andrew Hunt [Fri, 22 Mar 2019 17:09:56 +0000 (13:09 -0400)]
Grant detail report standardize from(), add phone, email and custom

5 years agoGrant detail report use getColumns, allow order by
Andrew Hunt [Fri, 22 Mar 2019 16:54:13 +0000 (12:54 -0400)]
Grant detail report use getColumns, allow order by

5 years agoGrant detail groupBy() redundant, did ORDER BY, treated string as array
Andrew Hunt [Fri, 22 Mar 2019 16:53:04 +0000 (12:53 -0400)]
Grant detail groupBy() redundant, did ORDER BY, treated string as array

5 years agoMerge pull request #13882 from civicrm/5.12
Eileen McNaughton [Fri, 22 Mar 2019 12:37:21 +0000 (01:37 +1300)]
Merge pull request #13882 from civicrm/5.12

5.12 to master

5 years agoMerge pull request #13881 from jitendrapurohit/core-812-rc
Eileen McNaughton [Fri, 22 Mar 2019 12:37:00 +0000 (01:37 +1300)]
Merge pull request #13881 from jitendrapurohit/core-812-rc

dev/core#812 - Fix null display of contribution row on …

5 years agoUse TempTable methods.
mark burdett [Thu, 14 Mar 2019 23:42:46 +0000 (16:42 -0700)]
Use TempTable methods.

5 years agoMerge pull request #13798 from eileenmcnaughton/contribution_validate
colemanw [Fri, 22 Mar 2019 11:08:12 +0000 (07:08 -0400)]
Merge pull request #13798 from eileenmcnaughton/contribution_validate

Improve ContributionPage.validate api

5 years agodev/core#812 - RC equivalent for null display of contribution row on contact summary...
Jitendra Purohit [Fri, 22 Mar 2019 09:54:47 +0000 (15:24 +0530)]
dev/core#812 - RC equivalent for null display of contribution row on contact summary page

5 years agoMerge pull request #13872 from seamuslee001/composer_2_0_compatability
Eileen McNaughton [Fri, 22 Mar 2019 09:29:30 +0000 (22:29 +1300)]
Merge pull request #13872 from seamuslee001/composer_2_0_compatability

Fix up composer for composer 2.0 compatibility

5 years agoMerge pull request #13880 from eileenmcnaughton/temp_repeat
Eileen McNaughton [Fri, 22 Mar 2019 09:29:01 +0000 (22:29 +1300)]
Merge pull request #13880 from eileenmcnaughton/temp_repeat

Use TempTable methods.

5 years agoMerge pull request #13878 from eileenmcnaughton/test_fix
Seamus Lee [Fri, 22 Mar 2019 08:12:01 +0000 (19:12 +1100)]
Merge pull request #13878 from eileenmcnaughton/test_fix

[nfc] Reset entire session object between tests

5 years agoMerge pull request #13877 from eileenmcnaughton/import_count
Eileen McNaughton [Fri, 22 Mar 2019 02:35:22 +0000 (15:35 +1300)]
Merge pull request #13877 from eileenmcnaughton/import_count

Fix php 7.2 count notice

5 years agoUse TempTable methods.
mark burdett [Thu, 14 Mar 2019 23:42:46 +0000 (16:42 -0700)]
Use TempTable methods.

5 years agoMerge pull request #13879 from civicrm/5.12
Eileen McNaughton [Fri, 22 Mar 2019 00:21:25 +0000 (13:21 +1300)]
Merge pull request #13879 from civicrm/5.12

5.12 to master

5 years agoMerge pull request #13541 from compucorp/case-activity-assigmt-restriction
Eileen McNaughton [Fri, 22 Mar 2019 00:18:26 +0000 (13:18 +1300)]
Merge pull request #13541 from compucorp/case-activity-assigmt-restriction

dev/core#641: Case Activity Assignment Restriction

5 years agoMerge pull request #13876 from colemanw/menuRestore
Eileen McNaughton [Fri, 22 Mar 2019 00:18:11 +0000 (13:18 +1300)]
Merge pull request #13876 from colemanw/menuRestore

dev/core#814 Fix menu restore link

5 years agoReset entire session object between tests>
eileen [Fri, 22 Mar 2019 00:04:40 +0000 (13:04 +1300)]
Reset entire session object between tests>

#13553 has been struggling with bugs that seem to be leakage of the session object between
tests - this seems like a good place to flush it

5 years agoFix php 7.2 count notice
eileen [Thu, 21 Mar 2019 23:54:20 +0000 (12:54 +1300)]
Fix php 7.2 count notice

5 years agoFix menu restore link
Coleman Watts [Thu, 21 Mar 2019 16:32:56 +0000 (12:32 -0400)]
Fix menu restore link

5 years agoAllow payment processor to determine the text around 'continue'
eileen [Fri, 8 Mar 2019 00:35:06 +0000 (13:35 +1300)]
Allow payment processor to determine the text around 'continue'

This text traditionally depends on the outdated payment processor 'mode' concept. Since the 'right' text depends
on what the payment processor plans to do moving it out to the processor classes makes sense

We could also do the same with 'button'

5 years agoMerge pull request #13697 from greenpeace-cee/fix-event-search
Eileen McNaughton [Thu, 21 Mar 2019 23:00:18 +0000 (12:00 +1300)]
Merge pull request #13697 from greenpeace-cee/fix-event-search

CRM/Event - Fix participant note search parameter being ignored

5 years agoMerge pull request #13865 from eileenmcnaughton/dedupe_temp
Eileen McNaughton [Thu, 21 Mar 2019 19:08:20 +0000 (08:08 +1300)]
Merge pull request #13865 from eileenmcnaughton/dedupe_temp

Use tempTable class in creation of dedupe table.

5 years agoMerge pull request #13875 from colemanw/BAO_Participant
Eileen McNaughton [Thu, 21 Mar 2019 18:58:25 +0000 (07:58 +1300)]
Merge pull request #13875 from colemanw/BAO_Participant

BAO_Participant - Use default status if not specified for create

5 years agoMerge pull request #13874 from eileenmcnaughton/cleanup
colemanw [Thu, 21 Mar 2019 16:53:22 +0000 (12:53 -0400)]
Merge pull request #13874 from eileenmcnaughton/cleanup

Remove now-obsolete additionalFromClause parameter from prepareOrderBy

5 years agoBAO_Participant - Use default status if not specified for create
Coleman Watts [Thu, 21 Mar 2019 15:32:02 +0000 (11:32 -0400)]
BAO_Participant - Use default status if not specified for create

5 years agoConvert filter field to datepicker
eileen [Tue, 19 Mar 2019 01:44:38 +0000 (14:44 +1300)]
Convert filter field to datepicker

5 years agoFollow up on renaming field name - missed a spot
eileen [Tue, 19 Mar 2019 01:29:09 +0000 (14:29 +1300)]
Follow up on renaming field name - missed a spot

5 years agoRemove now-obsolete additionalFromClause parameter from prepareOrderBy
eileen [Thu, 21 Mar 2019 02:09:27 +0000 (15:09 +1300)]
Remove now-obsolete additionalFromClause parameter from prepareOrderBy

5 years agoMerge pull request #13772 from mattwire/alphabetquery_groupby
Eileen McNaughton [Thu, 21 Mar 2019 02:06:19 +0000 (15:06 +1300)]
Merge pull request #13772 from mattwire/alphabetquery_groupby

dev/core#748 Switch alphabetQuery to use new getSearchSQLParts() function

5 years agoFix up composer for composer2.0 compatability
Seamus Lee [Thu, 21 Mar 2019 01:22:01 +0000 (12:22 +1100)]
Fix up composer for composer2.0 compatability

5 years agoMerge pull request #13234 from mattwire/checkduplicates_hook
Eileen McNaughton [Wed, 20 Mar 2019 23:54:58 +0000 (12:54 +1300)]
Merge pull request #13234 from mattwire/checkduplicates_hook

Add hook findDuplicates

5 years agoMerge pull request #13862 from eileenmcnaughton/ContactType
colemanw [Wed, 20 Mar 2019 23:18:43 +0000 (19:18 -0400)]
Merge pull request #13862 from eileenmcnaughton/ContactType

Reformat test files for array format

5 years agoSwitch alphabetQuery to use new getSearchSQLParts() function
Matthew Wire (MJW Consulting) [Tue, 5 Mar 2019 23:54:43 +0000 (23:54 +0000)]
Switch alphabetQuery to use new getSearchSQLParts() function

5 years agoMerge pull request #13870 from seamuslee001/re_add_require_once
Eileen McNaughton [Wed, 20 Mar 2019 21:44:34 +0000 (10:44 +1300)]
Merge pull request #13870 from seamuslee001/re_add_require_once

Try Reverting commit removing require once to see if it fixes the pro…

5 years agoTry Reverting commit removing require once to see if it fixes the problem for api4
Seamus Lee [Wed, 20 Mar 2019 21:06:29 +0000 (08:06 +1100)]
Try Reverting commit removing require once to see if it fixes the problem for api4

5 years agoMerge pull request #13869 from mattwire/paymentprocessorid
Eileen McNaughton [Wed, 20 Mar 2019 19:45:40 +0000 (08:45 +1300)]
Merge pull request #13869 from mattwire/paymentprocessorid

Add ID / Test ID for payment processors to list - makes setup of IPNs much easier!

5 years agoMerge pull request #13861 from eileenmcnaughton/die_die
colemanw [Wed, 20 Mar 2019 19:19:10 +0000 (15:19 -0400)]
Merge pull request #13861 from eileenmcnaughton/die_die

As discussed, delete webtests

5 years agoAdd ID / Test ID for payment processors to list - makes setup of IPNs much easier!
Matthew Wire (MJW Consulting) [Wed, 20 Mar 2019 12:54:52 +0000 (12:54 +0000)]
Add ID / Test ID for payment processors to list - makes setup of IPNs much easier!

5 years agoMerge pull request #13866 from eileenmcnaughton/perm_dedup
Seamus Lee [Wed, 20 Mar 2019 08:26:17 +0000 (19:26 +1100)]
Merge pull request #13866 from eileenmcnaughton/perm_dedup

Update test to reflect recently merged PR lower permission to access dedupecheck

5 years agoUpdate test to reflect recently merged PR lower permission to access dedupecheck
eileen [Wed, 20 Mar 2019 05:45:32 +0000 (18:45 +1300)]
Update test to reflect recently merged PR lower permission to access dedupecheck

5 years agoFix Contact.create calls to respect passed in variables & variables set via hook...
eileen [Wed, 20 Mar 2019 01:28:59 +0000 (14:28 +1300)]
Fix Contact.create calls to respect passed in variables & variables set via hook for sort_name & display_name

This has been applied to Organizations & Households, not Individuals at this stage as that is more complex.

Use case is saving organizations with The so that The is at the end of their sort_name, making it easier to
deal with data entry variations

5 years agoUse tempTable class in creation of dedupe table.
eileen [Wed, 20 Mar 2019 03:43:08 +0000 (16:43 +1300)]
Use tempTable class in creation of dedupe table.

The is covered by unit tests ContactTest::testDuplicateTest and DedupeFinderTest::testUnsupervisedDupes

There are some others in this file but I focussed on keeping the scope to a single table replacement.

A couple of thoughts
1) I passed the indexes in as 'columns' - works, is tested so we'd know if anything broke it but it feels a bit ug
2) I think it makes sense to add a descontruct on the class to drop the temp tables
3) the longer syntax for referring to the table is a bit wordy - but harmless I guess & reformatting would
help

5 years agoMerge pull request #13398 from pradpnayak/DedupeBreak
Eileen McNaughton [Wed, 20 Mar 2019 02:02:37 +0000 (15:02 +1300)]
Merge pull request #13398 from pradpnayak/DedupeBreak

dev/core/issues/570, Check Dedupe fails for limited permission user

5 years agoMerge pull request #13748 from eileenmcnaughton/search_sort
Eileen McNaughton [Wed, 20 Mar 2019 01:50:54 +0000 (14:50 +1300)]
Merge pull request #13748 from eileenmcnaughton/search_sort

Fix bug whereby sorting by state province gives an error in search builder

5 years agoReformat test files for array format
eileen [Wed, 20 Mar 2019 00:47:03 +0000 (13:47 +1300)]
Reformat test files for array format

5 years agoAs discussed, delete webtests
eileen [Wed, 20 Mar 2019 00:40:44 +0000 (13:40 +1300)]
As discussed, delete webtests

They were extremely hard to maintain when we were maintaining them, now they have been unmaitained so
long that they would take more work to get functional than starting from scratch.

They make grepping harder

5 years agoMerge pull request #13859 from colemanw/dev/core#811
Eileen McNaughton [Tue, 19 Mar 2019 23:20:42 +0000 (12:20 +1300)]
Merge pull request #13859 from colemanw/dev/core#811

dev/core#811 - Autocomplete only enabled options