Seamus Lee [Mon, 9 Mar 2020 01:01:08 +0000 (12:01 +1100)]
Merge pull request #16709 from civicrm/5.24
5.24
Eileen McNaughton [Sun, 8 Mar 2020 22:13:42 +0000 (11:13 +1300)]
Merge pull request #16707 from demeritcowboy/smartgroup-warning
dev/core#1636 - In system status check avoid E_NOTICEs for smart groups that don't have form_values[0]
colemanw [Sun, 8 Mar 2020 22:00:37 +0000 (18:00 -0400)]
Merge pull request #16706 from eileenmcnaughton/array2
Remove an instance of passing non-arraay to CRM_Utils_Array::value(
colemanw [Sun, 8 Mar 2020 19:30:31 +0000 (15:30 -0400)]
Merge pull request #16704 from colemanw/arrayValue1
[REF] CRM_Utils_Array::value() -> empty()
demeritcowboy [Sun, 8 Mar 2020 15:39:19 +0000 (11:39 -0400)]
skip smart groups that don't have a form_values[0]
eileen [Sun, 8 Mar 2020 08:55:36 +0000 (21:55 +1300)]
Remove an instance of passing non-arraay to CRM_Utils_Array::value(
colemanw [Sun, 8 Mar 2020 00:12:37 +0000 (19:12 -0500)]
Merge pull request #16696 from eileenmcnaughton/remove
Remove calls & deprecate CRM_Core_BAO_PrevNextCache::setItem
colemanw [Sun, 8 Mar 2020 00:05:56 +0000 (19:05 -0500)]
Merge pull request #16705 from mlutfy/api4-ajax-perm
Api4 AJAX endpoint: change required permission to access AJAX API.
Coleman Watts [Sat, 7 Mar 2020 17:48:11 +0000 (12:48 -0500)]
CRM_Utils_Array::value() -> empty()
Replaces CRM_Utils_Array::value() with empty() when the value is immediately cast to boolean.
The two statements have identical meaning but the latter is faster & easier to read.
Mathieu Lutfy [Sat, 7 Mar 2020 21:39:11 +0000 (16:39 -0500)]
Api4 AJAX endpoint: change required permission to access AJAX API.
colemanw [Sat, 7 Mar 2020 18:09:06 +0000 (13:09 -0500)]
Merge pull request #16701 from eileenmcnaughton/array2
Fix passing a non-array to CRM_Utils_Array::value
eileen [Fri, 6 Mar 2020 20:33:02 +0000 (09:33 +1300)]
Fix passing a non-array to CRM_Utils_Array::value
As surfaced in https://test.civicrm.org/job/CiviCRM-Core-PR/32543/console when we tested deprecating
passing in a non-array
Eileen McNaughton [Fri, 6 Mar 2020 08:13:21 +0000 (21:13 +1300)]
Merge pull request #16690 from kartik1000/Shift_Update_Membership
Shifted UpdateMemberhsip to BAO Layer
Seamus Lee [Fri, 6 Mar 2020 07:00:19 +0000 (18:00 +1100)]
Merge pull request #16689 from pradpnayak/priceSetSchema
Use dbAlias to generate where clause for date field in activity report
Seamus Lee [Fri, 6 Mar 2020 06:54:37 +0000 (17:54 +1100)]
Merge pull request #16698 from eileenmcnaughton/note
[NFC] Mark unused function deprecated, fix some comments & formatting
eileen [Fri, 6 Mar 2020 02:01:32 +0000 (15:01 +1300)]
[NFC] Mark unused function deprecated, fix some comments
eileen [Fri, 6 Mar 2020 00:36:23 +0000 (13:36 +1300)]
Remove calls & deprecate CRM_Core_BAO_PrevNextCache::setItem
We have this function which
1) is mildly misleading - it appears to be generic to the prevnext table but is actually
only relevant to deduping as searches no longer use it
2) is about 50% deprecated and
3) the remainder is a single insert
4) is called from 2 places which use it a little differently
I think it's not really adding much value - I was going to remove the deprecated code
but I think in fact the goal should be to remove the whole function.
In general I think code on CRM_Core_BAO_PrevNextCache that is really dedupe-only code
should be on the dedupe classes. The history is that prevnext was created for searches
and kindof twisted to support dedupe as well but now search doesn't use much of what
is in the BAO class (if any)
Kartik Kathuria [Thu, 5 Mar 2020 21:03:57 +0000 (02:33 +0530)]
added empty line
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
Kartik Kathuria [Thu, 5 Mar 2020 20:48:31 +0000 (02:18 +0530)]
Shifted UpdateMemberhsip to BAO Layer
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
Matthew Wire [Thu, 5 Mar 2020 18:12:56 +0000 (18:12 +0000)]
Merge pull request #16550 from eileenmcnaughton/display
Remove additional display of buttons for events
Matthew Wire [Thu, 5 Mar 2020 18:11:32 +0000 (18:11 +0000)]
Merge pull request #16625 from seamuslee001/jquery_validation_upgrade
Upgrade jQuery validation version to v1.19.1
Matthew Wire [Thu, 5 Mar 2020 18:09:09 +0000 (18:09 +0000)]
Merge pull request #16688 from eileenmcnaughton/prior
Mark unused function as deprecated
Matthew Wire [Thu, 5 Mar 2020 13:21:22 +0000 (13:21 +0000)]
Merge pull request #14667 from hoegrammer/master
CRM-20553 Stop contact being overwritten with paypal account name
Pradeep Nayak [Thu, 5 Mar 2020 12:29:27 +0000 (12:29 +0000)]
Use dbAlias to generate where clause for date field in activity report
eileen [Thu, 5 Mar 2020 02:23:18 +0000 (15:23 +1300)]
Mark unused function as deprecated
CiviCRM [Thu, 5 Mar 2020 01:50:34 +0000 (01:50 +0000)]
Set version to 5.25.alpha1
CiviCRM [Thu, 5 Mar 2020 01:44:50 +0000 (01:44 +0000)]
Set version to 5.24.beta1
Seamus Lee [Thu, 5 Mar 2020 01:42:39 +0000 (12:42 +1100)]
Merge pull request #16677 from eileenmcnaughton/mem
[REF] Change function signature to support moving this off the form layer
Eileen McNaughton [Thu, 5 Mar 2020 01:41:20 +0000 (14:41 +1300)]
Merge pull request #16666 from colemanw/smarter
APIv4-based smart groups
Eileen McNaughton [Thu, 5 Mar 2020 00:16:19 +0000 (13:16 +1300)]
Merge pull request #16649 from alifrumin/copyState3
dev/core#1605 State/province not copied on shared address
eileen [Tue, 3 Mar 2020 19:54:04 +0000 (08:54 +1300)]
[REF] Change function signature to support moving this off the form layer
This is really a business logic function & belongs on the BAO. This change simply removes the
access to such that it can be moved by making it an input parameter.
Next step would be o make it static & move it to CRM_Member_BAO_Membership
Evenually this should not be called by the form as the CRM_Member_BAO_Membership
::create function will call it
Coleman Watts [Mon, 2 Mar 2020 19:25:23 +0000 (14:25 -0500)]
Fix "no such field" failure in SmartGroup upgrade
Calling api get with no return fields specified is always risky during upgrades because upgrades can add/drop columns.
Coleman Watts [Mon, 2 Mar 2020 02:36:26 +0000 (21:36 -0500)]
APIv4 Explorer - add docs for save & execute buttons
Coleman Watts [Mon, 2 Mar 2020 01:57:25 +0000 (20:57 -0500)]
APIv4-based smart groups
Coleman Watts [Thu, 13 Feb 2020 01:00:37 +0000 (20:00 -0500)]
APIv4 - Add SavedSearch entity
Coleman Watts [Tue, 11 Feb 2020 22:22:42 +0000 (17:22 -0500)]
Add columns for api_entity & api_params to civicrm_saved_search
Eileen McNaughton [Wed, 4 Mar 2020 23:52:39 +0000 (12:52 +1300)]
Merge pull request #16684 from civicrm/5.23
5.23
Eileen McNaughton [Wed, 4 Mar 2020 23:52:18 +0000 (12:52 +1300)]
Merge pull request #16686 from demeritcowboy/install-seqcreditnotes
Fix parameter format for upgrade call to install/enable sequentialcreditnotes
Seamus Lee [Wed, 4 Mar 2020 22:40:18 +0000 (09:40 +1100)]
Merge pull request #16687 from demeritcowboy/letter-h
[NFC] Add missing letter "h" in upgrade script for task description
Seamus Lee [Wed, 4 Mar 2020 22:39:57 +0000 (09:39 +1100)]
Merge pull request #16685 from mlutfy/fixSettingsYesNo
Fix SettingTrait YesNo translation
Eileen McNaughton [Wed, 4 Mar 2020 22:06:34 +0000 (11:06 +1300)]
Merge pull request #16680 from magnolia61/Contribution_Invoice_Enhancements
Style & layout clean up
Seamus Lee [Wed, 4 Mar 2020 21:54:48 +0000 (08:54 +1100)]
Merge pull request #16683 from demeritcowboy/disable-xoauth2
dev/mail#59 - Don't release 5.23 with XOAUTH2 option enabled since it isn't ready yet
demeritcowboy [Wed, 4 Mar 2020 21:19:50 +0000 (16:19 -0500)]
fix parameter format
demeritcowboy [Wed, 4 Mar 2020 21:22:28 +0000 (16:22 -0500)]
add missing letter h
Eileen McNaughton [Wed, 4 Mar 2020 21:05:54 +0000 (10:05 +1300)]
Merge pull request #16020 from mattwire/setentityid
Add setEntityId() to entityForm
Mathieu Lutfy [Wed, 4 Mar 2020 21:01:54 +0000 (16:01 -0500)]
Fix SettingTrait YesNo translation
magnolia61 [Wed, 4 Mar 2020 08:03:25 +0000 (09:03 +0100)]
Style & layout clean up
Eileen McNaughton [Wed, 4 Mar 2020 20:06:13 +0000 (09:06 +1300)]
Merge pull request #16682 from colemanw/remove
Remove deprecated function CRM_Contact_BAO_GroupContactCache::remove
Seamus Lee [Wed, 4 Mar 2020 19:52:23 +0000 (06:52 +1100)]
Update unit test now that the xoauth2 option is disabled for the time being
Seamus Lee [Wed, 4 Mar 2020 19:50:39 +0000 (06:50 +1100)]
Merge pull request #16681 from alifrumin/rn5.23secondpass
rn-5.23: adding late changes to the 5.23 release notes [nfc]
Alice Frumin [Tue, 3 Mar 2020 18:43:12 +0000 (13:43 -0500)]
add test
demeritcowboy [Wed, 4 Mar 2020 17:47:45 +0000 (12:47 -0500)]
xoauth2 isn't ready yet
Coleman Watts [Wed, 4 Mar 2020 17:10:12 +0000 (12:10 -0500)]
Remove deprecated function CRM_Contact_BAO_GroupContactCache::remove
Alice Frumin [Wed, 4 Mar 2020 16:26:37 +0000 (11:26 -0500)]
adding late changes to the 5.23 release notes
Matthew Wire [Wed, 4 Mar 2020 14:52:43 +0000 (14:52 +0000)]
Merge pull request #16675 from christianwach/lab-1628
Fix display of administrator permissions in WordPress Multisite
Christian Wach [Wed, 4 Mar 2020 10:23:01 +0000 (10:23 +0000)]
Fix display of administrator permissions in WordPress Multisite
Eileen McNaughton [Wed, 4 Mar 2020 07:23:44 +0000 (20:23 +1300)]
Merge pull request #16676 from christianwach/lab-1629
Fix synchronisation of Users to Contacts in WordPress Multisite
Seamus Lee [Wed, 4 Mar 2020 06:31:00 +0000 (17:31 +1100)]
Merge pull request #16679 from pradpnayak/priceSetSchema
added sudo constant for sms api type
Pradeep Nayak [Wed, 4 Mar 2020 01:35:48 +0000 (01:35 +0000)]
added sudo constant for sms api type
Christian Wach [Tue, 3 Mar 2020 12:04:25 +0000 (12:04 +0000)]
Fix synchronisation of Users to Contacts in WordPress Multisite
Seamus Lee [Tue, 3 Mar 2020 02:59:34 +0000 (13:59 +1100)]
Merge pull request #16672 from MegaphoneJon/core-1627
Activity Details report: fix filtering by is null/is not null
Jon Goldberg [Mon, 2 Mar 2020 23:43:09 +0000 (18:43 -0500)]
Activity Details report: fix filtering by is null/is not null
colemanw [Mon, 2 Mar 2020 17:30:34 +0000 (12:30 -0500)]
Merge pull request #16667 from eileenmcnaughton/acl
[REF] Only call getACLs when contact_id is present, remove handling
colemanw [Mon, 2 Mar 2020 16:18:26 +0000 (11:18 -0500)]
Merge pull request #16566 from eileenmcnaughton/setting_fix
Remove helper function now that contribution settings is not weirdly stored
colemanw [Mon, 2 Mar 2020 16:13:30 +0000 (11:13 -0500)]
Merge pull request #16647 from JMAConsulting/core-1623
core#1623: My Case dashlet doesn't sort by name but contact_id instead
colemanw [Mon, 2 Mar 2020 16:11:21 +0000 (11:11 -0500)]
Merge pull request #16669 from demeritcowboy/audit-tpl-2
dev/core#1366 - CRM_Case_XMLProcessor_Report::run() is never called anymore
colemanw [Mon, 2 Mar 2020 16:10:14 +0000 (11:10 -0500)]
Merge pull request #16668 from eileenmcnaughton/php
Increase php min recommended version
demeritcowboy [Mon, 2 Mar 2020 06:33:25 +0000 (01:33 -0500)]
remove unused function
Monish Deb [Fri, 28 Feb 2020 09:17:29 +0000 (14:47 +0530)]
core#1623: My Case dashlet doesn't sort by name but contact_id instead
eileen [Mon, 2 Mar 2020 04:01:39 +0000 (17:01 +1300)]
Increase php min recommended version
We seem to not be doing a good job of communicating about dropping php 7.0
but given php 7.1 is now out of support https://www.php.net/supported-versions.php
it seems pretty clear it meets no longer meets the criteria for 'minimum recommended'
https://www.php.net/supported-versions.php
eileen [Sun, 1 Mar 2020 22:50:22 +0000 (11:50 +1300)]
[REF] Only call getACLs when contact_id is present, remove handling
getACLs is called from one place in the code. Within the function there are 2 places that
handle the possibility it might be null - this moves it to the calling function
& requires contact id to be an int
Seamus Lee [Mon, 2 Mar 2020 01:53:01 +0000 (12:53 +1100)]
Merge pull request #16665 from pradpnayak/priceSetSchema
Add pseudoconstant for priceset
Eileen McNaughton [Mon, 2 Mar 2020 01:23:56 +0000 (14:23 +1300)]
Merge pull request #16664 from totten/master-ext-hidden
Extensions - Change new tag "hidden" to "mgmt:hidden"
Eileen McNaughton [Mon, 2 Mar 2020 01:23:03 +0000 (14:23 +1300)]
Merge pull request #16624 from mattwire/tokencompatsubscriber
TokenProcessor - fix greetings tokens
Pradeep Nayak [Mon, 2 Mar 2020 00:23:15 +0000 (00:23 +0000)]
Add pseudoconstant for priceset
Tim Otten [Mon, 2 Mar 2020 00:04:19 +0000 (16:04 -0800)]
Extensions - Change new tag "hidden" to "mgmt:hidden"
Overview
--------
This is follow-up from the discussion about how to name extension tags
https://github.com/civicrm/civicrm-dev-docs/pull/761
It's a follow-up #16531 (dev/financial#84) within the same 5.24.alpha1 dev cycle.
Before
------
The `sequentialcreditnotes` extension is tagged `hidden` and omitted
from display in the web UI.
After
-----
The `sequentialcreditnotes` extension is tagged `mgmt:hidden` and omitted
from display in the web UI.
Seamus Lee [Sun, 1 Mar 2020 23:44:00 +0000 (10:44 +1100)]
Merge pull request #16662 from seamuslee001/tcpdf_depreaction
[REF] Deprecate _html2pdf_tcpdf function in favour of _html2pdf_dompdf
Seamus Lee [Sun, 1 Mar 2020 23:43:54 +0000 (10:43 +1100)]
Merge pull request #16663 from eileenmcnaughton/acl
[REF] Removed unused function
Seamus Lee [Sun, 1 Mar 2020 23:43:37 +0000 (10:43 +1100)]
Merge pull request #16655 from seamuslee001/hook_uf_fields
[Feature] Add in new hook alterUFFields to allow extensions to modify…
Seamus Lee [Sun, 1 Mar 2020 22:33:59 +0000 (09:33 +1100)]
Add in code doucmentation of the format of the fields array and add in a unit test
eileen [Sun, 1 Mar 2020 22:32:31 +0000 (11:32 +1300)]
[REF] Removed unused function
I did some searches - this isn't called
Eileen McNaughton [Sun, 1 Mar 2020 21:45:45 +0000 (10:45 +1300)]
Merge pull request #16660 from demeritcowboy/audit-tpl
dev/core#1366 - Case Audit.tpl file no longer used
Seamus Lee [Sun, 1 Mar 2020 21:39:39 +0000 (08:39 +1100)]
[REF] Deprecate _html2pdf_tcpdf function in favour of _html2pdf_dompdf
Eileen McNaughton [Sun, 1 Mar 2020 20:10:14 +0000 (09:10 +1300)]
Merge pull request #15964 from mlutfy/financial109
dev/financial#109 Fix country/province assignation in the contribution invoice
Seamus Lee [Sun, 1 Mar 2020 03:51:14 +0000 (14:51 +1100)]
Merge pull request #16648 from pradpnayak/priceSetSchema
Add pseudoconstant for priceset
Seamus Lee [Sun, 1 Mar 2020 03:50:53 +0000 (14:50 +1100)]
Merge pull request #16661 from seamuslee001/typo_fix
Fix unreleaesd typo error
Seamus Lee [Sat, 29 Feb 2020 23:59:37 +0000 (10:59 +1100)]
Fix unreleaesd typo error
Seamus Lee [Sat, 29 Feb 2020 23:57:41 +0000 (10:57 +1100)]
Merge pull request #16658 from mattwire/fixtypo
Fix typo (unrelease regression)
Pradeep Nayak [Fri, 28 Feb 2020 12:14:53 +0000 (12:14 +0000)]
Add pseudoconstant for priceset
Mathieu Lutfy [Tue, 26 Nov 2019 15:26:34 +0000 (10:26 -0500)]
dev/financial#109 Fix country/province assignation in the contribution invoice
demeritcowboy [Sat, 29 Feb 2020 15:45:15 +0000 (10:45 -0500)]
remove files no longer used
Matthew Wire [Sat, 29 Feb 2020 14:15:55 +0000 (14:15 +0000)]
Fix typo (unrelease regression)
colemanw [Sat, 29 Feb 2020 13:02:12 +0000 (08:02 -0500)]
Merge pull request #16657 from mattwire/fixcomment
Fix mistake in comment
Matthew Wire [Sat, 29 Feb 2020 11:09:33 +0000 (11:09 +0000)]
Fix mistake in comment
Seamus Lee [Fri, 28 Feb 2020 23:12:05 +0000 (10:12 +1100)]
[Feature] Add in new hook alterUFFields to allow extensions to modify which fields can be added to a profile
Seamus Lee [Fri, 28 Feb 2020 23:07:37 +0000 (10:07 +1100)]
Merge pull request #16652 from UshaMakoa/patch-2
Update contributor-key.yml
Seamus Lee [Fri, 28 Feb 2020 23:07:18 +0000 (10:07 +1100)]
Merge pull request #16653 from seamuslee001/hook_pre_post_uf_field
[REF] Add in pre and post hooks to UFField Entity
Tim Otten [Fri, 28 Feb 2020 22:45:04 +0000 (14:45 -0800)]
Update TokenTest.php
Eileen McNaughton [Fri, 28 Feb 2020 22:16:03 +0000 (11:16 +1300)]
Merge pull request #16644 from seamuslee001/extension_notices
[NFC] Use insert ignore for inserts into civicrm_extension to stop warnings on duplicate entry for sequential credit notes extension
Seamus Lee [Fri, 28 Feb 2020 21:47:22 +0000 (08:47 +1100)]
[REF] Add in pre and post hooks to UFField Entity