Tim Otten [Mon, 16 Mar 2020 00:52:26 +0000 (17:52 -0700)]
dev/core#1637 - Restore format of packagesBase
These use-cases had been tested during PR dev for 5.23.alpha, but they
regressed in 5.23.1. In 5.23.1's #16735, note item (5) and the flip-flop on
`/.` Item (5) references some greps to find references `/.` For obscure
reasons, the file `l10n.js.tpl` didn't match the greps.
Tim Otten [Mon, 16 Mar 2020 00:20:12 +0000 (17:20 -0700)]
Revert "inline editing not working and other js packages issues"
This reverts commit
c68b3313741a367e2510ea6be54895405e4438ca.
Eileen McNaughton [Sun, 15 Mar 2020 22:29:21 +0000 (11:29 +1300)]
Merge pull request #16763 from eileenmcnaughton/mem_dash
dev/user-interface#14 Fix regression whereby links from membership dashboard don't work for export
Eileen McNaughton [Sun, 15 Mar 2020 22:26:02 +0000 (11:26 +1300)]
Merge pull request #16775 from demeritcowboy/fin-fatals
dev/core#1645 - (Test for) Fatal error when assigning account to financial type
Seamus Lee [Sun, 15 Mar 2020 20:08:03 +0000 (07:08 +1100)]
Merge pull request #16776 from eileenmcnaughton/fform
dev/core#1645 fix regression by removing form inheritance
Seamus Lee [Sun, 15 Mar 2020 19:34:26 +0000 (06:34 +1100)]
Merge pull request #16779 from demeritcowboy/inline-edit
dev/core#1651 and dev/core#1637 - Inline editing not working on many admin screens and other js packages issues
demeritcowboy [Sun, 15 Mar 2020 15:26:41 +0000 (11:26 -0400)]
inline editing not working and other js packages issues
eileen [Sat, 14 Mar 2020 21:38:28 +0000 (10:38 +1300)]
dev/core#1645 fix regression by removing form inheritence
The Assign Account form is failing to load because it inherits indirectly from CRM_Admin_Form which
now has a different visibility on the _id property.
I took a look and there really is no reason for this complex inheritence - this is a standalone form
and the setDefaults of the parent seems of no use, let alone the parent's parent.
Assign, edit & browse seem to still work fine
demeritcowboy [Sat, 14 Mar 2020 17:35:30 +0000 (13:35 -0400)]
fatal error when assigning account to financial type
Seamus Lee [Fri, 13 Mar 2020 10:03:53 +0000 (21:03 +1100)]
Merge pull request #16766 from seamuslee001/5_23_2_release_notes
release-notes/5.23.2.md
Tim Otten [Fri, 13 Mar 2020 09:50:04 +0000 (02:50 -0700)]
release-notes/5.23.2.md
Tim Otten [Fri, 13 Mar 2020 09:38:46 +0000 (02:38 -0700)]
Merge pull request #16761 from eileenmcnaughton/joomla
dev/financial#120 - Fix CiviCRM base url on Joomla frontend
eileen [Fri, 13 Mar 2020 03:00:19 +0000 (16:00 +1300)]
dev/user-interface#14 Fix regression whereby links from membership dashboard don't work for export
Note it also applies to membership_status_id but the lack of a uniquename makes the fix trickier so I'm reluctant to target the
rc
eileen [Fri, 13 Mar 2020 00:56:06 +0000 (13:56 +1300)]
Alternate Joomla! fix - move to CMS override
Seamus Lee [Wed, 11 Mar 2020 21:55:33 +0000 (08:55 +1100)]
Merge pull request #16750 from eileenmcnaughton/sgroups
Fix smart group custom field check to cope with api error
eileen [Wed, 11 Mar 2020 06:01:24 +0000 (19:01 +1300)]
Fix smart group custom field check to cope with api error
As we have added new fields to the saved_search table this will lead to a fatal if it runs before
the database update. This catches that error and handles it
Seamus Lee [Wed, 11 Mar 2020 05:40:06 +0000 (16:40 +1100)]
Merge pull request #16748 from seamuslee001/5_23_1_release_notes
5 23 1 release notes
Tim Otten [Wed, 11 Mar 2020 05:35:00 +0000 (22:35 -0700)]
Update 5.23.1.md
Tim Otten [Wed, 11 Mar 2020 05:08:53 +0000 (22:08 -0700)]
Add release-notes/5.23.1.md
Eileen McNaughton [Wed, 11 Mar 2020 00:22:52 +0000 (13:22 +1300)]
Merge pull request #16743 from mlutfy/dev547c
dev/core#547 Fix Event financial_type_id getOptions
Seamus Lee [Wed, 11 Mar 2020 00:07:06 +0000 (11:07 +1100)]
Merge pull request #16735 from totten/5.24-paths
dev/core#1637 - Multiple fixes for Civi/Core/Paths.php
Mathieu Lutfy [Tue, 10 Mar 2020 21:08:04 +0000 (17:08 -0400)]
dev/core#547 Fix Event financial_type_id getOptions
Tim Otten [Tue, 10 Mar 2020 21:13:30 +0000 (14:13 -0700)]
E2E_Extern_CliRunnerTest - Update to match change in `./`
Per 16735, the interpretation of `getPath('[foo]/.`)` changed
slightly - from:
* 5.22: Inconsistent/undefined tail end (may or may not have trailing `/`)
* 5.23.0: Defined to always end with `/`
* #16735: Defined to never end with `/`
Tim Otten [Tue, 10 Mar 2020 10:44:32 +0000 (03:44 -0700)]
CRM_Core_I18n - Fix usage of `getPath('[foo]/.')`
The interpretation of `/.` is evolving per #16735:
* When this code was first written, it was unspecified/variable whether the value `[foo]/.` would end in `/`
* During most of the testing of 5.23.beta1, this was defined to always return `/`
* During a regression fix in 5.23.1, we're flipping it back the other way so that `[foo]/.` never ends in `/`.
Tim Otten [Tue, 10 Mar 2020 07:23:45 +0000 (00:23 -0700)]
dev/core#1637 - Multiple fixes for Civi/Core/Paths.php
For a full write-up, see PR
Tim Otten [Tue, 10 Mar 2020 07:23:45 +0000 (00:23 -0700)]
dev/core#1637 - PathsTest - Redefine "[foo]/", "[foo]/0", "[foo]/."
The rationale will be discussed more via PR description.
Tim Otten [Tue, 10 Mar 2020 07:23:45 +0000 (00:23 -0700)]
(NFC) PathsTest - Make it easier to identify/debug test cases
When browsing the list of outputs from this test class, each of the test
cases was identified by its numerical position in the list of `$exs`. This
makes it hard to keep track of the failures.
1. Add a symbolic name to each case (that's easier to search on)
2. Add more verbose output for failed assertions
Tim Otten [Tue, 10 Mar 2020 07:23:45 +0000 (00:23 -0700)]
(NFC) dev/core#1637 - Add E2E test for generation of Civi-WP backend URLs without trailing /
Tim Otten [Tue, 10 Mar 2020 07:23:45 +0000 (00:23 -0700)]
Revert "Revert "Make $civicrm_paths less sensitive to trailing slashes. Add tests.""
This reverts commit
cbcbfd69d34c9895342e3d813a42f97d93dbb76d.
Seamus Lee [Mon, 9 Mar 2020 23:04:06 +0000 (10:04 +1100)]
Merge pull request #16720 from agh1/5.24.0-release-notes
5.24.0 release notes: initial run
Seamus Lee [Mon, 9 Mar 2020 21:38:43 +0000 (08:38 +1100)]
Merge pull request #16721 from seamuslee001/524_1637
dev/core#1637 Revert "Make $civicrm_paths less sensitive to trailing slashes. Add t…
eileen [Mon, 9 Mar 2020 05:01:36 +0000 (18:01 +1300)]
Revert "Make $civicrm_paths less sensitive to trailing slashes. Add tests."
This is currently causing breakage on wordpress sites where clean urls are not enabled.
Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR.
I propose a quick revert & patch release followed by 'the right' fix at a slower pace
/wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
This reverts commit
232fdd3dfac4ea09749d7f178818139514e48e38.
Andrew Hunt [Mon, 9 Mar 2020 17:56:21 +0000 (13:56 -0400)]
5.24.0 release notes: added boilerplate
Andrew Hunt [Mon, 9 Mar 2020 17:54:49 +0000 (13:54 -0400)]
5.24.0 release notes: raw from script
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]
demeritcowboy [Sun, 8 Mar 2020 15:39:19 +0000 (11:39 -0400)]
skip smart groups that don't have a form_values[0]
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