civicrm-core.git
4 years agoMerge pull request #16182 from seamuslee001/dev_core_1144
Seamus Lee [Thu, 2 Jan 2020 04:09:58 +0000 (15:09 +1100)]
Merge pull request #16182 from seamuslee001/dev_core_1144

dev/core#1144 (NFC) Handle fact that MySQL 8 always returns the colum…

4 years agodev/core#1144 (NFC) Handle fact that MySQL 8 always returns the column name as it...
Seamus Lee [Thu, 2 Jan 2020 02:34:44 +0000 (02:34 +0000)]
dev/core#1144 (NFC) Handle fact that MySQL 8 always returns the column name as it is in the DB not as it is in the query

4 years agoMerge pull request #16180 from eileenmcnaughton/act2
Seamus Lee [Thu, 2 Jan 2020 02:18:11 +0000 (13:18 +1100)]
Merge pull request #16180 from eileenmcnaughton/act2

[REF] remove unused  from getACLRoles

4 years agoMerge pull request #16181 from civicrm/5.21
Eileen McNaughton [Thu, 2 Jan 2020 01:25:53 +0000 (14:25 +1300)]
Merge pull request #16181 from civicrm/5.21

5.21 to master

4 years agoMerge pull request #16176 from eileenmcnaughton/mem_fix
Eileen McNaughton [Thu, 2 Jan 2020 01:25:17 +0000 (14:25 +1300)]
Merge pull request #16176 from eileenmcnaughton/mem_fix

dev/membership#21 fix regression on membership handling

4 years ago[REF] remove unused from getACLRoles
eileen [Thu, 2 Jan 2020 00:34:10 +0000 (13:34 +1300)]
[REF] remove unused  from getACLRoles

Following on from https://github.com/civicrm/civicrm-core/pull/16175 we now know that group_id is not
passed into this function as the only place that calls this no longer passes group id, eliminate.

4 years agoMerge pull request #16167 from eileenmcnaughton/mem2
Seamus Lee [Thu, 2 Jan 2020 00:10:48 +0000 (11:10 +1100)]
Merge pull request #16167 from eileenmcnaughton/mem2

[NFC] Add test on buildMembershipTypeValues & cleanup class

4 years agoMerge pull request #16175 from eileenmcnaughton/get_acls
Seamus Lee [Thu, 2 Jan 2020 00:09:52 +0000 (11:09 +1100)]
Merge pull request #16175 from eileenmcnaughton/get_acls

[REF] Remove unused params from function signature for getACLs

4 years agoMerge pull request #16179 from seamuslee001/dev_core_1143
Tim Otten [Wed, 1 Jan 2020 23:54:09 +0000 (15:54 -0800)]
Merge pull request #16179 from seamuslee001/dev_core_1143

dev/core#1143 dev/core#1480 Permit CiviCRM installation and running o…

4 years agoNew year (2020) test fixes. (Backport #16172)
eileen [Wed, 1 Jan 2020 03:22:32 +0000 (16:22 +1300)]
New year (2020) test fixes. (Backport #16172)

We have 8 tests failing that seem to be due to 2020 starting. This fixes 2

4 years agoMerge pull request #16178 from seamuslee001/regen_dao
Seamus Lee [Wed, 1 Jan 2020 23:12:27 +0000 (10:12 +1100)]
Merge pull request #16178 from seamuslee001/regen_dao

[NFC] Re-generate DAOs

4 years agodev/core#1143 dev/core#1480 Permit CiviCRM installation and running on MySQL 8 by...
Seamus Lee [Wed, 1 Jan 2020 22:17:16 +0000 (22:17 +0000)]
dev/core#1143 dev/core#1480 Permit CiviCRM installation and running on MySQL 8 by adding backticks around grouping

4 years ago[NFC] Re-generate DAOs
Seamus Lee [Wed, 1 Jan 2020 22:06:42 +0000 (22:06 +0000)]
[NFC] Re-generate DAOs

4 years agodev/membership#21 fix regression on membership handling
eileen [Wed, 1 Jan 2020 21:44:22 +0000 (10:44 +1300)]
dev/membership#21 fix regression on membership handling

This turns https://lab.civicrm.org/dev/membership/issues/21#note_29439 into a patch. As new code it seems to
have triggered an underlying issue. I also have https://github.com/civicrm/civicrm-core/pull/16139 open but
would be happy to see this hit the rc & the other have a full rc cycle.

The logic for this change makes sense as described & it is trivial. This has been a very hard bug
to reproduce so I'm unable to give full steps

4 years agoAdd test on buildMembershipTypeValues & cleanup class
eileen [Mon, 9 Dec 2019 08:59:27 +0000 (21:59 +1300)]
Add test on buildMembershipTypeValues & cleanup class

I found the class wasn't running reliably in isolation so had to strip out some invalid things

4 years ago[REF] Remove unused params from function signature for getACLs
eileen [Wed, 1 Jan 2020 21:25:57 +0000 (10:25 +1300)]
[REF] Remove unused params from function signature for getACLs

It turns out this function is only called once & the second 2 acls are hard-coded so we don't need them

4 years agoMerge pull request #16172 from eileenmcnaughton/happy_new_year
Eileen McNaughton [Wed, 1 Jan 2020 20:01:38 +0000 (09:01 +1300)]
Merge pull request #16172 from eileenmcnaughton/happy_new_year

2020 test fixes.

4 years agoMerge pull request #16100 from jitendrapurohit/dev-1473
Yashodha Chaku [Wed, 1 Jan 2020 04:55:22 +0000 (10:25 +0530)]
Merge pull request #16100 from jitendrapurohit/dev-1473

dev/core#1473 - Missing address on /user when location type label dif…

4 years agoMerge pull request #16162 from colemanw/contactFields
Eileen McNaughton [Wed, 1 Jan 2020 03:37:25 +0000 (16:37 +1300)]
Merge pull request #16162 from colemanw/contactFields

Add contact type to schema to allow GetFields filtering

4 years ago2020 test fixes.
eileen [Wed, 1 Jan 2020 03:22:32 +0000 (16:22 +1300)]
2020 test fixes.

We have 8 tests failing that seem to be due to 2020 starting. This fixes 2

4 years agoMerge pull request #16168 from colemanw/options
Eileen McNaughton [Wed, 1 Jan 2020 01:14:16 +0000 (14:14 +1300)]
Merge pull request #16168 from colemanw/options

Pass api4 getFields values through to getOptions

4 years agoMerge pull request #16171 from civicrm/5.21
Seamus Lee [Tue, 31 Dec 2019 23:14:40 +0000 (10:14 +1100)]
Merge pull request #16171 from civicrm/5.21

Merge pull request #16170 from agh1/5.21.0-releasenotes-final

4 years agoMerge pull request #16170 from agh1/5.21.0-releasenotes-final
Seamus Lee [Tue, 31 Dec 2019 23:14:18 +0000 (10:14 +1100)]
Merge pull request #16170 from agh1/5.21.0-releasenotes-final

5.21.0 releasenotes final

4 years agoMerge pull request #16169 from agh1/5.21.0-releasenotes-final
Seamus Lee [Tue, 31 Dec 2019 23:13:01 +0000 (10:13 +1100)]
Merge pull request #16169 from agh1/5.21.0-releasenotes-final

Final 5.21.0 release notes

4 years ago5.21.0 release notes: last batch of edits
Andrew Hunt [Tue, 31 Dec 2019 23:07:30 +0000 (18:07 -0500)]
5.21.0 release notes: last batch of edits

4 years ago5.21.0 release notes - updated big contributors list for 2019
Andrew Hunt [Tue, 31 Dec 2019 21:40:15 +0000 (16:40 -0500)]
5.21.0 release notes - updated big contributors list for 2019

4 years ago5.21.0 release notes: added late changes
Andrew Hunt [Tue, 31 Dec 2019 20:20:21 +0000 (15:20 -0500)]
5.21.0 release notes: added late changes

4 years agoPass api4 getFields values through to getOptions
Coleman Watts [Tue, 31 Dec 2019 04:35:43 +0000 (23:35 -0500)]
Pass api4 getFields values through to getOptions

4 years agoMerge pull request #16165 from eileenmcnaughton/mod_member_api
Seamus Lee [Tue, 31 Dec 2019 02:17:53 +0000 (13:17 +1100)]
Merge pull request #16165 from eileenmcnaughton/mod_member_api

[NFC] Extract duplicated code lines in test

4 years ago[NFC] Extract duplicated code lines in test
eileen [Mon, 30 Dec 2019 04:48:47 +0000 (17:48 +1300)]
[NFC] Extract duplicated code lines in test

4 years agoMerge pull request #16164 from colemanw/controlField
Seamus Lee [Mon, 30 Dec 2019 22:28:49 +0000 (09:28 +1100)]
Merge pull request #16164 from colemanw/controlField

Add controlField metadata for ChainSelect fields

4 years agoAdd controlField metadata for ChainSelect fields
Coleman Watts [Mon, 30 Dec 2019 20:32:22 +0000 (15:32 -0500)]
Add controlField metadata for ChainSelect fields

4 years agoMerge pull request #16163 from eileenmcnaughton/mod_member
Seamus Lee [Mon, 30 Dec 2019 05:34:57 +0000 (16:34 +1100)]
Merge pull request #16163 from eileenmcnaughton/mod_member

[NFC] Clean up unit test

4 years ago[NFC] Clean up unit test
eileen [Mon, 30 Dec 2019 03:46:22 +0000 (16:46 +1300)]
[NFC] Clean up unit test

Removes duplication (indluding one test entirely covered by other tests. Switches to using api create
and removes passing in of  as part of goal to eliminate this

4 years agoMerge pull request #16149 from seamuslee001/dev_core_1489
Eileen McNaughton [Mon, 30 Dec 2019 03:08:39 +0000 (16:08 +1300)]
Merge pull request #16149 from seamuslee001/dev_core_1489

dev/core#1489 do not reconcile managed entities whilst in upgrade mod…

4 years agoMerge pull request #16117 from seamuslee001/dev_core_1424
Eileen McNaughton [Mon, 30 Dec 2019 03:03:31 +0000 (16:03 +1300)]
Merge pull request #16117 from seamuslee001/dev_core_1424

dev/core#1424 Support MS Excel for Diacritic Characters when exporting a report to CSV

4 years agoAdd contact type to schema to allow GetFields filtering
Coleman Watts [Sun, 29 Dec 2019 02:17:12 +0000 (21:17 -0500)]
Add contact type to schema to allow GetFields filtering

4 years agoMerge pull request #16154 from colemanw/getFields
Eileen McNaughton [Mon, 30 Dec 2019 02:17:57 +0000 (15:17 +1300)]
Merge pull request #16154 from colemanw/getFields

Allow values to be passed to api4 GetFields

4 years agoMerge pull request #16161 from civicrm/5.21
Seamus Lee [Sun, 29 Dec 2019 06:45:08 +0000 (17:45 +1100)]
Merge pull request #16161 from civicrm/5.21

5.21

4 years agoMerge pull request #16160 from seamuslee001/5.21
Seamus Lee [Sun, 29 Dec 2019 06:43:43 +0000 (17:43 +1100)]
Merge pull request #16160 from seamuslee001/5.21

5.20.3 Release Notes

4 years agoUpdate 5.20.3.md
Tim Otten [Sun, 29 Dec 2019 04:30:22 +0000 (20:30 -0800)]
Update 5.20.3.md

4 years agoAdd release-notes/5.20.3.md
Tim Otten [Sun, 29 Dec 2019 03:30:23 +0000 (19:30 -0800)]
Add release-notes/5.20.3.md

4 years agoMerge pull request #16157 from seamuslee001/dev_drupal_99
Seamus Lee [Sat, 28 Dec 2019 23:58:50 +0000 (10:58 +1100)]
Merge pull request #16157 from seamuslee001/dev_drupal_99

dev/drupal#99 Fix E-notice on undefined property id of non object

4 years agoMerge pull request #16156 from civicrm/5.21
Seamus Lee [Sat, 28 Dec 2019 23:58:00 +0000 (10:58 +1100)]
Merge pull request #16156 from civicrm/5.21

5.21

4 years agoAllow values to be passed to api4 GetFields
Coleman Watts [Sat, 28 Dec 2019 14:31:40 +0000 (09:31 -0500)]
Allow values to be passed to api4 GetFields

So far this only filters custom fields by contact type,
but values is now being passed to allow more filtering.

4 years agodev/drupal#99 Fix E-notice on undefined property id of non object
Seamus Lee [Sat, 28 Dec 2019 21:49:25 +0000 (08:49 +1100)]
dev/drupal#99 Fix E-notice on undefined property id of non object

4 years agoMerge pull request #16155 from seamuslee001/5.21
Seamus Lee [Sat, 28 Dec 2019 21:38:03 +0000 (08:38 +1100)]
Merge pull request #16155 from seamuslee001/5.21

dev/core#183 Ensure that having a rule where each field is the same w…

4 years agodev/core#183 Ensure that having a rule where each field is the same weight with the...
Seamus Lee [Sat, 28 Dec 2019 20:22:34 +0000 (07:22 +1100)]
dev/core#183 Ensure that having a rule where each field is the same weight with the threshold being the total sum of the weights does not cause a fatal error when searching for dupes

4 years agoMerge pull request #16152 from colemanw/multi
Seamus Lee [Sat, 28 Dec 2019 03:10:21 +0000 (14:10 +1100)]
Merge pull request #16152 from colemanw/multi

Api4 - Fix auto serialize array input for CheckBox/MultiSelect fields

4 years agoMerge pull request #15135 from mattwire/case_links_refactor_report
colemanw [Fri, 27 Dec 2019 21:43:55 +0000 (16:43 -0500)]
Merge pull request #15135 from mattwire/case_links_refactor_report

 Add case activity action links to activity report

4 years agoMerge pull request #16079 from eileenmcnaughton/email
colemanw [Thu, 26 Dec 2019 18:45:49 +0000 (13:45 -0500)]
Merge pull request #16079 from eileenmcnaughton/email

Remove unnecessary, and possibly incorrect query from email update

4 years agoMerge pull request #16135 from eileenmcnaughton/pay_total
colemanw [Thu, 26 Dec 2019 18:41:18 +0000 (13:41 -0500)]
Merge pull request #16135 from eileenmcnaughton/pay_total

[REF] simplify recordAdjustedAmt function

4 years agoApi4 - Fix auto serialize array input for CheckBox/MultiSelect fields
Coleman Watts [Thu, 26 Dec 2019 15:54:33 +0000 (10:54 -0500)]
Api4 - Fix auto serialize array input for CheckBox/MultiSelect fields

4 years agoMerge pull request #16151 from eileenmcnaughton/seamus
colemanw [Thu, 26 Dec 2019 16:03:21 +0000 (11:03 -0500)]
Merge pull request #16151 from eileenmcnaughton/seamus

[REF] extract member form batch update & add test

4 years agoMerge pull request #16131 from eileenmcnaughton/acl
Yashodha Chaku [Thu, 26 Dec 2019 07:53:59 +0000 (13:23 +0530)]
Merge pull request #16131 from eileenmcnaughton/acl

[Ref] improve readability of acl code

4 years ago[REF] extract member form batch update & add test
eileen [Thu, 26 Dec 2019 04:02:27 +0000 (17:02 +1300)]
[REF] extract member form batch update & add test

4 years agoMerge pull request #16112 from seamuslee001/remove_zend_validator
Eileen McNaughton [Thu, 26 Dec 2019 03:02:31 +0000 (16:02 +1300)]
Merge pull request #16112 from seamuslee001/remove_zend_validator

Remove unneeded zendframwork/zend-validator and zendframwork/zend-stdlib packages as not required by …

4 years agodev/core#1489 do not reconcile managed entities whilst in upgrade mode and add in...
Seamus Lee [Mon, 23 Dec 2019 23:41:08 +0000 (10:41 +1100)]
dev/core#1489 do not reconcile managed entities whilst in upgrade mode and add in a step at the end of the upgrade process to reconcile managed entiies and add in civicrm_permissions hook to the whitelist of upgrade friendly hooks

4 years agoMerge pull request #16140 from eileenmcnaughton/part_name
Matthew Wire [Mon, 23 Dec 2019 13:11:44 +0000 (13:11 +0000)]
Merge pull request #16140 from eileenmcnaughton/part_name

dev/event#25 Fix regression on billing name overwrite

4 years agoMerge pull request #16136 from eileenmcnaughton/member_test
Seamus Lee [Mon, 23 Dec 2019 05:02:40 +0000 (16:02 +1100)]
Merge pull request #16136 from eileenmcnaughton/member_test

[REF] remove CRM_Core_Error check

4 years agoMerge pull request #16145 from eileenmcnaughton/index_api
Eileen McNaughton [Mon, 23 Dec 2019 04:41:10 +0000 (17:41 +1300)]
Merge pull request #16145 from eileenmcnaughton/index_api

Add api to check for missing indices

4 years agoMerge pull request #16144 from eileenmcnaughton/acl_index
Seamus Lee [Mon, 23 Dec 2019 00:55:03 +0000 (11:55 +1100)]
Merge pull request #16144 from eileenmcnaughton/acl_index

dev/core#1486 Add index to civicrm_acl_cache.modified_date

4 years agoMerge pull request #16143 from eileenmcnaughton/deadlock_err2
Eileen McNaughton [Mon, 23 Dec 2019 00:02:16 +0000 (13:02 +1300)]
Merge pull request #16143 from eileenmcnaughton/deadlock_err2

Fix misleading error message on deadlock

4 years agoAdd api to check for missing indices
eileen [Sun, 22 Dec 2019 23:08:18 +0000 (12:08 +1300)]
Add api to check for missing indices

4 years agoAdd index to civicrm_acl.modified_date
eileen [Sun, 22 Dec 2019 22:32:14 +0000 (11:32 +1300)]
Add index to civicrm_acl.modified_date

4 years agoFix misleading error message on deadlock
eileen [Sun, 22 Dec 2019 20:47:10 +0000 (09:47 +1300)]
Fix misleading error message on deadlock

We were seeing error messages like
API_Exception : financial_type_id is not valid : Donation
when a deadlock was hit. The error made not sense as 'Donation' DID exist and did not help us
to identify the issue as a deadlock. It's still helpful with a deadlock to know if
a real constraint violation is hit as per https://lab.civicrm.org/dev/core/issues/1481 sometimes
a disturbing amount of queries have been rolled back.

Let's fix to handle pseudoconstants here & give a useful message.
The previously converted params did not get to this point but we can re-do that work in this low
volume function rather than do a lot of re-thinking

4 years agoMerge pull request #16142 from eileenmcnaughton/deadlock_err
Eileen McNaughton [Sun, 22 Dec 2019 22:10:58 +0000 (11:10 +1300)]
Merge pull request #16142 from eileenmcnaughton/deadlock_err

[NFC] Declare exceptions, use single quotes where possible, use strict comparison

4 years agoMerge pull request #16141 from eileenmcnaughton/fatal
Eileen McNaughton [Sun, 22 Dec 2019 22:10:44 +0000 (11:10 +1300)]
Merge pull request #16141 from eileenmcnaughton/fatal

dev/core#560 Remove instances of fatal errors

4 years ago[NFC] Declare exceptions, use single quotes where possible, use strict comparison
eileen [Sun, 22 Dec 2019 20:28:35 +0000 (09:28 +1300)]
[NFC] Declare exceptions, use single quotes where possible, use strict comparison

General coding standards. If we know one side is a string we can switch comparison to strict

4 years agoMerge pull request #16132 from eileenmcnaughton/member
Seamus Lee [Sun, 22 Dec 2019 20:10:40 +0000 (07:10 +1100)]
Merge pull request #16132 from eileenmcnaughton/member

[REF] step towards wiping out  $ids array in membership bao functions

4 years agoRemove instances of fatal errors
eileen [Sun, 22 Dec 2019 20:07:52 +0000 (09:07 +1300)]
Remove instances of fatal errors

4 years agoMerge pull request #16134 from eileenmcnaughton/member_legacy
Seamus Lee [Sun, 22 Dec 2019 20:07:33 +0000 (07:07 +1100)]
Merge pull request #16134 from eileenmcnaughton/member_legacy

Remove legacy_redirect_path handling

4 years agoMerge pull request #16122 from demeritcowboy/always-true
Eileen McNaughton [Sun, 22 Dec 2019 20:02:37 +0000 (09:02 +1300)]
Merge pull request #16122 from demeritcowboy/always-true

[NFC] If statement is always true

4 years agoMerge pull request #16138 from eileenmcnaughton/static
Matthew Wire [Sun, 22 Dec 2019 11:48:18 +0000 (11:48 +0000)]
Merge pull request #16138 from eileenmcnaughton/static

Switch static var to using Civi::statics

4 years agoMerge pull request #16137 from eileenmcnaughton/less_dep
Matthew Wire [Sun, 22 Dec 2019 11:45:27 +0000 (11:45 +0000)]
Merge pull request #16137 from eileenmcnaughton/less_dep

[REF] Minor cleanup - declare exceptions, use single quotes, strict comparison

4 years agodev/event#25 Fix regression on billing name overwrite
eileen [Sun, 22 Dec 2019 08:53:11 +0000 (21:53 +1300)]
dev/event#25 Fix regression on billing name overwrite

https://lab.civicrm.org/dev/event/issues/25 was caused by https://github.com/civicrm/civicrm-core/commit/b1b7f4e35bbe566d9efccac1055d311245420974
where it started overwriting the name in that function.

In digging in the code I found that it seems that as long as we call this function before the processor all is
good so we should call right before the processor rather than broader contamination.

Also note ideally the settings bag would be used.

4 years agoSwitch static var to using Civi::statics
eileen [Sun, 22 Dec 2019 05:40:58 +0000 (18:40 +1300)]
Switch static var to using Civi::statics

This static variable is actually problematic. Moving it to statics will allow us to stop reseting it
in the test suite & to hone in on where it is actually broken rather than the test suite
is not flushing it

4 years ago[REF] Minor cleanup - declare exceptions, use single quotes, strict comparison
eileen [Sun, 22 Dec 2019 05:20:11 +0000 (18:20 +1300)]
[REF] Minor cleanup - declare exceptions, use single quotes, strict comparison

4 years ago[REF] remove CRM_Core_Error check
eileen [Sun, 22 Dec 2019 05:12:22 +0000 (18:12 +1300)]
[REF] remove CRM_Core_Error check

I'm convinced there is no reason why find should return a core_error & hence if it did we wouldn't want
to keep calm & carry on - smells a lot like copy & paste. Also makes code hard to understand

4 years ago[REF] step towards wiping out array in membership bao functions
eileen [Sat, 21 Dec 2019 20:50:23 +0000 (09:50 +1300)]
[REF] step towards wiping out  array in membership bao functions

4 years agoMerge pull request #16133 from eileenmcnaughton/member_test
Seamus Lee [Sun, 22 Dec 2019 03:23:36 +0000 (14:23 +1100)]
Merge pull request #16133 from eileenmcnaughton/member_test

[NFC] Test clean up.

4 years ago[REF] simplify recordAdjustedAmt function
eileen [Sun, 22 Dec 2019 02:20:43 +0000 (15:20 +1300)]
[REF] simplify recordAdjustedAmt function

Makes IF statement more readable & casts to float to explicity handle it

4 years ago[NFC] Test clean up.
eileen [Sat, 21 Dec 2019 22:35:44 +0000 (11:35 +1300)]
[NFC] Test clean up.

Good test - nightmare to read. This helps.

4 years agoRemove legacy_redirect_path handling
eileen [Sat, 21 Dec 2019 22:47:12 +0000 (11:47 +1300)]
Remove legacy_redirect_path handling

This has been hanging around for a long time & no-one has logged a JIRA (or pointed out that JIRA is now
defunct) so the initial analysis of it being unreachable makes sense

4 years agoMerge pull request #16130 from colemanw/ext
Eileen McNaughton [Sat, 21 Dec 2019 19:33:58 +0000 (08:33 +1300)]
Merge pull request #16130 from colemanw/ext

Fix output display in api4 explorer

4 years ago[Ref] improve readability of acl code
eileen [Sat, 21 Dec 2019 19:25:18 +0000 (08:25 +1300)]
[Ref] improve readability of acl code

Variables are used in this code for table names, making the queries hard to read.

Since there is quite a bit I've only tackled 2 patterns
1) using  where an alias within mysql would do
2) using  where an alias withing mysql would do

Ideally we want to switch to using CRM_Core_DAO::executeQuery & ditch the variables forr
table names altogether but since there is a lot I've stuck to one pattern for this change

4 years agoFix output display in api4 explorer
Coleman Watts [Fri, 20 Dec 2019 19:38:53 +0000 (14:38 -0500)]
Fix output display in api4 explorer

4 years agoMerge pull request #16125 from eileenmcnaughton/cont_sub
colemanw [Fri, 20 Dec 2019 12:10:15 +0000 (07:10 -0500)]
Merge pull request #16125 from eileenmcnaughton/cont_sub

dev/core#1482 Remove lines of code that appear to relate to legacy logic

4 years agoMerge pull request #16124 from eileenmcnaughton/acl_deadlock
Yashodha Chaku [Fri, 20 Dec 2019 09:21:26 +0000 (14:51 +0530)]
Merge pull request #16124 from eileenmcnaughton/acl_deadlock

Remove function marked as deprecated & unused by core nearly a year ago

4 years agoMerge pull request #16127 from eileenmcnaughton/mem_test
Eileen McNaughton [Fri, 20 Dec 2019 08:00:51 +0000 (21:00 +1300)]
Merge pull request #16127 from eileenmcnaughton/mem_test

Unit test for https://github.com/civicrm/civicrm-core/pull/16120

4 years agoUnit test for https://github.com/civicrm/civicrm-core/pull/16120
eileen [Fri, 20 Dec 2019 05:52:51 +0000 (18:52 +1300)]
Unit test for https://github.com/civicrm/civicrm-core/pull/16120

4 years agoMerge pull request #16126 from civicrm/5.21
Eileen McNaughton [Fri, 20 Dec 2019 05:51:56 +0000 (18:51 +1300)]
Merge pull request #16126 from civicrm/5.21

5.21 to master

4 years agoMerge pull request #16120 from seamuslee001/dev_core_1485
Eileen McNaughton [Fri, 20 Dec 2019 05:51:30 +0000 (18:51 +1300)]
Merge pull request #16120 from seamuslee001/dev_core_1485

dev/core#1485 Fix field name for join_date to be membership_join_date…

4 years agodev/core#1482 Remove lines of code that appear to relate to legacy logic
eileen [Thu, 19 Dec 2019 22:14:38 +0000 (11:14 +1300)]
dev/core#1482 Remove lines of code that appear to relate to legacy logic

As discussed in https://lab.civicrm.org/dev/core/issues/1482 the subscription history table appears to still be used for
recording group history but this business of creating a row with no attached group appears to be from a logic flow that
is long-superceded by change log & db logging

4 years agoMerge pull request #16123 from civicrm/5.21
Eileen McNaughton [Thu, 19 Dec 2019 20:28:47 +0000 (09:28 +1300)]
Merge pull request #16123 from civicrm/5.21

5.21 to master

4 years agoRemove function marked as deprecated & unused by core nearly a year ago
eileen [Thu, 19 Dec 2019 20:27:46 +0000 (09:27 +1300)]
Remove function marked as deprecated & unused by core nearly a year ago

4 years agodev/core#1485 Fix field name for join_date to be membership_join_date in line with...
Seamus Lee [Thu, 19 Dec 2019 03:32:07 +0000 (14:32 +1100)]
dev/core#1485 Fix field name for join_date to be membership_join_date in line with the DAO schema

Also include membership_join_date into the mapping as per Jamie's comments

4 years agoMerge pull request #16121 from mlutfy/core1490-rc
Eileen McNaughton [Thu, 19 Dec 2019 20:18:08 +0000 (09:18 +1300)]
Merge pull request #16121 from mlutfy/core1490-rc

dev/core#1490 Fix syntax error in Membership Receipt

4 years agoMerge pull request #16119 from eileenmcnaughton/acl_deadlock
Eileen McNaughton [Thu, 19 Dec 2019 20:16:10 +0000 (09:16 +1300)]
Merge pull request #16119 from eileenmcnaughton/acl_deadlock

[Ref] Remove php4 support from BAO_Acl class

4 years agoif statement is always true
demeritcowboy [Thu, 19 Dec 2019 17:12:28 +0000 (12:12 -0500)]
if statement is always true