civicrm-core.git
2 years agoMerge pull request #23336 from colemanw/customGroupExtends
Eileen McNaughton [Thu, 5 May 2022 02:31:47 +0000 (14:31 +1200)]
Merge pull request #23336 from colemanw/customGroupExtends

CustomFields - Improve metadata about which custom groups belong to which entities

2 years agoMerge pull request #23364 from eileenmcnaughton/rel
Eileen McNaughton [Thu, 5 May 2022 01:06:15 +0000 (13:06 +1200)]
Merge pull request #23364 from eileenmcnaughton/rel

Minor function simplification in private function

2 years agoMerge pull request #22115 from artfulrobot/artfulrobot-api4-count-methods
colemanw [Wed, 4 May 2022 23:24:37 +0000 (19:24 -0400)]
Merge pull request #22115 from artfulrobot/artfulrobot-api4-count-methods

Implement countFetched() and countMatched() on api4 results.

2 years agoMerge pull request #23276 from eileenmcnaughton/flush
colemanw [Wed, 4 May 2022 23:20:01 +0000 (19:20 -0400)]
Merge pull request #23276 from eileenmcnaughton/flush

[Ref] [Import] Cleanup cleanup on old tables for form re-submission

2 years agoMerge pull request #23351 from lcdservices/dev-core-3439
Eileen McNaughton [Wed, 4 May 2022 22:38:28 +0000 (10:38 +1200)]
Merge pull request #23351 from lcdservices/dev-core-3439

dev/core#3439 change batch geocode query to include events

2 years agoMinor function simplification in private function
Eileen McNaughton [Wed, 4 May 2022 22:34:21 +0000 (10:34 +1200)]
Minor function simplification in private function

The function does 2 different things depending on whether if finds a duplicate
& having it in a sub-function doesn't make the parent class clearer....

2 years agoMerge pull request #23313 from herbdool/issue-3429
colemanw [Wed, 4 May 2022 22:17:22 +0000 (18:17 -0400)]
Merge pull request #23313 from herbdool/issue-3429

Issue 3249: make casetype a managed entity

2 years agoMerge pull request #23361 from eileenmcnaughton/import_comment
colemanw [Wed, 4 May 2022 22:15:22 +0000 (18:15 -0400)]
Merge pull request #23361 from eileenmcnaughton/import_comment

Import - fix comment

2 years agoAPIv3 - Fix testCustomDataGet errors caused by legacy entity naming issues
Coleman Watts [Wed, 4 May 2022 14:34:57 +0000 (10:34 -0400)]
APIv3 - Fix testCustomDataGet errors caused by legacy entity naming issues

2 years agoCustomFields - Improve metadata for custom_group_extends
Coleman Watts [Mon, 2 May 2022 12:08:31 +0000 (08:08 -0400)]
CustomFields - Improve metadata for custom_group_extends

This allows the API to filter custom groups by entity type and other values.

2 years agoCustomGroup - Add metadata about how a custom group relates to entity types
Coleman Watts [Sun, 1 May 2022 21:54:54 +0000 (17:54 -0400)]
CustomGroup - Add metadata about how a custom group relates to entity types

Fixes dev/core#2905
Before: Hard coded, plus a very strange use of the 'description' field to store a callback function.

After: The 'grouping' field in the OptionValue for custom extends and custom type is used.
APIv4 getfields can then retrieve the necessary options.

2 years agoMerge pull request #23362 from demeritcowboy/dao
colemanw [Wed, 4 May 2022 22:11:39 +0000 (18:11 -0400)]
Merge pull request #23362 from demeritcowboy/dao

DAOs out of date

2 years agoMerge pull request #23360 from eileenmcnaughton/import_var
Eileen McNaughton [Wed, 4 May 2022 21:52:51 +0000 (09:52 +1200)]
Merge pull request #23360 from eileenmcnaughton/import_var

[REF] [Import] Trivial - simplify variable

2 years agoMerge pull request #23339 from ginkgomzd/bermuda-parishes
Eileen McNaughton [Wed, 4 May 2022 20:40:01 +0000 (08:40 +1200)]
Merge pull request #23339 from ginkgomzd/bermuda-parishes

add missing Parishes of Bermuda (civicrm_state_province)

2 years agoDAOs out of date
demeritcowboy [Wed, 4 May 2022 20:08:36 +0000 (16:08 -0400)]
DAOs out of date

2 years agoMerge pull request #23288 from eileenmcnaughton/import_upgrade
colemanw [Wed, 4 May 2022 20:05:13 +0000 (16:05 -0400)]
Merge pull request #23288 from eileenmcnaughton/import_upgrade

[Import] Upgrade saved import names for contacts

2 years agoImport - fix comment
Eileen McNaughton [Wed, 4 May 2022 19:53:07 +0000 (07:53 +1200)]
Import - fix comment

2 years agoMerge pull request #23340 from eileenmcnaughton/import_preview2
colemanw [Wed, 4 May 2022 19:52:05 +0000 (15:52 -0400)]
Merge pull request #23340 from eileenmcnaughton/import_preview2

[REF][Import] [Contact] Clean up preview screen

2 years ago[REF] [Import] Trivial - simplify variable
Eileen McNaughton [Wed, 4 May 2022 19:49:53 +0000 (07:49 +1200)]
[REF] [Import] Trivial - simplify variable

Assign this->activeFields[i]->_relatedContactType to
a variable rather than keep repeating it.

2 years agoCleanup cleanup on old tables for form re-submission
Eileen McNaughton [Thu, 21 Apr 2022 03:48:56 +0000 (15:48 +1200)]
Cleanup cleanup on old tables for form re-submission

2 years agoMerge pull request #23342 from eileenmcnaughton/import_map
colemanw [Wed, 4 May 2022 19:42:32 +0000 (15:42 -0400)]
Merge pull request #23342 from eileenmcnaughton/import_map

[Import] [Ref] [Contact] Extract row mapping and add test

2 years agoMerge pull request #23345 from eileenmcnaughton/cypr
colemanw [Wed, 4 May 2022 19:27:39 +0000 (15:27 -0400)]
Merge pull request #23345 from eileenmcnaughton/cypr

 Stop adding obsolete currencies to new installs

2 years agoMerge pull request #23357 from mattwire/participant
Eileen McNaughton [Wed, 4 May 2022 19:23:27 +0000 (07:23 +1200)]
Merge pull request #23357 from mattwire/participant

NFC Minor cleanup to Participant confirm

2 years agoregen;
ginkgoMZD [Wed, 4 May 2022 18:54:57 +0000 (14:54 -0400)]
regen;

2 years agoadd missing Parishes of Bermuda (civicrm_state_province)
ginkgoMZD [Mon, 2 May 2022 22:19:42 +0000 (18:19 -0400)]
add missing Parishes of Bermuda (civicrm_state_province)

2 years agoMerge pull request #23344 from eileenmcnaughton/import_functions
colemanw [Wed, 4 May 2022 18:51:38 +0000 (14:51 -0400)]
Merge pull request #23344 from eileenmcnaughton/import_functions

[Ref] [Import] Add extra functions to DataSource

2 years agoMerge pull request #23359 from colemanw/managedDocs
colemanw [Wed, 4 May 2022 18:20:14 +0000 (14:20 -0400)]
Merge pull request #23359 from colemanw/managedDocs

[NFC] Fix APIv4 docblock annotations for Managed API

2 years agoNFC - Fix APIv4 docblock annotations for Managed API
Coleman Watts [Wed, 4 May 2022 15:03:09 +0000 (11:03 -0400)]
NFC - Fix APIv4 docblock annotations for Managed API

2 years agoMerge pull request #23349 from eileenmcnaughton/import_var
demeritcowboy [Wed, 4 May 2022 11:56:37 +0000 (07:56 -0400)]
Merge pull request #23349 from eileenmcnaughton/import_var

[REF] [Import] Trivial - simplify variable

2 years agoMerge pull request #23352 from eileenmcnaughton/leg
demeritcowboy [Wed, 4 May 2022 11:54:25 +0000 (07:54 -0400)]
Merge pull request #23352 from eileenmcnaughton/leg

Remove unused variable

2 years agoMinor cleanup to Participant confirm
Matthew Wire [Wed, 4 May 2022 10:44:19 +0000 (11:44 +0100)]
Minor cleanup to Participant confirm

2 years agoMerge pull request #23355 from colemanw/userJobIfNotExists
Eileen McNaughton [Wed, 4 May 2022 06:51:44 +0000 (18:51 +1200)]
Merge pull request #23355 from colemanw/userJobIfNotExists

Fix 'Table already exists' error when running 5.50 upgrade twice

2 years agoMerge pull request #23354 from colemanw/searchKitDateField
Eileen McNaughton [Wed, 4 May 2022 06:39:14 +0000 (18:39 +1200)]
Merge pull request #23354 from colemanw/searchKitDateField

SearchKit - Consistently check for date field

2 years agoFix 'Table already exists' error when running 5.50 upgrade twice
Coleman Watts [Wed, 4 May 2022 01:01:31 +0000 (21:01 -0400)]
Fix 'Table already exists' error when running 5.50 upgrade twice

2 years agoSearchKit - Consistently check for date field
Coleman Watts [Wed, 4 May 2022 00:49:56 +0000 (20:49 -0400)]
SearchKit - Consistently check for date field

2 years agoAdd extra functions to DataSource
Eileen McNaughton [Tue, 3 May 2022 03:40:32 +0000 (15:40 +1200)]
Add extra functions to DataSource

This adds functions from https://github.com/civicrm/civicrm-core/pull/23292 to
the DataSource class (without them being called as yet)

- part of trying to get to the point where fixes are not dependent on each other

2 years agoMerge pull request #23350 from eileenmcnaughton/rel_cast
colemanw [Tue, 3 May 2022 22:10:11 +0000 (18:10 -0400)]
Merge pull request #23350 from eileenmcnaughton/rel_cast

IDE cheer - cast var explicitly to an int

2 years agoMerge pull request #23310 from colemanw/api4Update
Eileen McNaughton [Tue, 3 May 2022 20:44:56 +0000 (08:44 +1200)]
Merge pull request #23310 from colemanw/api4Update

Api4 - minor fixes and updates

2 years agoMerge pull request #23321 from davejenx/report-column-nodisplay
Eileen McNaughton [Tue, 3 May 2022 20:43:31 +0000 (08:43 +1200)]
Merge pull request #23321 from davejenx/report-column-nodisplay

PR 22070 follow-up: reinstate respecting no_display on report column headers

2 years agoMerge pull request #23348 from colemanw/getFieldsSuffixes
Eileen McNaughton [Tue, 3 May 2022 20:33:44 +0000 (08:33 +1200)]
Merge pull request #23348 from colemanw/getFieldsSuffixes

APIv4 - Support pseudoconstant suffixes in getFields

2 years agoRemove unused variable
Eileen McNaughton [Tue, 3 May 2022 19:16:05 +0000 (07:16 +1200)]
Remove unused variable

2 years agodev/core#3439 change batch geocode query to include events
Brian Shaughnessy [Tue, 3 May 2022 18:59:56 +0000 (14:59 -0400)]
dev/core#3439 change batch geocode query to include events

2 years agoIDE cheer - cast var explicitly to an int
Eileen McNaughton [Tue, 3 May 2022 18:57:37 +0000 (06:57 +1200)]
IDE cheer - cast var explicitly to an int

2 years ago[REF] [Import] Trivial - simplify variable
Eileen McNaughton [Tue, 3 May 2022 17:57:49 +0000 (05:57 +1200)]
[REF] [Import] Trivial - simplify variable

Assign this->activeFields[i]->_relatedContactDetails to
a variable rather than keep repeating it.

2 years ago[Import] [Ref] [Contact] Extract row mapping and add test
Eileen McNaughton [Tue, 3 May 2022 00:48:07 +0000 (12:48 +1200)]
[Import] [Ref] [Contact] Extract row mapping and add test

2 years agoMerge pull request #23347 from eileenmcnaughton/import_var
Eileen McNaughton [Tue, 3 May 2022 17:44:17 +0000 (05:44 +1200)]
Merge pull request #23347 from eileenmcnaughton/import_var

[REF] [Import] Trivial - simplify variable

2 years agoAPIv4 - Support pseudoconstant suffixes in getFields
Coleman Watts [Tue, 3 May 2022 15:55:45 +0000 (11:55 -0400)]
APIv4 - Support pseudoconstant suffixes in getFields

2 years agoMerge pull request #23261 from eileenmcnaughton/throw
colemanw [Tue, 3 May 2022 14:43:35 +0000 (10:43 -0400)]
Merge pull request #23261 from eileenmcnaughton/throw

[REF] [Import] Remove another good intention from the import class

2 years ago[REF] [Import] Trivial - simplify variable
Eileen McNaughton [Tue, 3 May 2022 12:58:39 +0000 (00:58 +1200)]
[REF] [Import] Trivial - simplify variable

Assign this->_activeFields[i]->_name to a variable
rather than keep repeating it...

2 years agoMerge pull request #23324 from agileware/CIVIUX-153
Seamus Lee [Tue, 3 May 2022 07:30:44 +0000 (17:30 +1000)]
Merge pull request #23324 from agileware/CIVIUX-153

🇦🇺 jira/browse/CRM-18217 On the website front-end, CiviCRM page heading should start from h2 and not h1

2 years agoMerge pull request #23334 from colemanw/afformResetButton
Seamus Lee [Tue, 3 May 2022 07:26:54 +0000 (17:26 +1000)]
Merge pull request #23334 from colemanw/afformResetButton

AfformGui - Optional reset button for search and submit forms

2 years agoStop adding obsolete currencies to new installs
Eileen McNaughton [Tue, 3 May 2022 04:18:38 +0000 (16:18 +1200)]
Stop adding obsolete currencies to new installs

CYP - Cyprus Pound
https://www.centralbank.cy/en/banknotes-and-coins/cyprus-pound

LTL - Lithuanian litas
https://en.wikipedia.org/wiki/Lithuanian_litas#:~:text=The%20Lithuanian%20litas%20(ISO%20currency,centas%2C%20nominative%20plural%20centai).

GWP - replaced in 1997 https://en.wikipedia.org/wiki/Guinea-Bissau_peso

LVL - https://www.investopedia.com/terms/forex/l/lvl-latvian-lat.asp#:~:text=The%20Latvian%20lats%20(LVL)%20was,was%20replaced%20by%20the%20euro.

MTL - https://www.investopedia.com/terms/m/mtl.asp

ROL - https://en.wikipedia.org/wiki/Romanian_leu

SDD - https://www.investopedia.com/terms/s/sdd-sudanese-dinar.asp#:~:text=The%20Sudanese%20dinar%20(SDD)%20was,replaced%20the%20original%20Sudanese%20pound.

SIT - https://www.investopedia.com/terms/s/sit-slovenian-tolar.asp

SKK - https://en.wikipedia.org/wiki/Slovak_koruna

TMM - https://en.wikipedia.org/wiki/Turkmenistani_manat

2 years ago[REF][Import] [Contact] Clean up preview screen
Eileen McNaughton [Mon, 2 May 2022 23:27:56 +0000 (11:27 +1200)]
[REF][Import] [Contact] Clean up preview screen

This gets rid of the crazy code on the preview screen - relying on getMappingFieldFromMapperInput
to compile the titles and

2 years agoset contact type for map fields
Eileen McNaughton [Mon, 2 May 2022 00:49:55 +0000 (12:49 +1200)]
set contact type for map fields

2 years agoUpdate Save Field Mapping code to save in upgraded format
Eileen McNaughton [Sat, 23 Apr 2022 01:58:48 +0000 (13:58 +1200)]
Update Save Field Mapping code to save in upgraded format

2 years agoUpgrade saved import names for contacts
Eileen McNaughton [Fri, 22 Apr 2022 20:02:42 +0000 (08:02 +1200)]
Upgrade saved import names for contacts

style

2 years agoMerge pull request #23341 from eileenmcnaughton/import_test
Eileen McNaughton [Tue, 3 May 2022 02:01:37 +0000 (14:01 +1200)]
Merge pull request #23341 from eileenmcnaughton/import_test

[REF] [Import] [Trivial] Minor test fixes

2 years agoMerge pull request #23337 from eileenmcnaughton/import
Eileen McNaughton [Tue, 3 May 2022 02:00:51 +0000 (14:00 +1200)]
Merge pull request #23337 from eileenmcnaughton/import

Master only import regression - fix contactSubType handling

2 years agoMerge pull request #23338 from eileenmcnaughton/import_preview
Eileen McNaughton [Tue, 3 May 2022 01:13:27 +0000 (13:13 +1200)]
Merge pull request #23338 from eileenmcnaughton/import_preview

Add import function to parser

2 years ago[REF] [Import] [Trivial] Minor test fixes
Eileen McNaughton [Mon, 2 May 2022 23:59:54 +0000 (11:59 +1200)]
[REF] [Import] [Trivial] Minor test fixes

This just fixes some of the import parser tests to be more
realistic - notably ensuring the userJobID is set - which
is now required, and making the params for
setting that up more flexible within the test class

2 years agoMaster only import regression - fix contactSubType handling
Eileen McNaughton [Mon, 2 May 2022 20:44:22 +0000 (08:44 +1200)]
Master only import regression - fix contactSubType handling

I found that the fieldname for contactSubType was actually subType
so renamed to contactSubType & ensured the type was set before
metadata loading

2 years agoAdd import function to parser
Eileen McNaughton [Mon, 2 May 2022 22:04:14 +0000 (10:04 +1200)]
Add import function to parser

This function is not used in this PR but added in
https://github.com/civicrm/civicrm-core/pull/23288/
- however, that PR is a bit stalled & getting the function added also allows
for other places to call it (ie kill off the enotices on the preview
screen and remove all the silly parameters in the construct)
so trying to get just the function merged

2 years agoRemove another good intention from the import class
Eileen McNaughton [Wed, 20 Apr 2022 09:40:06 +0000 (21:40 +1200)]
Remove another good intention from the import class

Once upon a time - the import classes were written....

Back then it seemed like a good idea to give the derived classes
a way to abort processing.

Like unicorns and mermaids derived classes turned out to
be mythical creatures - not even found by searching the
git universe....

2 years agoMerge pull request #23329 from eileenmcnaughton/import_getfields
demeritcowboy [Mon, 2 May 2022 00:10:05 +0000 (20:10 -0400)]
Merge pull request #23329 from eileenmcnaughton/import_getfields

Fix master-only regression on showing fields for contact type

2 years agoMerge pull request #23335 from colemanw/searchKitDateFix
demeritcowboy [Sun, 1 May 2022 22:43:22 +0000 (18:43 -0400)]
Merge pull request #23335 from colemanw/searchKitDateFix

SearchKit - Ensure all date and timestamp fields are presented with datepicker

2 years agoMerge pull request #23262 from eileenmcnaughton/limit
colemanw [Sun, 1 May 2022 21:12:17 +0000 (23:12 +0200)]
Merge pull request #23262 from eileenmcnaughton/limit

[REF] [Import] Handle limit with more sanity

2 years agoMerge pull request #23327 from demeritcowboy/caseresources-limit
Eileen McNaughton [Sun, 1 May 2022 20:21:33 +0000 (08:21 +1200)]
Merge pull request #23327 from demeritcowboy/caseresources-limit

dev/core#3431 - Case activity only has 25 contacts listed from Case Resources in the Send Copy section

2 years agoSearchKit - Ensure all date and timestamp fields are presented with a datepicker
Coleman Watts [Sun, 1 May 2022 10:27:08 +0000 (12:27 +0200)]
SearchKit - Ensure all date and timestamp fields are presented with a datepicker

2 years agoAfformGui - Optional reset button for search and submit forms
Coleman Watts [Sun, 1 May 2022 10:01:01 +0000 (12:01 +0200)]
AfformGui - Optional reset button for search and submit forms

Adds some metadata about what elements belong on what form types,
which will now hide the "submit" button as an option for non-submission forms.

2 years agoCase Resources only returns 25 contacts
demeritcowboy [Fri, 29 Apr 2022 18:02:57 +0000 (14:02 -0400)]
Case Resources only returns 25 contacts

2 years agoFix master-only regression on showing fields for contact type
Eileen McNaughton [Sat, 30 Apr 2022 03:53:38 +0000 (15:53 +1200)]
Fix master-only regression on showing fields for contact type

2 years agoMerge pull request #23330 from eileenmcnaughton/import_errors
colemanw [Sat, 30 Apr 2022 07:34:24 +0000 (09:34 +0200)]
Merge pull request #23330 from eileenmcnaughton/import_errors

[Import] [Ref] Simplify string concatenation

2 years agoMerge pull request #23322 from kurund/survey-title-fixes
colemanw [Sat, 30 Apr 2022 07:30:24 +0000 (09:30 +0200)]
Merge pull request #23322 from kurund/survey-title-fixes

make survey title available in form builder

2 years ago[Import] [Ref] Simplify string concatenation
Eileen McNaughton [Sat, 30 Apr 2022 04:26:37 +0000 (16:26 +1200)]
[Import] [Ref] Simplify string concatenation

2 years agoMerge pull request #23238 from ufundo/event-reminders-from-template-api4
Eileen McNaughton [Sat, 30 Apr 2022 02:21:12 +0000 (14:21 +1200)]
Merge pull request #23238 from ufundo/event-reminders-from-template-api4

Update copied event reminders to link to new event when creating from…

2 years agoMerge pull request #23304 from eileenmcnaughton/import_highlight
demeritcowboy [Fri, 29 Apr 2022 23:50:55 +0000 (19:50 -0400)]
Merge pull request #23304 from eileenmcnaughton/import_highlight

[REF][Import] (minor) Extract getHightlightedFields

2 years ago[REF][Import] Extract getHightlightedFields
Eileen McNaughton [Tue, 26 Apr 2022 19:29:20 +0000 (07:29 +1200)]
[REF][Import] Extract getHightlightedFields

2 years agoMerge pull request #23326 from civicrm/5.49
demeritcowboy [Fri, 29 Apr 2022 18:19:55 +0000 (14:19 -0400)]
Merge pull request #23326 from civicrm/5.49

5.49

2 years agoMerge pull request #23295 from eileenmcnaughton/549
demeritcowboy [Fri, 29 Apr 2022 16:29:40 +0000 (12:29 -0400)]
Merge pull request #23295 from eileenmcnaughton/549

dev/core#3084 Bug fix on line item financial types

2 years agoCIVIUX-153 On the website front-end, CiviCRM page heading should start from h2 and...
Justin Freeman [Fri, 29 Apr 2022 02:06:02 +0000 (12:06 +1000)]
CIVIUX-153 On the website front-end, CiviCRM page heading should start from h2 and not h1

2 years agomake survey title available in form builder
Kurund Jalmi [Thu, 28 Apr 2022 18:23:26 +0000 (19:23 +0100)]
make survey title available in form builder

2 years agoMerge pull request #23319 from colemanw/searchKitKeepLabel
demeritcowboy [Thu, 28 Apr 2022 13:05:49 +0000 (09:05 -0400)]
Merge pull request #23319 from colemanw/searchKitKeepLabel

SearchKit - Keep label when switching entity

2 years agoPR 22070 follow-up: reinstate respecting no_display on column headers
Dave Jenkins [Thu, 28 Apr 2022 11:47:58 +0000 (12:47 +0100)]
PR 22070 follow-up: reinstate respecting no_display on column headers

2 years agoMerge pull request #23315 from colemanw/searchDisplayGridCss
colemanw [Thu, 28 Apr 2022 09:07:49 +0000 (11:07 +0200)]
Merge pull request #23315 from colemanw/searchDisplayGridCss

SearchKit - Move grid css to its own file

2 years agoSearchKit - Keep label when switching entity
Coleman Watts [Thu, 28 Apr 2022 07:58:52 +0000 (09:58 +0200)]
SearchKit - Keep label when switching entity

2 years agoMerge pull request #23316 from jmcclelland/petition-links
Seamus Lee [Thu, 28 Apr 2022 02:36:25 +0000 (12:36 +1000)]
Merge pull request #23316 from jmcclelland/petition-links

Make links to sign a petition easily accessible on the form.

2 years agoMerge pull request #23311 from colemanw/unusedEvent
Seamus Lee [Thu, 28 Apr 2022 02:36:06 +0000 (12:36 +1000)]
Merge pull request #23311 from colemanw/unusedEvent

APIv4 - Deprecate unnecessary event

2 years agoMake links to sign a petition easily accessible on the form.
Jamie McClelland [Wed, 27 Apr 2022 19:38:18 +0000 (15:38 -0400)]
Make links to sign a petition easily accessible on the form.

2 years agoAPIv4 - Move filtering of component entities higher up
Coleman Watts [Wed, 27 Apr 2022 16:55:47 +0000 (18:55 +0200)]
APIv4 - Move filtering of component entities higher up

Filtering out component entities at a low level was causing errors when trying
to get basic info about an entity from a disabled component.
It's better to do the filtering in the Entity.get action instead.

2 years agoAPIv4 - Deprecate unnecessary event
Coleman Watts [Wed, 27 Apr 2022 08:10:53 +0000 (10:10 +0200)]
APIv4 - Deprecate unnecessary event

Before: To implement a virtual API4 entity, an extension must listen to 2 events, one of which is redundant.
After: Redundant event no longer used, as the one event returns all necessary data.

All the info from `civi.api4.entityTypes` is sufficient to create an APIv4 request.
`civi.api4.createRequest` was redundant.

2 years agoSearchKit - Move grid css to its own file
Coleman Watts [Wed, 27 Apr 2022 18:06:05 +0000 (20:06 +0200)]
SearchKit - Move grid css to its own file

2 years agoUpdate CaseType.php
Herb [Wed, 27 Apr 2022 16:10:41 +0000 (12:10 -0400)]
Update CaseType.php

2 years agoIssue 3249: make casetype a managed entity
Herb [Wed, 27 Apr 2022 15:58:04 +0000 (11:58 -0400)]
Issue 3249: make casetype a managed entity

2 years agoMerge pull request #23015 from ginkgomzd/php8-unsupported-operand
demeritcowboy [Wed, 27 Apr 2022 12:33:14 +0000 (08:33 -0400)]
Merge pull request #23015 from ginkgomzd/php8-unsupported-operand

resolve TypeError: unsupported operand types: string + int;

2 years agoMerge pull request #23291 from eileenmcnaughton/import_output
demeritcowboy [Wed, 27 Apr 2022 12:24:30 +0000 (08:24 -0400)]
Merge pull request #23291 from eileenmcnaughton/import_output

dev/core#3414 Stop dropping temp table on finish of contact import job

2 years agoMerge pull request #23302 from demeritcowboy/symfony-cmf
Tim Otten [Wed, 27 Apr 2022 10:50:52 +0000 (03:50 -0700)]
Merge pull request #23302 from demeritcowboy/symfony-cmf

dev/drupal#176 - Symfony cmf removed from drupal 10

2 years agoMerge pull request #21513 from JKingsnorth/core-2846-1-improve-start-end-date-validation
Eileen McNaughton [Wed, 27 Apr 2022 09:20:35 +0000 (21:20 +1200)]
Merge pull request #21513 from JKingsnorth/core-2846-1-improve-start-end-date-validation

dev/core#2846 Towards validation of start and end dates. Forms.

2 years agoMerge pull request #23243 from colemanw/reconcile
Seamus Lee [Wed, 27 Apr 2022 07:59:09 +0000 (17:59 +1000)]
Merge pull request #23243 from colemanw/reconcile

APIv4 - Add `Managed::reconcile` action.

2 years agoMerge pull request #23309 from civicrm/5.49
Seamus Lee [Wed, 27 Apr 2022 07:57:12 +0000 (17:57 +1000)]
Merge pull request #23309 from civicrm/5.49

5.49

2 years agoAPIv4 - Pass entity name to permissions function
Coleman Watts [Wed, 27 Apr 2022 07:24:11 +0000 (09:24 +0200)]
APIv4 - Pass entity name to permissions function

Unused in core, but some extensions might need it.
Better to have it than not have it.