civicrm-core.git
3 years agosome typo fixes
yashodha [Mon, 19 Jul 2021 11:28:32 +0000 (16:58 +0530)]
some typo fixes

3 years agoMerge pull request #20869 from eileenmcnaughton/acl3
Seamus Lee [Mon, 19 Jul 2021 09:23:19 +0000 (19:23 +1000)]
Merge pull request #20869 from eileenmcnaughton/acl3

[REF] Fix functions to be protected

3 years agoMerge pull request #20880 from colemanw/searchKitTokenSelect
Seamus Lee [Mon, 19 Jul 2021 04:06:29 +0000 (14:06 +1000)]
Merge pull request #20880 from colemanw/searchKitTokenSelect

SearchKit - Support all fields as tokens

3 years agoMerge pull request #20893 from colemanw/fixAPIComparisonFunctions
Seamus Lee [Sun, 18 Jul 2021 23:53:46 +0000 (09:53 +1000)]
Merge pull request #20893 from colemanw/fixAPIComparisonFunctions

APIv4 - Fix and add tests for comparison SQL functions

3 years agoMerge pull request #20896 from colemanw/groupConcatOutputValue
Seamus Lee [Sun, 18 Jul 2021 23:49:40 +0000 (09:49 +1000)]
Merge pull request #20896 from colemanw/groupConcatOutputValue

APIv4 - Better handling of output value using GROUP_CONCAT

3 years agoSearchKit - Allow tokens in link text
Coleman Watts [Sun, 18 Jul 2021 19:39:14 +0000 (15:39 -0400)]
SearchKit - Allow tokens in link text

3 years agoSearchKit - Support all fields as tokens
Coleman Watts [Fri, 16 Jul 2021 19:09:40 +0000 (15:09 -0400)]
SearchKit - Support all fields as tokens

Previously, only fields present in the SELECT clause could be tokens.
Now the SearchDisplay::Run api will add any fields used as tokens to the SELECT automatically.

3 years agoAPIv4 Explorer - Fix display of bridge entity fields for symmetric bridge
Coleman Watts [Fri, 16 Jul 2021 15:06:41 +0000 (11:06 -0400)]
APIv4 Explorer - Fix display of bridge entity fields for symmetric bridge

Symmetric bridge entities such as RelationshipCache which joins Contact to Contact
need to have the second entity id availble to join on.

3 years agoAPIv4 - Validate number of args passed to SQL functions
Coleman Watts [Sun, 18 Jul 2021 17:23:23 +0000 (13:23 -0400)]
APIv4 - Validate number of args passed to SQL functions

3 years agoAPIv4 - Better handling of output value using GROUP_CONCAT
Coleman Watts [Sun, 18 Jul 2021 15:16:20 +0000 (11:16 -0400)]
APIv4 - Better handling of output value using GROUP_CONCAT

3 years agoMerge pull request #20894 from civicrm/5.40
Seamus Lee [Sun, 18 Jul 2021 04:40:12 +0000 (14:40 +1000)]
Merge pull request #20894 from civicrm/5.40

5.40

3 years agoMerge pull request #20891 from demeritcowboy/timestamp-update
Seamus Lee [Sun, 18 Jul 2021 02:26:55 +0000 (12:26 +1000)]
Merge pull request #20891 from demeritcowboy/timestamp-update

[NFC/Unit test] - Failing test demonstrating blank timestamp updates

3 years agoAPIv4 - Fix and add tests for comparison SQL functions
Coleman Watts [Sun, 18 Jul 2021 01:42:29 +0000 (21:42 -0400)]
APIv4 - Fix and add tests for comparison SQL functions

3 years agoMerge pull request #20890 from demeritcowboy/ignore-log-upgrade-alt
colemanw [Sun, 18 Jul 2021 01:29:00 +0000 (21:29 -0400)]
Merge pull request #20890 from demeritcowboy/ignore-log-upgrade-alt

dev/core#2666 - (Alternate) Don't repeatedly log about crm-l10n.js during upgrade

3 years agoMerge pull request #20865 from totten/master-getset-trait
colemanw [Sun, 18 Jul 2021 01:07:20 +0000 (21:07 -0400)]
Merge pull request #20865 from totten/master-getset-trait

(REF) Civi/Schema - Extract MagicGetterSetterTrait. Add test coverage.

3 years ago(NFC) AbstractAction - Pithiness
Tim Otten [Sat, 17 Jul 2021 21:20:39 +0000 (14:20 -0700)]
(NFC) AbstractAction - Pithiness

3 years agofailing test for timestamp updates
demeritcowboy [Sat, 17 Jul 2021 22:36:12 +0000 (18:36 -0400)]
failing test for timestamp updates

3 years agodon't log about missing l10n for every upgrade task
demeritcowboy [Sat, 17 Jul 2021 20:01:21 +0000 (16:01 -0400)]
don't log about missing l10n for every upgrade task

3 years agoMerge pull request #20850 from eileenmcnaughton/int
colemanw [Sat, 17 Jul 2021 03:32:12 +0000 (23:32 -0400)]
Merge pull request #20850 from eileenmcnaughton/int

Use type hinting for id

3 years agoMerge pull request #20848 from eileenmcnaughton/dep
colemanw [Sat, 17 Jul 2021 01:41:31 +0000 (21:41 -0400)]
Merge pull request #20848 from eileenmcnaughton/dep

Remove deprecated code

3 years agoMerge pull request #20853 from eileenmcnaughton/auth
colemanw [Sat, 17 Jul 2021 01:40:19 +0000 (21:40 -0400)]
Merge pull request #20853 from eileenmcnaughton/auth

Remove never-true-if

3 years agoCivi/Schema - Extract MagicGetterSetterTrait. Add test coverage.
Tim Otten [Tue, 6 Jul 2021 02:37:49 +0000 (19:37 -0700)]
Civi/Schema - Extract MagicGetterSetterTrait. Add test coverage.

3 years agoMerge pull request #20881 from eileenmcnaughton/batch2
colemanw [Sat, 17 Jul 2021 01:07:54 +0000 (21:07 -0400)]
Merge pull request #20881 from eileenmcnaughton/batch2

Remove non-variable variables

3 years agoMerge pull request #20879 from colemanw/fixOnCrmUiSelect
Tim Otten [Fri, 16 Jul 2021 21:54:32 +0000 (14:54 -0700)]
Merge pull request #20879 from colemanw/fixOnCrmUiSelect

Fix onCrmUiSelect to use current scope and apply to the digest cycle

3 years agoMerge pull request #20878 from colemanw/fixSearchKitCount
Eileen McNaughton [Fri, 16 Jul 2021 20:50:22 +0000 (08:50 +1200)]
Merge pull request #20878 from colemanw/fixSearchKitCount

SearchKit - Fix pager count return value

3 years agoRemove non-variable variables
Eileen McNaughton [Fri, 16 Jul 2021 20:26:25 +0000 (08:26 +1200)]
Remove non-variable variables

3 years agoFix onCrmUiSelect to use current scope and apply to the digest cycle
Coleman Watts [Fri, 16 Jul 2021 19:11:36 +0000 (15:11 -0400)]
Fix onCrmUiSelect to use current scope and apply to the digest cycle

Evaluates expression in current scope rather than parent scope,
and uses $scope.$apply.

3 years agoMerge pull request #20871 from eileenmcnaughton/val
demeritcowboy [Fri, 16 Jul 2021 19:07:03 +0000 (15:07 -0400)]
Merge pull request #20871 from eileenmcnaughton/val

[Ref] Remove never-passed parameter

3 years agoSearchKit - Fix pager count return value
Coleman Watts [Fri, 16 Jul 2021 16:03:25 +0000 (12:03 -0400)]
SearchKit - Fix pager count return value

3 years agoMerge pull request #20874 from eileenmcnaughton/batch
colemanw [Fri, 16 Jul 2021 15:10:30 +0000 (11:10 -0400)]
Merge pull request #20874 from eileenmcnaughton/batch

[REF] Remove some non-variable variables

3 years agoMerge pull request #20864 from eileenmcnaughton/tok
Matthew Wire [Fri, 16 Jul 2021 14:20:42 +0000 (15:20 +0100)]
Merge pull request #20864 from eileenmcnaughton/tok

dev/core#2650 Add support for contribution_status_id to the token processor

3 years agoMerge pull request #20801 from eileenmcnaughton/upg
demeritcowboy [Fri, 16 Jul 2021 12:06:02 +0000 (08:06 -0400)]
Merge pull request #20801 from eileenmcnaughton/upg

Enotice fix on extensions page

3 years agoMerge pull request #20873 from eileenmcnaughton/remove_dep
Yashodha Chaku [Fri, 16 Jul 2021 11:26:26 +0000 (16:56 +0530)]
Merge pull request #20873 from eileenmcnaughton/remove_dep

Remove deprecated lines of code

3 years agodev/core#2650 Add support for contribution_status_id to the processor
Eileen McNaughton [Fri, 16 Jul 2021 00:59:06 +0000 (12:59 +1200)]
dev/core#2650 Add support for contribution_status_id to the processor

Per https://lab.civicrm.org/dev/core/-/issues/2650 the goal is to get the
token processor (for each entity, in this case contributions) to be processing fields
in the same way as the legacy processor does and for this to be thoroughly tested.

This allows us to expose the token processor classes to message template processing
and use them interchangeably, with an eventual goal of migrating over.

It turns out that althought 'Contribution Status ID' is exposed in the UI
for scheduled reminders it did not work. This left us open to simply add the
token contribution.contribution_status_id and add tests.

Per 2650 the handling of pseudoconstants is inconsistent but our preferred goal
is that they would follow apiv4 style syntax and that the actual field name
would hold the actual field value.

Although the token processor exposes a value 'status' - it seems this is likely never
actually exposed to the user and is probably unused.

We can come back to how to deprecate & remove

3 years agoMerge pull request #20876 from eileenmcnaughton/cust
Eileen McNaughton [Fri, 16 Jul 2021 10:40:06 +0000 (22:40 +1200)]
Merge pull request #20876 from eileenmcnaughton/cust

Api test cleanup fixes

3 years agoApi test cleanup fixes
Eileen McNaughton [Fri, 16 Jul 2021 08:25:01 +0000 (20:25 +1200)]
Api test cleanup fixes

3 years ago[REF] Remove some non-variable variables
Eileen McNaughton [Fri, 16 Jul 2021 06:52:13 +0000 (18:52 +1200)]
[REF] Remove some non-variable variables

This previously shared function has parameters that are hard set to a specific value.
Most notably pending is set to FALSE - this removes all references to pending from the function

3 years agoMerge pull request #20791 from eileenmcnaughton/batch_renew
Monish Deb [Fri, 16 Jul 2021 06:36:16 +0000 (12:06 +0530)]
Merge pull request #20791 from eileenmcnaughton/batch_renew

[REF] Simplify isRenew handling on batch for membership

3 years agoRemove deprecated lines of code
Eileen McNaughton [Fri, 16 Jul 2021 06:22:47 +0000 (18:22 +1200)]
Remove deprecated lines of code

3 years ago[Ref] Remove never-passed parameter
Eileen McNaughton [Fri, 16 Jul 2021 05:55:57 +0000 (17:55 +1200)]
[Ref] Remove never-passed parameter

this function is called from only one place & it does not pass in financialTrxnValues

3 years agoMerge pull request #20820 from eileenmcnaughton/tpl
Eileen McNaughton [Fri, 16 Jul 2021 05:23:18 +0000 (17:23 +1200)]
Merge pull request #20820 from eileenmcnaughton/tpl

dev/core#2684 Fix filters tpl in civi reports to permit more than one  table in a grouping

3 years ago[REF] Fix functions to be protected
Eileen McNaughton [Fri, 16 Jul 2021 03:51:13 +0000 (15:51 +1200)]
[REF] Fix functions to be protected

I did some poking around & these function are not called outside the class

Once we can see that we can consider updating to save 0 to the table, allowing
a lot of simplification

3 years agoMerge pull request #20829 from eileenmcnaughton/order
Monish Deb [Fri, 16 Jul 2021 02:52:51 +0000 (08:22 +0530)]
Merge pull request #20829 from eileenmcnaughton/order

[REF] Further order api cleanup

3 years agoMerge pull request #20863 from eileenmcnaughton/api4
colemanw [Fri, 16 Jul 2021 01:20:53 +0000 (21:20 -0400)]
Merge pull request #20863 from eileenmcnaughton/api4

Fix v4 api to do custom field delete in tearDown

3 years agoFix v4 api to do custom field delete in tearDown
Eileen McNaughton [Thu, 15 Jul 2021 22:44:34 +0000 (10:44 +1200)]
Fix v4 api to do custom field delete in tearDown

This existing efforts are wrong because
1) the delete has to go in the tearDown not the clean up
2) it is rigid about the custom group table name - which
will get us into problems as the name can be set and we
should be ensuring that it can in our tests

3 years agoMerge pull request #20578 from eileenmcnaughton/admin_data
demeritcowboy [Thu, 15 Jul 2021 21:10:18 +0000 (17:10 -0400)]
Merge pull request #20578 from eileenmcnaughton/admin_data

Give administer CiviCRM data access to administer custom groups

3 years agodev/core#2684 Fix filters tpl in civi reports to permit more than one table in a...
Eileen McNaughton [Fri, 9 Jul 2021 01:46:51 +0000 (13:46 +1200)]
dev/core#2684 Fix filters tpl in civi reports to permit more than one table in a grouping

3 years agoMerge pull request #20860 from civicrm/5.40
Eileen McNaughton [Thu, 15 Jul 2021 20:57:34 +0000 (08:57 +1200)]
Merge pull request #20860 from civicrm/5.40

5.40 to master

3 years agoMerge pull request #20859 from agh1/5.40.0-releasenotes-initial
Eileen McNaughton [Thu, 15 Jul 2021 20:57:05 +0000 (08:57 +1200)]
Merge pull request #20859 from agh1/5.40.0-releasenotes-initial

5.40.0 release notes initial run

3 years ago5.40.0 release notes: added boilerplate
Andrew Hunt [Thu, 15 Jul 2021 19:29:30 +0000 (15:29 -0400)]
5.40.0 release notes: added boilerplate

3 years ago5.40.0 release notes: raw from script
Andrew Hunt [Thu, 15 Jul 2021 19:26:09 +0000 (15:26 -0400)]
5.40.0 release notes: raw from script

3 years agoMerge pull request #20840 from colemanw/membershipTypeAutoRenewFix
Eileen McNaughton [Thu, 15 Jul 2021 01:32:10 +0000 (13:32 +1200)]
Merge pull request #20840 from colemanw/membershipTypeAutoRenewFix

APIv4 - Fix output of membershipType auto_renew field

3 years agoMerge pull request #20852 from eileenmcnaughton/paypal
Eileen McNaughton [Thu, 15 Jul 2021 01:14:48 +0000 (13:14 +1200)]
Merge pull request #20852 from eileenmcnaughton/paypal

[REF] [towards dev/core#2693] Use getter rather than passing variable

3 years agoMerge pull request #20849 from civicrm/5.40
Seamus Lee [Thu, 15 Jul 2021 00:51:14 +0000 (10:51 +1000)]
Merge pull request #20849 from civicrm/5.40

5.40

3 years agoRemove never-true-if
Eileen McNaughton [Thu, 15 Jul 2021 00:32:34 +0000 (12:32 +1200)]
Remove never-true-if

This code is in the recur() function. the lines immediately before this function ensure contribution->contribution_status_id
is unset if it is 1 - meaning this if can never be true

3 years agoMerge pull request #20847 from eileenmcnaughton/ref
Eileen McNaughton [Thu, 15 Jul 2021 00:24:33 +0000 (12:24 +1200)]
Merge pull request #20847 from eileenmcnaughton/ref

Minor simplification - use casting

3 years agoMerge pull request #20718 from eileenmcnaughton/ipn
colemanw [Thu, 15 Jul 2021 00:18:27 +0000 (20:18 -0400)]
Merge pull request #20718 from eileenmcnaughton/ipn

[REF] Minor auth.net ipn simplification

3 years agoMerge pull request #20844 from demeritcowboy/report-rectype
Eileen McNaughton [Thu, 15 Jul 2021 00:07:28 +0000 (12:07 +1200)]
Merge pull request #20844 from demeritcowboy/report-rectype

dev/core#2691 - On logging detail civireport show words instead of numbers

3 years ago[REF] Use getter rather than passing variable
Eileen McNaughton [Wed, 14 Jul 2021 23:47:43 +0000 (11:47 +1200)]
[REF] Use getter rather than passing variable

txnType is a required parameter for recurring & unused for single. This switches to retrieving
it as needed rather than passing it around. It removes one check for whether it is
set because the abort will exit if not

3 years agoUse type hinting for id
Eileen McNaughton [Wed, 14 Jul 2021 22:45:21 +0000 (10:45 +1200)]
Use type hinting for id

This clarifies that the id must be an integer (0 for anonymous)

Function is only called from one place

3 years agoMerge pull request #20846 from colemanw/fixCkEditorExtension
Seamus Lee [Wed, 14 Jul 2021 22:41:09 +0000 (08:41 +1000)]
Merge pull request #20846 from colemanw/fixCkEditorExtension

CKEditor - Fix .tpl insertion on every form

3 years agoRemove deprecated code
Eileen McNaughton [Wed, 14 Jul 2021 22:40:02 +0000 (10:40 +1200)]
Remove deprecated code

We deprecated NOT passing an id into the function in 2018 - this removes

Note I double checked - if you pass in '2' to a strict casting of int
it accepts it and casts to int

3 years agoMinor simplification
Eileen McNaughton [Wed, 14 Jul 2021 22:30:15 +0000 (10:30 +1200)]
Minor simplification

3 years agoMerge pull request #20843 from demeritcowboy/smartyreptable
Eileen McNaughton [Wed, 14 Jul 2021 20:12:36 +0000 (08:12 +1200)]
Merge pull request #20843 from demeritcowboy/smartyreptable

Smarty notices - Missing type on logging civireport

3 years agoMerge pull request #20768 from eileenmcnaughton/mem_type_acl
colemanw [Wed, 14 Jul 2021 18:52:35 +0000 (14:52 -0400)]
Merge pull request #20768 from eileenmcnaughton/mem_type_acl

dev/core#2115 Switch membership type browse page to use v4api for get, thus using acls properly

3 years agoCKEditor - Fix .tpl insertion on every form
Coleman Watts [Wed, 14 Jul 2021 18:45:58 +0000 (14:45 -0400)]
CKEditor - Fix .tpl insertion on every form

3 years agoMerge pull request #20842 from in2part/add-to-contributors-file
colemanw [Wed, 14 Jul 2021 18:28:13 +0000 (14:28 -0400)]
Merge pull request #20842 from in2part/add-to-contributors-file

Add to contributors file

3 years agoMerge pull request #20821 from colemanw/afformBeta
colemanw [Wed, 14 Jul 2021 18:27:29 +0000 (14:27 -0400)]
Merge pull request #20821 from colemanw/afformBeta

Mark afform extensions as beta

3 years agoAPIv4 - Fix output of membershipType auto_renew field.
Coleman Watts [Tue, 13 Jul 2021 14:44:29 +0000 (10:44 -0400)]
APIv4 - Fix output of membershipType auto_renew field.

The field had been declared a "boolean" in the schema, which at a SQL level
is exactly the same as "tinyint" but it was resulting in incorrect API output.

3 years agoshow words instead of numbers
demeritcowboy [Wed, 14 Jul 2021 15:32:11 +0000 (11:32 -0400)]
show words instead of numbers

3 years agomissing type
demeritcowboy [Wed, 14 Jul 2021 15:06:05 +0000 (11:06 -0400)]
missing type

3 years agoAdd to contributors file
Mads Mitchell [Wed, 14 Jul 2021 09:19:21 +0000 (12:19 +0300)]
Add to contributors file

3 years agoMerge pull request #20839 from in2part/fix-typo-in-social-buttons
Seamus Lee [Wed, 14 Jul 2021 00:16:58 +0000 (10:16 +1000)]
Merge pull request #20839 from in2part/fix-typo-in-social-buttons

Fix a typo in social networking buttons

3 years agoMerge pull request #20833 from colemanw/customPerm
Eileen McNaughton [Tue, 13 Jul 2021 20:09:31 +0000 (08:09 +1200)]
Merge pull request #20833 from colemanw/customPerm

CustomGroup - change admin permission to 'administer CiviCRM data'

3 years agoMerge pull request #20834 from colemanw/fixUnusedVars
demeritcowboy [Tue, 13 Jul 2021 19:41:44 +0000 (15:41 -0400)]
Merge pull request #20834 from colemanw/fixUnusedVars

[REF] Remove unused variables

3 years agoRemove unused variables
Coleman Watts [Mon, 12 Jul 2021 18:32:44 +0000 (14:32 -0400)]
Remove unused variables

3 years agoFix a typo in social networking buttons
Mads Mitchell [Tue, 13 Jul 2021 13:08:01 +0000 (16:08 +0300)]
Fix a typo in social networking buttons

3 years agoMerge pull request #20831 from eileenmcnaughton/order_part
Monish Deb [Tue, 13 Jul 2021 05:40:07 +0000 (11:10 +0530)]
Merge pull request #20831 from eileenmcnaughton/order_part

Remove a couple of instances of 'contribution_mode' from tests

3 years agoMerge pull request #20775 from eileenmcnaughton/loadlines
Monish Deb [Tue, 13 Jul 2021 05:38:56 +0000 (11:08 +0530)]
Merge pull request #20775 from eileenmcnaughton/loadlines

Deprecate guess work in line item handling

3 years ago[REF] Further order api cleanup
Eileen McNaughton [Mon, 12 Jul 2021 02:51:10 +0000 (14:51 +1200)]
[REF] Further order api cleanup

3 years agoDeprecate guess work in processPriceSet
Eileen McNaughton [Sun, 20 Jun 2021 21:16:08 +0000 (09:16 +1200)]
Deprecate guess work in processPriceSet

Testing to see how much of this we can deprecate - line items should
be 'complete' before reaching the processing function

3 years agoMerge pull request #20784 from eileenmcnaughton/pay_fix
Monish Deb [Tue, 13 Jul 2021 03:31:18 +0000 (09:01 +0530)]
Merge pull request #20784 from eileenmcnaughton/pay_fix

Fixes getTemplateContribution to use a more reliable way to load line items

3 years agoMerge pull request #20838 from civicrm/5.40
Seamus Lee [Tue, 13 Jul 2021 01:42:41 +0000 (11:42 +1000)]
Merge pull request #20838 from civicrm/5.40

5.40

3 years agoMerge pull request #20836 from seamuslee001/dev_rc_13
Eileen McNaughton [Mon, 12 Jul 2021 23:50:25 +0000 (11:50 +1200)]
Merge pull request #20836 from seamuslee001/dev_rc_13

Resolve dev/rc#13 by permitting civi.setupui events to be dispatched …

3 years agoResolve dev/rc#13 by permitting civi.setupui events to be dispatched during install
Seamus Lee [Mon, 12 Jul 2021 21:58:25 +0000 (07:58 +1000)]
Resolve dev/rc#13 by permitting civi.setupui events to be dispatched during install

3 years agoMerge pull request #20587 from eileenmcnaughton/rr
Seamus Lee [Mon, 12 Jul 2021 21:52:57 +0000 (07:52 +1000)]
Merge pull request #20587 from eileenmcnaughton/rr

dev/core#2648 update redis class off deprecated functions

3 years agoCustomGroup - change admin permission to 'administer CiviCRM data'
Coleman Watts [Mon, 12 Jul 2021 16:02:24 +0000 (12:02 -0400)]
CustomGroup - change admin permission to 'administer CiviCRM data'

This permission is a subset of 'administer CiviCRM' and is more precise,
allowing finer-grained admin permissions.

3 years agoRemove a couple of instances of 'contribution_mdoe' from tests
Eileen McNaughton [Mon, 12 Jul 2021 10:54:56 +0000 (22:54 +1200)]
Remove a couple of instances of 'contribution_mdoe' from tests

This should not be required - we should pass in correct line items....

3 years agoSwitch membership type to use apiv4
Eileen McNaughton [Sun, 4 Jul 2021 23:36:39 +0000 (11:36 +1200)]
Switch membership type to use apiv4

url is civicrm/admin/member/membershipType?reset=1
test cover in https://github.com/civicrm/civicrm-core/pull/20761

3 years agoMerge pull request #20830 from eileenmcnaughton/ttp
Eileen McNaughton [Mon, 12 Jul 2021 10:18:13 +0000 (22:18 +1200)]
Merge pull request #20830 from eileenmcnaughton/ttp

E-notice fix

3 years agoMerge pull request #20650 from eileenmcnaughton/partorder
Eileen McNaughton [Mon, 12 Jul 2021 10:17:48 +0000 (22:17 +1200)]
Merge pull request #20650 from eileenmcnaughton/partorder

Enable check on created participant payment rows

3 years agoMerge pull request #20799 from colemanw/filterByPrefix
Seamus Lee [Mon, 12 Jul 2021 09:05:50 +0000 (19:05 +1000)]
Merge pull request #20799 from colemanw/filterByPrefix

APIv4 - Fix pseudoconstant matching reliability across joins

3 years agoMerge pull request #20828 from colemanw/tplFix
Eileen McNaughton [Mon, 12 Jul 2021 08:30:48 +0000 (20:30 +1200)]
Merge pull request #20828 from colemanw/tplFix

Fix undefined tpl vars

3 years agoE-notice fix
Eileen McNaughton [Mon, 12 Jul 2021 08:11:31 +0000 (20:11 +1200)]
E-notice fix

3 years agoEnable check on created participant payment rows
Eileen McNaughton [Fri, 18 Jun 2021 04:10:35 +0000 (16:10 +1200)]
Enable check on created participant payment rows

Extend participant check

3 years agoMerge pull request #20670 from eileenmcnaughton/reg
Monish Deb [Mon, 12 Jul 2021 05:45:48 +0000 (11:15 +0530)]
Merge pull request #20670 from eileenmcnaughton/reg

Fix transfer registration to transfer participant_payment row

3 years agoFixes getTemplateContribution to use a more reliable way to load line items
Eileen McNaughton [Tue, 6 Jul 2021 18:54:32 +0000 (06:54 +1200)]
Fixes getTemplateContribution to use a more reliable way to load line items

My efforts to add testing a 'deprecate weird stuff' have identified an odd and fragile
flow for the line items in getTemplateContribution. It calls
getLineItemsByContributionID which, as it turns out, substitues the
actual entity table with 'civicrm_contribution'.

Then this line of weird handling swoops in and saves the day.

https://github.com/civicrm/civicrm-core/pull/20775/files#diff-a16d4d7449cf5f3a0616d1d282a32f27ab6d3f7d2726d076c02ad1d4d655af41R393

This switches us to something cleaner than just loads the line items (with v4 LineItem.get) and
no weird handling

3 years agoMerge pull request #20826 from civicrm/5.40
Seamus Lee [Mon, 12 Jul 2021 02:30:53 +0000 (12:30 +1000)]
Merge pull request #20826 from civicrm/5.40

Merge 5.40 to master

3 years agoFix undefined tpl vars
Coleman Watts [Mon, 12 Jul 2021 01:17:20 +0000 (21:17 -0400)]
Fix undefined tpl vars

3 years agoMerge pull request #20827 from eileenmcnaughton/tpl3
colemanw [Mon, 12 Jul 2021 01:09:16 +0000 (21:09 -0400)]
Merge pull request #20827 from eileenmcnaughton/tpl3

tpl enotice fix