Tim Otten [Thu, 5 Oct 2023 05:21:46 +0000 (22:21 -0700)]
Merge pull request #27725 from eileenmcnaughton/new-notice
Enotice fix
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
Eileen McNaughton [Thu, 5 Oct 2023 04:02:35 +0000 (17:02 +1300)]
Enotice fix
Eileen McNaughton [Wed, 4 Oct 2023 20:17:03 +0000 (09:17 +1300)]
Merge pull request #27719 from eileenmcnaughton/regen
Re-run regen
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
Eileen McNaughton [Wed, 4 Oct 2023 19:23:36 +0000 (08:23 +1300)]
Re-run regen
colemanw [Wed, 4 Oct 2023 12:51:07 +0000 (08:51 -0400)]
CRM_Utils_String - Deprecate startsWith and endsWith
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)
Jon Goldberg [Wed, 4 Oct 2023 15:54:29 +0000 (11:54 -0400)]
getTree: initialize variable before it's used
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
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
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
Tim Otten [Wed, 4 Oct 2023 03:42:57 +0000 (20:42 -0700)]
SavedSearchMappingTest - Fix compat with php73
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
colemanw [Wed, 4 Oct 2023 00:22:13 +0000 (20:22 -0400)]
SearchKit - Fix nonexistant links incorrectly displaying
colemanw [Mon, 2 Oct 2023 16:05:04 +0000 (12:05 -0400)]
ContactSummary - Prevent excessive/infinite refreshing of related tabs
colemanw [Mon, 2 Oct 2023 05:37:14 +0000 (01:37 -0400)]
SearchKit - When refreshing after a task, refresh all displays in a form
colemanw [Mon, 2 Oct 2023 05:14:16 +0000 (01:14 -0400)]
ContactSummary - Add link to manage case in Relationships tab
colemanw [Mon, 2 Oct 2023 05:13:35 +0000 (01:13 -0400)]
SearchKit - Don't crash if join entity doesn't exist
colemanw [Mon, 2 Oct 2023 04:54:28 +0000 (00:54 -0400)]
CiviCase - Add "manage case" link to metadata, make cid optional
colemanw [Mon, 2 Oct 2023 02:41:44 +0000 (22:41 -0400)]
ContactSummary - Remove old relationships tab
colemanw [Mon, 2 Oct 2023 01:48:59 +0000 (21:48 -0400)]
ContactSummary - Add SearchKit display for relationships tab
colemanw [Sun, 1 Oct 2023 18:03:45 +0000 (14:03 -0400)]
Update icon for relationship permission
colemanw [Sun, 1 Oct 2023 14:26:23 +0000 (10:26 -0400)]
RelationshipCache - Add 'add' metadata
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
colemanw [Sun, 1 Oct 2023 01:59:03 +0000 (21:59 -0400)]
Afform - Fix data type when setting entity values
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
colemanw [Tue, 3 Oct 2023 23:22:39 +0000 (19:22 -0400)]
APIv4 - Fix autocomplete for Individual,Household,Organization entities
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
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
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
Tim Otten [Tue, 3 Oct 2023 21:21:16 +0000 (14:21 -0700)]
Rename Queue::runLoop() to Queue::run()
Tim Otten [Tue, 3 Oct 2023 20:56:59 +0000 (13:56 -0700)]
(NFC) RunLoop - Expand docblocks
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
Noah Miller [Tue, 26 Sep 2023 04:39:58 +0000 (00:39 -0400)]
SK: Align column headers according to settings
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
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
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
colemanw [Mon, 2 Oct 2023 20:04:03 +0000 (16:04 -0400)]
Managed - Backfill default values when reverting APIv4 entity
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
colemanw [Tue, 3 Oct 2023 12:30:39 +0000 (08:30 -0400)]
APIv4 - Update contact type api comment
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
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
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
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
Tim Otten [Tue, 3 Oct 2023 04:44:13 +0000 (21:44 -0700)]
hook_civicrm_links - Add exception for financialItem.batch.row
Tim Otten [Tue, 3 Oct 2023 04:34:21 +0000 (21:34 -0700)]
hook_civicrm_links - Add exception for `pledge.selector.row` (`is_active`)
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
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
Tim Otten [Tue, 19 Sep 2023 05:58:44 +0000 (22:58 -0700)]
hook_civicrm_links.evch.php - Grandfather some more gnarly links
Tim Otten [Tue, 19 Sep 2023 05:31:03 +0000 (22:31 -0700)]
(REF) hook_civicrm_links.evch.php - Move overrides
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.
Tim Otten [Mon, 18 Sep 2023 07:17:22 +0000 (00:17 -0700)]
hook_civicrm_links - Add docblocks and event-checker
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
Tim Otten [Tue, 3 Oct 2023 01:45:27 +0000 (18:45 -0700)]
Queue::runLoop() - Add explanatory exit message for an aborted queue
Tim Otten [Tue, 3 Oct 2023 01:44:04 +0000 (18:44 -0700)]
Queue - Extract method getStatus()
colemanw [Mon, 2 Oct 2023 20:56:38 +0000 (16:56 -0400)]
APIv4 - Convert mysql-style CURRENT_TIMESTAMP to api-style 'now'
colemanw [Sun, 1 Oct 2023 22:21:11 +0000 (18:21 -0400)]
APIv4 - Trim output of Export action to only non-default values
colemanw [Sun, 1 Oct 2023 22:17:12 +0000 (18:17 -0400)]
APIv4 - Fix getFields returning default value of integer fields
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
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…
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
colemanw [Mon, 2 Oct 2023 23:04:25 +0000 (19:04 -0400)]
Merge pull request #27707 from eileenmcnaughton/cid
Smarty notice fix
colemanw [Mon, 2 Oct 2023 22:20:12 +0000 (18:20 -0400)]
Test weird
colemanw [Mon, 2 Oct 2023 22:10:41 +0000 (18:10 -0400)]
APIv4 - add docs about Individual, Household, Organization apis
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
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
Eileen McNaughton [Mon, 2 Oct 2023 21:55:00 +0000 (10:55 +1300)]
Smarty notice fix
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
Noah Miller [Mon, 2 Oct 2023 20:54:35 +0000 (16:54 -0400)]
Add in-app docs re prefilling multiple ids in repeating blocks
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
colemanw [Mon, 2 Oct 2023 19:08:26 +0000 (15:08 -0400)]
Test - Convert arrays to short syntax
colemanw [Mon, 2 Oct 2023 19:02:09 +0000 (15:02 -0400)]
Ext - Convert arrays to short syntax
colemanw [Mon, 2 Oct 2023 18:40:35 +0000 (14:40 -0400)]
Oauth - Remove redundant constructor overrides
colemanw [Mon, 2 Oct 2023 18:36:05 +0000 (14:36 -0400)]
APIv4 - ensure action names get camelCase properly
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
Rich Lott / Artful Robot [Mon, 2 Oct 2023 16:47:30 +0000 (17:47 +0100)]
standalone: correct Capitalised API4 actions
Rich Lott / Artful Robot [Mon, 2 Oct 2023 16:07:27 +0000 (17:07 +0100)]
standalone: minor fixes
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:44:17 +0000 (12:44 +0100)]
standalone: default to empty passwords
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:43:17 +0000 (12:43 +0100)]
standalone create default empty password
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>
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
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…
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:26:09 +0000 (12:26 +0100)]
standalone: hacky api4 permissions commit (probably fix this)
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:25:44 +0000 (12:25 +0100)]
standalone: password reset tests working
Rich Lott / Artful Robot [Mon, 2 Oct 2023 11:02:56 +0000 (12:02 +0100)]
standalone: fix naming of class preventing install
Rich Lott / Artful Robot [Mon, 2 Oct 2023 10:48:27 +0000 (11:48 +0100)]
standalone: password reset work
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
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
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
Eileen McNaughton [Sun, 1 Oct 2023 21:57:15 +0000 (10:57 +1300)]
Move the participantCount logic to the template
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.
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
Mathieu Lu [Sat, 30 Sep 2023 22:01:45 +0000 (18:01 -0400)]
Upgrade: rename the Draft/Sent Mailing menu labels
colemanw [Sat, 30 Sep 2023 13:56:37 +0000 (09:56 -0400)]
Merge pull request #27689 from eileenmcnaughton/samrty_php
Smarty notices & errors, message template screen
colemanw [Sat, 30 Sep 2023 13:50:16 +0000 (09:50 -0400)]
Merge pull request #27696 from eileenmcnaughton/assign
Do assign unconditionally
Rich Lott / Artful Robot [Sat, 30 Sep 2023 11:47:52 +0000 (12:47 +0100)]
standalone: password reset working except for missing MessageTpl
Eileen McNaughton [Sat, 30 Sep 2023 08:07:14 +0000 (21:07 +1300)]
Do assign unconditionally
Eileen McNaughton [Sat, 30 Sep 2023 05:37:48 +0000 (18:37 +1300)]
Replace smarty-math with assigned value
Eileen McNaughton [Sat, 30 Sep 2023 07:15:00 +0000 (20:15 +1300)]
Fix sort_name & display_name settings to support new-style tokens
I was resistant to this change
https://github.com/civicrm/civicrm-core/pull/27114#issuecomment-
1722110045
because it added another instance of '{individual_suffix}' - but this
PR makes both sort_name & display_name support the new style as well.
Unit tests lock in the old style & I have not put
pro-active upgrade in place - but we would want to before
fully moving over to tokens