civicrm-core.git
2 years agoSwitch to api metadata for contact on non-contact imports
Eileen McNaughton [Thu, 1 Sep 2022 02:38:13 +0000 (14:38 +1200)]
Switch to api metadata for contact on non-contact imports

This is kinda 'safe' in that these imports only support non-unique contact
fields

2 years agoFix contribution import mapping validation, add test
Eileen McNaughton [Mon, 5 Sep 2022 02:14:17 +0000 (14:14 +1200)]
Fix contribution import mapping validation, add test

2 years agoAdd test for Mapping form validation, contribution import
Eileen McNaughton [Mon, 5 Sep 2022 02:13:39 +0000 (14:13 +1200)]
Add test for Mapping form validation, contribution import

2 years agoRemove soft credit validation
Eileen McNaughton [Fri, 2 Sep 2022 02:35:23 +0000 (14:35 +1200)]
Remove soft credit validation

It is not possible in the UI to deselect the soft-credit-field field so
let's not validate

2 years agoMerge pull request #24452 from totten/master-queue-stats
Eileen McNaughton [Sun, 4 Sep 2022 21:44:47 +0000 (09:44 +1200)]
Merge pull request #24452 from totten/master-queue-stats

CRM_Queue_Queue - Add 'getStatistic($name)'. Deprecate 'numberOfItems()'

2 years agoMerge pull request #24442 from eileenmcnaughton/depp
Seamus Lee [Sat, 3 Sep 2022 22:51:08 +0000 (08:51 +1000)]
Merge pull request #24442 from eileenmcnaughton/depp

Increase the deprecation on some unused functions

2 years agoMerge pull request #24451 from colemanw/fixSearchDateRangeFilters
colemanw [Sat, 3 Sep 2022 14:11:20 +0000 (10:11 -0400)]
Merge pull request #24451 from colemanw/fixSearchDateRangeFilters

Afform - Fix date range filters for search displays

2 years ago(REF) UserJob - Switch numberOfItems to getStatistic()
Tim Otten [Sat, 3 Sep 2022 05:16:39 +0000 (22:16 -0700)]
(REF) UserJob - Switch numberOfItems to getStatistic()

2 years ago(REF) Update queue tests to use getStatistics()
Tim Otten [Sat, 3 Sep 2022 04:33:58 +0000 (21:33 -0700)]
(REF) Update queue tests to use getStatistics()

2 years agoCRM_Queue_Queue - Add 'getStatistic($name)'. Deprecate 'numberOfItems()'
Tim Otten [Sat, 3 Sep 2022 01:55:52 +0000 (18:55 -0700)]
CRM_Queue_Queue - Add 'getStatistic($name)'. Deprecate 'numberOfItems()'

Should `numberOfItems()` tell you the _total_ number of items -- or the
number of _ready_ items?  Trick question.  They can tell you different
things:

* When implementing a task-worker (which should start/stop based
  on available tasks), you'd use _ready_ items.
* When implementing `existsQueue()` (which tells if you the queue
  has anything at all), you'd use _total_ items.

This trick-question is why different implementations have computed
`numberOfItems()` in different ways.

This patch resolves the trick-question by deprecating `numberOfItems()`
and replacing it with `getStatistic($name)`.

2 years agoAfform - Fix date range filters for search displays
Coleman Watts [Sat, 3 Sep 2022 02:38:10 +0000 (22:38 -0400)]
Afform - Fix date range filters for search displays

Fixes dev/core#3690

2 years agoImcrease the deprecation on some unused functions
Eileen McNaughton [Thu, 1 Sep 2022 23:32:14 +0000 (11:32 +1200)]
Imcrease the deprecation on some unused functions

2 years agoFix queue runner not progressing
Eileen McNaughton [Mon, 29 Aug 2022 20:55:24 +0000 (08:55 +1200)]
Fix queue runner not progressing

2 years agoMerge pull request #24447 from braders/sprintf-fix
demeritcowboy [Fri, 2 Sep 2022 15:48:28 +0000 (11:48 -0400)]
Merge pull request #24447 from braders/sprintf-fix

(NFC) Fix sprintf syntax

2 years agoMerge pull request #24421 from artfulrobot/dev-core/3823
demeritcowboy [Fri, 2 Sep 2022 15:31:07 +0000 (11:31 -0400)]
Merge pull request #24421 from artfulrobot/dev-core/3823

Improve scheduled reminder form labels. Resolves issue core/3823

2 years ago(NFC) fix sprintf syntax
Bradley Taylor [Fri, 2 Sep 2022 12:33:22 +0000 (13:33 +0100)]
(NFC) fix sprintf syntax

2 years agoMerge pull request #24437 from colemanw/deprecatedMgdFn
Eileen McNaughton [Fri, 2 Sep 2022 04:03:25 +0000 (16:03 +1200)]
Merge pull request #24437 from colemanw/deprecatedMgdFn

[REF] ManagedEntities - Move deprecated function

2 years agoMerge pull request #24316 from eileenmcnaughton/email_greeting
demeritcowboy [Fri, 2 Sep 2022 02:58:07 +0000 (22:58 -0400)]
Merge pull request #24316 from eileenmcnaughton/email_greeting

Use preferred `{contact.email_greeting_display}` token over deprecated `{contact.email_greeting}` in ALL templates

2 years agoMerge pull request #24235 from masetto/welcome_tokens
Eileen McNaughton [Fri, 2 Sep 2022 02:39:19 +0000 (14:39 +1200)]
Merge pull request #24235 from masetto/welcome_tokens

Add support for Contact tokens in welcome email using TokenProcessor

2 years agoMerge pull request #24443 from eileenmcnaughton/depped
Eileen McNaughton [Fri, 2 Sep 2022 02:14:54 +0000 (14:14 +1200)]
Merge pull request #24443 from eileenmcnaughton/depped

Remove function after two years of noisy deprecation

2 years agoManagedEntities - Move deprecated function
Coleman Watts [Thu, 1 Sep 2022 15:24:21 +0000 (11:24 -0400)]
ManagedEntities - Move deprecated function

2 years agoMerge pull request #24174 from totten/master-lang
Eileen McNaughton [Fri, 2 Sep 2022 01:09:48 +0000 (13:09 +1200)]
Merge pull request #24174 from totten/master-lang

Message Templates - Allow rendering & previewing of translated messages

2 years agoMerge pull request #24433 from eileenmcnaughton/required_checker
Eileen McNaughton [Fri, 2 Sep 2022 01:09:04 +0000 (13:09 +1200)]
Merge pull request #24433 from eileenmcnaughton/required_checker

REF] Standardise validation of mapped fields in imports, fix over-zealous requirements when matching on trxn_id, invoice_id for update

2 years agoRemove function after two years of noisy deprecation
Eileen McNaughton [Thu, 1 Sep 2022 23:45:32 +0000 (11:45 +1200)]
Remove function after two years of noisy deprecation

2 years agoMerge pull request #24438 from braders/3833-downloader
Tim Otten [Thu, 1 Sep 2022 23:16:33 +0000 (16:16 -0700)]
Merge pull request #24438 from braders/3833-downloader

dev/core#3833 Update CRM_Extension_Downloader to not use dynamic properties

2 years agoMerge pull request #24435 from colemanw/managedDelete
Tim Otten [Thu, 1 Sep 2022 23:13:43 +0000 (16:13 -0700)]
Merge pull request #24435 from colemanw/managedDelete

ManagedEntity - Ensure managed record is consistently deleted

2 years agoMerge pull request #24434 from demeritcowboy/invoice-crash
Eileen McNaughton [Thu, 1 Sep 2022 22:50:17 +0000 (10:50 +1200)]
Merge pull request #24434 from demeritcowboy/invoice-crash

dev/financial#208 - Fix crash for invoice button

2 years ago[REF] Standardise validation of mapped fields in imports
Eileen McNaughton [Thu, 1 Sep 2022 02:50:09 +0000 (14:50 +1200)]
[REF] Standardise validation of mapped fields in imports

2 years agoMerge pull request #24425 from braders/remove-method-getActionAttribute
Tim Otten [Thu, 1 Sep 2022 21:54:16 +0000 (14:54 -0700)]
Merge pull request #24425 from braders/remove-method-getActionAttribute

Remove method getActionAttribute

2 years agoMerge pull request #24436 from braders/core-3831
Eileen McNaughton [Thu, 1 Sep 2022 21:52:35 +0000 (09:52 +1200)]
Merge pull request #24436 from braders/core-3831

dev/core#3831 Deprecated string interpolation

2 years agoMerge pull request #24440 from braders/3833-runner
Seamus Lee [Thu, 1 Sep 2022 21:49:33 +0000 (07:49 +1000)]
Merge pull request #24440 from braders/3833-runner

dev/core#3833 Update CRM_Extension_Downloader to not use dynamic properties

2 years agoMerge pull request #24394 from eileenmcnaughton/user_job_delete
Tim Otten [Thu, 1 Sep 2022 21:49:17 +0000 (14:49 -0700)]
Merge pull request #24394 from eileenmcnaughton/user_job_delete

When updating userJob status to match queue status skip permission check

2 years agoMerge pull request #24439 from braders/financialitem-add-docblock-fix
Eileen McNaughton [Thu, 1 Sep 2022 21:46:12 +0000 (09:46 +1200)]
Merge pull request #24439 from braders/financialitem-add-docblock-fix

Fix PHPDoc comment for CRM_Financial_BAO_FinancialItem::add

2 years agoFix UI bug
Eileen McNaughton [Thu, 1 Sep 2022 21:32:00 +0000 (09:32 +1200)]
Fix UI bug

2 years agofix crash for invoice button
demeritcowboy [Thu, 1 Sep 2022 12:53:15 +0000 (08:53 -0400)]
fix crash for invoice button

2 years agoDefine CRM_Queue_Runner::lastTaskTitle before it is used, so it is not treated as...
Bradley Taylor [Thu, 1 Sep 2022 18:57:30 +0000 (19:57 +0100)]
Define CRM_Queue_Runner::lastTaskTitle before it is used, so it is not treated as a dynamic property

2 years agoFix PHPDoc comment for CRM_Financial_BAO_FinancialItem::add
Bradley Taylor [Thu, 1 Sep 2022 18:45:55 +0000 (19:45 +0100)]
Fix PHPDoc comment for CRM_Financial_BAO_FinancialItem::add

2 years agoUpdate CRM_Extension_Downloader to not use dynamic properties
Bradley Taylor [Thu, 1 Sep 2022 17:59:08 +0000 (18:59 +0100)]
Update CRM_Extension_Downloader to not use dynamic properties

2 years agocore/3831 Deprecated string interpolation
Bradley Taylor [Thu, 1 Sep 2022 15:05:48 +0000 (16:05 +0100)]
core/3831 Deprecated string interpolation

2 years agoManagedEntity - Ensure managed record is consistently deleted
Coleman Watts [Thu, 1 Sep 2022 14:01:57 +0000 (10:01 -0400)]
ManagedEntity - Ensure managed record is consistently deleted

2 years agoMessageTemplateTest - Rearrange with data-provider. Add more tests.
Tim Otten [Thu, 18 Aug 2022 10:29:01 +0000 (03:29 -0700)]
MessageTemplateTest - Rearrange with data-provider. Add more tests.

2 years ago(Update) Translations - if a message_template has been translated then get/render...
Tim Otten [Mon, 8 Aug 2022 09:05:12 +0000 (02:05 -0700)]
(Update) Translations - if a message_template has been translated then get/render the translated version

* Updates for APIv4 calls
  * Set `$language` and `#ranslationMode()` instead of `$preferredLanguage`
  * Read 'actual_language' instead of `getTranslationLanguage()`
* Updates for tracking global locale properties
  * Use `$loacleObj->moneyFormat` instead of `$GLOBALS['moneyFormatLocale']` and `IGNORE_SEPARATOR_CONFIG`
  * Use `$tokenContext['locale']` instead of `$GLOBALS['moneyFormatLocale']` and `IGNORE_SEPARATOR_CONFIG`
* Split `testRenderTranslatedTemplate()` in two (for different configurations)

2 years agoPass language into msg_admin api calls
Eileen McNaughton [Wed, 22 Jun 2022 03:29:27 +0000 (15:29 +1200)]
Pass language into msg_admin api calls

2 years agoTranslation BAO - Minor strictness cleanups
Eileen McNaughton [Sun, 28 Aug 2022 23:26:50 +0000 (16:26 -0700)]
Translation BAO - Minor strictness cleanups

2 years agoTranslations - if a message_template has been translated then get/render the translat...
Eileen McNaughton [Tue, 28 Jun 2022 04:39:07 +0000 (21:39 -0700)]
Translations - if a message_template has been translated then get/render the translated version

2 years agoAPIv4 - Add generic 'language', 'translationLanguage' to all APIs
Eileen McNaughton [Tue, 28 Jun 2022 04:35:53 +0000 (21:35 -0700)]
APIv4 - Add generic 'language', 'translationLanguage' to all APIs

Move hook_civicrm_translateFields from message_admin to core

Move hook_civicrm_translateFields from message_admin to core

m

2 years ago(REF) Move test for `$translationMode` to its own class
Tim Otten [Mon, 8 Aug 2022 06:14:39 +0000 (23:14 -0700)]
(REF) Move test for `$translationMode` to its own class

The functionality is bigger than `MessageTemplate`, and the test is fairly long.

2 years agoAPIv4 - Implement option` $translationMode` via TranslationGetWrapper
Tim Otten [Fri, 5 Aug 2022 10:31:12 +0000 (03:31 -0700)]
APIv4 - Implement option` $translationMode` via TranslationGetWrapper

2 years agoAPIv4 - Declare option `$translationMode` (for DAOGetAction)
Tim Otten [Fri, 5 Aug 2022 10:30:39 +0000 (03:30 -0700)]
APIv4 - Declare option `$translationMode` (for DAOGetAction)

2 years agoMerge pull request #24430 from eileenmcnaughton/lang
Eileen McNaughton [Thu, 1 Sep 2022 05:31:55 +0000 (17:31 +1200)]
Merge pull request #24430 from eileenmcnaughton/lang

APIv4 - Promote option `$language` from DAOActionTrait to AbstractAction

2 years ago(REF) AbstractActionFunctionTest - Use a different placeholder/example
Tim Otten [Mon, 8 Aug 2022 09:08:28 +0000 (02:08 -0700)]
(REF) AbstractActionFunctionTest - Use a different placeholder/example

The `$language` field was promoted to the top-level. Use `$translationMode`
which (like the old language option) is only valid on some actions.

2 years agoAPIv4 - Promote option `$language` from DAOActionTrait to AbstractAction
Tim Otten [Fri, 5 Aug 2022 10:22:58 +0000 (03:22 -0700)]
APIv4 - Promote option `$language` from DAOActionTrait to AbstractAction

2 years agoMerge pull request #24426 from colemanw/pmf
colemanw [Thu, 1 Sep 2022 02:25:23 +0000 (22:25 -0400)]
Merge pull request #24426 from colemanw/pmf

Deprecate preferred_mail_format column

2 years agoMerge pull request #24419 from eileenmcnaughton/import_note
colemanw [Thu, 1 Sep 2022 00:39:11 +0000 (20:39 -0400)]
Merge pull request #24419 from eileenmcnaughton/import_note

Contribution import - test notes, cleanup notes, fix regression found  in test writing

2 years agoDeprecate preferred_mail_format column
Coleman Watts [Wed, 31 Aug 2022 16:16:19 +0000 (12:16 -0400)]
Deprecate preferred_mail_format column

2 years agoMerge pull request #24417 from eileenmcnaughton/read_only
colemanw [Wed, 31 Aug 2022 16:13:14 +0000 (12:13 -0400)]
Merge pull request #24417 from eileenmcnaughton/read_only

Mark `contact.created date` read-only in schema

2 years agoRemove method getActionAttribute
Bradley Taylor [Wed, 31 Aug 2022 15:38:38 +0000 (16:38 +0100)]
Remove method getActionAttribute

2 years agonow Automated Messages call alterMailContent hook
Samuele Masetto [Wed, 31 Aug 2022 15:24:11 +0000 (17:24 +0200)]
now Automated Messages call alterMailContent hook

2 years agoMerge pull request #24424 from braders/missing-phpdoc-types
demeritcowboy [Wed, 31 Aug 2022 13:53:57 +0000 (09:53 -0400)]
Merge pull request #24424 from braders/missing-phpdoc-types

Add missing PHPDoc types

2 years agoMerge pull request #24422 from braders/remove-updateDisplayNames
demeritcowboy [Wed, 31 Aug 2022 13:53:49 +0000 (09:53 -0400)]
Merge pull request #24422 from braders/remove-updateDisplayNames

Remove method updateDisplayNames

2 years agoMerge pull request #24423 from braders/check-component-source-docblock-fix
demeritcowboy [Wed, 31 Aug 2022 13:53:39 +0000 (09:53 -0400)]
Merge pull request #24423 from braders/check-component-source-docblock-fix

Docblock fix - findOrphanedFiles method

2 years agoMerge branch 'master' into welcome_tokens
Samuele Masetto [Wed, 31 Aug 2022 13:31:19 +0000 (15:31 +0200)]
Merge branch 'master' into welcome_tokens

2 years agoAdd missing PHPDoc types
Bradley Taylor [Wed, 31 Aug 2022 11:01:12 +0000 (12:01 +0100)]
Add missing PHPDoc types

2 years agoDocblock fix - findOrphanedFiles method
Bradley Taylor [Wed, 31 Aug 2022 10:57:06 +0000 (11:57 +0100)]
Docblock fix - findOrphanedFiles method

2 years agoRemove method updateDisplayNames
Bradley Taylor [Wed, 31 Aug 2022 10:28:30 +0000 (11:28 +0100)]
Remove method updateDisplayNames

2 years agoImprove scheduled reminder form labels. Resolves issue core/3823
Rich Lott / Artful Robot [Wed, 31 Aug 2022 06:45:14 +0000 (07:45 +0100)]
Improve scheduled reminder form labels. Resolves issue core/3823

2 years agoContribution import - test notes, cleanup notes, fix regression found in test writing
Eileen McNaughton [Tue, 30 Aug 2022 19:51:47 +0000 (07:51 +1200)]
Contribution import - test notes, cleanup notes, fix regression found in test writing

2 years agoMerge pull request #24321 from eileenmcnaughton/inv_preview
demeritcowboy [Tue, 30 Aug 2022 21:27:32 +0000 (17:27 -0400)]
Merge pull request #24321 from eileenmcnaughton/inv_preview

Fix contribution online receipt to be, somewhat, previewable

2 years agoMerge pull request #24133 from demeritcowboy/symfony-cmf-3
Tim Otten [Tue, 30 Aug 2022 19:43:20 +0000 (12:43 -0700)]
Merge pull request #24133 from demeritcowboy/symfony-cmf-3

dev/drupal#176 - Make loadBootstrap work in drupal 10, e.g. to make `cv` work

2 years agoMerge pull request #24337 from colemanw/fixGroupAclCheck
Eileen McNaughton [Tue, 30 Aug 2022 18:58:36 +0000 (06:58 +1200)]
Merge pull request #24337 from colemanw/fixGroupAclCheck

API - Standardize group ACL checks

2 years agoMerge pull request #24418 from mattwire/advancedevents
demeritcowboy [Tue, 30 Aug 2022 18:18:44 +0000 (14:18 -0400)]
Merge pull request #24418 from mattwire/advancedevents

REF Code cleanup for event configuration extracted from advancedevents extension

2 years agoCode cleanup for event configuration extracted from advancedevents extension
Matthew Wire [Tue, 30 Aug 2022 12:50:42 +0000 (13:50 +0100)]
Code cleanup for event configuration extracted from advancedevents extension

2 years agoMark created date read-only in schema
Eileen McNaughton [Tue, 30 Aug 2022 11:05:25 +0000 (23:05 +1200)]
Mark created date read-only in schema

2 years agoMerge pull request #24410 from eileenmcnaughton/import_cont
Eileen McNaughton [Tue, 30 Aug 2022 06:33:08 +0000 (18:33 +1200)]
Merge pull request #24410 from eileenmcnaughton/import_cont

Remove always-true if

2 years agoMerge pull request #24412 from eileenmcnaughton/cont_form
Eileen McNaughton [Tue, 30 Aug 2022 02:31:21 +0000 (14:31 +1200)]
Merge pull request #24412 from eileenmcnaughton/cont_form

Remove obsolete param from duplicated function

2 years agoRemove always-true if
Eileen McNaughton [Mon, 29 Aug 2022 22:33:36 +0000 (10:33 +1200)]
Remove always-true if

2 years agoMerge pull request #24411 from eileenmcnaughton/import_pledge
Eileen McNaughton [Tue, 30 Aug 2022 01:01:17 +0000 (13:01 +1200)]
Merge pull request #24411 from eileenmcnaughton/import_pledge

Remove unreachable code

2 years agoMerge pull request #24389 from eileenmcnaughton/import_form_rule_a
Eileen McNaughton [Tue, 30 Aug 2022 00:05:40 +0000 (12:05 +1200)]
Merge pull request #24389 from eileenmcnaughton/import_form_rule_a

Use shared parent formRule in custom import api

2 years agoMerge pull request #24388 from eileenmcnaughton/import_form_rule
Eileen McNaughton [Tue, 30 Aug 2022 00:05:21 +0000 (12:05 +1200)]
Merge pull request #24388 from eileenmcnaughton/import_form_rule

Minor code cleaup - the form rule is in the parent function

2 years agoRemove check for pledge block id from back-office form
Eileen McNaughton [Mon, 29 Aug 2022 23:22:56 +0000 (11:22 +1200)]
Remove check for pledge block id from back-office form

2 years agoRemove obsolete param from duplicated function
Eileen McNaughton [Mon, 29 Aug 2022 23:19:08 +0000 (11:19 +1200)]
Remove obsolete param from duplicated function

2 years agoRemove unreachable code
Eileen McNaughton [Mon, 29 Aug 2022 22:41:05 +0000 (10:41 +1200)]
Remove unreachable code

2 years agoMerge pull request #24402 from eileenmcnaughton/import_cont
Eileen McNaughton [Mon, 29 Aug 2022 22:27:13 +0000 (10:27 +1200)]
Merge pull request #24402 from eileenmcnaughton/import_cont

Update Contribution import to use new v4 dedupe lookup

2 years agoUpdate Contribution import to use new v4 dedupe lookup
Eileen McNaughton [Mon, 29 Aug 2022 05:10:44 +0000 (17:10 +1200)]
Update Contribution import to use new v4 dedupe lookup

2 years agoMerge pull request #24401 from eileenmcnaughton/member_import
Eileen McNaughton [Mon, 29 Aug 2022 22:24:37 +0000 (10:24 +1200)]
Merge pull request #24401 from eileenmcnaughton/member_import

Switch Contact import to use new v4 dedupe lookup

2 years agoMerge pull request #24407 from braders/remove-misleading-comment
Eileen McNaughton [Mon, 29 Aug 2022 19:34:00 +0000 (07:34 +1200)]
Merge pull request #24407 from braders/remove-misleading-comment

Remove misleading comment.

2 years agoSwitch Contact import to use new v4 dedupe lookup
Eileen McNaughton [Mon, 29 Aug 2022 03:42:42 +0000 (15:42 +1200)]
Switch Contact import to use new v4 dedupe lookup

2 years agoAdd tests for contact lookup
Eileen McNaughton [Sat, 27 Aug 2022 06:06:15 +0000 (18:06 +1200)]
Add tests for contact lookup

2 years agoMerge pull request #24384 from colemanw/api4Dedupe2
Eileen McNaughton [Mon, 29 Aug 2022 19:32:05 +0000 (07:32 +1200)]
Merge pull request #24384 from colemanw/api4Dedupe2

APIv4 - Add contact.getDuplicates action

2 years agoRemove misleading comment.
Bradley Taylor [Mon, 29 Aug 2022 16:45:02 +0000 (17:45 +0100)]
Remove misleading comment.
Passing false to authenticateKey means execution doesn't actually abort,
and so the 'Failed to authenticate key' error is actually reached.

2 years agoMerge pull request #24406 from braders/invalid-eventid-notice
demeritcowboy [Mon, 29 Aug 2022 16:03:11 +0000 (12:03 -0400)]
Merge pull request #24406 from braders/invalid-eventid-notice

Stop PHP notice when accessing invalid event ID

2 years agoMerge pull request #24404 from braders/mailing_browse_tidyup
demeritcowboy [Mon, 29 Aug 2022 13:12:49 +0000 (09:12 -0400)]
Merge pull request #24404 from braders/mailing_browse_tidyup

Tidy up whereClause method of mailing browse

2 years agoMerge pull request #24405 from braders/phpdoc-fixes2
demeritcowboy [Mon, 29 Aug 2022 13:12:23 +0000 (09:12 -0400)]
Merge pull request #24405 from braders/phpdoc-fixes2

PHPDoc comment fixes

2 years agoStop PHP notice when accessing invalid event ID
Bradley Taylor [Mon, 29 Aug 2022 10:49:02 +0000 (11:49 +0100)]
Stop PHP notice when accessing invalid event ID

2 years agoPHPDoc comment fixes
Bradley Taylor [Mon, 29 Aug 2022 10:30:22 +0000 (11:30 +0100)]
PHPDoc comment fixes

2 years agoTidy up whereClause method of mailing browse
Bradley Taylor [Mon, 29 Aug 2022 10:09:32 +0000 (11:09 +0100)]
Tidy up whereClause method of mailing browse

2 years agoMerge pull request #24403 from totten/master-setlocale
Eileen McNaughton [Mon, 29 Aug 2022 09:23:51 +0000 (21:23 +1200)]
Merge pull request #24403 from totten/master-setlocale

(dev/translation#78) Allow partial/mixed locales. Define global `Locale` object.

2 years ago(dev/translation#78) Locale::negotiate() - Implement true support for partial locales...
Tim Otten [Mon, 29 Aug 2022 05:21:37 +0000 (22:21 -0700)]
(dev/translation#78) Locale::negotiate() - Implement true support for partial locales - More tests

2 years ago(dev/translation#78) Civi\Core\Format - Abide by 'partial_locales' and `$locale-...
Tim Otten [Mon, 29 Aug 2022 05:31:08 +0000 (22:31 -0700)]
(dev/translation#78) Civi\Core\Format - Abide by 'partial_locales' and `$locale->moneyFormat` - Fixup

2 years ago(dev/translation#78) Locale::negotiate() - Implement true support for partial locales
Tim Otten [Thu, 25 Aug 2022 04:55:20 +0000 (21:55 -0700)]
(dev/translation#78) Locale::negotiate() - Implement true support for partial locales