civicrm-core.git
2 years agoMerge pull request #21960 from colemanw/afformBaseModule
Tim Otten [Mon, 8 Nov 2021 02:48:15 +0000 (18:48 -0800)]
Merge pull request #21960 from colemanw/afformBaseModule

Afform - Display the extension in which an Afform is packaged

2 years agoMerge pull request #20811 from elcapo/billing-fields
Eileen McNaughton [Sun, 7 Nov 2021 22:27:54 +0000 (11:27 +1300)]
Merge pull request #20811 from elcapo/billing-fields

Check the billing fields returned by each payment processor

2 years agoMerge pull request #21995 from braders/title-attr-tidyup
colemanw [Sun, 7 Nov 2021 21:07:11 +0000 (16:07 -0500)]
Merge pull request #21995 from braders/title-attr-tidyup

Tidy up title attributes

2 years agoTidy up title attributes
Bradley Taylor [Sat, 6 Nov 2021 16:26:24 +0000 (16:26 +0000)]
Tidy up title attributes
Wrap text in {ts} as appropriate (for translation)
Remove poorly worded or superflous title attributes

2 years agoMerge pull request #21998 from webmaster-cses-org-uk/patch-3
Monish Deb [Sun, 7 Nov 2021 15:37:05 +0000 (21:07 +0530)]
Merge pull request #21998 from webmaster-cses-org-uk/patch-3

Guard against passing empty values to CRM_Core_DAO::getFieldValue()

2 years agoMerge pull request #21975 from MegaphoneJon/reporting-18
colemanw [Sun, 7 Nov 2021 14:54:54 +0000 (09:54 -0500)]
Merge pull request #21975 from MegaphoneJon/reporting-18

Reporting #18: Fix sorting with > 10 participant roles

2 years agoMerge pull request #21940 from eileenmcnaughton/debug
demeritcowboy [Sun, 7 Nov 2021 13:53:18 +0000 (08:53 -0500)]
Merge pull request #21940 from eileenmcnaughton/debug

Enotice fixes in debug.tpl that are compatible with default escaping

2 years agoMerge pull request #21979 from eileenmcnaughton/vars
demeritcowboy [Sun, 7 Nov 2021 13:52:13 +0000 (08:52 -0500)]
Merge pull request #21979 from eileenmcnaughton/vars

Fix isForm to be always assigned, remove checks

2 years agoGuard against passing empty values to CRM_Core_DAO::getFieldValue()
Adam Wood [Sun, 7 Nov 2021 13:09:31 +0000 (13:09 +0000)]
Guard against passing empty values to CRM_Core_DAO::getFieldValue()

This change removes a potential "getFieldValue failed" error that can be thrown if an empty scalar value occurs in a multiple-contact reference custom field.

See https://lab.civicrm.org/dev/core/-/issues/2939

Replaces https://github.com/eileenmcnaughton/civicrm-core/pull/13/commits which was opened against the wrong repo.

2 years agoMerge pull request #21994 from braders/more-hardcoded-strings
Seamus Lee [Sat, 6 Nov 2021 22:22:27 +0000 (09:22 +1100)]
Merge pull request #21994 from braders/more-hardcoded-strings

Make more hardcoded strings available for translation

2 years agoMerge pull request #21933 from eileenmcnaughton/local
demeritcowboy [Sat, 6 Nov 2021 18:03:31 +0000 (14:03 -0400)]
Merge pull request #21933 from eileenmcnaughton/local

Remove unused variable

2 years agoMake more hardcoded strings available for translation
Bradley Taylor [Sat, 6 Nov 2021 12:05:17 +0000 (12:05 +0000)]
Make more hardcoded strings available for translation

2 years agoMerge pull request #21988 from eileenmcnaughton/isset2
colemanw [Sat, 6 Nov 2021 03:44:14 +0000 (23:44 -0400)]
Merge pull request #21988 from eileenmcnaughton/isset2

Remove isset from Datasource.tpl

2 years agoMerge pull request #21987 from eileenmcnaughton/enotice
demeritcowboy [Fri, 5 Nov 2021 23:27:25 +0000 (19:27 -0400)]
Merge pull request #21987 from eileenmcnaughton/enotice

Enotice fixes

2 years agoMerge pull request #21956 from eileenmcnaughton/escape2
demeritcowboy [Fri, 5 Nov 2021 23:26:57 +0000 (19:26 -0400)]
Merge pull request #21956 from eileenmcnaughton/escape2

dev/core#1328 Add define to optionally enable escape-on-output

2 years agoMerge pull request #21990 from civicrm/5.44
Eileen McNaughton [Fri, 5 Nov 2021 22:59:34 +0000 (11:59 +1300)]
Merge pull request #21990 from civicrm/5.44

5.44 to master

2 years agoMerge pull request #21985 from colemanw/searchImageFix
Eileen McNaughton [Fri, 5 Nov 2021 22:13:17 +0000 (11:13 +1300)]
Merge pull request #21985 from colemanw/searchImageFix

[Unreleased regression] SearchKit - Fix display of image fields

2 years agoRemove isset from Datasource.tpl
Eileen McNaughton [Fri, 5 Nov 2021 21:12:15 +0000 (10:12 +1300)]
Remove isset from Datasource.tpl

This comes up on the first import contact screen

2 years agoEnotice fixes
Eileen McNaughton [Fri, 5 Nov 2021 20:43:19 +0000 (09:43 +1300)]
Enotice fixes

2 years agoAdd define to optionally enable escape-on-output
Eileen McNaughton [Mon, 1 Nov 2021 21:04:56 +0000 (10:04 +1300)]
Add define to optionally enable escape-on-output

This adjusts the smarty class such that if you have the define below
escape-on-output is enabled

This PR + fixing the use of isset in the template layer are the pre-requisites for
turning escape on output on and off. Keeping this part in an unmerged branch is
tricky as the templates need to be recompiled when you switch to a branch
which does not have this function

I envisage us starting to use this define in our dev environments fairly soon
as it's working well locally for me on
https://github.com/civicrm/civicrm-core/pull/21935

2 years agoAfformAdmin - Show counts in tab header
Coleman Watts [Fri, 5 Nov 2021 20:17:06 +0000 (16:17 -0400)]
AfformAdmin - Show counts in tab header

2 years agoSearchKit - Fix display of image fields
Coleman Watts [Fri, 5 Nov 2021 18:39:05 +0000 (14:39 -0400)]
SearchKit - Fix display of image fields

2 years agoMerge pull request #21835 from wmortada/patch-1
Mathieu Lu [Fri, 5 Nov 2021 15:36:40 +0000 (11:36 -0400)]
Merge pull request #21835 from wmortada/patch-1

Run scheduled reminder job hourly

2 years agoMerge pull request #21982 from civicrm/5.44
Seamus Lee [Fri, 5 Nov 2021 07:28:39 +0000 (18:28 +1100)]
Merge pull request #21982 from civicrm/5.44

5.44

2 years agoMerge pull request #21980 from eileenmcnaughton/544
Seamus Lee [Fri, 5 Nov 2021 04:56:50 +0000 (15:56 +1100)]
Merge pull request #21980 from eileenmcnaughton/544

dev/core#2942 regression fix

2 years agoMerge pull request #21977 from colemanw/fixSearchKitPermissions
Seamus Lee [Fri, 5 Nov 2021 03:17:37 +0000 (14:17 +1100)]
Merge pull request #21977 from colemanw/fixSearchKitPermissions

SearchKit - Fix permission to access default display and download spreadsheets

2 years agodev/core#2942 regression fix
Eileen McNaughton [Fri, 5 Nov 2021 02:41:13 +0000 (15:41 +1300)]
dev/core#2942 regression fix

2 years agoFix isForm to be always assigned, remove checks
Eileen McNaughton [Fri, 5 Nov 2021 01:59:47 +0000 (14:59 +1300)]
Fix isForm to be always assigned, remove checks

Note I'm not seeing any regressions on this locally with enotice turned on - but the
worst case, if tests pass, is we get some enotices back in a scenario where we
are only impacting bleeding edge devs

2 years agoEnotice fixes in debug.tpl that are compatible with default escaping
Eileen McNaughton [Fri, 29 Oct 2021 20:15:29 +0000 (09:15 +1300)]
Enotice fixes in debug.tpl that are compatible with default escaping

2 years agoReporting #18: Fix sorting with > 10 participant roles
Jon Goldberg [Thu, 4 Nov 2021 17:01:36 +0000 (13:01 -0400)]
Reporting #18: Fix sorting with > 10 participant roles

2 years agoMerge pull request #21912 from eileenmcnaughton/no_display
Seamus Lee [Thu, 4 Nov 2021 21:46:07 +0000 (08:46 +1100)]
Merge pull request #21912 from eileenmcnaughton/no_display

Move responsibilty for ensuring greeting parameters are set to `ensureGreetingParamsAreSet`

2 years agoMerge pull request #21976 from civicrm/5.44
demeritcowboy [Thu, 4 Nov 2021 20:10:02 +0000 (16:10 -0400)]
Merge pull request #21976 from civicrm/5.44

5.44

2 years agoSearchKit - Fix permission to access default display and download spreadsheets
Coleman Watts [Thu, 4 Nov 2021 19:42:31 +0000 (15:42 -0400)]
SearchKit - Fix permission to access default display and download spreadsheets

Intentionally setting these gatekeeper permissions fairly open as all of these actions
perform stricter permission checks internally.

2 years agoMerge pull request #21974 from christianwach/lab-core-2909-2
demeritcowboy [Thu, 4 Nov 2021 17:39:07 +0000 (13:39 -0400)]
Merge pull request #21974 from christianwach/lab-core-2909-2

dev/core#2909 - Repair the option value label for nb_NO language

2 years agoRepair the option value label for nb_NO language
Christian Wach [Thu, 4 Nov 2021 15:20:13 +0000 (15:20 +0000)]
Repair the option value label for nb_NO language

2 years agoSet version to 5.45.alpha1
CiviCRM [Thu, 4 Nov 2021 07:53:51 +0000 (07:53 +0000)]
Set version to 5.45.alpha1

2 years agoSet version to 5.44.beta1
CiviCRM [Thu, 4 Nov 2021 07:47:04 +0000 (07:47 +0000)]
Set version to 5.44.beta1

2 years agoMerge pull request #21972 from eileenmcnaughton/gettok
Seamus Lee [Thu, 4 Nov 2021 05:16:52 +0000 (16:16 +1100)]
Merge pull request #21972 from eileenmcnaughton/gettok

Remove call to getTokenDetails

2 years agoMerge pull request #21967 from colemanw/searchRunFix
Eileen McNaughton [Thu, 4 Nov 2021 03:39:13 +0000 (16:39 +1300)]
Merge pull request #21967 from colemanw/searchRunFix

SearchKit - Fix incorrect pager count when using filters

2 years agoMerge pull request #21947 from colemanw/cssRules
Eileen McNaughton [Thu, 4 Nov 2021 03:35:46 +0000 (16:35 +1300)]
Merge pull request #21947 from colemanw/cssRules

SearchKit - Conditional style rules for rows/cells

2 years agoMerge pull request #21957 from eileenmcnaughton/lang
Eileen McNaughton [Thu, 4 Nov 2021 03:32:32 +0000 (16:32 +1300)]
Merge pull request #21957 from eileenmcnaughton/lang

Use null variables rather than isset in Core_Block

2 years agotransitionParticipants() - Improve $contactDetails cache maintenance
Tim Otten [Thu, 4 Nov 2021 03:26:27 +0000 (20:26 -0700)]
transitionParticipants() - Improve $contactDetails cache maintenance

This revises a very recent commit that touches `static $contactDetails` cache.

Imagine you have two calls to `transitionParticipants()` which involve different-but-overlapping sets:

* First invocation involves Alice and Bob
* Second invocation involves Bob and Carol

The first invocation loads Alice and Bob into `$contactDetails`.  The second
invocation identifies Carol as missing. We need to load Carol. Here's the change:

* Before: Carol overwrites Bob in `$contactDetails`. Bob goes missing.
* After: Alice, Bob, and Carol all exist in `$contactDetails`.

2 years agoMerge pull request #21942 from mattwire/gccachedrop
Eileen McNaughton [Thu, 4 Nov 2021 02:50:57 +0000 (15:50 +1300)]
Merge pull request #21942 from mattwire/gccachedrop

GroupContactCache: Drop temp table *after* releasing lock

2 years agoRemove call to getTokenDetails
Eileen McNaughton [Wed, 3 Nov 2021 21:27:16 +0000 (10:27 +1300)]
Remove call to getTokenDetails

This is tested vi CRM_Event_Form_Task_BatchTest::testSubmitCancel

2 years agoMerge pull request #21971 from civicrm/5.43
Seamus Lee [Thu, 4 Nov 2021 01:09:20 +0000 (12:09 +1100)]
Merge pull request #21971 from civicrm/5.43

5.43

2 years agoMerge pull request #21953 from agileware/CIVICRM-1881
Seamus Lee [Thu, 4 Nov 2021 00:05:46 +0000 (11:05 +1100)]
Merge pull request #21953 from agileware/CIVICRM-1881

User experience improvement - CiviCRM Manage Events page, expand the Find Events criteria by default

2 years agoMerge pull request #21970 from seamuslee001/regen
Seamus Lee [Thu, 4 Nov 2021 00:01:10 +0000 (11:01 +1100)]
Merge pull request #21970 from seamuslee001/regen

[REF] Regenerate generated civicrm file after recent template updates

2 years agoMerge pull request #21964 from eileenmcnaughton/dom_tok
Seamus Lee [Wed, 3 Nov 2021 23:07:49 +0000 (10:07 +1100)]
Merge pull request #21964 from eileenmcnaughton/dom_tok

Remove calls to CRM_Utils_Token::getDomainTokenReplacement

2 years agoMerge pull request #21969 from agh1/5.43.0-releasenotes-final
Seamus Lee [Wed, 3 Nov 2021 22:18:20 +0000 (09:18 +1100)]
Merge pull request #21969 from agh1/5.43.0-releasenotes-final

5.43.0 release notes: final updates

2 years ago[REF] Regenerate generated civicrm file after recent template updates
Seamus Lee [Wed, 3 Nov 2021 22:16:32 +0000 (09:16 +1100)]
[REF] Regenerate generated civicrm file after recent template updates

2 years ago5.43.0 release notes: final updates
Andie Hunt [Wed, 3 Nov 2021 22:15:25 +0000 (18:15 -0400)]
5.43.0 release notes: final updates

2 years agoRemove calls to CRM_Utils_Token::getDomainTokenReplacement
Eileen McNaughton [Wed, 3 Nov 2021 03:23:18 +0000 (16:23 +1300)]
Remove calls to CRM_Utils_Token::getDomainTokenReplacement

These values are no longer used ....

2 years agoMerge pull request #21963 from eileenmcnaughton/part_template
Eileen McNaughton [Wed, 3 Nov 2021 21:25:12 +0000 (10:25 +1300)]
Merge pull request #21963 from eileenmcnaughton/part_template

Remove remaining usages of contact & domain values in participant templates

2 years agoSearchKit - Improve pseudoconstant support & tests for SearchDisplay::getDefault
Coleman Watts [Wed, 3 Nov 2021 19:55:59 +0000 (15:55 -0400)]
SearchKit - Improve pseudoconstant support & tests for SearchDisplay::getDefault

2 years agoSearchKit - Fix incorrect pager count when using filters
Coleman Watts [Wed, 3 Nov 2021 18:34:08 +0000 (14:34 -0400)]
SearchKit - Fix incorrect pager count when using filters

Fixes a bug where filters were not being applied correctly when fetching rowCount

2 years agoMerge pull request #21965 from civicrm/5.43
demeritcowboy [Wed, 3 Nov 2021 15:32:35 +0000 (11:32 -0400)]
Merge pull request #21965 from civicrm/5.43

5.43

2 years agoMerge pull request #21962 from seamuslee001/fix_translation_tests
demeritcowboy [Wed, 3 Nov 2021 12:42:46 +0000 (08:42 -0400)]
Merge pull request #21962 from seamuslee001/fix_translation_tests

[NFC] Update Tests to match case in the latest l10n files

2 years ago[NFC] Update Tests to match case in the latest l10n files
Seamus Lee [Wed, 3 Nov 2021 03:00:22 +0000 (14:00 +1100)]
[NFC] Update Tests to match case in the latest l10n files

2 years agoMerge pull request #21961 from seamuslee001/fix_participant_cancelled_html
Seamus Lee [Wed, 3 Nov 2021 03:48:33 +0000 (14:48 +1100)]
Merge pull request #21961 from seamuslee001/fix_participant_cancelled_html

[REF] Update date formatting in the html template to match the text t…

2 years agoRemove remaining usages of contact & domain values in participant templates
Eileen McNaughton [Wed, 3 Nov 2021 03:11:49 +0000 (16:11 +1300)]
Remove remaining usages of contact & domain values in participant templates

2 years ago[REF] Update date formatting in the html template to match the text template and...
Seamus Lee [Wed, 3 Nov 2021 02:01:45 +0000 (13:01 +1100)]
[REF] Update date formatting in the html template to match the text template and regenerate civicrm_generated file

2 years agoMerge pull request #21937 from eileenmcnaughton/upit
Seamus Lee [Wed, 3 Nov 2021 01:57:04 +0000 (12:57 +1100)]
Merge pull request #21937 from eileenmcnaughton/upit

Add test for selvSvcUpdate, switch to using tokens

2 years agoAdd test for selvSvcUpdate, switch to using tokens
Eileen McNaughton [Fri, 29 Oct 2021 09:09:48 +0000 (22:09 +1300)]
Add test for selvSvcUpdate, switch to using tokens

2 years agoMerge pull request #21955 from colemanw/managedEntity
Seamus Lee [Tue, 2 Nov 2021 22:42:46 +0000 (09:42 +1100)]
Merge pull request #21955 from colemanw/managedEntity

APIv4 - Add managed entity functionality

2 years agoAfform - Display the extension in which an Afform is packaged
Coleman Watts [Tue, 2 Nov 2021 18:33:21 +0000 (14:33 -0400)]
Afform - Display the extension in which an Afform is packaged

Expose the base_module field to the Afform admin UI as a column.

2 years agoAfform - Provide `base_module` calculated field to APIv4 Afform.get
Coleman Watts [Mon, 1 Nov 2021 17:27:51 +0000 (13:27 -0400)]
Afform - Provide `base_module` calculated field to APIv4 Afform.get

This extra Afform field mirrors the functionality of the field of the same name
from ManagedEntity APIv4 trait: it returns the name of the extension in which
an Afform is packaged.

2 years agoAPIv4 - Provide pseudo-fields and Revert action for managed entities
Coleman Watts [Mon, 1 Nov 2021 13:43:56 +0000 (09:43 -0400)]
APIv4 - Provide pseudo-fields and Revert action for managed entities

This new "ManagedEntity" trait provides 2 extra fields and a Revert action
to facilitate UIs which show the managed state and a revert button,
similar to the AfformAdmin UI.

2 years agoSearchKit - Conditional style rules per-row & per-field
Coleman Watts [Sun, 31 Oct 2021 16:29:00 +0000 (12:29 -0400)]
SearchKit - Conditional style rules per-row & per-field

2 years agoMerge pull request #21929 from colemanw/searchKitDefaultDisplays
Eileen McNaughton [Tue, 2 Nov 2021 05:31:50 +0000 (18:31 +1300)]
Merge pull request #21929 from colemanw/searchKitDefaultDisplays

SearchKit - default displays and ACL-aware links

2 years agoMerge pull request #21959 from civicrm/5.43
Seamus Lee [Tue, 2 Nov 2021 03:32:40 +0000 (14:32 +1100)]
Merge pull request #21959 from civicrm/5.43

5.43

2 years agoMerge pull request #21958 from seamuslee001/fix_token_rendering_campaign_legacy_php8
Seamus Lee [Tue, 2 Nov 2021 03:26:11 +0000 (14:26 +1100)]
Merge pull request #21958 from seamuslee001/fix_token_rendering_campaign_legacy_php8

[REF] Fix pseduoconstant token rendering for contributions via legacy…

2 years agoSearchKit - Fix action checkboxes to work with any key
Coleman Watts [Tue, 2 Nov 2021 00:28:35 +0000 (20:28 -0400)]
SearchKit - Fix action checkboxes to work with any key

Lifts the assumption that every entity has a key column named "id"

2 years agoSearchKit - Default label when adding a display
Coleman Watts [Tue, 2 Nov 2021 00:43:01 +0000 (20:43 -0400)]
SearchKit - Default label when adding a display

2 years ago[REF] Fix pseduoconstant token rendering for contributions via legacy way on php8...
Seamus Lee [Tue, 2 Nov 2021 00:41:15 +0000 (00:41 +0000)]
[REF] Fix pseduoconstant token rendering for contributions via legacy way on php8 and include campaign_id pseudoconsntants as well

2 years agoMerge pull request #21934 from eileenmcnaughton/empty
demeritcowboy [Mon, 1 Nov 2021 23:20:28 +0000 (19:20 -0400)]
Merge pull request #21934 from eileenmcnaughton/empty

Ensure no_licence is assigned for drop.tpl

2 years agoMerge pull request #21952 from eileenmcnaughton/im
colemanw [Mon, 1 Nov 2021 23:15:18 +0000 (19:15 -0400)]
Merge pull request #21952 from eileenmcnaughton/im

Handling for intermittent Im->getfields error

2 years agoUse null variables rather than isset in Core_Block
Eileen McNaughton [Mon, 1 Nov 2021 21:23:03 +0000 (10:23 +1300)]
Use null variables rather than isset in Core_Block

This removes an isset from LangSwitch and some enotices that we see if escape on output is enabled.

'langSwitch' is normally always assigned by the smarty initialize but for some reason not via this path

2 years agoUse empty not isset in drop.tpl
Eileen McNaughton [Fri, 29 Oct 2021 01:06:39 +0000 (14:06 +1300)]
Use empty not isset in drop.tpl

On experimenting a little with smarty escaping it turns out that isset is gonna be
a lot more painful than empty - we should avoid where we can. In this case it
is passed in as TRUE or not at all (from schema.tpl) so an empty check is just fine

2 years agoMerge pull request #21948 from braders/hardcoded-error-text
demeritcowboy [Mon, 1 Nov 2021 16:03:41 +0000 (12:03 -0400)]
Merge pull request #21948 from braders/hardcoded-error-text

Avoid hardcoded text in error strings; make translatable

2 years agoMerge pull request #21954 from braders/avoid-hardcoded-period-type-labels
demeritcowboy [Mon, 1 Nov 2021 15:53:43 +0000 (11:53 -0400)]
Merge pull request #21954 from braders/avoid-hardcoded-period-type-labels

Don't hardcode Period Type in Manage Premiums template.

2 years agoDon't hardcode Period Type in Manage Premiums template.
Bradley Taylor [Mon, 1 Nov 2021 13:41:38 +0000 (13:41 +0000)]
Don't hardcode Period Type in Manage Premiums template.

2 years agoCIVICRM-1881 CiviCRM Manage Events page, Find Events criteria is hidden by default...
Justin Freeman [Mon, 1 Nov 2021 05:51:28 +0000 (16:51 +1100)]
CIVICRM-1881 CiviCRM Manage Events page, Find Events criteria is hidden by default because the section is collapsed. End users cannot see any of the search options, by default and this causes confusion

2 years agoMerge pull request #21949 from braders/harcoded-setstatus-text
Seamus Lee [Mon, 1 Nov 2021 01:26:09 +0000 (12:26 +1100)]
Merge pull request #21949 from braders/harcoded-setstatus-text

Avoid harcoded text in setStatus calls; make translatable

2 years agoMerge pull request #21951 from eileenmcnaughton/messages
Eileen McNaughton [Mon, 1 Nov 2021 01:14:03 +0000 (14:14 +1300)]
Merge pull request #21951 from eileenmcnaughton/messages

Ensure communityMessages is assigned to the template.

2 years agoEnsure communityMessages is assigned to the template.
Eileen McNaughton [Sun, 31 Oct 2021 21:38:57 +0000 (10:38 +1300)]
Ensure communityMessages is assigned to the template.

This is a minor code simplification & ensures the parameter is set rather than
handling it not being set at the template level

2 years agoHandling for intermittent Im->getfields error
Eileen McNaughton [Sun, 31 Oct 2021 22:09:24 +0000 (11:09 +1300)]
Handling for intermittent Im->getfields error

I'm not quite sure when this started but I've been seeing Im->getfields not found errors of late - this helps

2 years agoMerge pull request #21950 from braders/misc-hardcoded-strings
Eileen McNaughton [Sun, 31 Oct 2021 20:28:29 +0000 (09:28 +1300)]
Merge pull request #21950 from braders/misc-hardcoded-strings

Make miscellaneous strings translatable

2 years agoDon't make up test values for greeting ids as they are type specific
Eileen McNaughton [Wed, 27 Oct 2021 23:21:20 +0000 (12:21 +1300)]
Don't make up test values for greeting ids as they are type specific

2 years agoMerge pull request #21946 from braders/dedupe-find-label-associations
Eileen McNaughton [Sun, 31 Oct 2021 19:57:54 +0000 (08:57 +1300)]
Merge pull request #21946 from braders/dedupe-find-label-associations

Accessibility: Fix label associations for DepupeFind template.

2 years agoAvoid hardcoded text in setStatus calls; make translatable
Bradley Taylor [Sun, 31 Oct 2021 18:03:35 +0000 (18:03 +0000)]
Avoid hardcoded text in setStatus calls; make translatable

2 years agoSearchKit - Expose default display to the UI
Coleman Watts [Thu, 28 Oct 2021 13:52:25 +0000 (09:52 -0400)]
SearchKit - Expose default display to the UI

Adds a 'view' link to the searchKit admin listing, which links to the default display
Adds a 'view' dropdown to the compose search screen, with links to the default + all other displays
Updates Afform to work with default search displays

2 years agoMake miscellaneous translatable
Bradley Taylor [Sun, 31 Oct 2021 18:05:24 +0000 (18:05 +0000)]
Make miscellaneous translatable

2 years agoAvoid hardcoded text in error strings; make translatable
Bradley Taylor [Sun, 31 Oct 2021 17:55:54 +0000 (17:55 +0000)]
Avoid hardcoded text in error strings; make translatable

2 years agoSearchKit - Only show tags filter if tags exist
Coleman Watts [Thu, 28 Oct 2021 13:50:36 +0000 (09:50 -0400)]
SearchKit - Only show tags filter if tags exist

Remove clutter if an org does not use tags.
Also removes an unused copy-pasted function.

2 years agoSearchKit - Set links in admin UI using entity+action+join instead of path
Coleman Watts [Wed, 27 Oct 2021 18:38:18 +0000 (14:38 -0400)]
SearchKit - Set links in admin UI using entity+action+join instead of path

Now that SearchDisplay.Run understands this new link syntax, the admin UI
can use it too. The old links set in existing search displays will still work,
but in order for ACLs to be checked they need to use the new syntax.

2 years agoSearchKit - Check ACLs before displaying links or in-place edit
Coleman Watts [Wed, 27 Oct 2021 14:44:29 +0000 (10:44 -0400)]
SearchKit - Check ACLs before displaying links or in-place edit

2 years agoSearchKit - Autogenerate default display table for saved searches; calculate links...
Coleman Watts [Wed, 27 Oct 2021 05:22:23 +0000 (01:22 -0400)]
SearchKit - Autogenerate default display table for saved searches; calculate links by entity+action

This adds a SearchDisplay.getDefault APIv4 action, which autogenerates the default table display
which is used on the admin screen.

It also refactors links so they can be calculated based on a given entity+action which does not
require paths to be stored in the search display.

2 years agoAccessibility: Fix label associations for DepupeFind template.
Bradley Taylor [Sun, 31 Oct 2021 14:08:50 +0000 (14:08 +0000)]
Accessibility: Fix label associations for DepupeFind template.

This ensures that the labels have an accessible name for assistive technologies.

2 years agoGroupContactCache: Drop temp table after releasing lock
Matthew Wire [Sat, 30 Oct 2021 16:32:51 +0000 (17:32 +0100)]
GroupContactCache: Drop temp table after releasing lock

2 years agoMerge pull request #21931 from eileenmcnaughton/ple
demeritcowboy [Fri, 29 Oct 2021 23:48:34 +0000 (19:48 -0400)]
Merge pull request #21931 from eileenmcnaughton/ple

Convert more tests to use full form flow