JKingsnorth [Thu, 22 Feb 2018 14:02:56 +0000 (14:02 +0000)]
CRM-21773 Refactor related table static variable caches to support unit testing
systopia [Thu, 15 Feb 2018 16:46:26 +0000 (17:46 +0100)]
fixing CRM-21773
JKingsnorth [Mon, 19 Feb 2018 10:54:23 +0000 (10:54 +0000)]
CRM-21773 Test for merging multi-value custom fields
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 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 …
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
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
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 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
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
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
Coleman Watts [Wed, 27 Sep 2017 23:11:08 +0000 (19:11 -0400)]
CRM-21071 - Simplify event location form to not use ajax
This form does not do anything dynamic so ajax was unnecessarily complex.
eileen [Mon, 22 Jan 2018 03:19:21 +0000 (16:19 +1300)]
Towards CRM-21140, support at api level for custom data on any entity.
This extends the ability to support additional entities for custom data by
adding them to the OptionGroup 'cg_extends'. At this stage there
are 2 additional tested (supported) entities - UFGroup, PriceSet, PaymentToken.
Will add more next iteration
Eileen McNaughton [Mon, 22 Jan 2018 03:21:25 +0000 (16:21 +1300)]
Merge pull request #11566 from eileenmcnaughton/typo
Fix typo (very recent)
eileen [Mon, 22 Jan 2018 03:10:52 +0000 (16:10 +1300)]
Fix typo (very recent)
eileen [Sun, 21 Jan 2018 22:48:23 +0000 (11:48 +1300)]
CRM-21256 Improve performance of payment processor load
colemanw [Sun, 21 Jan 2018 22:39:05 +0000 (17:39 -0500)]
Merge pull request #11561 from mattwire/CRM-21688_fontawesome_membership_autorenew
CRM-21688 Use fontawesome check for membership auto-renew status
Eileen McNaughton [Sun, 21 Jan 2018 22:38:39 +0000 (11:38 +1300)]
Merge pull request #11424 from mattwire/CRM-21573_disable_contact_email_receiptfrom
CRM-21573 Allow to disable sending of email from activity source contact email for receipt
Eileen McNaughton [Sun, 21 Jan 2018 22:30:04 +0000 (11:30 +1300)]
Merge pull request #11398 from yashodha/CRM-21540
CRM-21540 - Add support for auto-complete fields in the batch entry f…
Eileen McNaughton [Sun, 21 Jan 2018 22:18:53 +0000 (11:18 +1300)]
Merge pull request #11486 from jitendrapurohit/CRM-21622fix
CRM-21623 - Smart Group Relative Date not saving for some fields in A…
Eileen McNaughton [Sun, 21 Jan 2018 21:57:38 +0000 (10:57 +1300)]
Merge pull request #11557 from JKingsnorth/CRM-21683
CRM-21683 Standardise filter in mailing summary report
Eileen McNaughton [Sun, 21 Jan 2018 21:31:43 +0000 (10:31 +1300)]
Merge pull request #11536 from mattwire/CRM-21671_abstract_core_task
CRM-21671 abstract core task
Matthew Wire [Sat, 20 Jan 2018 03:56:33 +0000 (10:56 +0700)]
Use fontawesome check for membership auto-renew status and add exclamation for auto-renew but error (eg. subscription cancelled).
Tim Otten [Sat, 20 Jan 2018 23:49:00 +0000 (15:49 -0800)]
Merge pull request #11052 from totten/master-dm-iats
EXT-56 - Add com.iatspayments.civicrm to tarballs
colemanw [Fri, 19 Jan 2018 21:28:01 +0000 (16:28 -0500)]
Merge pull request #11372 from ejegg/apiFixAddress
Add API parameter for fix_address
colemanw [Fri, 19 Jan 2018 21:24:54 +0000 (16:24 -0500)]
Merge pull request #11559 from mountev/4.7-contact-subtype-prevents-inclusion-in-profile
CRM-21684 contact subtype fields prevent inclusion in profile/receipt…
Eileen McNaughton [Fri, 19 Jan 2018 20:38:01 +0000 (09:38 +1300)]
Merge pull request #10485 from lcdservices/CRM-20707
CRM-20707 include start/end dates when updating membership
Mountev [Fri, 19 Jan 2018 18:37:41 +0000 (18:37 +0000)]
CRM-21684 contact subtype fields prevent inclusion in profile/receipt email
colemanw [Fri, 19 Jan 2018 14:08:32 +0000 (09:08 -0500)]
Merge pull request #11555 from mattwire/CRM-21511_recur_on_membership_detail_fix
CRM-21511 Fix template variable for contribution_recur_id
JKingsnorth [Fri, 19 Jan 2018 10:43:05 +0000 (10:43 +0000)]
CRM-21683 Standardise filter in mailing summary report
Matthew Wire [Fri, 19 Jan 2018 05:36:58 +0000 (12:36 +0700)]
Fix template variable for contribution_recur_id
Brian Shaughnessy [Fri, 19 Jan 2018 03:49:28 +0000 (22:49 -0500)]
CRM-20707 include start/end dates when updating membership
Matthew Wire [Fri, 19 Jan 2018 03:21:14 +0000 (10:21 +0700)]
Fix docblock type definitions
Matthew Wire [Tue, 2 Jan 2018 09:04:15 +0000 (16:04 +0700)]
Convert Event to use core Task class
Matthew Wire [Tue, 2 Jan 2018 09:00:40 +0000 (16:00 +0700)]
Add abstract core Task class