civicrm-core.git
13 months agoNotice fix
Eileen McNaughton [Fri, 6 Oct 2023 02:11:14 +0000 (15:11 +1300)]
Notice fix

13 months agoSet version to 5.67.beta1
CiviCRM [Thu, 5 Oct 2023 05:30:14 +0000 (05:30 +0000)]
Set version to 5.67.beta1

13 months agoMerge commit '269f94546c'
Tim Otten [Thu, 5 Oct 2023 05:28:28 +0000 (22:28 -0700)]
Merge commit '269f94546c'

13 months agoMerge pull request #27725 from eileenmcnaughton/new-notice
Tim Otten [Thu, 5 Oct 2023 05:21:46 +0000 (22:21 -0700)]
Merge pull request #27725 from eileenmcnaughton/new-notice

Enotice fix

13 months agoMerge pull request #27557 from eileenmcnaughton/bulk_create
Tim Otten [Thu, 5 Oct 2023 04:41:37 +0000 (21:41 -0700)]
Merge pull request #27557 from eileenmcnaughton/bulk_create

dev/core#4567 Update code creating queue entries to save mailing_id

13 months agoEnotice fix
Eileen McNaughton [Thu, 5 Oct 2023 04:02:35 +0000 (17:02 +1300)]
Enotice fix

13 months agoMerge pull request #27720 from eileenmcnaughton/566
Tim Otten [Thu, 5 Oct 2023 03:50:37 +0000 (20:50 -0700)]
Merge pull request #27720 from eileenmcnaughton/566

Do not create new contacts during bounce processing

13 months agoMerge pull request #27721 from totten/5.66-rn0
Tim Otten [Thu, 5 Oct 2023 00:38:22 +0000 (17:38 -0700)]
Merge pull request #27721 from totten/5.66-rn0

release-notes/5.66.0.md - Add some more late-stage PRs from RC

13 months agorelease-notes/5.66.0.md - Add some more late-stage PRs from RC
Tim Otten [Wed, 4 Oct 2023 23:48:34 +0000 (16:48 -0700)]
release-notes/5.66.0.md - Add some more late-stage PRs from RC

Also: some random edits

13 months agoDo not create new contacts during bounce processing
Eileen McNaughton [Wed, 4 Oct 2023 23:15:12 +0000 (12:15 +1300)]
Do not create new contacts during bounce processing

13 months agoMerge pull request #27719 from eileenmcnaughton/regen
Eileen McNaughton [Wed, 4 Oct 2023 20:17:03 +0000 (09:17 +1300)]
Merge pull request #27719 from eileenmcnaughton/regen

Re-run regen

13 months agoMerge pull request #27716 from colemanw/endsWithPolyfill
Eileen McNaughton [Wed, 4 Oct 2023 19:24:25 +0000 (08:24 +1300)]
Merge pull request #27716 from colemanw/endsWithPolyfill

CRM_Utils_String - Deprecate startsWith and endsWith

13 months agoRe-run regen
Eileen McNaughton [Wed, 4 Oct 2023 19:23:36 +0000 (08:23 +1300)]
Re-run regen

13 months agoCRM_Utils_String - Deprecate startsWith and endsWith
colemanw [Wed, 4 Oct 2023 12:51:07 +0000 (08:51 -0400)]
CRM_Utils_String - Deprecate startsWith and endsWith

13 months agoMerge pull request #27718 from MegaphoneJon/initialize-mfg-var
colemanw [Wed, 4 Oct 2023 16:44:45 +0000 (12:44 -0400)]
Merge pull request #27718 from MegaphoneJon/initialize-mfg-var

getTree: initialize variable before it's used (PHP8 compat)

13 months agogetTree: initialize variable before it's used
Jon Goldberg [Wed, 4 Oct 2023 15:54:29 +0000 (11:54 -0400)]
getTree: initialize variable before it's used

13 months agoMerge pull request #27701 from colemanw/relTab
Aidan Saunders [Wed, 4 Oct 2023 15:45:06 +0000 (16:45 +0100)]
Merge pull request #27701 from colemanw/relTab

ContactSummary - Replace Relationships tab with SearchKit display

13 months agoMerge pull request #27715 from civicrm/5.66
Eileen McNaughton [Wed, 4 Oct 2023 08:45:48 +0000 (21:45 +1300)]
Merge pull request #27715 from civicrm/5.66

Merge forward: 5.66 RC => master

13 months agoMerge pull request #27714 from totten/5.66-srchmap-php73
Tim Otten [Wed, 4 Oct 2023 05:45:44 +0000 (22:45 -0700)]
Merge pull request #27714 from totten/5.66-srchmap-php73

SavedSearchMappingTest - Fix compat with php73

13 months agoSavedSearchMappingTest - Fix compat with php73
Tim Otten [Wed, 4 Oct 2023 03:42:57 +0000 (20:42 -0700)]
SavedSearchMappingTest - Fix compat with php73

13 months agoMerge pull request #27713 from colemanw/contactTypeAutocomplete
Seamus Lee [Wed, 4 Oct 2023 02:04:02 +0000 (13:04 +1100)]
Merge pull request #27713 from colemanw/contactTypeAutocomplete

APIv4 - Fix autocomplete for Individual,Household,Organization entities

13 months agoSearchKit - Fix nonexistant links incorrectly displaying
colemanw [Wed, 4 Oct 2023 00:22:13 +0000 (20:22 -0400)]
SearchKit - Fix nonexistant links incorrectly displaying

13 months agoContactSummary - Prevent excessive/infinite refreshing of related tabs
colemanw [Mon, 2 Oct 2023 16:05:04 +0000 (12:05 -0400)]
ContactSummary - Prevent excessive/infinite refreshing of related tabs

13 months agoSearchKit - When refreshing after a task, refresh all displays in a form
colemanw [Mon, 2 Oct 2023 05:37:14 +0000 (01:37 -0400)]
SearchKit - When refreshing after a task, refresh all displays in a form

13 months agoContactSummary - Add link to manage case in Relationships tab
colemanw [Mon, 2 Oct 2023 05:14:16 +0000 (01:14 -0400)]
ContactSummary - Add link to manage case in Relationships tab

13 months agoSearchKit - Don't crash if join entity doesn't exist
colemanw [Mon, 2 Oct 2023 05:13:35 +0000 (01:13 -0400)]
SearchKit - Don't crash if join entity doesn't exist

13 months agoCiviCase - Add "manage case" link to metadata, make cid optional
colemanw [Mon, 2 Oct 2023 04:54:28 +0000 (00:54 -0400)]
CiviCase - Add "manage case" link to metadata, make cid optional

13 months agoContactSummary - Remove old relationships tab
colemanw [Mon, 2 Oct 2023 02:41:44 +0000 (22:41 -0400)]
ContactSummary - Remove old relationships tab

13 months agoContactSummary - Add SearchKit display for relationships tab
colemanw [Mon, 2 Oct 2023 01:48:59 +0000 (21:48 -0400)]
ContactSummary - Add SearchKit display for relationships tab

13 months agoUpdate icon for relationship permission
colemanw [Sun, 1 Oct 2023 18:03:45 +0000 (14:03 -0400)]
Update icon for relationship permission

13 months agoRelationshipCache - Add 'add' metadata
colemanw [Sun, 1 Oct 2023 14:26:23 +0000 (10:26 -0400)]
RelationshipCache - Add 'add' metadata

13 months agoSearchKit - The first display in a tab gets to control the count
colemanw [Sun, 1 Oct 2023 02:41:54 +0000 (22:41 -0400)]
SearchKit - The first display in a tab gets to control the count

Fix weird tab count if > 1 search display in a tab

13 months agoAfform - Fix data type when setting entity values
colemanw [Sun, 1 Oct 2023 01:59:03 +0000 (21:59 -0400)]
Afform - Fix data type when setting entity values

13 months agoMerge pull request #27660 from eileenmcnaughton/delete
colemanw [Wed, 4 Oct 2023 00:25:28 +0000 (20:25 -0400)]
Merge pull request #27660 from eileenmcnaughton/delete

Separate delete participant form from edit participant form

13 months agoAPIv4 - Fix autocomplete for Individual,Household,Organization entities
colemanw [Tue, 3 Oct 2023 23:22:39 +0000 (19:22 -0400)]
APIv4 - Fix autocomplete for Individual,Household,Organization entities

13 months agoMerge pull request #27691 from totten/master-queue-runloop
Eileen McNaughton [Tue, 3 Oct 2023 22:11:34 +0000 (11:11 +1300)]
Merge pull request #27691 from totten/master-queue-runloop

Queue::run() - Add API for running several tasks

13 months agoMerge pull request #27693 from eileenmcnaughton/remove_math
colemanw [Tue, 3 Oct 2023 22:09:18 +0000 (18:09 -0400)]
Merge pull request #27693 from eileenmcnaughton/remove_math

Replace smarty-math with assigned value

13 months agoMerge pull request #27592 from colemanw/afformBool
colemanw [Tue, 3 Oct 2023 21:25:02 +0000 (17:25 -0400)]
Merge pull request #27592 from colemanw/afformBool

Afform - Fix display of boolean checkboxes

13 months agoRename Queue::runLoop() to Queue::run()
Tim Otten [Tue, 3 Oct 2023 21:21:16 +0000 (14:21 -0700)]
Rename Queue::runLoop() to Queue::run()

13 months ago(NFC) RunLoop - Expand docblocks
Tim Otten [Tue, 3 Oct 2023 20:56:59 +0000 (13:56 -0700)]
(NFC) RunLoop - Expand docblocks

13 months agoMerge pull request #27642 from lemniscus/sk-table-header-alignment
Eileen McNaughton [Tue, 3 Oct 2023 20:31:16 +0000 (09:31 +1300)]
Merge pull request #27642 from lemniscus/sk-table-header-alignment

SearchKit: Align column headers according to settings

13 months agoSK: Align column headers according to settings
Noah Miller [Tue, 26 Sep 2023 04:39:58 +0000 (00:39 -0400)]
SK: Align column headers according to settings

13 months agoMerge pull request #27712 from colemanw/contactTypeApi2
Eileen McNaughton [Tue, 3 Oct 2023 19:22:44 +0000 (08:22 +1300)]
Merge pull request #27712 from colemanw/contactTypeApi2

[NFC] APIv4 - Update contact type api comment

13 months agoMerge pull request #27700 from colemanw/exportDefaults
Aidan Saunders [Tue, 3 Oct 2023 16:33:19 +0000 (17:33 +0100)]
Merge pull request #27700 from colemanw/exportDefaults

APIv4 - Trim output of Export action to only non-default values

13 months agoMerge pull request #27698 from colemanw/afformShareFieldset
Aidan Saunders [Tue, 3 Oct 2023 16:10:35 +0000 (17:10 +0100)]
Merge pull request #27698 from colemanw/afformShareFieldset

SearchKit - Fix and add test for scenario where the same display is used twice on a form

13 months agoManaged - Backfill default values when reverting APIv4 entity
colemanw [Mon, 2 Oct 2023 20:04:03 +0000 (16:04 -0400)]
Managed - Backfill default values when reverting APIv4 entity

13 months agoMerge pull request #27484 from totten/master-links
colemanw [Tue, 3 Oct 2023 12:56:16 +0000 (08:56 -0400)]
Merge pull request #27484 from totten/master-links

hook_civicrm_links - Add docblocks and event-checker

13 months agoAPIv4 - Update contact type api comment
colemanw [Tue, 3 Oct 2023 12:30:39 +0000 (08:30 -0400)]
APIv4 - Update contact type api comment

13 months agoMerge pull request #27711 from civicrm/5.66
Eileen McNaughton [Tue, 3 Oct 2023 09:52:25 +0000 (22:52 +1300)]
Merge pull request #27711 from civicrm/5.66

5.66 to master

13 months agoMerge pull request #27710 from totten/5.66-links-weights
Eileen McNaughton [Tue, 3 Oct 2023 09:44:44 +0000 (22:44 +1300)]
Merge pull request #27710 from totten/5.66-links-weights

hook_civicrm_links - Add more weights

13 months agohook_civicrm_links - Add more weights:
Tim Otten [Tue, 19 Sep 2023 05:59:34 +0000 (22:59 -0700)]
hook_civicrm_links - Add more weights:

- contribution.edit.action
- file.manage.delete
- financialItem.batch.row
- Payment.edit.action

13 months agoMerge pull request #27659 from colemanw/contactTypeApi
Tim Otten [Tue, 3 Oct 2023 05:31:52 +0000 (22:31 -0700)]
Merge pull request #27659 from colemanw/contactTypeApi

APIv4 - Add Individual, Household, Organization pseudo-entities

13 months agohook_civicrm_links - Add exception for financialItem.batch.row
Tim Otten [Tue, 3 Oct 2023 04:44:13 +0000 (21:44 -0700)]
hook_civicrm_links - Add exception for financialItem.batch.row

13 months agohook_civicrm_links - Add exception for `pledge.selector.row` (`is_active`)
Tim Otten [Tue, 3 Oct 2023 04:34:21 +0000 (21:34 -0700)]
hook_civicrm_links - Add exception for `pledge.selector.row` (`is_active`)

13 months agohook_civicrm_links - Add exception for basic.CRM_Core_BAO_MessageTemplate.page
Tim Otten [Tue, 19 Sep 2023 06:53:36 +0000 (23:53 -0700)]
hook_civicrm_links - Add exception for basic.CRM_Core_BAO_MessageTemplate.page

13 months agohook_civicrm_links - Add more weights:
Tim Otten [Tue, 19 Sep 2023 05:59:34 +0000 (22:59 -0700)]
hook_civicrm_links - Add more weights:

- contribution.edit.action
- file.manage.delete
- financialItem.batch.row
- Payment.edit.action

13 months agohook_civicrm_links.evch.php - Grandfather some more gnarly links
Tim Otten [Tue, 19 Sep 2023 05:58:44 +0000 (22:58 -0700)]
hook_civicrm_links.evch.php - Grandfather some more gnarly links

13 months ago(REF) hook_civicrm_links.evch.php - Move overrides
Tim Otten [Tue, 19 Sep 2023 05:31:03 +0000 (22:31 -0700)]
(REF) hook_civicrm_links.evch.php - Move overrides

13 months agopcp.user.actions - Decompose deviant list of links
Tim Otten [Tue, 19 Sep 2023 05:06:54 +0000 (22:06 -0700)]
pcp.user.actions - Decompose deviant list of links

The problem is that:

* `hook_links('pcp.user.actions')` fires with a malformed set links
* The malformed set of links has been specifically encoded into unit tests

So fixing the bad links would likely break some consumer. (I don't see the
consumer in my copy of `universe`, but if someone wrote the test, then they
must've really meant it...)

This patch adds alternative variants (`hook_links('pcp.user.actions.add')` and
`hook_links('pcp.user.actions.all')`) which should replace it.

13 months agohook_civicrm_links - Add docblocks and event-checker
Tim Otten [Mon, 18 Sep 2023 07:17:22 +0000 (00:17 -0700)]
hook_civicrm_links - Add docblocks and event-checker

13 months agoMerge pull request #27695 from eileenmcnaughton/smarty_sort
colemanw [Tue, 3 Oct 2023 02:16:38 +0000 (22:16 -0400)]
Merge pull request #27695 from eileenmcnaughton/smarty_sort

Fix sort_name & display_name settings to support new-style tokens

13 months agoQueue::runLoop() - Add explanatory exit message for an aborted queue
Tim Otten [Tue, 3 Oct 2023 01:45:27 +0000 (18:45 -0700)]
Queue::runLoop() - Add explanatory exit message for an aborted queue

13 months agoQueue - Extract method getStatus()
Tim Otten [Tue, 3 Oct 2023 01:44:04 +0000 (18:44 -0700)]
Queue - Extract method getStatus()

13 months agoAPIv4 - Convert mysql-style CURRENT_TIMESTAMP to api-style 'now'
colemanw [Mon, 2 Oct 2023 20:56:38 +0000 (16:56 -0400)]
APIv4 - Convert mysql-style CURRENT_TIMESTAMP to api-style 'now'

13 months agoAPIv4 - Trim output of Export action to only non-default values
colemanw [Sun, 1 Oct 2023 22:21:11 +0000 (18:21 -0400)]
APIv4 - Trim output of Export action to only non-default values

13 months agoAPIv4 - Fix getFields returning default value of integer fields
colemanw [Sun, 1 Oct 2023 22:17:12 +0000 (18:17 -0400)]
APIv4 - Fix getFields returning default value of integer fields

13 months agoMerge pull request #27704 from colemanw/api4Case
Eileen McNaughton [Mon, 2 Oct 2023 23:20:00 +0000 (12:20 +1300)]
Merge pull request #27704 from colemanw/api4Case

APIv4 - ensure action names get camelCase properly

13 months agoMerge pull request #27708 from seamuslee001/mailing_receipients_test
Seamus Lee [Mon, 2 Oct 2023 23:19:48 +0000 (10:19 +1100)]
Merge pull request #27708 from seamuslee001/mailing_receipients_test

[NFC] Add in Unit test to ensure that Disabled groups do not appear i…

13 months agoMerge pull request #26047 from pradpnayak/customDefaults
colemanw [Mon, 2 Oct 2023 23:05:16 +0000 (19:05 -0400)]
Merge pull request #26047 from pradpnayak/customDefaults

Fix set default for custom field on membership renewal form

13 months agoMerge pull request #27707 from eileenmcnaughton/cid
colemanw [Mon, 2 Oct 2023 23:04:25 +0000 (19:04 -0400)]
Merge pull request #27707 from eileenmcnaughton/cid

Smarty notice fix

13 months agoTest weird
colemanw [Mon, 2 Oct 2023 22:20:12 +0000 (18:20 -0400)]
Test weird

13 months agoAPIv4 - add docs about Individual, Household, Organization apis
colemanw [Mon, 2 Oct 2023 22:10:41 +0000 (18:10 -0400)]
APIv4 - add docs about Individual, Household, Organization apis

13 months agoMerge pull request #27705 from colemanw/arraySyntax
Seamus Lee [Mon, 2 Oct 2023 22:09:47 +0000 (09:09 +1100)]
Merge pull request #27705 from colemanw/arraySyntax

[REF] Convert arrays to short syntax

13 months ago[NFC] Add in Unit test to ensure that Disabled groups do not appear in mailing receip...
Seamus Lee [Mon, 2 Oct 2023 21:59:41 +0000 (08:59 +1100)]
[NFC] Add in Unit test to ensure that Disabled groups do not appear in mailing receipients autocomplete

13 months agoSmarty notice fix
Eileen McNaughton [Mon, 2 Oct 2023 21:55:00 +0000 (10:55 +1300)]
Smarty notice fix

13 months agoMerge pull request #27706 from lemniscus/afform-prefill-multiple-doc
colemanw [Mon, 2 Oct 2023 20:57:48 +0000 (16:57 -0400)]
Merge pull request #27706 from lemniscus/afform-prefill-multiple-doc

Add in-app docs re prefilling multiple ids in repeating blocks

13 months agoAdd in-app docs re prefilling multiple ids in repeating blocks
Noah Miller [Mon, 2 Oct 2023 20:54:35 +0000 (16:54 -0400)]
Add in-app docs re prefilling multiple ids in repeating blocks

13 months agoMerge pull request #27682 from colemanw/vernum
Eileen McNaughton [Mon, 2 Oct 2023 19:45:18 +0000 (08:45 +1300)]
Merge pull request #27682 from colemanw/vernum

Schema - stop oversharing version numbers

13 months agoTest - Convert arrays to short syntax
colemanw [Mon, 2 Oct 2023 19:08:26 +0000 (15:08 -0400)]
Test - Convert arrays to short syntax

13 months agoExt - Convert arrays to short syntax
colemanw [Mon, 2 Oct 2023 19:02:09 +0000 (15:02 -0400)]
Ext - Convert arrays to short syntax

13 months agoOauth - Remove redundant constructor overrides
colemanw [Mon, 2 Oct 2023 18:40:35 +0000 (14:40 -0400)]
Oauth - Remove redundant constructor overrides

13 months agoAPIv4 - ensure action names get camelCase properly
colemanw [Mon, 2 Oct 2023 18:36:05 +0000 (14:36 -0400)]
APIv4 - ensure action names get camelCase properly

13 months agoMerge pull request #27681 from artfulrobot/artfulrobot-standalone-forgot-pass
colemanw [Mon, 2 Oct 2023 17:56:05 +0000 (13:56 -0400)]
Merge pull request #27681 from artfulrobot/artfulrobot-standalone-forgot-pass

Move User to extened uf_match table + password reset

13 months agostandalone: correct Capitalised API4 actions
Rich Lott / Artful Robot [Mon, 2 Oct 2023 16:47:30 +0000 (17:47 +0100)]
standalone: correct Capitalised API4 actions

13 months agostandalone: minor fixes
Rich Lott / Artful Robot [Mon, 2 Oct 2023 16:07:27 +0000 (17:07 +0100)]
standalone: minor fixes

13 months agostandalone: default to empty passwords
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:44:17 +0000 (12:44 +0100)]
standalone: default to empty passwords

13 months agostandalone create default empty password
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:43:17 +0000 (12:43 +0100)]
standalone create default empty password

13 months agoUpdate ext/standaloneusers/CRM/Standaloneusers/Upgrader.php
Rich Lott [Mon, 2 Oct 2023 15:44:59 +0000 (16:44 +0100)]
Update ext/standaloneusers/CRM/Standaloneusers/Upgrader.php

Co-authored-by: colemanw <coleman@civicrm.org>
13 months agoMerge pull request #27618 from colemanw/afformBreadcrumbs
colemanw [Mon, 2 Oct 2023 15:29:57 +0000 (11:29 -0400)]
Merge pull request #27618 from colemanw/afformBreadcrumbs

Afform - Switch to user-oriented breadcrumbs, move admin link to hover button

13 months agoMerge pull request #27702 from francescbassas/patch-19
colemanw [Mon, 2 Oct 2023 15:06:22 +0000 (11:06 -0400)]
Merge pull request #27702 from francescbassas/patch-19

[REF][PHP8.1] Fix deprecation notice on passing NULL as the 3rd param…

13 months agostandalone: hacky api4 permissions commit (probably fix this)
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:26:09 +0000 (12:26 +0100)]
standalone: hacky api4 permissions commit (probably fix this)

13 months agostandalone: password reset tests working
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:25:44 +0000 (12:25 +0100)]
standalone: password reset tests working

13 months agostandalone: fix naming of class preventing install
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:02:56 +0000 (12:02 +0100)]
standalone: fix naming of class preventing install

13 months agostandalone: password reset work
Rich Lott / Artful Robot [Mon, 2 Oct 2023 10:48:27 +0000 (11:48 +0100)]
standalone: password reset work

13 months ago[REF][PHP8.1] Fix deprecation notice on passing NULL as the 3rd param to str_replace...
francescbassas [Mon, 2 Oct 2023 08:40:38 +0000 (10:40 +0200)]
[REF][PHP8.1] Fix deprecation notice on passing NULL as the 3rd param to str_replace for Google geocoding

13 months agoMerge pull request #27699 from eileenmcnaughton/event_template
Eileen McNaughton [Mon, 2 Oct 2023 03:47:53 +0000 (16:47 +1300)]
Merge pull request #27699 from eileenmcnaughton/event_template

Move the participantCount logic to the template

13 months agoSearchKit - Fix and add test for scenario where the same display is used twice on...
colemanw [Sun, 1 Oct 2023 18:04:35 +0000 (14:04 -0400)]
SearchKit - Fix and add test for scenario where the same display is used twice on the same form

13 months agoMove the participantCount logic to the template
Eileen McNaughton [Sun, 1 Oct 2023 21:57:15 +0000 (10:57 +1300)]
Move the participantCount logic to the template

14 months agoAPIv4 - Add Individual, Household, Organization pseudo-entities
colemanw [Wed, 27 Sep 2023 19:52:35 +0000 (15:52 -0400)]
APIv4 - Add Individual, Household, Organization pseudo-entities

These behave exactly as the Contact entity but with a pre-set value for contact_type.
Includes tests to ensure joins, ACLs and permissions work.

14 months agoMerge pull request #27697 from mlutfy/fixMailingMenuLabels
colemanw [Sat, 30 Sep 2023 23:45:13 +0000 (19:45 -0400)]
Merge pull request #27697 from mlutfy/fixMailingMenuLabels

Upgrade: rename the Draft/Sent Mailing menu labels