action-provider merge requestshttps://lab.civicrm.org/extensions/action-provider/-/merge_requests2023-04-26T20:11:40Zhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/115CVAP-29 Add "Campaign: Get by ID" action2023-04-26T20:11:40ZFrancis (Agileware)CVAP-29 Add "Campaign: Get by ID" actionNeed to be able to get information about a campaign when what we have already is its ID...Need to be able to get information about a campaign when what we have already is its ID...https://lab.civicrm.org/extensions/action-provider/-/merge_requests/114Changed configuration of Phone: Phone type to be not required anymore.2023-05-04T17:15:22Zsimon.hermannChanged configuration of Phone: Phone type to be not required anymore.This fixes issue: extensions/action-provider#37This fixes issue: extensions/action-provider#37https://lab.civicrm.org/extensions/action-provider/-/merge_requests/113Action "Address: Get country or state/province from ID" crashes due to incorr...2023-04-20T08:59:37Zjustinfreeman (Agileware)Action "Address: Get country or state/province from ID" crashes due to incorrect parameter usage"Address: Get country or state/province from ID" crashes due to incorrect parameter usage. Tries to use array_pop on the results of a getParameter for a string, which is in error because:
1. You can only call array_pop on an array variab..."Address: Get country or state/province from ID" crashes due to incorrect parameter usage. Tries to use array_pop on the results of a getParameter for a string, which is in error because:
1. You can only call array_pop on an array variable (i.e. not the results of a function)
1. The "value" parameter (Integer type, multiple) is returned as a string when there's only one value.
Not entirely sure why it's specified as multiple when it just pops the last item off anyway, either.
Agileware Ref: CVAP-22https://lab.civicrm.org/extensions/action-provider/-/merge_requests/112Other: Map Value action - when the result is a single value, do not return an...2023-04-19T08:02:56Zjustinfreeman (Agileware)Other: Map Value action - when the result is a single value, do not return an array, just return the valueOther: Map Value action - when the result is a single value, do not return an array, just return the value.
This allows other actions which only accept a single value, to use the result of the Other: Map Value action as an input.
For e...Other: Map Value action - when the result is a single value, do not return an array, just return the value.
This allows other actions which only accept a single value, to use the result of the Other: Map Value action as an input.
For example, when setting the payment instrument on a Contribution. Without this change the following error is thrown:
`"error_message": "Action Create Contribution failed. Caused by payment_instrument requires a single value a multiple value is given"`
This is a similar approach to https://lab.civicrm.org/extensions/action-provider/-/merge_requests/91
Agileware Ref: CVAP-28https://lab.civicrm.org/extensions/action-provider/-/merge_requests/111Replace deprecated CRM_Core_OptionGroup::getValue2023-04-12T05:56:27ZJonGoldReplace deprecated CRM_Core_OptionGroup::getValueCivi 5.60 removes the deprecated `CRM_Core_OptionGroup::getValue()`, here's a non-deprecated replacement.Civi 5.60 removes the deprecated `CRM_Core_OptionGroup::getValue()`, here's a non-deprecated replacement.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/110Fix of issue #352023-04-06T07:21:09Zsimon.hermannFix of issue #35Fixed `AbstractGetSingleAction` by creating new array in `normalizedCustomValues` to ensure, that the name field of the contact reference does not overwrite the id of the contact.Fixed `AbstractGetSingleAction` by creating new array in `normalizedCustomValues` to ensure, that the name field of the contact reference does not overwrite the id of the contact.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/109Contribution: Create, provide parameter to record the Contribution Page ID fo...2023-03-31T10:29:11Zjustinfreeman (Agileware)Contribution: Create, provide parameter to record the Contribution Page ID for the ContributionContribution: Create, provide parameter to record the Contribution Page ID for the Contribution
And adjust some formatting in the code.
Agileware Ref: CVAP-23Contribution: Create, provide parameter to record the Contribution Page ID for the Contribution
And adjust some formatting in the code.
Agileware Ref: CVAP-23https://lab.civicrm.org/extensions/action-provider/-/merge_requests/108Two changes to the CreateLineItem action: 1) skip creating the Line Item if t...2023-03-31T10:30:55Zjustinfreeman (Agileware)Two changes to the CreateLineItem action: 1) skip creating the Line Item if the Unit Price is zero and 2) provide the ability to set the Financial Type for a Line ItemIncludes two changes:
1. Change the CreateLineItem action to skip creating the Line Item if the Unit Price is zero instead of using the Contribution total amount as the Unit Price. When multiple Line Items are created the total for all t...Includes two changes:
1. Change the CreateLineItem action to skip creating the Line Item if the Unit Price is zero instead of using the Contribution total amount as the Unit Price. When multiple Line Items are created the total for all the Line Items can exceed the Contribution total. This change fixes that issue and moves the responsibility back to the Action Provider to set up the Line Items correctly. The original author of this code may have a different opinion.
2. Provide the ability to set the Financial Type for a Line Item. Currently the Contribution, Financial Type is used for all Line Items which is not always correct. For example: when a Membership Contribution has two Line Items: 1) Membership amount, Membership Financial Type and 2) Donation amount, Donation Financial Type
Agileware Ref: CVAP-20 CVAP-21https://lab.civicrm.org/extensions/action-provider/-/merge_requests/107Link Contribution to Membership action should set the Skip Line Items paramet...2023-03-31T10:31:35Zjustinfreeman (Agileware)Link Contribution to Membership action should set the Skip Line Items parameter, so that Line Item actions can be responsible for creating the Line Items correctlyLink Contribution to Membership action should set the Skip Line Items parameter, so that Line Item actions can be responsible for creating the Line Items correctly.
Agileware Ref: CVAP-19Link Contribution to Membership action should set the Skip Line Items parameter, so that Line Item actions can be responsible for creating the Line Items correctly.
Agileware Ref: CVAP-19https://lab.civicrm.org/extensions/action-provider/-/merge_requests/106Add Payment action to provide partial or complete payment for a Contribution2023-03-31T10:32:12Zjustinfreeman (Agileware)Add Payment action to provide partial or complete payment for a ContributionAdd Payment action to provide partial or complete payment for a Contribution
Agileware Ref: CVAP-18Add Payment action to provide partial or complete payment for a Contribution
Agileware Ref: CVAP-18https://lab.civicrm.org/extensions/action-provider/-/merge_requests/105Contribution: Create Line Item, add financial items for the related Contribution2023-03-31T10:32:33Zjustinfreeman (Agileware)Contribution: Create Line Item, add financial items for the related ContributionContribution: Create Line Item, add financial items for the related Contribution
Agileware Ref: CVAP-17Contribution: Create Line Item, add financial items for the related Contribution
Agileware Ref: CVAP-17https://lab.civicrm.org/extensions/action-provider/-/merge_requests/104Contribution: Update, provide Configuration parameters for Financial Type, Pa...2023-03-31T10:33:03Zjustinfreeman (Agileware)Contribution: Update, provide Configuration parameters for Financial Type, Payment Instrument, Contribution Status and Is Pay LaterContribution: Update, provide Configuration parameters for Financial Type, Payment Instrument, Contribution Status and Is Pay Later
Agileware Ref: CVAP-16Contribution: Update, provide Configuration parameters for Financial Type, Payment Instrument, Contribution Status and Is Pay Later
Agileware Ref: CVAP-16https://lab.civicrm.org/extensions/action-provider/-/merge_requests/103Contact: Create or update Organization does not expose fields: Legal Name, Ni...2023-03-23T08:29:58Zjustinfreeman (Agileware)Contact: Create or update Organization does not expose fields: Legal Name, Nickname, SIC CodeContact: Create or update Organization does not expose fields: Legal Name, Nickname, SIC Code. This MR provides this functionality.
Agileware Ref: CVAP-15
![image](/uploads/abd134c13eebdd4dad6c5c3e800f3347/image.png)Contact: Create or update Organization does not expose fields: Legal Name, Nickname, SIC Code. This MR provides this functionality.
Agileware Ref: CVAP-15
![image](/uploads/abd134c13eebdd4dad6c5c3e800f3347/image.png)https://lab.civicrm.org/extensions/action-provider/-/merge_requests/102CiviCRM Action Provider, Create Contribution actions, provide option to creat...2023-03-21T08:04:35Zjustinfreeman (Agileware)CiviCRM Action Provider, Create Contribution actions, provide option to create a "Pay Later" ContributionCiviCRM Action Provider, Create Contribution actions, provide option to create a "Pay Later" Contribution
![image](/uploads/e7abea4c218361e217fbd24b9e8fd694/image.png)
![image](/uploads/ee7374d13862291a1f33aaf11b608796/image.png)
Agil...CiviCRM Action Provider, Create Contribution actions, provide option to create a "Pay Later" Contribution
![image](/uploads/e7abea4c218361e217fbd24b9e8fd694/image.png)
![image](/uploads/ee7374d13862291a1f33aaf11b608796/image.png)
Agileware Ref: CIVICRM-2114https://lab.civicrm.org/extensions/action-provider/-/merge_requests/101CRM_Mailing_Event_BAO_MailingEventSubscribe only allows subscriptions only to...2023-03-20T09:07:29Zjustinfreeman (Agileware)CRM_Mailing_Event_BAO_MailingEventSubscribe only allows subscriptions only to Public GroupsCRM_Mailing_Event_BAO_MailingEventSubscribe only allows subscriptions only to Public Groups, unless the context is "profile" then that's OK. Therefore set context to force the subscribe action to complete.
See this line, https://github....CRM_Mailing_Event_BAO_MailingEventSubscribe only allows subscriptions only to Public Groups, unless the context is "profile" then that's OK. Therefore set context to force the subscribe action to complete.
See this line, https://github.com/civicrm/civicrm-core/blob/master/CRM/Mailing/Event/BAO/MailingEventSubscribe.php#L53
Agileware Ref: CIVICRM-2112https://lab.civicrm.org/extensions/action-provider/-/merge_requests/100Sets the CiviCRM default Priceset for the line item, if not already set2023-03-07T08:58:01Zjustinfreeman (Agileware)Sets the CiviCRM default Priceset for the line item, if not already setWe found that the Invoice PDF could not be generated when using the Action Provider, Create Line Item action without also setting a Priceset ID for each Line Item.
This change sets the CiviCRM default Priceset for the line item which is...We found that the Invoice PDF could not be generated when using the Action Provider, Create Line Item action without also setting a Priceset ID for each Line Item.
This change sets the CiviCRM default Priceset for the line item which is ID 1, if not already set for each line item.
Agileware Ref: CIVICRM-2105https://lab.civicrm.org/extensions/action-provider/-/merge_requests/98add help text for format individual name, parse raw amount and parse raw date2023-01-20T11:35:14ZErikHommeladd help text for format individual name, parse raw amount and parse raw dateadd help text to format individual name, parse raw date and parse raw amountadd help text to format individual name, parse raw date and parse raw amountErikHommelErikHommelhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/97fix format individual name with test results aivl and add + as allowed char t...2023-01-18T15:52:25ZErikHommelfix format individual name with test results aivl and add + as allowed char to phone formatErikHommelErikHommelhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/96version 1.112 fixes #32 and #33 (add format individual name and format phone ...2023-01-10T16:11:56ZErikHommelversion 1.112 fixes #32 and #33 (add format individual name and format phone into numbersErikHommelErikHommelhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/95Fix for issues/27 - Replace the create contact when exception is raised. Inst...2023-01-24T21:51:19Zjustinfreeman (Agileware)Fix for issues/27 - Replace the create contact when exception is raised. Instead only create contact is no matching email foundFix for issues/27 - Replace the create contact when exception is raised. Instead only create contact is no matching email foundFix for issues/27 - Replace the create contact when exception is raised. Instead only create contact is no matching email found