Tim Otten [Wed, 29 Jun 2022 03:24:17 +0000 (20:24 -0700)]
Merge pull request #23891 from eileenmcnaughton/smarty
Reset smarty-security after an exception
Eileen McNaughton [Tue, 28 Jun 2022 23:46:38 +0000 (11:46 +1200)]
Merge pull request #23898 from civicrm/5.51
5.51 to master
Eileen McNaughton [Tue, 28 Jun 2022 23:00:17 +0000 (11:00 +1200)]
Merge pull request #23897 from agh1/5.51.0-releasenotes-initial
5.51.0 release notes initial run
Andie Hunt [Tue, 28 Jun 2022 20:23:55 +0000 (16:23 -0400)]
5.51.0 release notes: added boilerplate
Eileen McNaughton [Tue, 28 Jun 2022 10:49:32 +0000 (22:49 +1200)]
Merge pull request #23852 from IProSoft/master
New domain token base_url
Eileen McNaughton [Tue, 28 Jun 2022 08:49:15 +0000 (20:49 +1200)]
Merge pull request #23892 from eileenmcnaughton/order
Ensure apiv3 params are converted at the line item level
iprosoft [Tue, 21 Jun 2022 08:41:11 +0000 (10:41 +0200)]
New domain token base_url
Change url retrival method for base_url token
Change base url token title. Fix test error
PHPUnit TokenConsCRM_Utils_TokenConsistencyTest update
Eileen McNaughton [Tue, 28 Jun 2022 05:45:59 +0000 (17:45 +1200)]
Ensure apiv3 params are converted at the line item level
We switched to using apiv4 but at least one test seems to be passing in a string
at the line item level which is a bit weird but we should handle it
Eileen McNaughton [Tue, 28 Jun 2022 05:43:52 +0000 (17:43 +1200)]
Reset smarty-security after an exception
This stops tests from getting befuddled
Eileen McNaughton [Tue, 28 Jun 2022 03:22:12 +0000 (15:22 +1200)]
Merge pull request #23887 from civicrm/5.51
5.51 to master
Eileen McNaughton [Tue, 28 Jun 2022 03:21:41 +0000 (15:21 +1200)]
Merge pull request #23854 from totten/master-mixin-wfmsg
Scan for classes based on the PHP interface (WorkflowMessageInterface, ExampleDataInterface)
Eileen McNaughton [Tue, 28 Jun 2022 03:16:39 +0000 (15:16 +1200)]
Merge pull request #23886 from totten/master-act-dao
Activity - Regenerate DAO with current description
Seamus Lee [Tue, 28 Jun 2022 01:47:27 +0000 (11:47 +1000)]
Merge pull request #23885 from totten/master-wfmsgtest
WorkflowMessageTest - Re-enable skipped test
Tim Otten [Tue, 28 Jun 2022 01:41:14 +0000 (18:41 -0700)]
Activity - Regenerate DAO with current description
Tim Otten [Mon, 27 Jun 2022 23:40:10 +0000 (16:40 -0700)]
ExampleDataInterface - Switch to ClassScanner (part 3, swap scanner)
Tim Otten [Thu, 23 Jun 2022 05:25:54 +0000 (22:25 -0700)]
ExampleDataInterface - Switch to ClassScanner (part 2, use new names)
Tim Otten [Tue, 21 Jun 2022 11:12:00 +0000 (04:12 -0700)]
ExampleDataInterface - Switch to ClassScanner (part 1, rename *.ex.php => *.php)
Tim Otten [Tue, 21 Jun 2022 09:12:23 +0000 (02:12 -0700)]
WorkflowMessage - Switch to `ClassScanner` (was: bespoke `include_path` search)
Tim Otten [Tue, 21 Jun 2022 09:39:53 +0000 (02:39 -0700)]
mixin/scan-classes@1 - Allow extensions to opt-in to class scanning
Tim Otten [Tue, 21 Jun 2022 09:11:44 +0000 (02:11 -0700)]
ClassScanner - Add utility for scanning classes based on PHP interfaces
Tim Otten [Tue, 21 Jun 2022 10:33:42 +0000 (03:33 -0700)]
CRM_Utils_System::flushCache - More consistent behavior. Prepare for interface-php test.
* The interface-php test registers an instance of WorkflowMessageInterface.
* The list of WorkflowMessageInterface's is stored in the 'long' cache.
* When you enable/disable an extension, it should clear WorkflowMessage list (and other things).
* Before this patch, interface-php's `LifecycleTest` is inconsistent: it passes with
`testLifecycleWithSubprocesses()` and fails with `testLifecycleWithLocalFunctions()`.
* After this patch, interface-php's `LifecycleTest` is consistent: it passes with both
`testLifecycleWithSubprocesses()` and `testLifecycleWithLocalFunctions()`.
* The problem - while executing `testLifecycleWithLocalFunctions()`, it evidentally uses
`Arraycache` as the backend -- and thus skips the flushes. However, I cannot fathom why
one would want to clear-caches for SQL+memcache+redis but keep them for Arraycache.
Tim Otten [Mon, 27 Jun 2022 23:55:02 +0000 (16:55 -0700)]
WorkflowMessageTest - Re-enable skipped test.
This is a follow-up to #23811 (
409b1e0c30d28179f6244c1f180838a473d7582c). The prior commit
changed the way it found examples - and caused it to skip some examples.
This re-enables the example and adds an assertion to ensure that it actually
finds some examples.
demeritcowboy [Mon, 27 Jun 2022 13:19:23 +0000 (09:19 -0400)]
Merge pull request #23879 from mattwire/wpnotify
Enable the 'notify' parameter for WordPress user creation
Eileen McNaughton [Sun, 26 Jun 2022 01:39:08 +0000 (13:39 +1200)]
Merge pull request #23881 from civicrm/5.51
5.51
Eileen McNaughton [Sat, 25 Jun 2022 22:27:55 +0000 (10:27 +1200)]
Merge pull request #23874 from AlainBenbassat/empty-weight-column-during-upgrade
returns weight 0 when weight column name is empty
demeritcowboy [Sat, 25 Jun 2022 11:49:17 +0000 (07:49 -0400)]
Merge pull request #23722 from jensschuppe/fix/multipleLogfilesMultilanguage
Avoid multiple log files in multi-language environments
demeritcowboy [Sat, 25 Jun 2022 11:42:22 +0000 (07:42 -0400)]
Merge pull request #23878 from herbdool/issue-3691
dev/core#3691: better description of activity table columns
demeritcowboy [Sat, 25 Jun 2022 11:29:48 +0000 (07:29 -0400)]
Merge pull request #23876 from colemanw/checkRecentItemsPerms
RecentItems - Enforce permissions before adding item
Eileen McNaughton [Sat, 25 Jun 2022 00:42:56 +0000 (12:42 +1200)]
Merge pull request #23602 from kainuk/core-3369
Fixes core#3369 scheduled Reminder limited by Participant Role fails if any participant has multiple roles
Matthew Wire [Fri, 24 Jun 2022 16:49:23 +0000 (17:49 +0100)]
Enable the 'notify' parameter for WordPress user creation
Herb v/d Dool [Fri, 24 Jun 2022 16:35:55 +0000 (12:35 -0400)]
Issue 3691: better description of activity table columns
Andie Hunt [Fri, 24 Jun 2022 13:46:22 +0000 (09:46 -0400)]
5.51.0 release notes: raw from script
Coleman Watts [Fri, 24 Jun 2022 00:32:50 +0000 (20:32 -0400)]
RecentItems - Enforce permissions before adding item
demeritcowboy [Fri, 24 Jun 2022 00:19:27 +0000 (20:19 -0400)]
Merge pull request #23856 from eileenmcnaughton/pref
dev/core#2866 ignore preferred_mail_format, send both
Alain Benbassat [Thu, 23 Jun 2022 21:00:47 +0000 (23:00 +0200)]
returns weight 0 when weight column name is empty
Eileen McNaughton [Thu, 23 Jun 2022 22:05:28 +0000 (10:05 +1200)]
Merge pull request #23873 from colemanw/uiDialogBackground
dev/core#3432 UI Dialog - Fix transparent background caused by certain other plugins
Eileen McNaughton [Tue, 21 Jun 2022 20:15:30 +0000 (08:15 +1200)]
dev/core#2866 ignore preferred_mail_format, send both
Seamus Lee [Thu, 23 Jun 2022 21:16:34 +0000 (07:16 +1000)]
Merge pull request #23872 from demeritcowboy/valuestyle
Unassigned variable in invoice message template
Coleman Watts [Thu, 23 Jun 2022 20:12:55 +0000 (16:12 -0400)]
UI Dialog - Fix transparent background caused by certain other plugins
Fixes dev/core#3432
It was reported that certain Drupal modules that include a copy of jQuery UI
cause the background to become transparent. This should prevent that.
Tim Otten [Thu, 23 Jun 2022 19:48:50 +0000 (12:48 -0700)]
Merge pull request #23831 from mlutfy/purgeMenus
navigation: cleanup less frequently used New items
demeritcowboy [Thu, 23 Jun 2022 16:28:20 +0000 (12:28 -0400)]
Unused variable. Meaningless comment.
demeritcowboy [Thu, 23 Jun 2022 14:11:47 +0000 (10:11 -0400)]
Merge pull request #23829 from eileenmcnaughton/inv_lines
Replace more assigns with tokens in invoice, add tests
Eileen McNaughton [Fri, 17 Jun 2022 05:05:56 +0000 (17:05 +1200)]
Swap out some additional assigns for tokens, improve tests
Eileen McNaughton [Wed, 22 Jun 2022 21:42:42 +0000 (09:42 +1200)]
Merge pull request #23868 from civicrm/5.51
5.51 to master
Eileen McNaughton [Wed, 22 Jun 2022 21:38:29 +0000 (09:38 +1200)]
Merge pull request #23867 from demeritcowboy/currency551
dev/core#3680 - Currency incorrectly displayed for price set when default is not USD
Mathieu Lutfy [Fri, 17 Jun 2022 15:06:28 +0000 (11:06 -0400)]
navigation: cleanup less frequently used New items
demeritcowboy [Wed, 22 Jun 2022 13:34:12 +0000 (09:34 -0400)]
use the actual currency if there is one not the default
Eileen McNaughton [Wed, 22 Jun 2022 10:29:06 +0000 (22:29 +1200)]
Merge pull request #23866 from civicrm/5.51
5.51 to master
Eileen McNaughton [Wed, 22 Jun 2022 09:50:42 +0000 (21:50 +1200)]
Merge pull request #23865 from colemanw/behalf
dev/core#3675 Fix Permissioned Relationship pseudoconstant
Coleman Watts [Wed, 22 Jun 2022 08:05:40 +0000 (04:05 -0400)]
dev/core#3675 Fix Permissioned Relationship pseudoconstant
Fixes dev/core#3675 Permissioned Relationship no longer set up
for "On Behalf of Organization" Membership Contribution Form submissions
Eileen McNaughton [Wed, 22 Jun 2022 03:30:27 +0000 (15:30 +1200)]
Merge pull request #23860 from civicrm/5.51
5.51
Eileen McNaughton [Wed, 22 Jun 2022 01:45:48 +0000 (13:45 +1200)]
Merge pull request #23847 from eileenmcnaughton/sync
Attempt to make function more readable by extracting in-line function
Seamus Lee [Tue, 21 Jun 2022 23:58:10 +0000 (09:58 +1000)]
Merge pull request #23839 from eileenmcnaughton/import_outy
dev/core#3665 import summary fixes
Seamus Lee [Tue, 21 Jun 2022 23:27:32 +0000 (09:27 +1000)]
Merge pull request #23849 from eileenmcnaughton/import_55
dev/core#3673 do not attempt to import empty related contact
demeritcowboy [Tue, 21 Jun 2022 23:26:33 +0000 (19:26 -0400)]
Merge pull request #23855 from mlutfy/fixAccentsIcalAgain
dev/core#1541 Fix ICalendar random invalid utf8 (PHP <7.4 compat) and tests
Eileen McNaughton [Tue, 21 Jun 2022 23:08:41 +0000 (11:08 +1200)]
Merge pull request #23836 from stesi561/dev/core/#3671
Refs: dev/core#3671 Fix regression involving CiviCRM Webform + Cases.
Eileen McNaughton [Tue, 21 Jun 2022 00:58:07 +0000 (12:58 +1200)]
Attempt to make function more readable by extracting in-line function
Eileen McNaughton [Tue, 21 Jun 2022 22:59:55 +0000 (10:59 +1200)]
Merge pull request #23858 from seamuslee001/guzzle_658
[REF] Update Guzzle to be 6.5.8
demeritcowboy [Tue, 21 Jun 2022 22:46:58 +0000 (18:46 -0400)]
Merge pull request #23846 from seamuslee001/fix_warning_karma
[REF] Follow on from #23749 and remove refernece to ui-utils from kar…
Seamus Lee [Tue, 21 Jun 2022 21:37:50 +0000 (07:37 +1000)]
[REF] Update Guzzle to be 6.5.8
Mathieu Lu [Tue, 21 Jun 2022 19:53:00 +0000 (15:53 -0400)]
Merge pull request #23850 from demeritcowboy/rsspubdate
Alternate to 23826 - Events RSS feed does not output a pubDate for each Event
demeritcowboy [Tue, 21 Jun 2022 17:25:05 +0000 (13:25 -0400)]
Merge pull request #23853 from pradpnayak/updatecasefixes
Fixed fatal error on update multiple case
Mathieu Lutfy [Tue, 21 Jun 2022 13:54:05 +0000 (09:54 -0400)]
dev/core#1541 Fix ICalendar random invalid utf8 (PHP <7.4 compat) and tests
Pradeep Nayak [Tue, 21 Jun 2022 13:47:38 +0000 (14:47 +0100)]
Fixed fatal error on update multiple case
Eileen McNaughton [Tue, 21 Jun 2022 03:36:11 +0000 (15:36 +1200)]
dev/core#3673 do not attempt to report empty related contact
Yashodha Chaku [Tue, 21 Jun 2022 07:55:25 +0000 (13:25 +0530)]
Merge pull request #23834 from colemanw/deleteCustomOption
Call hooks when deleting an option value from CustomOption BAO
Yashodha Chaku [Tue, 21 Jun 2022 04:02:57 +0000 (09:32 +0530)]
Merge pull request #23840 from mlutfy/fixAccentsIcal
dev/core#1541 Fix ICalendar random invalid utf8
demeritcowboy [Tue, 21 Jun 2022 00:36:49 +0000 (20:36 -0400)]
CIVICRM-1998 CiviCRM Events RSS feed does not output a pubDate for each Event, use the Event Start Date as the pubDate which is generally how other Event systems use RSS
Eileen McNaughton [Tue, 21 Jun 2022 02:27:10 +0000 (14:27 +1200)]
Merge pull request #23822 from MegaphoneJon/3661-551
fixes core#3661: Don't check API permissions in CRM_Mailing_BAO_Mailing::getGroupNames()
Seamus Lee [Tue, 21 Jun 2022 00:57:17 +0000 (10:57 +1000)]
[REF] Follow on from #23749 and remove refernece to ui-utils from karama conf
Seamus Lee [Tue, 21 Jun 2022 00:20:37 +0000 (10:20 +1000)]
Merge pull request #23843 from seamuslee001/master
5.51
Seamus Lee [Tue, 21 Jun 2022 00:17:59 +0000 (10:17 +1000)]
Merge branch '5.51'
Seamus Lee [Tue, 21 Jun 2022 00:12:19 +0000 (10:12 +1000)]
Merge pull request #23842 from seamuslee001/regen_3658
[REF] dev/core#3658 Regenerate civicrm_generated to ensure that group…
Seamus Lee [Mon, 20 Jun 2022 22:22:23 +0000 (08:22 +1000)]
[REF] dev/core#3658 Regenerate civicrm_generated to ensure that grouping is added on installs
Eileen McNaughton [Mon, 20 Jun 2022 21:16:35 +0000 (09:16 +1200)]
Merge pull request #23841 from civicrm/5.51
5.51 to master
Eileen McNaughton [Mon, 20 Jun 2022 05:47:22 +0000 (17:47 +1200)]
Add related contacts to the group too, per prior version
Eileen McNaughton [Mon, 20 Jun 2022 05:27:49 +0000 (17:27 +1200)]
dev/core#3665 import summary fixes
m
Jon Goldberg [Thu, 16 Jun 2022 17:13:38 +0000 (13:13 -0400)]
fixes core#3661: Don't check API permissions in CRM_Mailing_BAO_Mailing::getGroupNames()
Mathieu Lutfy [Mon, 20 Jun 2022 15:35:18 +0000 (11:35 -0400)]
dev/core#1541 Fix ICalendar random invalid utf8
Mathieu Lu [Mon, 20 Jun 2022 15:33:36 +0000 (11:33 -0400)]
Merge pull request #23638 from jensschuppe/fix/iCalHtmlEntities
Decode HTML entities in iCalendar text
colemanw [Mon, 20 Jun 2022 14:10:03 +0000 (10:10 -0400)]
Merge pull request #23838 from eileenmcnaughton/import_out
Add view link to user job monitoring page
colemanw [Mon, 20 Jun 2022 14:06:31 +0000 (10:06 -0400)]
Merge pull request #23821 from eileenmcnaughton/import_long
dev/core#3662 increase length of import table status message
colemanw [Mon, 20 Jun 2022 14:01:06 +0000 (10:01 -0400)]
Merge pull request #23835 from eileenmcnaughton/related
dev/core#3667 fix failure to match existing contacts in skip mode
Eileen McNaughton [Mon, 20 Jun 2022 02:14:28 +0000 (14:14 +1200)]
Make monitoring page degrade gracefully if the import job is deleted
Eileen McNaughton [Mon, 20 Jun 2022 01:45:34 +0000 (13:45 +1200)]
Add view link to user job monitoring page
Eileen McNaughton [Mon, 20 Jun 2022 00:52:12 +0000 (12:52 +1200)]
Merge pull request #23837 from civicrm/5.51
5.51 to master
Eileen McNaughton [Mon, 20 Jun 2022 00:51:20 +0000 (12:51 +1200)]
Merge pull request #23823 from eileenmcnaughton/contact_test
dev/core#3663 fix output regression on csv output for import
Eileen McNaughton [Sun, 19 Jun 2022 23:41:14 +0000 (11:41 +1200)]
Merge pull request #23825 from colemanw/profileExport
APIv4 - Enable exporting profiles with custom fields
Eileen McNaughton [Sun, 19 Jun 2022 21:15:05 +0000 (09:15 +1200)]
Merge pull request #23818 from colemanw/afformDep
Afform - fix dependency injection for autogenerated forms
Eileen McNaughton [Sat, 18 Jun 2022 23:30:33 +0000 (11:30 +1200)]
dev/core#3667 fix failure to match existing contacts in skip mode
As reported by Andy C and verified by me 5.48 does create new related
contacts in skip mode
Luke Stewart [Sat, 18 Jun 2022 23:58:01 +0000 (11:58 +1200)]
Refs: dev/core#3671 Fix regression involving CiviCRM Webform + Cases.
Ignores permissions on api4 call in Recent::getTitle()
Eileen McNaughton [Fri, 17 Jun 2022 21:52:00 +0000 (09:52 +1200)]
Always throw exception in tests for pdf out
headers_sent() was always true before and hence the tests were written to expect the
exception would be called. Fixing that caused the tests to fail - but fixing it is good
Coleman Watts [Fri, 17 Jun 2022 23:28:00 +0000 (19:28 -0400)]
Call hooks when deleting an option value from CustomOption BAO
Fixes dev/core#3668
Eileen McNaughton [Fri, 17 Jun 2022 22:14:57 +0000 (10:14 +1200)]
Merge pull request #23832 from demeritcowboy/casedetails-static
dev/core#2983 - Make static function static - AJAX::caseDetails()
demeritcowboy [Fri, 17 Jun 2022 18:24:06 +0000 (14:24 -0400)]
make static function static
Coleman Watts [Fri, 17 Jun 2022 01:18:03 +0000 (21:18 -0400)]
APIv4 - Enable exporting profiles with custom fields
Before: Impossible to export a profile with custom fields as a managed entity because of the dependence on custom ids as the fieldname.
After: Uses APIv4-style names when exporting custom fields for profiles, which makes them portable.
demeritcowboy [Fri, 17 Jun 2022 16:13:42 +0000 (12:13 -0400)]
Merge pull request #23816 from eileenmcnaughton/inv_org
Fix double organization name in invoice, use token
Tim Otten [Fri, 17 Jun 2022 06:03:23 +0000 (23:03 -0700)]
Merge pull request #23827 from eileenmcnaughton/empty_date
Handle empty date token gracefully
Eileen McNaughton [Fri, 17 Jun 2022 04:15:51 +0000 (16:15 +1200)]
Handle empty date token gracefully
Eileen McNaughton [Fri, 17 Jun 2022 03:39:02 +0000 (15:39 +1200)]
Output to stdErr rather than echo