civicrm-core.git
3 years agodev/core#2902 revert apiv3 handling of membership
Eileen McNaughton [Mon, 11 Oct 2021 00:06:11 +0000 (13:06 +1300)]
dev/core#2902 revert apiv3 handling of membership

This reverts changes that were making api v3 date handling change if skipStatusCalc were set.

3 years agoMerge pull request #21787 from eileenmcnaughton/case_email
Tim Otten [Mon, 11 Oct 2021 06:39:56 +0000 (23:39 -0700)]
Merge pull request #21787 from eileenmcnaughton/case_email

Remove case token listing from contact email task

3 years agoMerge pull request #21788 from eileenmcnaughton/selfsvc
Tim Otten [Mon, 11 Oct 2021 06:38:13 +0000 (23:38 -0700)]
Merge pull request #21788 from eileenmcnaughton/selfsvc

Fix another instance of double token rendering

3 years agoMerge pull request #21786 from eileenmcnaughton/pdf_etails
Eileen McNaughton [Mon, 11 Oct 2021 03:56:35 +0000 (16:56 +1300)]
Merge pull request #21786 from eileenmcnaughton/pdf_etails

Remove call to legacy getTokenDetails

3 years agoMerge pull request #21785 from eileenmcnaughton/sms
Tim Otten [Mon, 11 Oct 2021 03:45:34 +0000 (20:45 -0700)]
Merge pull request #21785 from eileenmcnaughton/sms

Remove extraneous call to legacy token processing in sms task

3 years agoFix another instance of double token rendering
Eileen McNaughton [Mon, 11 Oct 2021 02:34:16 +0000 (15:34 +1300)]
Fix another instance of double token rendering

3 years agoRemove case token listing from contact email task
Eileen McNaughton [Mon, 11 Oct 2021 02:06:52 +0000 (15:06 +1300)]
Remove case token listing from contact email task

3 years agoRemove call to legacy getTokenDetails
Eileen McNaughton [Mon, 11 Oct 2021 01:24:24 +0000 (14:24 +1300)]
Remove call to legacy getTokenDetails

In this case it is just being used as a v3 api call

3 years agoRemove extraneous call to legacy token processing in sms task
Eileen McNaughton [Mon, 11 Oct 2021 00:29:35 +0000 (13:29 +1300)]
Remove extraneous call to legacy token processing in sms task

3 years agoMerge pull request #21761 from eileenmcnaughton/contact
Tim Otten [Sun, 10 Oct 2021 19:57:52 +0000 (12:57 -0700)]
Merge pull request #21761 from eileenmcnaughton/contact

Contact tokens - use metadata & standardised rendering

3 years agoMerge pull request #21781 from eileenmcnaughton/activity_email
demeritcowboy [Sun, 10 Oct 2021 12:35:27 +0000 (08:35 -0400)]
Merge pull request #21781 from eileenmcnaughton/activity_email

dev/core#2901 Fix send email regression

3 years agoMerge pull request #21782 from eileenmcnaughton/notice
Eileen McNaughton [Sun, 10 Oct 2021 07:06:18 +0000 (20:06 +1300)]
Merge pull request #21782 from eileenmcnaughton/notice

Enotice fix

3 years agoFix contact tokens to use apiv4, new style tokens
Eileen McNaughton [Fri, 8 Oct 2021 02:56:26 +0000 (15:56 +1300)]
Fix contact tokens to use apiv4, new style tokens

3 years agoMerge pull request #21780 from eileenmcnaughton/api4load
Seamus Lee [Sun, 10 Oct 2021 03:22:18 +0000 (14:22 +1100)]
Merge pull request #21780 from eileenmcnaughton/api4load

Fix contact tokens class to load using apiv4

3 years agoEnotice fix
Eileen McNaughton [Sun, 10 Oct 2021 02:01:20 +0000 (15:01 +1300)]
Enotice fix

3 years agodev/core#2901 Fix send email regression
Eileen McNaughton [Sun, 10 Oct 2021 00:59:58 +0000 (13:59 +1300)]
dev/core#2901 Fix send email regression

3 years agoFix contact tokens class to load using apiv4
Eileen McNaughton [Sat, 9 Oct 2021 22:24:05 +0000 (11:24 +1300)]
Fix contact tokens class to load using apiv4

3 years ago[Ref] Extract getCacheKey
Eileen McNaughton [Sat, 9 Oct 2021 04:29:57 +0000 (17:29 +1300)]
[Ref] Extract getCacheKey

3 years agoMerge pull request #21778 from eileenmcnaughton/extract
Seamus Lee [Sat, 9 Oct 2021 20:44:55 +0000 (07:44 +1100)]
Merge pull request #21778 from eileenmcnaughton/extract

[REF] Extract function for re-use

3 years ago[REF] Extract function for re-use
Eileen McNaughton [Sat, 9 Oct 2021 07:39:23 +0000 (20:39 +1300)]
[REF] Extract function for re-use

3 years agoMerge pull request #21772 from totten/master-preview-dialog
Eileen McNaughton [Sat, 9 Oct 2021 07:41:08 +0000 (20:41 +1300)]
Merge pull request #21772 from totten/master-preview-dialog

(dev/mail#83) message_admin - Cleanup "Preview" dialogs (properly)

3 years agoMerge pull request #21775 from colemanw/api4CreateRequestEvent2
colemanw [Sat, 9 Oct 2021 01:15:52 +0000 (21:15 -0400)]
Merge pull request #21775 from colemanw/api4CreateRequestEvent2

APIv4 - Minor code cleanup to improve efficiency in CreateApi4RequestSubscriber

3 years agoMerge pull request #21773 from totten/master-preview-locale
colemanw [Sat, 9 Oct 2021 01:15:30 +0000 (21:15 -0400)]
Merge pull request #21773 from totten/master-preview-locale

(dev/mail#83) message_admin - When using "Preview", use the 'locale' from the editing UI

3 years agoMerge pull request #21774 from totten/master-draft-save
Eileen McNaughton [Sat, 9 Oct 2021 01:06:27 +0000 (14:06 +1300)]
Merge pull request #21774 from totten/master-draft-save

(dev/mail#83) message_admin - Save automatically when adding/removing drafts

3 years agoMerge pull request #21764 from colemanw/afformLinkIcon
Eileen McNaughton [Sat, 9 Oct 2021 00:26:07 +0000 (13:26 +1300)]
Merge pull request #21764 from colemanw/afformLinkIcon

Afform Admin add link icon & template cleanup

3 years agoAPIv4 - Minor code cleanup to improve efficiency in CreateApi4RequestSubscriber
Coleman Watts [Fri, 8 Oct 2021 23:37:46 +0000 (19:37 -0400)]
APIv4 - Minor code cleanup to improve efficiency in CreateApi4RequestSubscriber

There is no need to check if class_exists() for custom entities.

3 years ago(dev/mail#83) message_admin - Save automatically when adding/removing drafts
Tim Otten [Fri, 8 Oct 2021 22:52:19 +0000 (15:52 -0700)]
(dev/mail#83) message_admin - Save automatically when adding/removing drafts

3 years agoMerge pull request #21763 from eileenmcnaughton/trait
Tim Otten [Fri, 8 Oct 2021 22:34:53 +0000 (15:34 -0700)]
Merge pull request #21763 from eileenmcnaughton/trait

Remove stray token code

3 years agomessage_admin - Properly cleanup the `onPreview` listener
Tim Otten [Fri, 8 Oct 2021 21:54:46 +0000 (14:54 -0700)]
message_admin - Properly cleanup the `onPreview` listener

Use-case:

1. Open the editor a message template (eg `#/edit?id=17&lang=fr_FR`). This renders the edit screen.
2. Click on the "Preview" icon.
3. Close the "Preview" dialog.
4. Change the URL to navigate internally to another template (eg `#/edit?id=17&lang=de_DE`). This renders the edit screen again.
5. Click on the "Preview" icon.

Before:

* It subsequently opens two copies of the "Preview" dialog (each with
  slightly different options).  Initially, you see one dialog.  When that
  close, you will see the other dialog.
* As you proceed through closing the dialogs, you may get console warnings
  because the dialogs have the same name -- and they consequently trip-up
  each other.

After:

* It only opens one copy of the "Preview" dialog.

Technical Details:

* When rendering the setup screen (`#1`/`#4`), it registers a listener which
  will handle the "Preview" clicks.  But the listener is not properly
  unregistered.  Consequently, old listeners hang around. So the click at
  step `#5` calls both the old+new listeners, creating two dialogs.

3 years agoMerge pull request #21771 from colemanw/api4CreateRequestEvent
Seamus Lee [Fri, 8 Oct 2021 21:35:59 +0000 (08:35 +1100)]
Merge pull request #21771 from colemanw/api4CreateRequestEvent

[REF] APIv4 - Use event instead of hardcoded list to resolve entityName to className

3 years agomessage_admin - When using "Preview", use the 'locale' from the editing UI
Tim Otten [Fri, 8 Oct 2021 21:27:42 +0000 (14:27 -0700)]
message_admin - When using "Preview", use the 'locale' from the editing UI

3 years ago(NFC) Edit.js - Remove old comment
Tim Otten [Fri, 8 Oct 2021 21:01:08 +0000 (14:01 -0700)]
(NFC) Edit.js - Remove old comment

3 years ago(REF) message_admin - Split the steps of loading data and rendering
Tim Otten [Fri, 8 Oct 2021 20:53:41 +0000 (13:53 -0700)]
(REF) message_admin - Split the steps of loading data and rendering

This will make it easier to inject different values while editing

3 years agoGenericWorkflowMessage - Document `$tokenContext[locale]`
Tim Otten [Thu, 7 Oct 2021 23:34:59 +0000 (16:34 -0700)]
GenericWorkflowMessage - Document `$tokenContext[locale]`

3 years agoAPIv4 - Use event instead of hardcoded list to resolve entityName to className
Coleman Watts [Fri, 8 Oct 2021 19:23:59 +0000 (15:23 -0400)]
APIv4 - Use event instead of hardcoded list to resolve entityName to className

Typically an APIv4 entity name and class name are the same,
e.g. the "Contact" entity has the class `Civi\Api4\Contact`.
However, there are a few oddballs (CiviCase, CustomValue) and other extensions
may introduce their own oddball entities; this event allows them to do so.

3 years agoMerge pull request #21756 from eileenmcnaughton/tt
Eileen McNaughton [Fri, 8 Oct 2021 10:24:18 +0000 (23:24 +1300)]
Merge pull request #21756 from eileenmcnaughton/tt

Fix token regression - re-add support for empty tokens

3 years agoMerge pull request #21768 from demeritcowboy/remove-wombats
Eileen McNaughton [Fri, 8 Oct 2021 06:06:56 +0000 (19:06 +1300)]
Merge pull request #21768 from demeritcowboy/remove-wombats

[NFC/Unit Test] Remove wombats and bananas from sites/default/files/civicrm/custom

3 years ago(NFC) TokenConsistencyTest - Small tweaks
Tim Otten [Fri, 8 Oct 2021 05:54:51 +0000 (22:54 -0700)]
(NFC) TokenConsistencyTest - Small tweaks

1. You don't need to call evaluate() twice. It should be once after filling both rows+messages.
2. Add messages to clarify assertions

3 years agoMerge pull request #21522 from eileenmcnaughton/flex
Tim Otten [Fri, 8 Oct 2021 05:12:17 +0000 (22:12 -0700)]
Merge pull request #21522 from eileenmcnaughton/flex

dev/core#2836 install flexmailer by default on new installs [token]

3 years agoRemove token code from not-adopted pattern
Eileen McNaughton [Thu, 7 Oct 2021 09:31:08 +0000 (22:31 +1300)]
Remove token code from not-adopted pattern

3 years agoMerge pull request #21767 from eileenmcnaughton/meta
colemanw [Fri, 8 Oct 2021 02:47:59 +0000 (22:47 -0400)]
Merge pull request #21767 from eileenmcnaughton/meta

Reference token metadata internally fix custom tokens label bug

3 years agoMerge pull request #21766 from demeritcowboy/test-case-email
Eileen McNaughton [Fri, 8 Oct 2021 02:35:58 +0000 (15:35 +1300)]
Merge pull request #21766 from demeritcowboy/test-case-email

[NFC] Add test for new case email url

3 years agosql/civicrm_generated.mysql - Regen
Tim Otten [Thu, 7 Oct 2021 23:45:23 +0000 (16:45 -0700)]
sql/civicrm_generated.mysql - Regen

3 years agodev/core#2836 install flexmailer by default on new installs
Eileen McNaughton [Fri, 8 Oct 2021 00:01:50 +0000 (17:01 -0700)]
dev/core#2836 install flexmailer by default on new installs

3 years ago(REF) MailingTest - Relax assertions around `{action.*}`
Tim Otten [Thu, 7 Oct 2021 23:59:47 +0000 (16:59 -0700)]
(REF) MailingTest - Relax assertions around `{action.*}`

* Only check for http://{action.*}` on legacy mailer
* Split assertions to be more readable
* Accept `h=` or `h=fakehash`

3 years agoremove wombats and bananas
demeritcowboy [Fri, 8 Oct 2021 00:12:09 +0000 (20:12 -0400)]
remove wombats and bananas

3 years agoMailingTest - Slightly relax assertion about failure-message
Tim Otten [Mon, 4 Oct 2021 21:29:45 +0000 (14:29 -0700)]
MailingTest - Slightly relax assertion about failure-message

In this error scenario, both BAO and Flexmailer complain. Flexmailer is slightly more specific in that its error reports
the actual field names (`body_text`, `body_html`) rather than a phony field `body`.

3 years ago(NFC) MailingTest - Swap quotes. Switch assertFoos(). Declare return types.
Eileen McNaughton [Sat, 18 Sep 2021 00:00:45 +0000 (12:00 +1200)]
(NFC) MailingTest - Swap quotes. Switch assertFoos(). Declare return types.

3 years agoMerge pull request #21717 from jmcclelland/notedatefield
demeritcowboy [Thu, 7 Oct 2021 23:26:40 +0000 (19:26 -0400)]
Merge pull request #21717 from jmcclelland/notedatefield

ensure blank note date in UI defaults to current date.

3 years agoadd test
demeritcowboy [Thu, 7 Oct 2021 18:37:33 +0000 (14:37 -0400)]
add test

3 years agoReference token metadata internally
Eileen McNaughton [Thu, 7 Oct 2021 19:30:47 +0000 (08:30 +1300)]
Reference token metadata internally

This references the token metadata rather than the metadata retrieved from the api
call. Since the former is cached it should save a look up -
albeit not when prefetch is happening, at this stage

3 years agoMerge pull request #21660 from eileenmcnaughton/dep
Eileen McNaughton [Thu, 7 Oct 2021 22:01:30 +0000 (11:01 +1300)]
Merge pull request #21660 from eileenmcnaughton/dep

[REF] Move getCustomFieldTokens to the tokens class, annotate more deprecations

3 years agoMerge pull request #21669 from MegaphoneJon/event-64
demeritcowboy [Thu, 7 Oct 2021 21:35:50 +0000 (17:35 -0400)]
Merge pull request #21669 from MegaphoneJon/event-64

fixes event#64: Send event confirmation to submitted email address

3 years agoMerge pull request #21704 from eileenmcnaughton/date_regression
Tim Otten [Thu, 7 Oct 2021 21:30:27 +0000 (14:30 -0700)]
Merge pull request #21704 from eileenmcnaughton/date_regression

Master only regression - fix empty token date

3 years agoensure blank note date in UI defaults to current date.
Jamie McClelland [Mon, 4 Oct 2021 13:44:02 +0000 (09:44 -0400)]
ensure blank note date in UI defaults to current date.

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

3 years agoMove getCustomFieldTokens to the tokens class
Eileen McNaughton [Wed, 29 Sep 2021 04:44:32 +0000 (17:44 +1300)]
Move getCustomFieldTokens to the tokens class

This deprecates (quietly) another function on CRM_Utils_Token. It's a pretty small function -
the sort you'd just copy & paste if you wanted to use outside of core but
I didn't add noise. The only core place that calls this is the tokenTrait
- which is 'used' by activity tokens - but only for the handling of _N_
which I think was actually not supposed to have been included in the merge.

Anyway - I'm leaving that question for later because I'm not sure if the token
trait is used outside of core or how our final interface will look

3 years agoMerge pull request #21765 from colemanw/arrayShapes
Eileen McNaughton [Thu, 7 Oct 2021 19:04:18 +0000 (08:04 +1300)]
Merge pull request #21765 from colemanw/arrayShapes

[NFC] Afform - Add array shape annotations to FormDataModel

3 years agoAfform - Add array shape annotations to FormDataModel
Coleman Watts [Thu, 7 Oct 2021 17:22:06 +0000 (13:22 -0400)]
Afform - Add array shape annotations to FormDataModel

3 years agoMerge pull request #21759 from colemanw/afformApiFixes
colemanw [Thu, 7 Oct 2021 17:19:44 +0000 (13:19 -0400)]
Merge pull request #21759 from colemanw/afformApiFixes

Afform - Fix chainSelect to work with anonymous users

3 years agoMerge pull request #21705 from eileenmcnaughton/prefix
colemanw [Thu, 7 Oct 2021 16:33:58 +0000 (12:33 -0400)]
Merge pull request #21705 from eileenmcnaughton/prefix

dev/core#2650 switch contact.individual_prefix tokens to contact.prefix_id:label (former still works)

3 years agoMerge pull request #21745 from eileenmcnaughton/e_build
colemanw [Thu, 7 Oct 2021 16:19:56 +0000 (12:19 -0400)]
Merge pull request #21745 from eileenmcnaughton/e_build

Support participant & membership tokens in send-email tasks

3 years agoAfform - Add title to GUI editor page
Coleman Watts [Thu, 7 Oct 2021 16:03:35 +0000 (12:03 -0400)]
Afform - Add title to GUI editor page

3 years agoAfform Admin add link icon && template cleanup
Coleman Watts [Thu, 7 Oct 2021 15:55:55 +0000 (11:55 -0400)]
Afform Admin add link icon && template cleanup

3 years agoMerge pull request #21758 from eileenmcnaughton/contactv4
Yashodha Chaku [Thu, 7 Oct 2021 15:55:15 +0000 (21:25 +0530)]
Merge pull request #21758 from eileenmcnaughton/contactv4

Remove function duplicated in error

3 years agoMerge pull request #21760 from eileenmcnaughton/pseudo
colemanw [Thu, 7 Oct 2021 14:14:37 +0000 (10:14 -0400)]
Merge pull request #21760 from eileenmcnaughton/pseudo

Remove now-obsolete getPseudoTokens

3 years agoAfform - Fix chainSelect to work with anonymous users
Coleman Watts [Thu, 7 Oct 2021 04:24:07 +0000 (00:24 -0400)]
Afform - Fix chainSelect to work with anonymous users

3 years agoRemove static caching in deprecated function that seems to break tests
Eileen McNaughton [Thu, 7 Oct 2021 11:40:22 +0000 (00:40 +1300)]
Remove static caching in deprecated function that seems to break tests

3 years agoMerge pull request #21646 from MegaphoneJon/core-2874
Eileen McNaughton [Thu, 7 Oct 2021 11:38:24 +0000 (00:38 +1300)]
Merge pull request #21646 from MegaphoneJon/core-2874

fixes core#2874 - Search Builder on State/Province with Primary and IN

3 years agoRemove now-obsolete getPseudoTokens
Eileen McNaughton [Thu, 7 Oct 2021 04:38:32 +0000 (17:38 +1300)]
Remove now-obsolete getPseudoTokens

This is now only called from legacy code. The buildContributionArray path
is still a little used :-( but is tested
from CRM_Contribute_Form_Task_PDFLetterCommonTest
and hard-coding the array now it is settled is appropriate
to that code path's life expectancy

This code is no longer used in the Tokens classes and the functions that used it
from outside of there are now 'settled into their final state & waiting to die'
so a hard-coded list will see out their lives. They are marked now as deprecated

3 years agoClean up tests to call full postProcess for tasks
Eileen McNaughton [Thu, 7 Oct 2021 02:06:59 +0000 (15:06 +1300)]
Clean up tests to call full postProcess for tasks

3 years agoAfform - Rename submitFile param from entityName to modelName
Coleman Watts [Wed, 6 Oct 2021 21:26:41 +0000 (17:26 -0400)]
Afform - Rename submitFile param from entityName to modelName

$entityName is already a private property of APIv4 and has its own getter
which conflicted with a getter for a param named $entityName.
Better to just rename it.

3 years agoRemove function duplicated in error
Eileen McNaughton [Thu, 7 Oct 2021 04:11:59 +0000 (17:11 +1300)]
Remove function duplicated in error

This function lives on & is called on the

3 years agoTest & align empty token handling
Eileen McNaughton [Thu, 7 Oct 2021 03:58:58 +0000 (16:58 +1300)]
Test & align empty token handling

3 years agoAdd token support for participant & membership tasks
Eileen McNaughton [Wed, 6 Oct 2021 11:01:03 +0000 (00:01 +1300)]
Add token support for participant & membership tasks

3 years agoAdjust getRows result to have schema as a key
Eileen McNaughton [Wed, 6 Oct 2021 09:22:30 +0000 (22:22 +1300)]
Adjust getRows result to have schema as a key

It becomes too complex to handle in email trait otherwise

3 years agoMove crazy submit pre-processing out of buildForm
Eileen McNaughton [Wed, 6 Oct 2021 04:28:17 +0000 (17:28 +1300)]
Move crazy submit pre-processing out of buildForm

3 years agoSimplify getSubject
Eileen McNaughton [Wed, 6 Oct 2021 08:01:40 +0000 (21:01 +1300)]
Simplify getSubject

3 years agoMerge pull request #21706 from eileenmcnaughton/token_metadata
colemanw [Thu, 7 Oct 2021 00:38:21 +0000 (20:38 -0400)]
Merge pull request #21706 from eileenmcnaughton/token_metadata

Tokens - Hide more sophisticated tokens. Refactor to use "$this->tokenMetadata".

3 years agoMerge pull request #21755 from civicrm/5.42
Seamus Lee [Wed, 6 Oct 2021 23:40:16 +0000 (10:40 +1100)]
Merge pull request #21755 from civicrm/5.42

5.42

3 years agoMerge pull request #21754 from agh1/5.42.0-releasenotes-final
Seamus Lee [Wed, 6 Oct 2021 23:38:10 +0000 (10:38 +1100)]
Merge pull request #21754 from agh1/5.42.0-releasenotes-final

5.42.0 release notes final updates

3 years ago5.42.0 release notes: added late changes
Andie Hunt [Wed, 6 Oct 2021 23:35:14 +0000 (19:35 -0400)]
5.42.0 release notes: added late changes

3 years agoAdd release-notes/5.41.2.md
Tim Otten [Sat, 25 Sep 2021 06:14:43 +0000 (23:14 -0700)]
Add release-notes/5.41.2.md

3 years agoAdd release-notes/5.41.1.md
Tim Otten [Fri, 17 Sep 2021 20:23:58 +0000 (13:23 -0700)]
Add release-notes/5.41.1.md

3 years agoMerge pull request #21753 from civicrm/5.42
Eileen McNaughton [Wed, 6 Oct 2021 22:38:42 +0000 (11:38 +1300)]
Merge pull request #21753 from civicrm/5.42

Merge 5.42 to master

3 years agoMerge pull request #21722 from colemanw/crmIconButton
Tim Otten [Wed, 6 Oct 2021 22:29:50 +0000 (15:29 -0700)]
Merge pull request #21722 from colemanw/crmIconButton

Angular UI - Fix crmIcon to only add crm-button class to non-bootstrap buttons

3 years agoMerge pull request #21740 from eileenmcnaughton/ev_cache
colemanw [Wed, 6 Oct 2021 20:52:35 +0000 (16:52 -0400)]
Merge pull request #21740 from eileenmcnaughton/ev_cache

Flush metadata cache on event edit

3 years agoMerge pull request #21743 from eileenmcnaughton/regress
colemanw [Wed, 6 Oct 2021 20:50:26 +0000 (16:50 -0400)]
Merge pull request #21743 from eileenmcnaughton/regress

Fix regression from enotice fixes

3 years agoMerge pull request #21747 from totten/master-preview
Eileen McNaughton [Wed, 6 Oct 2021 20:33:24 +0000 (09:33 +1300)]
Merge pull request #21747 from totten/master-preview

(dev/mail#83) message_admin - Multiple improvements to the "Preview" dialog

3 years agoMerge pull request #21731 from eileenmcnaughton/linerc
colemanw [Wed, 6 Oct 2021 20:17:29 +0000 (16:17 -0400)]
Merge pull request #21731 from eileenmcnaughton/linerc

Call line item pre hook after tax amount is calculated

3 years agoMerge pull request #21750 from colemanw/afformHoverFix
Eileen McNaughton [Wed, 6 Oct 2021 20:14:29 +0000 (09:14 +1300)]
Merge pull request #21750 from colemanw/afformHoverFix

Afform - ensure dragging classes are removed when not sorting

3 years agoMerge pull request #21752 from colemanw/searchKitPermissionFix
Seamus Lee [Wed, 6 Oct 2021 19:58:04 +0000 (06:58 +1100)]
Merge pull request #21752 from colemanw/searchKitPermissionFix

SearchKit - Fix anonymous access to running search displays

3 years agoMerge pull request #21716 from jaapjansma/issue_2885
colemanw [Wed, 6 Oct 2021 19:38:02 +0000 (15:38 -0400)]
Merge pull request #21716 from jaapjansma/issue_2885

Fix for dev/core#2885

3 years agoMerge pull request #21748 from mattwire/statusmorethan25
colemanw [Wed, 6 Oct 2021 19:12:38 +0000 (15:12 -0400)]
Merge pull request #21748 from mattwire/statusmorethan25

System status checks only shows 25 messages

3 years agoMerge pull request #21676 from eileenmcnaughton/mail
colemanw [Wed, 6 Oct 2021 19:03:40 +0000 (15:03 -0400)]
Merge pull request #21676 from eileenmcnaughton/mail

dev/core#2866 Ignore preferred mail format - send to both

3 years agoMerge pull request #21749 from colemanw/afformChainSelect
colemanw [Wed, 6 Oct 2021 18:56:46 +0000 (14:56 -0400)]
Merge pull request #21749 from colemanw/afformChainSelect

Afform - Fix chain-select of contry and address to work on SearchKit forms

3 years agoSearchKit - Fix anonymous access to running search displays
Coleman Watts [Wed, 6 Oct 2021 18:20:09 +0000 (14:20 -0400)]
SearchKit - Fix anonymous access to running search displays

This is the same fix as used by afform_civicrm_alterApiRoutePermissions()
to remove the barrier to entry for anonymous users.

3 years agoAfform - ensure dragging classes are removed when not sorting
Coleman Watts [Wed, 6 Oct 2021 17:42:27 +0000 (13:42 -0400)]
Afform - ensure dragging classes are removed when not sorting

3 years agoAfform - Fix chain-select of contry and address to work on SearchKit forms
Coleman Watts [Wed, 6 Oct 2021 15:49:46 +0000 (11:49 -0400)]
Afform - Fix chain-select of contry and address to work on SearchKit forms

Multiple fixes to the chainSelect mechanics
- Provides visual feedback when reloading options
- Works with defalut values from url args
- Works with multi-valued fields
- Works with searchKit joins

3 years agoFix for dev/core#2885
Jaap Jansma [Mon, 4 Oct 2021 11:21:45 +0000 (13:21 +0200)]
Fix for dev/core#2885

Added test

Added test

3 years agoAllow for more than 25 system status checks to be loaded
Matthew Wire [Wed, 6 Oct 2021 13:38:47 +0000 (14:38 +0100)]
Allow for more than 25 system status checks to be loaded