Monish Deb [Wed, 7 Feb 2018 13:19:14 +0000 (18:49 +0530)]
Merge pull request #11542 from eileenmcnaughton/prox
CRM-21674 allow lat & long to be pre-calculated for proximity query / search
eileen [Thu, 18 Jan 2018 03:28:39 +0000 (16:28 +1300)]
CRM-21674 allow lat & long to be pre-calculated for proximity query or search
Monish Deb [Wed, 7 Feb 2018 01:55:37 +0000 (07:25 +0530)]
Merge pull request #11540 from eileenmcnaughton/yahoo
CRM-19784 remove yahoo geocoder & clean up geocoding code
Monish Deb [Wed, 7 Feb 2018 01:44:59 +0000 (07:14 +0530)]
Merge pull request #11606 from eileenmcnaughton/pcp
CRM-21728 Prevent intermittant fail on pcp api calls.
Monish Deb [Wed, 7 Feb 2018 01:42:21 +0000 (07:12 +0530)]
Merge pull request #11633 from eileenmcnaughton/option_value
CRM-21737 loosen option value validation to support language option group
Eileen McNaughton [Tue, 6 Feb 2018 23:18:17 +0000 (12:18 +1300)]
Merge pull request #11593 from mfb/db-error-data-too-long-for-column-subject
Amount and source could exceed max length of subject column
colemanw [Tue, 6 Feb 2018 15:33:57 +0000 (10:33 -0500)]
Merge pull request #11607 from eileenmcnaughton/serialize
CRM-21707 increase api testing / use of serialization metadata. Add depre…
Monish Deb [Tue, 6 Feb 2018 13:52:02 +0000 (19:22 +0530)]
Merge pull request #11476 from eileenmcnaughton/report
CRM-21616 ensure sql metadata is available from api
Eileen McNaughton [Tue, 6 Feb 2018 10:04:05 +0000 (23:04 +1300)]
Merge pull request #11623 from mattwire/CRM-21721_unit_test
CRM-21721 Add unit test for createProportionalEntry with zero amount
Eileen McNaughton [Tue, 6 Feb 2018 10:01:10 +0000 (23:01 +1300)]
Merge pull request #11558 from JMAConsulting/CRM-21260
CRM-21316: Add missing code to handle smart group on sms mode
Monish Deb [Tue, 6 Feb 2018 09:38:51 +0000 (15:08 +0530)]
Merge pull request #11575 from eileenmcnaughton/currency_contribution_update
CRM-17647 fix ContributionForm to use skipCleanMoney on update & upda…
deb.monish [Fri, 2 Feb 2018 15:55:31 +0000 (21:25 +0530)]
additional fixes and optimisation
Eileen McNaughton [Tue, 6 Feb 2018 04:38:27 +0000 (17:38 +1300)]
Merge pull request #11635 from civicrm/4.7.30-rc
4.7.30 rc merge to master
Eileen McNaughton [Tue, 6 Feb 2018 04:11:26 +0000 (17:11 +1300)]
Merge pull request #11634 from agh1/CRM-21735
CRM-21735: Revert CRM-21575 changes pending fix
Andrew Hunt [Tue, 6 Feb 2018 02:00:08 +0000 (21:00 -0500)]
Revert "CRM-21575 - Websites of same type are over-written"
This reverts commit
dddcec4545602395fc865273175eb7227947cf74.
Elennio [Tue, 6 Feb 2018 00:55:43 +0000 (18:55 -0600)]
CRM-20685: Fix a bug on repeatTransaction in specific circumstance and his unitTest on ContributionRecurTest, cal… (#11493)
* CRM-20685: Fix a bug on repeatTransaction in specific circumstance
eileen [Mon, 5 Feb 2018 20:22:29 +0000 (09:22 +1300)]
CRM-21737 loosen option value validation to support language option group
JKingsnorth [Wed, 18 Oct 2017 14:36:16 +0000 (15:36 +0100)]
CRM-21320 Test for mass SMS recipients
Michael McAndrew [Fri, 26 Jan 2018 12:16:43 +0000 (12:16 +0000)]
fix select SMS recipients query
deb.monish [Fri, 19 Jan 2018 17:46:20 +0000 (23:16 +0530)]
CRM-21316: Add missing code to handle smart group on sms mode
Frank J. Gómez [Fri, 2 Feb 2018 21:45:41 +0000 (16:45 -0500)]
CRM-19784: Fixed test by creating a method for disabling the geocoder.
Eileen McNaughton [Sun, 4 Feb 2018 22:45:49 +0000 (11:45 +1300)]
Merge pull request #11625 from colemanw/Website
Website api - fix nonstandard BAO delete method
Eileen McNaughton [Sun, 4 Feb 2018 21:20:54 +0000 (10:20 +1300)]
Merge pull request #11626 from seamuslee001/multilingual_log_test_fix
(NFC) Fix logging test for multilingual on MySQL5.7
colemanw [Sun, 4 Feb 2018 16:27:53 +0000 (11:27 -0500)]
Merge pull request #11581 from tunbola/CRM-21704
CRM-21704: Do not allow Reserved Case Types to be Disabled/Deleted
colemanw [Sun, 4 Feb 2018 16:21:24 +0000 (11:21 -0500)]
Merge pull request #11564 from eileenmcnaughton/member
CRM-19920 - membership processing enhancements
Seamus Lee [Sun, 4 Feb 2018 03:42:26 +0000 (14:42 +1100)]
(NFC) Fix logging test for multilingual on MySQL5.7
Coleman Watts [Sat, 3 Feb 2018 23:43:53 +0000 (18:43 -0500)]
Remove use of deprecated variable
Coleman Watts [Sat, 3 Feb 2018 23:39:19 +0000 (18:39 -0500)]
Website api - fix nonstandard BAO delete method
colemanw [Sat, 3 Feb 2018 20:52:20 +0000 (15:52 -0500)]
Merge pull request #11618 from jitendrapurohit/CRM-21730
CRM-21730: postProcess() hook don't receive case id after submitting …
Frank J. Gómez [Fri, 2 Feb 2018 20:43:19 +0000 (15:43 -0500)]
CRM-19784: Deprecated $config->geocoderMethod.
Frank J. Gómez [Fri, 2 Feb 2018 13:46:19 +0000 (08:46 -0500)]
CRM-19784: Removed Yahoo geocoder.
Frank J. Gómez [Fri, 2 Feb 2018 13:42:24 +0000 (08:42 -0500)]
CRM-19784: Deprecated CRM_Utils_Geocode::getProviderClass().
Frank J. Gómez [Fri, 2 Feb 2018 14:02:21 +0000 (09:02 -0500)]
CRM-19784: Updated direct usages of the geocoding provider to use the
new methods instead.
Frank J. Gómez [Fri, 2 Feb 2018 13:53:10 +0000 (08:53 -0500)]
CRM-19784: Encapsulated interactions with geocoding providers. Adopts an
approach like the factory pattern PHP developers will find familiar, with
plenty of deprecation notices re the changing approach. A specific goal
was to avoid fatal errors in which a geocoder that no longer exists is called.
This applies specifically to the Yahoo class but also generally, e.g., if an
extension that provides a geocoder goes missing due to deletion, changed paths,
etc.
Eileen McNaughton [Fri, 2 Feb 2018 21:41:22 +0000 (10:41 +1300)]
Merge pull request #11601 from pradpnayak/CRM-21721
CRM-21721, fixed notice error for Division by zero
Matthew Wire [Fri, 2 Feb 2018 16:57:56 +0000 (16:57 +0000)]
Add unit test for createProportionalEntry with zero amount
Eileen McNaughton [Thu, 1 Feb 2018 21:41:53 +0000 (10:41 +1300)]
Merge pull request #9746 from vedantrathore/master
CRM-19752 - Unit Test for issue CRM-19752
eileen [Mon, 29 Jan 2018 22:11:53 +0000 (11:11 +1300)]
CRM-21707 increase testing / use of serialization metadata. Add deprecated when bypassed
Jitendra Purohit [Thu, 1 Feb 2018 09:22:15 +0000 (14:52 +0530)]
CRM-21730: postProcess() hook don't receive case id after submitting New Case Form
Monish Deb [Thu, 1 Feb 2018 05:18:10 +0000 (10:48 +0530)]
Merge pull request #11617 from eileenmcnaughton/test_fix
[nfc] Fix intermittantly failing test.
eileen [Thu, 1 Feb 2018 03:26:06 +0000 (16:26 +1300)]
Fix intermittantly failing test.
The date calcs for this test are way too complex, split in 2
Tim Otten [Wed, 31 Jan 2018 02:34:59 +0000 (18:34 -0800)]
Merge pull request #11613 from eileenmcnaughton/dist
CRM-21729 exclude vendor .idea, test-cases, unit-test from deployment
Eileen McNaughton [Wed, 31 Jan 2018 00:27:41 +0000 (13:27 +1300)]
Merge pull request #11612 from seamuslee001/crm-21719-civi
CRM-21719 Add a check in Civi/Install/Requirements to ensure that PHP…
eileen [Wed, 31 Jan 2018 00:21:25 +0000 (13:21 +1300)]
CRM-21729 exclude vendor .idea, test-cases, unit-test from deployment
Seamus Lee [Tue, 30 Jan 2018 22:08:43 +0000 (09:08 +1100)]
CRM-21719 Add a check in Civi/Install/Requirements to ensure that PHP Multibyte functions are enabled on install
Eileen McNaughton [Tue, 30 Jan 2018 22:02:22 +0000 (11:02 +1300)]
Merge pull request #11611 from cividesk/CRM-21665-NEW
CRM-21665 Fix check number toggle on Edit form when context is search
Eileen McNaughton [Tue, 30 Jan 2018 20:50:17 +0000 (09:50 +1300)]
Merge pull request #11604 from mattwire/CRM-21722_payproc_checkconfig
CRM-21722 Check configuration of payment processors when saving config
Sunil Pawar [Tue, 30 Jan 2018 09:07:28 +0000 (14:37 +0530)]
CRM-21665 Fix check number toggle on Edit form when context is search
Matthew Wire [Mon, 29 Jan 2018 13:40:53 +0000 (20:40 +0700)]
Check configuration of payment processors when saving config
colemanw [Tue, 30 Jan 2018 02:30:18 +0000 (21:30 -0500)]
Merge pull request #11304 from JMAConsulting/CRM-21461
CRM-21461: Case Dashlet enhancement
colemanw [Tue, 30 Jan 2018 01:43:19 +0000 (20:43 -0500)]
Merge pull request #11599 from seamuslee001/CRM-21719
CRM-21719 Require Multibyte PHP extension
eileen [Mon, 29 Jan 2018 21:53:13 +0000 (10:53 +1300)]
Prevent intermittant fail on pcp api calls.
When I run the SyntaxConformance tests locally I get a fatal error because it tries
to include api_v3_pcp.php after having included api_v3_PCP.php & thinks they are 2 files.
This is a Mac so obviously the handling is different to the jenkins method. Not overwriting the
param if passed in works locally
Eileen McNaughton [Mon, 29 Jan 2018 20:47:55 +0000 (09:47 +1300)]
Merge pull request #11605 from alifrumin/crm21724
CRM-21724 sending membership id when looking up custom field values
colemanw [Mon, 29 Jan 2018 19:26:11 +0000 (14:26 -0500)]
Merge pull request #11583 from eileenmcnaughton/api_metadata
CRM-21707 use serialisation metadata from api basic_create_fallback.
colemanw [Mon, 29 Jan 2018 19:14:40 +0000 (14:14 -0500)]
Merge pull request #11567 from eileenmcnaughton/api_custom
Towards CRM-21140, support at api level for custom data on any entity.
Alice Frumin [Mon, 29 Jan 2018 17:17:27 +0000 (12:17 -0500)]
CRM-21724 sending membership id when looking up custom field values
Pradeep Nayak [Mon, 29 Jan 2018 05:13:03 +0000 (10:43 +0530)]
CRM-21721, fixed notice error for Division by zero
----------------------------------------
* CRM-21721: Notice : Division by zero
https://issues.civicrm.org/jira/browse/CRM-21721
Eileen McNaughton [Sun, 28 Jan 2018 21:55:58 +0000 (10:55 +1300)]
Merge pull request #11594 from mfb/ellipsify-mb_strlen
Use mb_strlen() in ellipsify() to avoid excessive multibyte truncation
colemanw [Sun, 28 Jan 2018 21:52:22 +0000 (16:52 -0500)]
Merge pull request #11595 from seamuslee001/multiple_relationship_type
CRM-21717 Allow for selecting multiple relationship types in Advanced Search
Eileen McNaughton [Sun, 28 Jan 2018 21:31:21 +0000 (10:31 +1300)]
Merge pull request #11598 from seamuslee001/CRM-20769-js
CRM-20769 Add in cancel_button_text and submit_button_text fields to the civicr…
Eileen McNaughton [Sun, 28 Jan 2018 21:06:51 +0000 (10:06 +1300)]
Merge pull request #11584 from mlutfy/report-act-nfc
CRM-21715 Activity Report: move SQL creation in a buildQuery function.
Seamus Lee [Sun, 28 Jan 2018 05:34:06 +0000 (16:34 +1100)]
CRM-21719 Require Multibyte PHP extension
Seamus Lee [Sun, 28 Jan 2018 04:14:24 +0000 (15:14 +1100)]
Add in cancel_button_text and submit_button_text fields to the civicrm_uf schema in crm.uf.js
Seamus Lee [Sat, 27 Jan 2018 23:54:13 +0000 (10:54 +1100)]
Minor fixes and add unit tests
Mathieu Lutfy [Thu, 25 Jan 2018 03:53:42 +0000 (22:53 -0500)]
CRM-21715: Activity Report: move SQL creation in a buildQuery function.
mark burdett [Fri, 26 Jan 2018 20:48:25 +0000 (12:48 -0800)]
Use mb_strlen() in ellipsify() to avoid excessive multibyte truncation
mark burdett [Fri, 26 Jan 2018 20:28:56 +0000 (12:28 -0800)]
Amount and source could exceed max length of subject column
Seamus Lee [Fri, 26 Jan 2018 06:48:58 +0000 (17:48 +1100)]
Allow for selecting multiple relationship types in Advanced Search
eileen [Thu, 25 Jan 2018 23:02:26 +0000 (12:02 +1300)]
CRM-21707 follow up fix - check keys as well as values for xss if we are going to encode json.
eileen [Thu, 25 Jan 2018 22:59:23 +0000 (11:59 +1300)]
CRM-21707 use metadata to validate 'parents' field on group.parents
There was a test attempting to pass
[1 => 'Test Group'] which was getting through to the BAO but I feel should
have been blocked at the api level as Test Group did not exist. We have existing code to validate against pseudoconstants but this was not kicking in
because
a) there was no pseudoconstant defined for the field
b) we were giving TEXT fields less validation than STRING fields
(the assumption looks like it was that they were html fields but that is
not consistent & IMHO non of the additional checks are harmful.)
c) the getoptions was failing because it was passing 'validate' in
as a param to the pseudoconstant once set up, I handled that in
the pseudoconstant function.
I also altered the test to see [1 => 'non existent group'] as a fail
(rather than converting it to group = 1 & succeed.
There are a couple of follow on thoughts I have
1) I think we should xss check keys as well as values - will add that as a commit
2) there may be a very very hypothetical hole in _civicrm_api3_api_match_pseudoconstant_value - if is empty it returns early. I think that used
to be valid as some psuedoconstants were not resolveable but now
I think if options is empty it means there are no valid options &
it should be rejected. Note that these strings are still xss checked.
eileen [Thu, 25 Jan 2018 03:09:23 +0000 (16:09 +1300)]
CRM-21707 use serialisation metadata from api basic_create_fallback.
In order to add a unit test I enabled the same in-DAO handling on the Group BAO create
(since core api don't use the fallback). It allowed me to remove cruft and
to remove comments about removing cruft.
With this in place a custom entity (in an extension) could define
<pseudoconstant>
<optionGroupName>group_type</optionGroupName>
</pseudoconstant>
<serialize>SEPARATOR_BOOKEND</serialize>
and that field would accept an array of valid names that map to group_types
and the api would handle the serialisation. api v4 supports this so good prep
Eileen McNaughton [Thu, 25 Jan 2018 20:46:09 +0000 (09:46 +1300)]
Merge pull request #11527 from lemacarl/CRM-21524
CRM-21524 - Fix merge contacts when one is deceased
Lema Carl Andrew [Thu, 25 Jan 2018 06:01:02 +0000 (09:01 +0300)]
CRM-21524 - CRM\Export - Fix merge contacts when deceased
Eileen McNaughton [Thu, 25 Jan 2018 04:51:43 +0000 (17:51 +1300)]
Merge pull request #11563 from eileenmcnaughton/static
CRM-21256 Improve performance of payment processor load
colemanw [Thu, 25 Jan 2018 02:48:44 +0000 (21:48 -0500)]
Merge pull request #11569 from eileenmcnaughton/api_clean
Minor api clean up.
Tim Otten [Wed, 24 Jan 2018 22:19:08 +0000 (14:19 -0800)]
Merge pull request #11576 from totten/master-wporg2
CRM-16421 - Add civicrm-setup. Build civicrm-*-wporg.zip
Eileen McNaughton [Wed, 24 Jan 2018 20:15:56 +0000 (09:15 +1300)]
Merge pull request #11580 from seamuslee001/CRM-21687
CRM-21687 fix issue with MariaDB 10.2 logging query writing due to cu…
Coleman Watts [Wed, 24 Jan 2018 16:13:02 +0000 (11:13 -0500)]
Api4 - Update entity directory
colemanw [Wed, 24 Jan 2018 16:28:34 +0000 (11:28 -0500)]
Merge pull request #11582 from colemanw/Api4
Api4 - Update entity directory
Coleman Watts [Wed, 24 Jan 2018 16:13:02 +0000 (11:13 -0500)]
Api4 - Update entity directory
Tunbola Ogunwande [Wed, 24 Jan 2018 15:28:36 +0000 (16:28 +0100)]
CRM-21704: Do not allow reserved Case Types to be disabled/deleted on Case Types Listing page.
Seamus Lee [Tue, 23 Jan 2018 23:29:44 +0000 (10:29 +1100)]
CRM-21687 fix issue with MariaDB 10.2 logging query writing due to current_timestamp and timestamp getting () added on the end in Maria10.2
Eileen McNaughton [Tue, 23 Jan 2018 22:06:42 +0000 (11:06 +1300)]
Merge pull request #11163 from mickadoo/CRM-21334-fire-hooks-on-contact-image-deletion
CRM-21334: Fire hooks on Contact Image Deletion
Eileen McNaughton [Tue, 23 Jan 2018 21:52:55 +0000 (10:52 +1300)]
Merge pull request #11579 from jmcclelland/CRM-21701
CRM-21701 - ensure street addresses are parsed
Eileen McNaughton [Tue, 23 Jan 2018 20:31:14 +0000 (09:31 +1300)]
Merge pull request #11574 from eileenmcnaughton/test_fixes
Test fixes, towards CRM-17647
eileen [Tue, 23 Jan 2018 08:16:50 +0000 (21:16 +1300)]
CRM-17647 fix ContributionForm to use skipCleanMoney on update & update tests to cover
Jamie McClelland [Tue, 23 Jan 2018 15:03:17 +0000 (10:03 -0500)]
CRM-21701 - ensure street addresses are parsed
Even if USPS street parsing is disabled.
colemanw [Tue, 23 Jan 2018 14:54:30 +0000 (09:54 -0500)]
Merge pull request #11577 from eileenmcnaughton/format_amount
CRM-21698 Format amount
eileen [Tue, 23 Jan 2018 08:54:43 +0000 (21:54 +1300)]
CRM-21698 move formatting to processor class.
This moves the fix for CRM-16460 to the processor class, providing a helper function.
The fix put number formatting deep into the BAO - when they don't work right
(depending on presence of money_format function I think) negative amounts
become 0
Tim Otten [Tue, 23 Jan 2018 07:41:15 +0000 (23:41 -0800)]
CRM-16421 - distmaker - Generate civicrm-*-wporg.zip
Tim Otten [Tue, 23 Jan 2018 06:38:05 +0000 (22:38 -0800)]
CRM-16421 - gitignore - Ignore the flag-file for civicrm-setup
----------------------------------------
* CRM-16421: Work to get CiviCRM for WordPress in WordPress' official Repository
https://issues.civicrm.org/jira/browse/CRM-16421
Tim Otten [Tue, 23 Jan 2018 06:37:49 +0000 (22:37 -0800)]
CRM-16421 - composer.json - Include civicrm-setup library
----------------------------------------
* CRM-16421: Work to get CiviCRM for WordPress in WordPress' official Repository
https://issues.civicrm.org/jira/browse/CRM-16421
eileen [Tue, 23 Jan 2018 05:21:51 +0000 (18:21 +1300)]
Test fixes, towards CRM-17647
Test fixes towards never calling Contribution::Create without skipCleanMoney
Eileen McNaughton [Mon, 22 Jan 2018 22:49:17 +0000 (11:49 +1300)]
Merge pull request #11572 from civicrm/4.7.30-rc
4.7.30 rc to master
Eileen McNaughton [Mon, 22 Jan 2018 22:48:35 +0000 (11:48 +1300)]
Merge pull request #11548 from eileenmcnaughton/money_rc
CRM-17647 fix for submitting payment with thousand separator
colemanw [Mon, 22 Jan 2018 22:08:17 +0000 (17:08 -0500)]
Merge pull request #11568 from eileenmcnaughton/CRM-21071
CRM-21071 - Fix event location saving
Johan Vervloet [Mon, 22 Jan 2018 02:46:33 +0000 (15:46 +1300)]
CRM-19920 - membership processing enhancements
Process deceased contacts first, remove smarty var that related to the old email
reminder process, add test.
eileen [Mon, 22 Jan 2018 03:02:08 +0000 (16:02 +1300)]
Minor api clean up.
Increase places where entity passed to 'basic_create'
Monish Deb [Mon, 22 Jan 2018 06:34:36 +0000 (12:04 +0530)]
Merge pull request #11525 from eileenmcnaughton/deprecated
CRM-21660 Remove use of deprecated function on mapping_type
eileen [Mon, 22 Jan 2018 04:30:31 +0000 (17:30 +1300)]
CRM-21071 fix form to hold id before callling (nasty) block:create