civicrm-core.git
5 years agoMerge pull request #13458 from mattwire/unused_var_caseformcustomdata
Eileen McNaughton [Tue, 15 Jan 2019 23:21:40 +0000 (12:21 +1300)]
Merge pull request #13458 from mattwire/unused_var_caseformcustomdata

REF Remove duplicate call to session singleton

5 years agoMerge pull request #13453 from eileenmcnaughton/report_tpl
colemanw [Tue, 15 Jan 2019 22:46:06 +0000 (17:46 -0500)]
Merge pull request #13453 from eileenmcnaughton/report_tpl

Escape the header title & section title in reports to better support extensions

5 years agoMerge pull request #13465 from mlutfy/setLocale
colemanw [Tue, 15 Jan 2019 22:40:52 +0000 (17:40 -0500)]
Merge pull request #13465 from mlutfy/setLocale

setLocale: precaution for when setLocale is called on an unilingual site

5 years agoMerge pull request #13455 from eileenmcnaughton/payment_email_test
Seamus Lee [Tue, 15 Jan 2019 19:52:18 +0000 (06:52 +1100)]
Merge pull request #13455 from eileenmcnaughton/payment_email_test

Add unit test for emailing receipts from additional payment page

5 years agosetLocale: precaution for when setLocale is called on an unilingual site
Mathieu Lutfy [Tue, 15 Jan 2019 19:14:53 +0000 (14:14 -0500)]
setLocale: precaution for when setLocale is called on an unilingual site

5 years agoRemove duplicate call to session singleton
Matthew Wire (MJW Consulting) [Tue, 15 Jan 2019 10:48:11 +0000 (10:48 +0000)]
Remove duplicate call to session singleton

5 years agoAdd unit test for payment email from AdditionalPayment form, rationalise some paramet...
eileen [Tue, 15 Jan 2019 05:44:19 +0000 (18:44 +1300)]
Add unit test for payment email from AdditionalPayment form, rationalise some parameters to do this.

Note that the goal is to move this function off this class to somewhere api accessible so breaking the connections
with the form makes sense & in fact some like the fromEmails handling are really just badly copied & pasted from elsewhere
(ie. the fromEmailIds doesn't exist & is created on the fly to house the email being passed in

5 years agoMerge pull request #13444 from eileenmcnaughton/payment_smarty
Seamus Lee [Tue, 15 Jan 2019 03:16:03 +0000 (14:16 +1100)]
Merge pull request #13444 from eileenmcnaughton/payment_smarty

[REF] Replace ->assign with CRM_Core_Smarty::singleton()->assign in preparation for making function shareable

5 years agoEscape the header title & section title in reports.
eileen [Tue, 15 Jan 2019 02:43:34 +0000 (15:43 +1300)]
Escape the header title & section title in reports.

In extended reports I'm making it possible for column titles to be user edited. since they will represent user input it
makes sense to escape on output. I think core makes sense as the place to do this as it is best practice
to escape all output in the smarty layer and I have tested that it still works fine

5 years agoMerge pull request #13450 from civicrm/5.10
Eileen McNaughton [Mon, 14 Jan 2019 23:05:52 +0000 (12:05 +1300)]
Merge pull request #13450 from civicrm/5.10

5.10 to master

5 years agoMerge pull request #13448 from eileenmcnaughton/everyone_510
Eileen McNaughton [Mon, 14 Jan 2019 23:03:01 +0000 (12:03 +1300)]
Merge pull request #13448 from eileenmcnaughton/everyone_510

Fix unreleased regression on building GroupContact clause

5 years agoMerge pull request #13449 from colemanw/caseDateSearch
Eileen McNaughton [Mon, 14 Jan 2019 23:01:43 +0000 (12:01 +1300)]
Merge pull request #13449 from colemanw/caseDateSearch

Fix broken case activity date filter

5 years agoFix unreleased regression whereby acls are skipped for groups
eileen [Mon, 14 Jan 2019 10:39:03 +0000 (23:39 +1300)]
Fix unreleased regression whereby acls are skipped for groups

5 years agoFix broken case activity date filter
Coleman Watts [Mon, 14 Jan 2019 17:22:07 +0000 (12:22 -0500)]
Fix broken case activity date filter

5 years agoMerge pull request #13438 from colemanw/timeIcon
colemanw [Mon, 14 Jan 2019 14:54:46 +0000 (09:54 -0500)]
Merge pull request #13438 from colemanw/timeIcon

Use icon for timepicker placeholder

5 years agoAdd unit test to cover granting everyone' group permission to access a group
eileen [Mon, 14 Jan 2019 09:04:45 +0000 (22:04 +1300)]
Add unit test to cover granting everyone' group permission to access a group

5 years agoMerge pull request #13447 from eileenmcnaughton/dumb_stuff
Seamus Lee [Mon, 14 Jan 2019 07:28:21 +0000 (18:28 +1100)]
Merge pull request #13447 from eileenmcnaughton/dumb_stuff

[tidy-up] remove a couple of useless bits of code

5 years agoMerge pull request #13443 from eileenmcnaughton/move_payment
Seamus Lee [Mon, 14 Jan 2019 06:09:26 +0000 (17:09 +1100)]
Merge pull request #13443 from eileenmcnaughton/move_payment

[REF] Create pseudo bao CRM_Financial_BAO_Payment & move create function to  it

5 years agoMerge pull request #13446 from civicrm/5.10
Eileen McNaughton [Mon, 14 Jan 2019 05:23:14 +0000 (18:23 +1300)]
Merge pull request #13446 from civicrm/5.10

5.10

5 years agoRemove verify_mandatory that does nothing due to nothing to verify
eileen [Mon, 14 Jan 2019 05:22:49 +0000 (18:22 +1300)]
Remove verify_mandatory that does nothing due to nothing to verify

5 years agoRemove unused parameter
eileen [Mon, 14 Jan 2019 05:22:05 +0000 (18:22 +1300)]
Remove unused parameter

5 years agoMerge pull request #13445 from seamuslee001/dev-656
Seamus Lee [Mon, 14 Jan 2019 02:01:53 +0000 (13:01 +1100)]
Merge pull request #13445 from seamuslee001/dev-656

(dev/core#656) unreleased regression - attendee report generates unde…

5 years ago(dev/core#656) unreleased regression - attendee report generates undefined property...
yashodha [Thu, 10 Jan 2019 12:07:34 +0000 (17:37 +0530)]
(dev/core#656) unreleased regression - attendee report generates undefined property notice

5 years agoReplace ->assign with CRM_Core_Smarty::singleton()->assign in preparation for making...
eileen [Sun, 13 Jan 2019 22:59:15 +0000 (11:59 +1300)]
Replace ->assign with CRM_Core_Smarty::singleton()->assign in preparation for making function shareable

Per PR 1330 there is an intention to make this form receipting function a shared function. Part of making it sharable is making it static.

This is a preparatory refactor towards that end, getting rid of the 'this' in assigning variables to smarty

5 years agoCreate pseudo bao CRM_Financial_BAO_Payment & move create function to it.
eileen [Sun, 13 Jan 2019 22:30:11 +0000 (11:30 +1300)]
Create pseudo bao CRM_Financial_BAO_Payment & move create function to it.

This is per discussions coming off https://github.com/civicrm/civicrm-core/pull/13330

Note that this ONLY moves the code - that PR does other things as well that still need to be worked through

5 years agoUse icon for timepicker placeholder
Coleman Watts [Sat, 12 Jan 2019 01:04:56 +0000 (20:04 -0500)]
Use icon for timepicker placeholder

5 years agoMerge pull request #13412 from mattwire/extract_customData
Seamus Lee [Fri, 11 Jan 2019 20:46:29 +0000 (07:46 +1100)]
Merge pull request #13412 from mattwire/extract_customData

REF Convert forms to standard customData template

5 years agoDon't call getEntitySubTypeId if a subType is not defined
Matthew Wire (MJW Consulting) [Fri, 11 Jan 2019 18:55:07 +0000 (18:55 +0000)]
Don't call getEntitySubTypeId if a subType is not defined

5 years agoMerge pull request #13134 from agileware/CIVICRM-1006
colemanw [Fri, 11 Jan 2019 16:10:20 +0000 (11:10 -0500)]
Merge pull request #13134 from agileware/CIVICRM-1006

dev/core#500 Fix user-specific Case filtering on dashboard and searches to exclude cases from inactive relationships

5 years agoMerge pull request #13433 from colemanw/actSub
Yashodha Chaku [Fri, 11 Jan 2019 13:22:44 +0000 (18:52 +0530)]
Merge pull request #13433 from colemanw/actSub

Fix undefined index warning

5 years agoMerge pull request #13377 from eileenmcnaughton/activity_extract2
colemanw [Fri, 11 Jan 2019 00:54:50 +0000 (19:54 -0500)]
Merge pull request #13377 from eileenmcnaughton/activity_extract2

Fix activity.getcount function to filter out unpermitted activities.

5 years agoMerge pull request #13409 from yashodha/dev-646
Seamus Lee [Thu, 10 Jan 2019 20:05:40 +0000 (07:05 +1100)]
Merge pull request #13409 from yashodha/dev-646

(dev/core#646) Event date sorting doesn't work for ical listing

5 years agoFix undefined index warning
Coleman Watts [Thu, 10 Jan 2019 17:05:23 +0000 (12:05 -0500)]
Fix undefined index warning

5 years agoMerge pull request #13430 from civicrm/5.10
Seamus Lee [Thu, 10 Jan 2019 10:08:16 +0000 (21:08 +1100)]
Merge pull request #13430 from civicrm/5.10

5.10

5 years agoMerge pull request #13429 from seamuslee001/5.10
Seamus Lee [Thu, 10 Jan 2019 10:03:41 +0000 (21:03 +1100)]
Merge pull request #13429 from seamuslee001/5.10

Port Test fixes to 5.10

5 years ago(NFC) Ensure that when loading in the test data it is done with UTF8 encoding
Seamus Lee [Mon, 7 Jan 2019 21:17:13 +0000 (08:17 +1100)]
(NFC) Ensure that when loading in the test data it is done with UTF8 encoding

5 years ago(dev/core#647) Fix up Test Class names and file names to ensure all test classes...
Seamus Lee [Mon, 7 Jan 2019 23:55:29 +0000 (10:55 +1100)]
(dev/core#647) Fix up Test Class names and file names to ensure all test classes are run by Jenkins

5 years ago(dev/core#647) Fix Up Contact Selector Test by changing class name to get test to...
Seamus Lee [Tue, 8 Jan 2019 01:18:10 +0000 (12:18 +1100)]
(dev/core#647) Fix Up Contact Selector Test by changing class name to get test to run and make changes following code changes that affect clauses and calling get rows

CRM_Contact_SelectorTest - Fix escaping

(dev/core#217) CRM_Contact_SelectorTest - Remove stale/unnecessary assertion

The table `civicrm_prevnext_cache` includes three columns (`entity_id1`,
`entity_id2`, `entity_table`).  These columns have some use-cases (e.g.  for
deduping) and some historical value, but the only one needed for
caching search-results is `entity_id1`.

dev/core#217 introduced an interface `CRM_Core_PrevNextCache_Interface` for
caching search-results.  This interface only passes through a list of CID's
(effectively `entity_id1`); because we don't need `entity_id2` and
`entity_table`, it makes no provisions for passing them through, and they're
not saved.  This simplifies the interface and makes it more realistic to
implement alternative prevnext storage mechanisms.

5 years agoMerge pull request #13211 from eileenmcnaughton/search_grant
colemanw [Thu, 10 Jan 2019 02:39:47 +0000 (21:39 -0500)]
Merge pull request #13211 from eileenmcnaughton/search_grant

dev/core#561 Convert grant search fields to use datepicker

5 years agoMerge pull request #13395 from eileenmcnaughton/datepicker-update
colemanw [Thu, 10 Jan 2019 02:39:27 +0000 (21:39 -0500)]
Merge pull request #13395 from eileenmcnaughton/datepicker-update

Add routine for updating smartgroups, currently handling datepicker conversion

5 years agoMerge pull request #13426 from eileenmcnaughton/report_instance_domain
Seamus Lee [Wed, 9 Jan 2019 23:51:10 +0000 (10:51 +1100)]
Merge pull request #13426 from eileenmcnaughton/report_instance_domain

Add default for domain_id for report_instance.

5 years agoMerge pull request #13428 from mattwire/nfc_membership_function
Eileen McNaughton [Wed, 9 Jan 2019 19:55:33 +0000 (08:55 +1300)]
Merge pull request #13428 from mattwire/nfc_membership_function

REF Remove redundant function

5 years agoRemove redundant function
Matthew Wire (MJW Consulting) [Wed, 9 Jan 2019 15:27:17 +0000 (15:27 +0000)]
Remove redundant function

5 years agoCIVICRM-1128: Added Unit Tests to validate the Case counts when case role is active...
Alok Patel [Wed, 9 Jan 2019 07:24:08 +0000 (12:54 +0530)]
CIVICRM-1128: Added Unit Tests to validate the Case counts when case role is active/inactive.

5 years agoMerge pull request #13416 from seamuslee001/647_selector_test
Eileen McNaughton [Wed, 9 Jan 2019 05:13:29 +0000 (18:13 +1300)]
Merge pull request #13416 from seamuslee001/647_selector_test

(dev/core#647) Fix Up Contact Selector Test by changing class name to…

5 years agoAdd default for domain_id for report_instance.
eileen [Wed, 9 Jan 2019 05:11:35 +0000 (18:11 +1300)]
Add default for domain_id for report_instance.

This is consistent with other api like Job, MembershipType, PaymentProcessor

5 years agoMerge pull request #13424 from seamuslee001/dev-drupal-43
Mathieu Lu [Wed, 9 Jan 2019 00:02:35 +0000 (19:02 -0500)]
Merge pull request #13424 from seamuslee001/dev-drupal-43

dev/drupal#43 Update composer requirement on PSR Log and civicrm-cxn-…

5 years ago(dev/core#647) Fix Up Contact Selector Test by changing class name to get test to...
Seamus Lee [Tue, 8 Jan 2019 01:18:10 +0000 (12:18 +1100)]
(dev/core#647) Fix Up Contact Selector Test by changing class name to get test to run and make changes following code changes that affect clauses and calling get rows

CRM_Contact_SelectorTest - Fix escaping

(dev/core#217) CRM_Contact_SelectorTest - Remove stale/unnecessary assertion

The table `civicrm_prevnext_cache` includes three columns (`entity_id1`,
`entity_id2`, `entity_table`).  These columns have some use-cases (e.g.  for
deduping) and some historical value, but the only one needed for
caching search-results is `entity_id1`.

dev/core#217 introduced an interface `CRM_Core_PrevNextCache_Interface` for
caching search-results.  This interface only passes through a list of CID's
(effectively `entity_id1`); because we don't need `entity_id2` and
`entity_table`, it makes no provisions for passing them through, and they're
not saved.  This simplifies the interface and makes it more realistic to
implement alternative prevnext storage mechanisms.

5 years agoMerge pull request #13419 from tschuettler/37-dev-mail
Eileen McNaughton [Tue, 8 Jan 2019 23:18:36 +0000 (12:18 +1300)]
Merge pull request #13419 from tschuettler/37-dev-mail

dev/mail#37 - Replace non-supported 4-byte unicode characters in bounce processing

5 years agodev/mail#43 Update composer requirement on PSR Log and civicrm-cxn-rpc to fix compata...
Seamus Lee [Tue, 8 Jan 2019 20:38:21 +0000 (07:38 +1100)]
dev/mail#43 Update composer requirement on PSR Log and civicrm-cxn-rpc to fix compatability issue with psr/log from Drupal8

5 years agoMerge pull request #13422 from colemanw/dev/core#561
Seamus Lee [Tue, 8 Jan 2019 22:46:43 +0000 (09:46 +1100)]
Merge pull request #13422 from colemanw/dev/core#561

dev/core#561 - Convert campaign form date fields

5 years agoMerge pull request #13423 from colemanw/dev/core#561-followup
Seamus Lee [Tue, 8 Jan 2019 20:31:18 +0000 (07:31 +1100)]
Merge pull request #13423 from colemanw/dev/core#561-followup

dev/core#561 - Convert activity followup form date field

5 years agoMerge pull request #13420 from yashodha/dev-649
Seamus Lee [Tue, 8 Jan 2019 20:21:46 +0000 (07:21 +1100)]
Merge pull request #13420 from yashodha/dev-649

(dev/core#649) DB error on Find Activities with follow up criteria

5 years agodev/core#561 - Convert activity followup form date field
Coleman Watts [Tue, 8 Jan 2019 18:18:12 +0000 (13:18 -0500)]
dev/core#561 - Convert activity followup form date field

5 years agodev/core#561 - Convert campaign form date fields
Coleman Watts [Tue, 8 Jan 2019 17:08:39 +0000 (12:08 -0500)]
dev/core#561 - Convert campaign form date fields

5 years ago(dev/core#649) DB error on Find Activities with follow up criteria
yashodha [Tue, 8 Jan 2019 14:34:15 +0000 (20:04 +0530)]
(dev/core#649) DB error on Find Activities with follow up criteria

5 years agoMerge pull request #13394 from totten/master-srchcache
colemanw [Tue, 8 Jan 2019 13:34:51 +0000 (08:34 -0500)]
Merge pull request #13394 from totten/master-srchcache

(dev/core#635) Reduce unnecessary SQL writes

5 years agoReplace 4-byte utf8 characters with unicode replacement character
Thomas Schüttler [Tue, 8 Jan 2019 12:55:50 +0000 (13:55 +0100)]
Replace 4-byte utf8 characters with unicode replacement character

5 years agoAdd unit test for utf8mb4 unicode character
Thomas Schüttler [Tue, 8 Jan 2019 12:38:07 +0000 (13:38 +0100)]
Add unit test for utf8mb4 unicode character

5 years agoMerge pull request #12923 from vinuvarshith/scheduled-reminders-error-fix
Seamus Lee [Tue, 8 Jan 2019 07:40:38 +0000 (18:40 +1100)]
Merge pull request #12923 from vinuvarshith/scheduled-reminders-error-fix

dev/core#434: Check If 'absolute_date' Is Used In 'prepareRepetitionEndFilter' To Prevent SQL Error

5 years agoMerge pull request #13415 from seamuslee001/nfc_test_file_fixes
Seamus Lee [Tue, 8 Jan 2019 05:05:06 +0000 (16:05 +1100)]
Merge pull request #13415 from seamuslee001/nfc_test_file_fixes

(dev/core#647) Fix up Test Class names and file names to ensure all t…

5 years agoMerge pull request #13417 from civicrm/5.10
Eileen McNaughton [Tue, 8 Jan 2019 02:33:18 +0000 (15:33 +1300)]
Merge pull request #13417 from civicrm/5.10

5.10

5 years agoMerge pull request #13414 from eileenmcnaughton/count
Seamus Lee [Tue, 8 Jan 2019 02:28:30 +0000 (13:28 +1100)]
Merge pull request #13414 from eileenmcnaughton/count

Fix php 7.2 countable warning

5 years ago(dev/core#647) Fix up Test Class names and file names to ensure all test classes...
Seamus Lee [Mon, 7 Jan 2019 23:55:29 +0000 (10:55 +1100)]
(dev/core#647) Fix up Test Class names and file names to ensure all test classes are run by Jenkins

5 years agoFix php 7.2 countable warning
eileen [Mon, 7 Jan 2019 22:32:03 +0000 (11:32 +1300)]
Fix php 7.2 countable warning

per https://lab.civicrm.org/dev/core/issues/406#note_12393
Warning: count(): Parameter must be an array or an object that implements Countable in CRM_Event_Form_Participant->submit() (line 1722 of .../all/modules/civicrm/CRM/Event/Form/Participant.php).

5 years agoMerge pull request #13252 from jmcclelland/issue586
Eileen McNaughton [Mon, 7 Jan 2019 22:52:26 +0000 (11:52 +1300)]
Merge pull request #13252 from jmcclelland/issue586

PCP report - fix number of donors and total committed.

5 years agoMerge pull request #13413 from seamuslee001/nfc_test_utf8
Eileen McNaughton [Mon, 7 Jan 2019 22:51:44 +0000 (11:51 +1300)]
Merge pull request #13413 from seamuslee001/nfc_test_utf8

(NFC) Ensure that when loading in the test data it is done with UTF8 …

5 years agoConvert Membership/Membership Renewal forms to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:55:53 +0000 (17:55 +0000)]
Convert Membership/Membership Renewal forms to standard customData template

5 years agoConvert Grant form to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:55:27 +0000 (17:55 +0000)]
Convert Grant form to standard customData template

5 years agoConvert Manage Event Info form to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:55:10 +0000 (17:55 +0000)]
Convert Manage Event Info form to standard customData template

5 years agoConvert UpdateSubscription form to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:54:40 +0000 (17:54 +0000)]
Convert UpdateSubscription form to standard customData template

5 years agoConvert contribution form to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:54:22 +0000 (17:54 +0000)]
Convert contribution form to standard customData template

5 years agoConvert activity form to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:53:14 +0000 (17:53 +0000)]
Convert activity form to standard customData template

5 years agoConvert case/case activity forms to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:51:24 +0000 (17:51 +0000)]
Convert case/case activity forms to standard customData template

5 years agoConvert Survey/Petition to standard customData template
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 17:50:09 +0000 (17:50 +0000)]
Convert Survey/Petition to standard customData template

5 years ago(NFC) Ensure that when loading in the test data it is done with UTF8 encoding
Seamus Lee [Mon, 7 Jan 2019 21:17:13 +0000 (08:17 +1100)]
(NFC) Ensure that when loading in the test data it is done with UTF8 encoding

5 years agoPCP report - fix number of donors and total committed.
Jamie McClelland [Tue, 11 Dec 2018 21:40:58 +0000 (16:40 -0500)]
PCP report - fix number of donors and total committed.

ensure number of donors and committed are properly calculated in the PCP
report.

See: https://lab.civicrm.org/dev/core/issues/586

5 years agoMerge pull request #13411 from mattwire/fix_buildCustomDataTwice
colemanw [Mon, 7 Jan 2019 19:43:20 +0000 (14:43 -0500)]
Merge pull request #13411 from mattwire/fix_buildCustomDataTwice

Membership custom fields sometimes don't display

5 years agoFix build custom data twice on edit forms
Matthew Wire (MJW Consulting) [Mon, 7 Jan 2019 16:29:06 +0000 (16:29 +0000)]
Fix build custom data twice on edit forms

5 years agoMerge pull request #13408 from seamuslee001/lab_core_644
Monish Deb [Mon, 7 Jan 2019 12:28:43 +0000 (17:58 +0530)]
Merge pull request #13408 from seamuslee001/lab_core_644

(dev/core#644) Add in unit test showing backend able to handle user e…

5 years ago(dev/core#646) Event date sorting doesn't work for ical listing
yashodha [Mon, 7 Jan 2019 09:25:39 +0000 (14:55 +0530)]
(dev/core#646) Event date sorting doesn't work for ical listing

5 years agoMerge pull request #13407 from MegaphoneJon/core-644
Monish Deb [Mon, 7 Jan 2019 07:27:41 +0000 (12:57 +0530)]
Merge pull request #13407 from MegaphoneJon/core-644

core#644 - extract function to return correct mailbox header

5 years ago(dev/core#644) Add in unit test showing backend able to handle user email address...
Seamus Lee [Mon, 7 Jan 2019 03:41:25 +0000 (14:41 +1100)]
(dev/core#644) Add in unit test showing backend able to handle user email address as from email sensibly

5 years agoMerge pull request #13393 from eileenmcnaughton/free
Seamus Lee [Mon, 7 Jan 2019 00:02:00 +0000 (11:02 +1100)]
Merge pull request #13393 from eileenmcnaughton/free

dev/core#562 remove calls to dao->free() from api folder

5 years agoMerge pull request #13402 from pradpnayak/ReportDelete
Eileen McNaughton [Sun, 6 Jan 2019 21:53:11 +0000 (10:53 +1300)]
Merge pull request #13402 from pradpnayak/ReportDelete

Donot show delete task option on create new report

5 years agorename function and vars; move fix to common mail sending function
Jon Goldberg [Sun, 6 Jan 2019 21:02:55 +0000 (16:02 -0500)]
rename function and vars; move fix to common mail sending function

5 years agoMerge pull request #13397 from pradpnayak/AddressCustomFieldFix
Seamus Lee [Sun, 6 Jan 2019 19:31:56 +0000 (06:31 +1100)]
Merge pull request #13397 from pradpnayak/AddressCustomFieldFix

dev/core/issues/636 - Custom field for Address: The "No" value is not defaulted

5 years agocore#644 - extract function to return correct mailbox header
Jon Goldberg [Sat, 5 Jan 2019 20:46:25 +0000 (15:46 -0500)]
core#644 - extract function to return correct mailbox header

5 years agoMerge pull request #13406 from eileenmcnaughton/api_getsingle
Seamus Lee [Sat, 5 Jan 2019 20:30:29 +0000 (07:30 +1100)]
Merge pull request #13406 from eileenmcnaughton/api_getsingle

Fix bug where getsingle calls chained actions twice

5 years agoMerge pull request #13405 from davejenx/core-640-repeat-activity-permission
Seamus Lee [Sat, 5 Jan 2019 20:23:31 +0000 (07:23 +1100)]
Merge pull request #13405 from davejenx/core-640-repeat-activity-permission

Don't require CiviEvent permission to create repeating activity

5 years agoMerge pull request #13318 from eileenmcnaughton/api_perm
Eileen McNaughton [Sat, 5 Jan 2019 08:29:49 +0000 (21:29 +1300)]
Merge pull request #13318 from eileenmcnaughton/api_perm

Do not check financial permissions on contribution.create if check_perrmissions is FALSE.

5 years agodev/core#643 fix for double delete attempt when chained with getsingle
eileen [Fri, 4 Jan 2019 22:24:20 +0000 (11:24 +1300)]
dev/core#643 fix for double delete attempt when chained with getsingle

5 years agodev/core#643 Add test for bug with double chaining on getsingle
eileen [Fri, 4 Jan 2019 22:21:24 +0000 (11:21 +1300)]
dev/core#643 Add test for bug with double chaining on getsingle

5 years agoDo not check financial permissions on contribution.create if check_permissions is...
eileen [Wed, 19 Dec 2018 05:17:40 +0000 (18:17 +1300)]
Do not check financial permissions on contribution.create if check_permissions is FALSE.

Our standard is to only check permissions at the api layer if check_permissions is TRUE
(which is is by default for javascript calls but not in php calls)

5 years agoMerge pull request #13396 from tschuettler/36-dev-mail
Eileen McNaughton [Fri, 4 Jan 2019 21:05:16 +0000 (10:05 +1300)]
Merge pull request #13396 from tschuettler/36-dev-mail

dev/mail#36 - Fix invalid unicode characters in bounce processing

5 years agodev/core/issues/640: don't require 'access CiviEvent' permission for civicrm/recurrin...
Dave Jenkins [Fri, 4 Jan 2019 17:59:51 +0000 (17:59 +0000)]
dev/core/issues/640: don't require 'access CiviEvent' permission for civicrm/recurringentity/preview.

5 years agoDonot show delete task option on create new report
Pradeep Nayak [Fri, 4 Jan 2019 15:51:08 +0000 (15:51 +0000)]
Donot show delete task option on create new report

5 years agoMake class name match the filepath make tests run
Thomas Schüttler [Fri, 4 Jan 2019 12:49:02 +0000 (13:49 +0100)]
Make class name match the filepath make tests run

5 years agodev/core/issues/636 - Check if value is isset rather empty
Pradeep Nayak [Fri, 4 Jan 2019 11:25:37 +0000 (11:25 +0000)]
dev/core/issues/636 - Check if value is isset rather empty

5 years agoMerge pull request #13382 from seamuslee001/report_cleanup
Yashodha Chaku [Fri, 4 Jan 2019 11:01:19 +0000 (16:31 +0530)]
Merge pull request #13382 from seamuslee001/report_cleanup

(dev/core#491) Campaign Cleanup in Activity, Member Contribution Deta…