action-provider merge requestshttps://lab.civicrm.org/extensions/action-provider/-/merge_requests2023-07-11T05:23:35Zhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/128Create Contribution With Parameters Action, the Is Pay Later parameter is inc...2023-07-11T05:23:35Zjustinfreeman (Agileware)Create Contribution With Parameters Action, the Is Pay Later parameter is incorrect, not part of the Action configurationCreate Contribution With Parameters Action, the Is Pay Later parameter is incorrect, not part of the Action configuration
Agileware Ref: CVAP-36Create Contribution With Parameters Action, the Is Pay Later parameter is incorrect, not part of the Action configuration
Agileware Ref: CVAP-36https://lab.civicrm.org/extensions/action-provider/-/merge_requests/127Reworked the action 'Campaign: Get by ID'2023-09-01T08:21:08Zsimon.hermannReworked the action 'Campaign: Get by ID'Reworked the action 'Campaign: Get by ID' to implement 'AbstractGetSingleAction'. This reduces overall code and adds the custom fields as return values as well.Reworked the action 'Campaign: Get by ID' to implement 'AbstractGetSingleAction'. This reduces overall code and adds the custom fields as return values as well.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/126Fixed some typos in Generic/Action.php2023-06-30T10:48:46Zsimon.hermannFixed some typos in Generic/Action.phpFixes some typos that were commited in my last merge request.Fixes some typos that were commited in my last merge request.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/125extensions/action-provider#38 Add API wrapper to avoid pulling deleted entiti...2023-11-04T16:31:39ZFrancis (Agileware)extensions/action-provider#38 Add API wrapper to avoid pulling deleted entities by defaultChecks for situations where `is_deleted` can be applied to an API call and adds it if not already present
This means that Actions can add `is_deleted` as a parameter and the wrapper won't override that.Checks for situations where `is_deleted` can be applied to an API call and adds it if not already present
This means that Actions can add `is_deleted` as a parameter and the wrapper won't override that.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/124improved the output of the swap participant action2023-06-29T06:54:53ZJanecimproved the output of the swap participant actionhttps://lab.civicrm.org/extensions/action-provider/-/merge_requests/122Basic arithmetics2023-06-26T14:34:19Zsimon.hermannBasic arithmetics* Added a new action, which sums up to 6 input fields
* Reworked the action 'Other: Calculate value.', so that it does not rely on the function `eval` anymore, which could had been a security issue.* Added a new action, which sums up to 6 input fields
* Reworked the action 'Other: Calculate value.', so that it does not rely on the function `eval` anymore, which could had been a security issue.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/121add actions: swap participant, find event by custom field, add note and conca...2023-06-28T09:18:10ZJanecadd actions: swap participant, find event by custom field, add note and concatenate fieldsSome actions I needed recently.Some actions I needed recently.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/119Add support for custom field type EntityReference2023-06-05T08:31:10ZdotuAdd support for custom field type EntityReferenceThis MR adds support for the field type `EntityReference` in custom fields. Fixes https://lab.civicrm.org/extensions/form-processor/-/issues/57This MR adds support for the field type `EntityReference` in custom fields. Fixes https://lab.civicrm.org/extensions/form-processor/-/issues/57https://lab.civicrm.org/extensions/action-provider/-/merge_requests/118Actions for contacts with custom group that have multi values.2023-05-08T15:31:06Zsimon.hermannActions for contacts with custom group that have multi values.Created two new actions. One finds an entry of a CustomGroup with multi entries by comparing the content of the entries. The other allows to update an entry of a custom group with multi entries.Created two new actions. One finds an entry of a CustomGroup with multi entries by comparing the content of the entries. The other allows to update an entry of a custom group with multi entries.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/117Adds two new actions2023-05-08T14:16:59Zsimon.hermannAdds two new actionsAdds two new actions:
1) Increment an integer value by a custom increment
2) Find similar activites based on the input e.g. title, type etc.Adds two new actions:
1) Increment an integer value by a custom increment
2) Find similar activites based on the input e.g. title, type etc.https://lab.civicrm.org/extensions/action-provider/-/merge_requests/116CVAP-30 Add "Contribution: Send confirmation / receipt" action2023-04-26T20:12:34ZFrancis (Agileware)CVAP-30 Add "Contribution: Send confirmation / receipt" actionThis is (still) needed to send a receipt with the correct template and all the needed links to Contribution metadata.This is (still) needed to send a receipt with the correct template and all the needed links to Contribution metadata.https://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-19