civicrm-core.git
2 years agoMerge pull request #22316 from braders/core-3003-preserve-tab-between-pageloads
Matthew Wire [Wed, 9 Mar 2022 21:54:39 +0000 (21:54 +0000)]
Merge pull request #22316 from braders/core-3003-preserve-tab-between-pageloads

Preserve selected tab when navigating between pages.

2 years agoMerge pull request #22291 from eileenmcnaughton/amount_block
Matthew Wire [Wed, 9 Mar 2022 21:53:44 +0000 (21:53 +0000)]
Merge pull request #22291 from eileenmcnaughton/amount_block

[REF] Extract & stdise AmountBlockIsActive

2 years agoMerge pull request #22255 from MegaphoneJon/membership-14-2021
Matthew Wire [Wed, 9 Mar 2022 21:51:50 +0000 (21:51 +0000)]
Merge pull request #22255 from MegaphoneJon/membership-14-2021

Calculate lifetime memberships more accurately

2 years agoMerge pull request #22886 from demeritcowboy/contributionview-notice3
Matthew Wire [Wed, 9 Mar 2022 21:47:36 +0000 (21:47 +0000)]
Merge pull request #22886 from demeritcowboy/contributionview-notice3

Simplify fix for smarty/php notice on contributionview

2 years agoMerge pull request #22802 from braders/feature/eventinfo-currency
Matthew Wire [Wed, 9 Mar 2022 21:46:28 +0000 (21:46 +0000)]
Merge pull request #22802 from braders/feature/eventinfo-currency

Remove use of overrideDefaultCurrency method from eventInfo page.

2 years agoMerge pull request #22920 from civicrm/5.48
Matthew Wire [Wed, 9 Mar 2022 21:44:49 +0000 (21:44 +0000)]
Merge pull request #22920 from civicrm/5.48

5.48

2 years agoMerge pull request #22898 from MegaphoneJon/timezone-check-condition
Matthew Wire [Wed, 9 Mar 2022 21:44:01 +0000 (21:44 +0000)]
Merge pull request #22898 from MegaphoneJon/timezone-check-condition

Don't perform event timezone check if CiviEvent is disabled

2 years agoMerge pull request #22917 from demeritcowboy/reregen
Tim Otten [Wed, 9 Mar 2022 21:38:44 +0000 (13:38 -0800)]
Merge pull request #22917 from demeritcowboy/reregen

regenerate civicrm_generated

2 years agoMerge pull request #22680 from mattwire/paymentstatushelpers
Matthew Wire [Wed, 9 Mar 2022 21:38:35 +0000 (21:38 +0000)]
Merge pull request #22680 from mattwire/paymentstatushelpers

Add paymentstatus helpers for doPayment and separate return params

2 years agoDon't perform event timezone check if CiviEvent is disabled
Jon Goldberg [Mon, 7 Mar 2022 15:39:07 +0000 (10:39 -0500)]
Don't perform event timezone check if CiviEvent is disabled

2 years agoMerge pull request #22916 from spalmstr/Issue_3085
demeritcowboy [Wed, 9 Mar 2022 20:09:59 +0000 (15:09 -0500)]
Merge pull request #22916 from spalmstr/Issue_3085

dev/core#3085 - Checkbox fields on profile admin page can't be unchecked

2 years agoregenerate civicrm_generated
demeritcowboy [Wed, 9 Mar 2022 18:56:28 +0000 (18:56 +0000)]
regenerate civicrm_generated

2 years agoMerge pull request #22914 from civicrm/5.48
demeritcowboy [Wed, 9 Mar 2022 18:52:35 +0000 (13:52 -0500)]
Merge pull request #22914 from civicrm/5.48

5.48

2 years agoMerge pull request #22882 from mattwire/api4saveempty
colemanw [Wed, 9 Mar 2022 18:42:52 +0000 (13:42 -0500)]
Merge pull request #22882 from mattwire/api4saveempty

Allow API4 match to match an empty value

2 years agoIssue 3085
Stephen Palmstrom [Wed, 9 Mar 2022 18:07:18 +0000 (18:07 +0000)]
Issue 3085

2 years agoMerge pull request #22913 from colemanw/civiGrantTypes2
colemanw [Wed, 9 Mar 2022 16:28:49 +0000 (11:28 -0500)]
Merge pull request #22913 from colemanw/civiGrantTypes2

CiviGrant - Don't auto-create any grant types

2 years agoAdd test for matching on empty string with API4 save
Matthew Wire [Tue, 8 Mar 2022 19:18:11 +0000 (19:18 +0000)]
Add test for matching on empty string with API4 save

2 years agoCiviGrant - Don't auto-create any grant types
Coleman Watts [Tue, 8 Mar 2022 13:51:41 +0000 (08:51 -0500)]
CiviGrant - Don't auto-create any grant types

2 years agoMerge pull request #22911 from colemanw/grant-reports2
colemanw [Wed, 9 Mar 2022 13:41:06 +0000 (08:41 -0500)]
Merge pull request #22911 from colemanw/grant-reports2

dev/core#3100 - Remove grant leftovers from core xml. Remove empty grant reports menu

2 years agoMerge pull request #22830 from kurund/entityRef-enhancements
demeritcowboy [Wed, 9 Mar 2022 13:40:22 +0000 (08:40 -0500)]
Merge pull request #22830 from kurund/entityRef-enhancements

dev/core#3082 enhance EntityRef to show create new link when contact listing is fil…

2 years agoMerge pull request #22912 from eileenmcnaughton/group
Yashodha Chaku [Wed, 9 Mar 2022 03:37:00 +0000 (09:07 +0530)]
Merge pull request #22912 from eileenmcnaughton/group

Add action links for group.

2 years agoAdd links for group
Eileen McNaughton [Wed, 9 Mar 2022 01:39:06 +0000 (14:39 +1300)]
Add links for group

Note the view goes to view group members - I didn't see anything more appropriate

2 years agoRegenerate sql
Coleman Watts [Wed, 9 Mar 2022 01:36:42 +0000 (20:36 -0500)]
Regenerate sql

2 years agoempty grant reports menu
demeritcowboy [Sat, 5 Mar 2022 23:38:35 +0000 (18:38 -0500)]
empty grant reports menu

2 years agoRemove unused grant reports from upgrader
Coleman Watts [Tue, 8 Mar 2022 22:37:39 +0000 (17:37 -0500)]
Remove unused grant reports from upgrader

2 years agoMerge pull request #22910 from civicrm/5.48
demeritcowboy [Wed, 9 Mar 2022 00:13:53 +0000 (19:13 -0500)]
Merge pull request #22910 from civicrm/5.48

5.48

2 years agoMerge pull request #22909 from eileenmcnaughton/relview
Tim Otten [Tue, 8 Mar 2022 22:39:33 +0000 (14:39 -0800)]
Merge pull request #22909 from eileenmcnaughton/relview

Add created & modified dates to "View Relationship" screen

2 years agoMerge pull request #22908 from MegaphoneJon/core-3106
Tim Otten [Tue, 8 Mar 2022 22:38:02 +0000 (14:38 -0800)]
Merge pull request #22908 from MegaphoneJon/core-3106

(dev/core#3106) Raise max# of editable websites (5 => 25)

2 years agoMerge pull request #22870 from eileenmcnaughton/line
Seamus Lee [Tue, 8 Mar 2022 21:59:22 +0000 (08:59 +1100)]
Merge pull request #22870 from eileenmcnaughton/line

Only acl line items based on contribution

2 years agoMerge pull request #22907 from eileenmcnaughton/rel
Seamus Lee [Tue, 8 Mar 2022 21:59:07 +0000 (08:59 +1100)]
Merge pull request #22907 from eileenmcnaughton/rel

[NFC] Superficial cleanup

2 years agoAdd created & modified dates to relationhsip view
Eileen McNaughton [Tue, 8 Mar 2022 20:45:03 +0000 (09:45 +1300)]
Add created & modified dates to relationhsip view

2 years agofixes core#3106 - raise max inline edit websites to 25
Jon Goldberg [Tue, 8 Mar 2022 20:34:26 +0000 (15:34 -0500)]
fixes core#3106 - raise max inline edit websites to 25

2 years ago[NFC] Superficial cleanup
Eileen McNaughton [Tue, 8 Mar 2022 20:30:48 +0000 (09:30 +1300)]
[NFC] Superficial cleanup

Mostly array formatting

2 years agoAllow API4 match to match an empty value
Matthew Wire [Thu, 3 Mar 2022 20:59:46 +0000 (20:59 +0000)]
Allow API4 match to match an empty value

2 years agoMerge pull request #22903 from eileenmcnaughton/ev
Eileen McNaughton [Tue, 8 Mar 2022 02:11:22 +0000 (15:11 +1300)]
Merge pull request #22903 from eileenmcnaughton/ev

Rename test class to reflect form

2 years agoMerge pull request #22901 from civicrm/5.48
Tim Otten [Tue, 8 Mar 2022 00:25:39 +0000 (16:25 -0800)]
Merge pull request #22901 from civicrm/5.48

5.48

2 years agoRename test class to reflect form
Eileen McNaughton [Tue, 8 Mar 2022 00:11:21 +0000 (13:11 +1300)]
Rename test class to reflect form

I got confused thinking this is testing the backoffice 'Registration' form
but in fact it tests 'Register'

2 years agoMerge pull request #22865 from demeritcowboy/contributionview
Seamus Lee [Mon, 7 Mar 2022 22:54:45 +0000 (09:54 +1100)]
Merge pull request #22865 from demeritcowboy/contributionview

dev/core#3094 - Crash on contribution view when don't have event/participant permissions

2 years agoMerge pull request #22900 from MegaphoneJon/paymentprocessor-error-bubble-up
Seamus Lee [Mon, 7 Mar 2022 22:52:19 +0000 (09:52 +1100)]
Merge pull request #22900 from MegaphoneJon/paymentprocessor-error-bubble-up

Expose payment processor error from PaymentProcessor.pay

2 years agoMerge pull request #22826 from colemanw/api4EntityTypes
Eileen McNaughton [Mon, 7 Mar 2022 20:50:18 +0000 (09:50 +1300)]
Merge pull request #22826 from colemanw/api4EntityTypes

APIv4 - Get dynamic list of entity types

2 years agoExpose payment processor error from PaymentProcessor.pay
Jon Goldberg [Mon, 7 Mar 2022 20:04:08 +0000 (15:04 -0500)]
Expose payment processor error from PaymentProcessor.pay

2 years agoMerge pull request #22899 from civicrm/5.48
colemanw [Mon, 7 Mar 2022 19:48:24 +0000 (14:48 -0500)]
Merge pull request #22899 from civicrm/5.48

5.48

2 years agoMerge pull request #22897 from demeritcowboy/customview
demeritcowboy [Mon, 7 Mar 2022 16:18:06 +0000 (11:18 -0500)]
Merge pull request #22897 from demeritcowboy/customview

dev/core#3104 - Crash when viewing a contact page - Call to undefined method CRM_Contact_Page_View_Summary::addExpectedSmartyVariables()

2 years agoMerge pull request #22853 from colemanw/api4CreateEvent
colemanw [Mon, 7 Mar 2022 14:59:36 +0000 (09:59 -0500)]
Merge pull request #22853 from colemanw/api4CreateEvent

[REF] APIv4 - Use new class_args metadata to remove special handing

2 years agodo same thing as CRM_Core_Form
demeritcowboy [Mon, 7 Mar 2022 14:25:30 +0000 (09:25 -0500)]
do same thing as CRM_Core_Form

2 years agoSet version to 5.49.alpha1
CiviCRM [Mon, 7 Mar 2022 00:15:58 +0000 (00:15 +0000)]
Set version to 5.49.alpha1

2 years agoSet version to 5.48.beta1
CiviCRM [Mon, 7 Mar 2022 00:11:34 +0000 (00:11 +0000)]
Set version to 5.48.beta1

2 years agoMerge pull request #22868 from totten/master-flush2
Tim Otten [Sun, 6 Mar 2022 23:49:12 +0000 (15:49 -0800)]
Merge pull request #22868 from totten/master-flush2

Refresh entity list after updating custom group (self_hook_*)

2 years agoMerge pull request #22896 from colemanw/api4ExplorerCopy
demeritcowboy [Sun, 6 Mar 2022 19:36:33 +0000 (14:36 -0500)]
Merge pull request #22896 from colemanw/api4ExplorerCopy

APIv4 Explorer - Add "copy" button to quicly copy code to clipboard

2 years agoAPIv4 Explorer - Add "copy" button and output executable php
Coleman Watts [Sun, 6 Mar 2022 16:57:54 +0000 (11:57 -0500)]
APIv4 Explorer - Add "copy" button and output executable php

Makes it easy to select and copy generated code.

This makes the "Export" action easier to use, a "Copy" button automatically
selects text, and the PHP formatted code begins with "return" and ends with a semicolon.

2 years agoMerge pull request #22894 from demeritcowboy/contributionview-notice4
demeritcowboy [Sun, 6 Mar 2022 17:06:43 +0000 (12:06 -0500)]
Merge pull request #22894 from demeritcowboy/contributionview-notice4

smarty/php notices on contribution view part 4

2 years agoMerge pull request #22895 from braders/static-ajax-methods
demeritcowboy [Sun, 6 Mar 2022 16:02:14 +0000 (11:02 -0500)]
Merge pull request #22895 from braders/static-ajax-methods

Mark AJAX methods as static

2 years agoMerge pull request #22892 from braders/ensure-tabheader-keys-are-assigned
demeritcowboy [Sun, 6 Mar 2022 14:40:27 +0000 (09:40 -0500)]
Merge pull request #22892 from braders/ensure-tabheader-keys-are-assigned

Avoid e-notices on pages with tabs

2 years agoMark AJAX methods as static
Bradley Taylor [Sun, 6 Mar 2022 14:03:28 +0000 (14:03 +0000)]
Mark AJAX methods as static

2 years agoAvoid e-notices on pages with tabs
Bradley Taylor [Sat, 5 Mar 2022 15:26:43 +0000 (15:26 +0000)]
Avoid e-notices on pages with tabs

2 years agosmarty/php notices
demeritcowboy [Sat, 5 Mar 2022 05:06:16 +0000 (00:06 -0500)]
smarty/php notices

2 years agoMerge pull request #22891 from seamuslee001/master
Seamus Lee [Sat, 5 Mar 2022 03:06:10 +0000 (14:06 +1100)]
Merge pull request #22891 from seamuslee001/master

5.47

2 years agoMerge in 5.47
Seamus Lee [Sat, 5 Mar 2022 02:59:26 +0000 (13:59 +1100)]
Merge in 5.47

2 years agoMerge pull request #22889 from totten/5.47-bump0
Tim Otten [Sat, 5 Mar 2022 02:15:33 +0000 (18:15 -0800)]
Merge pull request #22889 from totten/5.47-bump0

5.47.0 - Bump version. Add notes from RC period.

2 years agorelease-notes/5.47.0.md - Add 22885
Tim Otten [Sat, 5 Mar 2022 02:07:53 +0000 (18:07 -0800)]
release-notes/5.47.0.md - Add 22885

2 years agoMerge pull request #22885 from eileenmcnaughton/lang
Seamus Lee [Sat, 5 Mar 2022 01:32:35 +0000 (12:32 +1100)]
Merge pull request #22885 from eileenmcnaughton/lang

dev/core#3095 Permit setting of format_locale, prefer if set

2 years agoMerge pull request #22883 from colemanw/managedEntityMatch
Tim Otten [Sat, 5 Mar 2022 01:07:59 +0000 (17:07 -0800)]
Merge pull request #22883 from colemanw/managedEntityMatch

ManagedEntities - Allow "match" param to convert existing records to …

2 years ago(NFC) `en_NZ` label should look like other `en_*` labels
Tim Otten [Fri, 4 Mar 2022 23:49:09 +0000 (15:49 -0800)]
(NFC) `en_NZ` label should look like other `en_*` labels

2 years agoformat_locale - Present single-value option. Fix display of null value.
Tim Otten [Fri, 4 Mar 2022 23:46:49 +0000 (15:46 -0800)]
format_locale - Present single-value option. Fix display of null value.

Overview: Fix display of new setting in admin form.

Before: Field incorrectly displays as multi-value selection.

After: Field displays as single-value selection. The null value is specifically allowed.

2 years agoMerge pull request #22888 from civicrm/5.47
Seamus Lee [Fri, 4 Mar 2022 23:15:50 +0000 (10:15 +1100)]
Merge pull request #22888 from civicrm/5.47

5.47

2 years agorelease-notes/5.47.0.md - Auto clean (https://gist.github.com/totten/acff49e6dd779473...
Tim Otten [Fri, 4 Mar 2022 23:06:18 +0000 (15:06 -0800)]
release-notes/5.47.0.md - Auto clean (https://gist.github.com/totten/acff49e6dd77947349a1df26d5002003)

2 years agorelease-notes/5.47.0.md - Add various RC-stage PRs
Tim Otten [Fri, 4 Mar 2022 23:02:51 +0000 (15:02 -0800)]
release-notes/5.47.0.md - Add various RC-stage PRs

2 years agorelease-notes/5.47.0.md - Change date
Tim Otten [Fri, 4 Mar 2022 22:59:41 +0000 (14:59 -0800)]
release-notes/5.47.0.md - Change date

2 years agoSet version to 5.47.0
Tim Otten [Fri, 4 Mar 2022 23:03:19 +0000 (15:03 -0800)]
Set version to 5.47.0

2 years agoMerge pull request #22881 from colemanw/civiGrantFixSecondAttempt
Tim Otten [Fri, 4 Mar 2022 21:59:11 +0000 (13:59 -0800)]
Merge pull request #22881 from colemanw/civiGrantFixSecondAttempt

CiviGrant install fix second attempt

2 years agosimplify
demeritcowboy [Fri, 4 Mar 2022 16:55:43 +0000 (11:55 -0500)]
simplify

2 years agoFix the world
Eileen McNaughton [Thu, 3 Mar 2022 23:30:10 +0000 (12:30 +1300)]
Fix the world

2 years agoFiveFortySeven - Ensure that `civicrm_search_display` is up-to-date
Tim Otten [Fri, 4 Mar 2022 04:37:43 +0000 (20:37 -0800)]
FiveFortySeven - Ensure that `civicrm_search_display` is up-to-date

Note: This step was added to the codebase circa 5.47. The underlying schema
change actually originated circa 5.46. The step should be idempotent.

2 years agoFiveFortySeven - Leave `civigrant` inactive during inconsistent period
Tim Otten [Fri, 4 Mar 2022 00:37:38 +0000 (16:37 -0800)]
FiveFortySeven - Leave `civigrant` inactive during inconsistent period

Before
------

`migrateCiviGrant()` migrates some metadata from core-ownership to
core-extension-ownership...  and it ALSO activates the extension.  However,
the extension depends on other (possibly-inactive) extensions.  This
creates an inconsistent state (where active parts of `civigrant`
depend on inactive parts of `search_kit`).

In this inconsistent state, `ManagedEntities::reconcile()` fails.

After
-----

`migrateCiviGrant()` still migrates metadata.  However, it initially leaves
the extension inactive.  So `ManagedEntities::reconcile()` won't try to
setup these records.

After core schema is fully resolved, then it installs all necessary
extensions using normal mechanisms (with normal ordering).

2 years agoManagedEntities - Ignore `$ignoreUpgradeMode`
Tim Otten [Fri, 4 Mar 2022 00:29:34 +0000 (16:29 -0800)]
ManagedEntities - Ignore `$ignoreUpgradeMode`

This guard was added by 912511a359680eb72b15c595b5091fa03f8687f2 as part of
a previous approach to managing hooks during upgrades.  This general
approach changed with https://github.com/civicrm/civicrm-core/pull/17126; so
17126 partially undid this... but it inadvertently had the effect of
completely disabling `reconcile()` (because this guard was left).

2 years agoCiviGrant - Ensure dependencies are installed
Coleman Watts [Thu, 3 Mar 2022 14:35:43 +0000 (09:35 -0500)]
CiviGrant - Ensure dependencies are installed

Fixes dev/core#3093

2 years agoUpgrader - Add enable extension as a reusable upgrade task
Tim Otten [Thu, 3 Mar 2022 05:48:25 +0000 (21:48 -0800)]
Upgrader - Add enable extension as a reusable upgrade task

2 years agoMerge pull request #22884 from civicrm/5.47
Seamus Lee [Fri, 4 Mar 2022 01:27:39 +0000 (12:27 +1100)]
Merge pull request #22884 from civicrm/5.47

5.47

2 years agodev/core#3095 Permit setting of format_locale, prefer if set
Eileen McNaughton [Thu, 3 Mar 2022 23:17:19 +0000 (12:17 +1300)]
dev/core#3095 Permit setting of format_locale, prefer if set

This is a minimal patch to address https://lab.civicrm.org/dev/core/-/issues/3095
in time for 5.47. With this set it is possible to change the format locale to
English, Canada or English, Australian (but not NZ!)
and the currency will only be displayed before dollar amounts NOT of that
currency.

This should be enough to mitigate that regression feeling but missing are
1) fixing the admin form to hide irrelevant settings if format_locale is set
2) the psuedoconstant is cludgey - existing stuff doesn't seem to work so
I added a function - also - if we ARE going to use this option group we
should .... add NZ to it

2 years agoMerge pull request #22879 from colemanw/fixUndefinedVars
Seamus Lee [Thu, 3 Mar 2022 22:11:15 +0000 (09:11 +1100)]
Merge pull request #22879 from colemanw/fixUndefinedVars

Fix undeclared javascript variables

2 years agoManagedEntities - Allow "match" param to convert existing records to managed entities
Coleman Watts [Thu, 3 Mar 2022 21:35:52 +0000 (16:35 -0500)]
ManagedEntities - Allow "match" param to convert existing records to managed entities

This can help ease the pain of declaring managed entities which may or may not
already exist - now they can be matched by name or other unique identifier.

2 years agoMerge pull request #22874 from civicrm/mailing_token
Yashodha Chaku [Thu, 3 Mar 2022 14:45:41 +0000 (20:15 +0530)]
Merge pull request #22874 from civicrm/mailing_token

Contact token should show contact's info instead of logged in contact

2 years agoCRM/Upgrade - Define queue weights. Put finalization step in the queue.
Tim Otten [Thu, 3 Mar 2022 05:34:31 +0000 (21:34 -0800)]
CRM/Upgrade - Define queue weights. Put finalization step in the queue.

2 years agoFix undefined javascript variables
Coleman Watts [Thu, 3 Mar 2022 01:13:30 +0000 (20:13 -0500)]
Fix undefined javascript variables

These variables need to be declared with the `var` keyword, or it crashes some browsers.

2 years agoMerge pull request #22875 from civicrm/dependabot/npm_and_yarn/karma-6.3.16
Seamus Lee [Wed, 2 Mar 2022 22:35:56 +0000 (09:35 +1100)]
Merge pull request #22875 from civicrm/dependabot/npm_and_yarn/karma-6.3.16

Bump karma from 6.3.14 to 6.3.16

2 years agoMerge pull request #22869 from demeritcowboy/contributionview-notices2
Seamus Lee [Wed, 2 Mar 2022 22:26:33 +0000 (09:26 +1100)]
Merge pull request #22869 from demeritcowboy/contributionview-notices2

php/smarty notices on contribution view part 2

2 years agoMerge pull request #22876 from rashedulislam/add-as-a-contributor
demeritcowboy [Wed, 2 Mar 2022 16:41:48 +0000 (11:41 -0500)]
Merge pull request #22876 from rashedulislam/add-as-a-contributor

added as a contributor

2 years agoadded as a contributor
Md Rashedul Islam [Wed, 2 Mar 2022 14:44:12 +0000 (20:44 +0600)]
added as a contributor

2 years agoMerge pull request #22872 from rashedulislam/attachment-civicrm_api3_create_error
demeritcowboy [Wed, 2 Mar 2022 13:52:26 +0000 (08:52 -0500)]
Merge pull request #22872 from rashedulislam/attachment-civicrm_api3_create_error

Call to undefined function civicrm_api3_create_error() in civicrm/civ…

2 years agoBump karma from 6.3.14 to 6.3.16
dependabot[bot] [Wed, 2 Mar 2022 13:30:27 +0000 (13:30 +0000)]
Bump karma from 6.3.14 to 6.3.16

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #22438 from eileenmcnaughton/format
Yashodha Chaku [Wed, 2 Mar 2022 11:41:02 +0000 (17:11 +0530)]
Merge pull request #22438 from eileenmcnaughton/format

Format money on transaction list

2 years agoContact token should show contact's info instead of logged in contact
Monish Deb [Wed, 2 Mar 2022 09:52:11 +0000 (15:22 +0530)]
Contact token should show contact's info instead of logged in contact

2 years agoMerge pull request #22873 from civicrm/5.47
Seamus Lee [Wed, 2 Mar 2022 06:16:34 +0000 (17:16 +1100)]
Merge pull request #22873 from civicrm/5.47

5.47

2 years agoMerge pull request #22871 from totten/5.47-mem-date-test
Tim Otten [Wed, 2 Mar 2022 06:04:34 +0000 (22:04 -0800)]
Merge pull request #22871 from totten/5.47-mem-date-test

(NFC) Membership Tests - Update assertions to match behavior circa leap-day

2 years agoCall to undefined function civicrm_api3_create_error() in civicrm/civicrm/CRM/Core...
Md Rashedul Islam [Wed, 2 Mar 2022 06:03:33 +0000 (12:03 +0600)]
Call to undefined function civicrm_api3_create_error() in civicrm/civicrm/CRM/Core/Page/AJAX/Attachment.php:65

2 years ago(NFC) Membership Tests - Update assertions to match behavior circa leap-day
Tim Otten [Tue, 1 Mar 2022 06:00:03 +0000 (22:00 -0800)]
(NFC) Membership Tests - Update assertions to match behavior circa leap-day

If you run the tests on Mar 2, 2022, then some of the generated memberships
land on the leap-day in 2024.  The actual behavior is have the end-date on the
last day of the month (29 Feb 2024), but the test incorrectly asserts that
it comes before (28 Feb 2024).

2 years agoOnly acl line items based on contribution
Eileen McNaughton [Wed, 2 Mar 2022 03:56:17 +0000 (16:56 +1300)]
Only acl line items based on contribution

The query becomes insane if we allow membership, participant ids to bubble up here

2 years agoMerge pull request #22867 from totten/master-logdetail
demeritcowboy [Wed, 2 Mar 2022 03:39:09 +0000 (22:39 -0500)]
Merge pull request #22867 from totten/master-logdetail

(NFC) LoggingDetailTest - Improve reliability of test

2 years agoRefresh entity list after updating custom group (self_hook_*)
Tim Otten [Wed, 2 Mar 2022 03:02:22 +0000 (19:02 -0800)]
Refresh entity list after updating custom group (self_hook_*)

Overview
----------------------------------------

The CustomGroups are used to generate virtual entities (if they set `is_multiple`). Toggling `is_multiple`
should cause the virtual entity to be added or removed.

Reproduction steps
----------------------------------------

1. Create a custom data group. Leave default `is_multiple=0`.
2. View "API Explorer". Look for the virtual entity. (It's not there. Properly so.)
3. Edit custom data group. Change to `is_multiple=1`.
4. Reload "API Explorer". Look for the virtual entity.

Before
----------------------------------------

The entity does not appear. You have to do a system-flush.

After
----------------------------------------

The entity does appear.

2 years agoCustomValueTest - Highlight cache bug
Tim Otten [Wed, 2 Mar 2022 02:58:26 +0000 (18:58 -0800)]
CustomValueTest - Highlight cache bug