civicrm-core.git
7 years agoMerge pull request #10208 from jitendrapurohit/CRM-20461
Monish Deb [Tue, 25 Apr 2017 12:31:41 +0000 (18:01 +0530)]
Merge pull request #10208 from jitendrapurohit/CRM-20461

CRM-20461 - Use api instead of query so that post hook gets invoked for additional participants

7 years agoMerge pull request #9984 from eileenmcnaughton/sales
Eileen McNaughton [Tue, 25 Apr 2017 09:18:06 +0000 (21:18 +1200)]
Merge pull request #9984 from eileenmcnaughton/sales

CRM-20260 fix data errors creation in financial_line_item when editin…

7 years agoMerge pull request #10233 from twomice/CRM-20472_soft_credit_validation_error_display
Eileen McNaughton [Tue, 25 Apr 2017 07:50:08 +0000 (19:50 +1200)]
Merge pull request #10233 from twomice/CRM-20472_soft_credit_validation_error_display

CRM-20472: Fix field name in error so validation will display.

7 years agoCRM-20472: Fix field name in error so validation will display.
Allen Shaw [Tue, 25 Apr 2017 04:45:40 +0000 (23:45 -0500)]
CRM-20472: Fix field name in error so validation will display.

7 years agoMerge pull request #10230 from adixon/CRM-20469
Eileen McNaughton [Mon, 24 Apr 2017 21:44:06 +0000 (09:44 +1200)]
Merge pull request #10230 from adixon/CRM-20469

CRM-20469 Event form currency is in a slightly different spot

7 years agoMerge pull request #10229 from civicrm/4.7.19-rc
Eileen McNaughton [Mon, 24 Apr 2017 21:36:40 +0000 (09:36 +1200)]
Merge pull request #10229 from civicrm/4.7.19-rc

4.7.19 rc

7 years agoMerge pull request #10202 from eileenmcnaughton/deprecate4
Eileen McNaughton [Mon, 24 Apr 2017 21:36:26 +0000 (09:36 +1200)]
Merge pull request #10202 from eileenmcnaughton/deprecate4

CRM-20424 Add method to mark deprecation & ensure it causes test fail

7 years agoCRM-20469 Event form currency is in a slightly different spot
adixon [Mon, 24 Apr 2017 20:46:57 +0000 (16:46 -0400)]
CRM-20469 Event form currency is in a slightly different spot

7 years agoCRM-20424 Add method to mark deprecation & ensure it causes test fail
eileen [Fri, 21 Apr 2017 03:08:33 +0000 (15:08 +1200)]
CRM-20424 Add method to mark deprecation & ensure it causes test fail

7 years agoMerge pull request #9809 from seamuslee001/CRM-19986
Eileen McNaughton [Mon, 24 Apr 2017 20:14:38 +0000 (08:14 +1200)]
Merge pull request #9809 from seamuslee001/CRM-19986

CRM-19986 Fix schema differences between a new installl and an upgrad…

7 years agoMerge pull request #10167 from twomice/CRM-20172_membership_additional_payment
Eileen McNaughton [Mon, 24 Apr 2017 20:04:52 +0000 (08:04 +1200)]
Merge pull request #10167 from twomice/CRM-20172_membership_additional_payment

CRM-20172: "Separate Membership Payment" with Memberships enabled and additional contribution causes incorrect authorize.net transactions

7 years agoMerge pull request #10228 from colemanw/IIDA-127
Eileen McNaughton [Mon, 24 Apr 2017 20:01:46 +0000 (08:01 +1200)]
Merge pull request #10228 from colemanw/IIDA-127

CRM-20264: handle submission of CC type and number during 'record payment'

7 years agoCRM-20264: handle submission of CC type and number during 'record payment'
deb.monish [Fri, 21 Apr 2017 09:18:07 +0000 (14:48 +0530)]
CRM-20264: handle submission of CC type and number during 'record payment'

7 years agouse api instead
Jitendra Purohit [Mon, 24 Apr 2017 10:30:24 +0000 (16:00 +0530)]
use api instead

7 years agoCRM-19986 Fix schema differences between a new installl and an upgrade from 4.6
Seamus Lee [Thu, 9 Feb 2017 03:39:06 +0000 (14:39 +1100)]
CRM-19986 Fix schema differences between a new installl and an upgrade from 4.6

7 years agoMerge pull request #10224 from eileenmcnaughton/inv
Eileen McNaughton [Mon, 24 Apr 2017 05:12:13 +0000 (17:12 +1200)]
Merge pull request #10224 from eileenmcnaughton/inv

CRM-20450 unit test for invoice amount

7 years agoCRM-20450 unit test for invoice amount
eileen [Mon, 24 Apr 2017 02:15:50 +0000 (14:15 +1200)]
CRM-20450 unit test for invoice amount

7 years agoMerge pull request #10225 from civicrm/4.7.19-rc
Eileen McNaughton [Mon, 24 Apr 2017 02:38:03 +0000 (14:38 +1200)]
Merge pull request #10225 from civicrm/4.7.19-rc

4.7.19 rc

7 years agoMerge pull request #10223 from seamuslee001/CRM-20450
Eileen McNaughton [Mon, 24 Apr 2017 02:33:21 +0000 (14:33 +1200)]
Merge pull request #10223 from seamuslee001/CRM-20450

CRM-20450 Update post upgrade message with correct list of modified t…

7 years agoCRM-20450 Update post upgrade message with correct list of modified templates and...
Seamus Lee [Mon, 24 Apr 2017 02:26:28 +0000 (12:26 +1000)]
CRM-20450 Update post upgrade message with correct list of modified templates and fix closing tag which should be font

7 years agoMerge pull request #10220 from civicrm/4.7.19-rc
Eileen McNaughton [Mon, 24 Apr 2017 02:25:16 +0000 (14:25 +1200)]
Merge pull request #10220 from civicrm/4.7.19-rc

4.7.19 rc

7 years agoMerge pull request #10222 from KarinG/CRM-20450
Eileen McNaughton [Mon, 24 Apr 2017 02:24:46 +0000 (14:24 +1200)]
Merge pull request #10222 from KarinG/CRM-20450

CRM-20450: Fix invoice math for partial payments.

7 years agoMerge pull request #10221 from JohnFF/bugfix/minor_template_errors
Eileen McNaughton [Mon, 24 Apr 2017 01:31:36 +0000 (13:31 +1200)]
Merge pull request #10221 from JohnFF/bugfix/minor_template_errors

Fixed minor template errors.

7 years agoMerge pull request #10219 from eileenmcnaughton/token
Eileen McNaughton [Mon, 24 Apr 2017 01:24:43 +0000 (13:24 +1200)]
Merge pull request #10219 from eileenmcnaughton/token

CRM-20449: enotices from 'send thankyou letter' on contribution search

7 years agoUpgrade the message template in the database.
KarinG [Mon, 24 Apr 2017 00:30:35 +0000 (18:30 -0600)]
Upgrade the message template in the database.

7 years agoFixed minor template errors.
John Kirk [Sun, 23 Apr 2017 16:37:10 +0000 (16:37 +0000)]
Fixed minor template errors.

7 years agoMerge pull request #10217 from fuzionnz/CRM-20466-php7.1_only_vars_by_ref
Eileen McNaughton [Sun, 23 Apr 2017 08:05:53 +0000 (20:05 +1200)]
Merge pull request #10217 from fuzionnz/CRM-20466-php7.1_only_vars_by_ref

Address fatal errors on PHP7.1 - only vars can be passed by reference.

7 years agoMerge pull request #9471 from adixon/CRM-19697
Eileen McNaughton [Sun, 23 Apr 2017 08:02:41 +0000 (20:02 +1200)]
Merge pull request #9471 from adixon/CRM-19697

CRM-19697: No recycling the static _links object when you change it!

7 years agoCRM-20449: enotices from 'send thankyou letter' on contribution search
eileen [Sun, 23 Apr 2017 03:06:38 +0000 (15:06 +1200)]
CRM-20449: enotices from 'send thankyou letter' on contribution search

7 years agoMerge pull request #10218 from JMAConsulting/CRM-20465
Eileen McNaughton [Sun, 23 Apr 2017 07:56:13 +0000 (19:56 +1200)]
Merge pull request #10218 from JMAConsulting/CRM-20465

CRM-20465, changed pan_truncation field type to VARCHAR

7 years agoMerge pull request #10209 from jmcclelland/CRM-20463
Eileen McNaughton [Sun, 23 Apr 2017 02:43:07 +0000 (14:43 +1200)]
Merge pull request #10209 from jmcclelland/CRM-20463

CRM-20463 - simplify parsing of doc URLs and ensure all work.

7 years agoAddress fatal errors on PHP7.1 - only vars can be passed by reference.
Chris Burgess [Sun, 23 Apr 2017 02:22:40 +0000 (14:22 +1200)]
Address fatal errors on PHP7.1 - only vars can be passed by reference.

It is not clear why we clone these DAO/BAO objects, but we cannot do it inside the function call. It is likely this fix can be improved.

CRM-20466

7 years agoMerge pull request #10154 from eileenmcnaughton/timestamp
Eileen McNaughton [Sun, 23 Apr 2017 01:05:59 +0000 (13:05 +1200)]
Merge pull request #10154 from eileenmcnaughton/timestamp

CRM-9683 implement timezone support for CiviMail.

7 years agoCRM-20260, Added Unit test
Pradeep Nayak [Mon, 10 Apr 2017 21:02:15 +0000 (09:02 +1200)]
CRM-20260, Added Unit test

7 years agoCRM-20260 fix data errors creation in financial_line_item when editing contribution...
eileen [Wed, 15 Mar 2017 10:08:01 +0000 (23:08 +1300)]
CRM-20260 fix data errors creation in financial_line_item when editing contribution, with sales tax enabled

7 years agoMerge pull request #10216 from JohnFF/refactor/CRM-20428_sourceSQLFile_rework
Eileen McNaughton [Sun, 23 Apr 2017 00:19:59 +0000 (12:19 +1200)]
Merge pull request #10216 from JohnFF/refactor/CRM-20428_sourceSQLFile_rework

CRM-20428: refactored sourceSQLFile

7 years agoMerge pull request #10168 from GinkgoFJG/CRM-20435
Eileen McNaughton [Sun, 23 Apr 2017 00:16:00 +0000 (12:16 +1200)]
Merge pull request #10168 from GinkgoFJG/CRM-20435

CRM-20435: Replace SQL-based activityContact creation with DAO-based approach.

7 years agoMerge pull request #10200 from eileenmcnaughton/deprecate
Eileen McNaughton [Sun, 23 Apr 2017 00:10:39 +0000 (12:10 +1200)]
Merge pull request #10200 from eileenmcnaughton/deprecate

CRM-20459 replace all instances where CRM_Core_OptionGroup::getValue …

7 years agoCRM-9683 regenerate DAOs
eileen [Thu, 13 Apr 2017 09:03:40 +0000 (21:03 +1200)]
CRM-9683 regenerate DAOs

7 years agoMerge pull request #10215 from civicrm/4.7.19-rc
Eileen McNaughton [Sun, 23 Apr 2017 00:03:23 +0000 (12:03 +1200)]
Merge pull request #10215 from civicrm/4.7.19-rc

4.7.19 rc

7 years agoCRM-9683 implement timezone support for CiviMail
eileen [Thu, 13 Apr 2017 06:13:04 +0000 (18:13 +1200)]
CRM-9683 implement timezone support for CiviMail

This will affect new installs only per discussion on the ticket. Motivation dependent, we could add a method to convert on existing installs.

Note some fields, like event_start_date might have a case for being in a non-timezone aware format

7 years agoMerge pull request #10201 from eileenmcnaughton/deprecate2
Eileen McNaughton [Sat, 22 Apr 2017 23:25:33 +0000 (11:25 +1200)]
Merge pull request #10201 from eileenmcnaughton/deprecate2

CRM-20459 replace all instances where CRM_Core_OptionGroup::getValue …

7 years agoMerge pull request #10203 from eileenmcnaughton/deprecate3
Eileen McNaughton [Sat, 22 Apr 2017 23:16:09 +0000 (11:16 +1200)]
Merge pull request #10203 from eileenmcnaughton/deprecate3

CRM-20459 replace last instances where CRM_Core_OptionGroup::getValue…

7 years agoMerge pull request #10213 from seamuslee001/master
Eileen McNaughton [Sat, 22 Apr 2017 23:15:15 +0000 (11:15 +1200)]
Merge pull request #10213 from seamuslee001/master

(NFC) CRM-20308 Fix Test due to not truncating civicrm_email table

7 years agoMerge pull request #10212 from seamuslee001/CRM-20441
Eileen McNaughton [Sat, 22 Apr 2017 23:11:25 +0000 (11:11 +1200)]
Merge pull request #10212 from seamuslee001/CRM-20441

CRM-20441 Fix issue where multiple activity Ids were not supported wh…

7 years agoRefactored CRM-20428. Refactored sourceSQLFile by creating a separate function to...
John Kirk [Sat, 22 Apr 2017 22:46:03 +0000 (22:46 +0000)]
Refactored CRM-20428. Refactored sourceSQLFile by creating a separate function to run the SQL piece. This means that sourceSQLFile no longer has an 'isQueryString' variable, which was used to pass an SQL query in the filename parameter.

7 years agoMerge pull request #10210 from JMAConsulting/CRM-20464
Monish Deb [Sat, 22 Apr 2017 07:19:06 +0000 (12:49 +0530)]
Merge pull request #10210 from JMAConsulting/CRM-20464

CRM-20464, fixed smarty error

7 years agoCRM-20308 Fix Test due to not truncating civicrm_email table
Seamus Lee [Sat, 22 Apr 2017 05:24:06 +0000 (15:24 +1000)]
CRM-20308 Fix Test due to not truncating civicrm_email table

7 years agoCRM-20441 Fix issue where multiple activity Ids were not supported when check permiss...
Seamus Lee [Fri, 21 Apr 2017 23:22:46 +0000 (09:22 +1000)]
CRM-20441 Fix issue where multiple activity Ids were not supported when check permissions was used

7 years agoCRM-20172: more thorough handling of params.
Allen Shaw [Fri, 21 Apr 2017 21:52:40 +0000 (16:52 -0500)]
CRM-20172: more thorough handling of params.

7 years agoCRM-20465, changed pan_truncation field type to VARCHAR
Pradeep Nayak [Fri, 21 Apr 2017 21:26:50 +0000 (02:56 +0530)]
CRM-20465, changed pan_truncation field type to VARCHAR

----------------------------------------
* CRM-20465: pan truncation doesn't respect values preceding with 0
  https://issues.civicrm.org/jira/browse/CRM-20465

7 years agoSet version to 4.7.20
Tim Otten [Fri, 21 Apr 2017 21:13:30 +0000 (14:13 -0700)]
Set version to 4.7.20

7 years agoMerge pull request #10199 from eileenmcnaughton/comment
Tim Otten [Fri, 21 Apr 2017 20:45:16 +0000 (13:45 -0700)]
Merge pull request #10199 from eileenmcnaughton/comment

[NFC] Remove comment as this has been fixed

7 years agoCRM-20464, fixed smarty error
Pradeep Nayak [Fri, 21 Apr 2017 19:58:49 +0000 (01:28 +0530)]
CRM-20464, fixed smarty error

----------------------------------------
* CRM-20464: Smarty error when receipt is send for recording payment
  https://issues.civicrm.org/jira/browse/CRM-20464

7 years agoCRM-20463 - simplify parsing of doc URLs and ensure all work.
Jamie McClelland [Fri, 21 Apr 2017 16:12:06 +0000 (12:12 -0400)]
CRM-20463 - simplify parsing of doc URLs and ensure all work.

7 years agoCRM-20461 - Call post hook after updating additional participant status
Jitendra Purohit [Fri, 21 Apr 2017 11:36:03 +0000 (17:06 +0530)]
CRM-20461 - Call post hook after updating additional participant status

7 years agoMerge pull request #10198 from eileenmcnaughton/iida3
Eileen McNaughton [Fri, 21 Apr 2017 03:16:05 +0000 (15:16 +1200)]
Merge pull request #10198 from eileenmcnaughton/iida3

[NFC] Further test improvement

7 years agoCRM-20459 replace last instances where CRM_Core_OptionGroup::getValue is called
eileen [Fri, 21 Apr 2017 03:07:47 +0000 (15:07 +1200)]
CRM-20459 replace last instances where CRM_Core_OptionGroup::getValue is called

7 years agoCRM-20459 replace all instances where CRM_Core_OptionGroup::getValue is called to...
eileen [Fri, 21 Apr 2017 03:03:46 +0000 (15:03 +1200)]
CRM-20459 replace all instances where CRM_Core_OptionGroup::getValue is called to get contribution_status_id

7 years agoCRM-20459 replace all instances where CRM_Core_OptionGroup::getValue is called on...
eileen [Fri, 21 Apr 2017 03:00:53 +0000 (15:00 +1200)]
CRM-20459 replace all instances where CRM_Core_OptionGroup::getValue is called on activities.

I limited this to activities as there are only 2 separate values & I thought it would keep it readable.

7 years agoRemove comment as this has been fixed
eileen [Fri, 21 Apr 2017 02:41:39 +0000 (14:41 +1200)]
Remove comment as this has been fixed

7 years agoFurther test improvement
eileen [Thu, 20 Apr 2017 22:04:03 +0000 (10:04 +1200)]
Further test improvement

7 years agoFix syntax errors.
KarinG [Fri, 21 Apr 2017 01:55:59 +0000 (19:55 -0600)]
Fix syntax errors.

7 years agoFix typo.
KarinG [Fri, 21 Apr 2017 01:52:20 +0000 (19:52 -0600)]
Fix typo.

7 years agoFix invoice math for partial payments.
KarinG [Thu, 20 Apr 2017 00:54:45 +0000 (18:54 -0600)]
Fix invoice math for partial payments.

7 years agoMerge pull request #10157 from eileenmcnaughton/iida3
Eileen McNaughton [Thu, 20 Apr 2017 22:57:39 +0000 (10:57 +1200)]
Merge pull request #10157 from eileenmcnaughton/iida3

CRM-20264, Added Card type and Pan Truncation form fields on Payment …

7 years agoMerge pull request #10099 from eileenmcnaughton/anet
Eileen McNaughton [Thu, 20 Apr 2017 22:25:09 +0000 (10:25 +1200)]
Merge pull request #10099 from eileenmcnaughton/anet

CRM-19597 allow receive_date to be passed in for A.net, plus some code simplification

7 years agoMerge pull request #10030 from eileenmcnaughton/test
Eileen McNaughton [Thu, 20 Apr 2017 22:23:36 +0000 (10:23 +1200)]
Merge pull request #10030 from eileenmcnaughton/test

CRM-20008 fix pending flow.

7 years agoMerge pull request #10161 from totten/master-hook-inspector
Eileen McNaughton [Thu, 20 Apr 2017 22:23:03 +0000 (10:23 +1200)]
Merge pull request #10161 from totten/master-hook-inspector

CiviEventInspector - Add util for displaying hook metadata

7 years agoCRM-19597 move function only used by Authorize.net to a.net for clarity.
eileen [Wed, 12 Apr 2017 02:11:18 +0000 (14:11 +1200)]
CRM-19597 move function only used by Authorize.net to a.net for clarity.

We could do with a better solution around this, but it needs to be around the completetransaction api

7 years agoCRM-19597 allow receive_date to be passed in for A.net
eileen [Wed, 12 Apr 2017 02:05:05 +0000 (14:05 +1200)]
CRM-19597 allow receive_date to be passed in for A.net

7 years agoMerge pull request #10125 from jitendrapurohit/eventtest
Eileen McNaughton [Thu, 20 Apr 2017 21:56:38 +0000 (09:56 +1200)]
Merge pull request #10125 from jitendrapurohit/eventtest

CRM-19773: unit test to check getLocationEvent invokes selectWhereClause() hook

7 years agoMerge pull request #10158 from JMAConsulting/CRM-20308
Eileen McNaughton [Thu, 20 Apr 2017 21:55:58 +0000 (09:55 +1200)]
Merge pull request #10158 from JMAConsulting/CRM-20308

CRM-20308: Activity copy is always sent FROM logged in user's email ID

7 years agoMerge pull request #10176 from JMAConsulting/codeCleanup
Eileen McNaughton [Thu, 20 Apr 2017 21:55:42 +0000 (09:55 +1200)]
Merge pull request #10176 from JMAConsulting/codeCleanup

Code cleanup

7 years agoCRM-20264 support card_type_id and pan_truncation in all backoffice form
deb.monish [Wed, 19 Apr 2017 12:25:47 +0000 (17:55 +0530)]
CRM-20264 support card_type_id and pan_truncation in all backoffice form

7 years agoMerge pull request #10193 from eileenmcnaughton/pan_tunc
Monish Deb [Thu, 20 Apr 2017 05:31:53 +0000 (11:01 +0530)]
Merge pull request #10193 from eileenmcnaughton/pan_tunc

CRM-20264 handling for storing card_type_id

7 years agoMerge pull request #10194 from eileenmcnaughton/master
Eileen McNaughton [Thu, 20 Apr 2017 05:10:16 +0000 (17:10 +1200)]
Merge pull request #10194 from eileenmcnaughton/master

CRM-20264 add test for submitting pan_truncation & card_type_id via t…

7 years agoCRM-20264 add test for submitting pan_truncation & card_type_id via the api
deb.monish [Thu, 20 Apr 2017 04:50:55 +0000 (16:50 +1200)]
CRM-20264 add test for submitting pan_truncation & card_type_id via the api

7 years agoCRM-20264 handling for storing card_type_id
eileen [Thu, 20 Apr 2017 04:03:38 +0000 (16:03 +1200)]
CRM-20264 handling for storing card_type_id

7 years agoMerge pull request #10189 from eileenmcnaughton/pan_tunc
Eileen McNaughton [Thu, 20 Apr 2017 04:03:18 +0000 (16:03 +1200)]
Merge pull request #10189 from eileenmcnaughton/pan_tunc

CRM-20264 make pan_truncation save on contribution form, additional payment, event

7 years agoMerge pull request #10191 from eileenmcnaughton/report
Eileen McNaughton [Thu, 20 Apr 2017 03:36:15 +0000 (15:36 +1200)]
Merge pull request #10191 from eileenmcnaughton/report

CRM-20451 Do not assume all BAOs have exportableFields method in Core_…

7 years agoCRM-20451 Do no assume all BAOs have exportableFields method in Core_report
eileen [Thu, 20 Apr 2017 02:42:44 +0000 (14:42 +1200)]
CRM-20451 Do no assume all BAOs have exportableFields method in Core_report

7 years agoCRM-20264 make pan_truncation save on event form.
eileen [Wed, 19 Apr 2017 21:46:08 +0000 (09:46 +1200)]
CRM-20264 make pan_truncation save on event form.

note that this PR should be testable & mergeable as making 'no change' without the changes to Core_Payment_Manual as it is primarily code consolidation

7 years agoCRM-20172: Added test and fix for correct amounts.
Allen Shaw [Fri, 14 Apr 2017 22:24:51 +0000 (17:24 -0500)]
CRM-20172: Added test and fix for correct amounts.

7 years agoMerge pull request #10182 from totten/master-listall-checksum
colemanw [Wed, 19 Apr 2017 22:23:05 +0000 (18:23 -0400)]
Merge pull request #10182 from totten/master-listall-checksum

GenCode - Reduce merge-conflicts on AllCoreTables

7 years agoMerge pull request #10188 from colemanw/CRM-20105
colemanw [Wed, 19 Apr 2017 19:25:15 +0000 (15:25 -0400)]
Merge pull request #10188 from colemanw/CRM-20105

CRM-20105 - Add case restore and merge api actions

7 years agoMerge pull request #9544 from colemanw/CRM-19773
colemanw [Wed, 19 Apr 2017 17:48:08 +0000 (13:48 -0400)]
Merge pull request #9544 from colemanw/CRM-19773

CRM-19773 - Call hook_civicrm_selectWhereClause when checking event permissions

7 years agoCRM-20105 - Add merge function to case api
Coleman Watts [Wed, 19 Apr 2017 16:15:27 +0000 (12:15 -0400)]
CRM-20105 - Add merge function to case api

7 years agoMerge pull request #10087 from lcdservices/CRM-20368
colemanw [Wed, 19 Apr 2017 16:05:28 +0000 (12:05 -0400)]
Merge pull request #10087 from lcdservices/CRM-20368

CRM-20368

7 years agoCRM-19773 - Call hook_civicrm_selectWhereClause when checking event permissions
Coleman Watts [Thu, 15 Dec 2016 03:33:34 +0000 (22:33 -0500)]
CRM-19773 - Call hook_civicrm_selectWhereClause when checking event permissions

7 years agoFully remove deprecated Constants
eileen [Wed, 19 Apr 2017 07:41:22 +0000 (19:41 +1200)]
Fully remove deprecated Constants

7 years agoCRM-20392 enable remaining unit tests added by Pradeep
Pradeep Nayak [Wed, 19 Apr 2017 07:03:30 +0000 (19:03 +1200)]
CRM-20392 enable remaining unit tests added by Pradeep

I did alter the fix side on this a little more - notably to use the shared
functions beginPostProcess and assignPaymentRelatedVariables so this will require
independent review

7 years agoCRM-20264, Added Card type and Pan Truncation form fields on Payment form
eileen [Thu, 13 Apr 2017 09:43:03 +0000 (21:43 +1200)]
CRM-20264, Added Card type and Pan Truncation form fields on Payment form

I deliberately excluded card_type because I think we need to review the appropriateness of
the field first. My issue is that the wrangling wound up really wierd & it was apparent the issue
is that card_type is 'Visa' whereas card_type_id is 1 - we should either rename the field
or store the word.

7 years agoMerge pull request #10187 from eileenmcnaughton/prad
Eileen McNaughton [Wed, 19 Apr 2017 06:29:45 +0000 (18:29 +1200)]
Merge pull request #10187 from eileenmcnaughton/prad

CRM-20392 add unit test and fix for incorrect total used in line item…

7 years agoMerge pull request #10186 from eileenmcnaughton/mandatory_created_id
Eileen McNaughton [Wed, 19 Apr 2017 05:04:02 +0000 (17:04 +1200)]
Merge pull request #10186 from eileenmcnaughton/mandatory_created_id

CRM-20316 the mailing should still create without created_id (not man…

7 years agoCRM-20392 add unit test and fix for incorrect total used in line item creation code.
Pradeep Nayak [Wed, 12 Apr 2017 11:32:42 +0000 (23:32 +1200)]
CRM-20392 add unit test and fix for incorrect total used in line item creation code.

Eileen's note - this is code done by Pradeep that I am reviewing - I am committing
and merging the portion I have reviewed so far. This fixes a bug replicable in
the test Pradeep wrote, and some minor obvious cleanups such as removing unused parameters.

I've commented out some tests to complete this portion & there is still code of Pradeeps
not yet reviewed.

7 years agoCRM-20105 - Add restore function to case api
Coleman Watts [Wed, 19 Apr 2017 04:31:52 +0000 (00:31 -0400)]
CRM-20105 - Add restore function to case api

7 years agoCRM-20316 the mailing should still create without created_id (not mandatory).
eileen [Tue, 18 Apr 2017 23:00:06 +0000 (11:00 +1200)]
CRM-20316 the mailing should still create without created_id (not mandatory).

7 years agoCRM-20316 the mailing should still create without created_id (not mandatory).
eileen [Tue, 18 Apr 2017 23:00:06 +0000 (11:00 +1200)]
CRM-20316 the mailing should still create without created_id (not mandatory).

7 years agoMerge pull request #10185 from eileenmcnaughton/master
Eileen McNaughton [Tue, 18 Apr 2017 23:24:04 +0000 (11:24 +1200)]
Merge pull request #10185 from eileenmcnaughton/master

[NFC] Fix invalid php in test-generated example