civicrm-core.git
21 months agoDeclare paid event as example data, call from test
Eileen McNaughton [Mon, 22 May 2023 00:59:53 +0000 (12:59 +1200)]
Declare paid event as example data, call from test

I'm looking to create some set up helper classes in
the Civi\Test space, to also be available to extensions
& to standardise some of the set up routines.

I figured the best place to put the ExampleData
was in the structure created for that.

The ExampleData structure is lightly used by
the WorkflowMessage::render() function for personal
entities (ie Contact,Contribution) but it
is not used (& probably won't be) for
configuration entities. However, the examples
are intended to be multi-purpose so I think it is the right location.

Note the trait that builds on it will have to have
a lot more logic to build price sets etc than the exampleData
space really supports

21 months agoMerge pull request #26295 from civicrm/5.62
Seamus Lee [Mon, 22 May 2023 02:25:31 +0000 (12:25 +1000)]
Merge pull request #26295 from civicrm/5.62

5.62

21 months agoMerge pull request #26149 from stesi561/activityupgradewarning
demeritcowboy [Mon, 22 May 2023 01:33:17 +0000 (21:33 -0400)]
Merge pull request #26149 from stesi561/activityupgradewarning

dev/core/#1532 -  Adds warning similar to 5.57 if Activity Revisions are present.

21 months agoAdd empty upgrade step to force preUpgrade to run
Luke Stewart [Mon, 22 May 2023 00:54:21 +0000 (12:54 +1200)]
Add empty upgrade step to force preUpgrade to run

21 months agoMerge pull request #26289 from braders/php82-cache-test
Eileen McNaughton [Sun, 21 May 2023 22:29:17 +0000 (10:29 +1200)]
Merge pull request #26289 from braders/php82-cache-test

[REF][PHP8.2] Only clear cache values if property exists

21 months agoMerge pull request #26293 from braders/report-campaign-property
Eileen McNaughton [Sun, 21 May 2023 22:27:06 +0000 (10:27 +1200)]
Merge pull request #26293 from braders/report-campaign-property

[REF][PHP8.2] Declare campaigns property

21 months ago[REF][PHP8.2] Declare campaigns property
Bradley Taylor [Sun, 21 May 2023 19:34:46 +0000 (20:34 +0100)]
[REF][PHP8.2] Declare campaigns property

21 months agoMerge pull request #26287 from braders/basetest-entity-param
demeritcowboy [Sun, 21 May 2023 15:52:29 +0000 (11:52 -0400)]
Merge pull request #26287 from braders/basetest-entity-param

[REF][PHP8.2] Remove unused entity dynamic property

21 months agoMerge pull request #26288 from braders/unused-property-membershipStatusTest
demeritcowboy [Sun, 21 May 2023 15:49:00 +0000 (11:49 -0400)]
Merge pull request #26288 from braders/unused-property-membershipStatusTest

[REF][PHP8.2] Remove seemingly unused write to dynamic property

21 months ago[REF][PHP8.2] Only clear cache values if property exists
Bradley Taylor [Sun, 21 May 2023 10:59:45 +0000 (11:59 +0100)]
[REF][PHP8.2] Only clear cache values if property exists

21 months ago[REF][PHP8.2] Remove seemingly unused write to dynamic property
Bradley Taylor [Sun, 21 May 2023 10:46:58 +0000 (11:46 +0100)]
[REF][PHP8.2] Remove seemingly unused write to dynamic property

21 months ago[REF][PHP8.2] Remove unused entity dynamic property
Bradley Taylor [Sun, 21 May 2023 10:22:44 +0000 (11:22 +0100)]
[REF][PHP8.2] Remove unused entity dynamic property

21 months agoMerge pull request #26286 from demeritcowboy/nghref
colemanw [Sun, 21 May 2023 00:55:48 +0000 (20:55 -0400)]
Merge pull request #26286 from demeritcowboy/nghref

dev/core#4305 - Fix pluses being turned into spaces in hook_alterAngular

21 months agoMerge pull request #26285 from demeritcowboy/windows-test
demeritcowboy [Sun, 21 May 2023 00:15:39 +0000 (20:15 -0400)]
Merge pull request #26285 from demeritcowboy/windows-test

[NFC] Belatedly add test for #26164

21 months agofix pluses being turned into spaces in hook_alterAngular
demeritcowboy [Sun, 21 May 2023 00:05:23 +0000 (20:05 -0400)]
fix pluses being turned into spaces in hook_alterAngular

21 months agoMerge pull request #26284 from demeritcowboy/dao
Seamus Lee [Sat, 20 May 2023 23:50:03 +0000 (09:50 +1000)]
Merge pull request #26284 from demeritcowboy/dao

GenCode on Contribution DAO

21 months agotest for #26164
demeritcowboy [Sat, 20 May 2023 23:47:35 +0000 (19:47 -0400)]
test for #26164

21 months agoMerge pull request #26185 from rubofvil/patch-1
demeritcowboy [Sat, 20 May 2023 23:41:52 +0000 (19:41 -0400)]
Merge pull request #26185 from rubofvil/patch-1

Drupal 7, refuse the possibility to execute the REST API with blocked users

21 months agoMerge pull request #26280 from eileenmcnaughton/weight_pledge
demeritcowboy [Sat, 20 May 2023 23:41:08 +0000 (19:41 -0400)]
Merge pull request #26280 from eileenmcnaughton/weight_pledge

Add weight to pledges links

21 months agoregen dao
demeritcowboy [Sat, 20 May 2023 13:03:56 +0000 (09:03 -0400)]
regen dao

21 months agoMerge pull request #26281 from eileenmcnaughton/better_props
colemanw [Sat, 20 May 2023 12:19:52 +0000 (08:19 -0400)]
Merge pull request #26281 from eileenmcnaughton/better_props

Standardise casing on ids in WorkflowMessages

21 months agoStandardise casing on ids in WorkflowMessages
Eileen McNaughton [Sat, 20 May 2023 01:10:28 +0000 (13:10 +1200)]
Standardise casing on ids in WorkflowMessages

This resolves the inconsistencies in id fields in the workFlowMessages

My general feeling is this hasn't really been adopted outside of core as
yet as it has been so immature so I'm fixing the core uses - these are
all heavily tested

21 months agoMerge pull request #26270 from totten/master-more-data
Tim Otten [Sat, 20 May 2023 01:19:51 +0000 (18:19 -0700)]
Merge pull request #26270 from totten/master-more-data

(REF) civicrm_data - Move more baseline data to PHP files

21 months agoMerge pull request #26215 from eileenmcnaughton/event_mail_tested
Seamus Lee [Sat, 20 May 2023 01:04:17 +0000 (11:04 +1000)]
Merge pull request #26215 from eileenmcnaughton/event_mail_tested

Use balanceAmount token to remove isset in offline_event_receipt

21 months agoAdd weight to pledges links
Eileen McNaughton [Sat, 20 May 2023 00:57:49 +0000 (12:57 +1200)]
Add weight to pledges links

21 months agoMerge pull request #24937 from aydun/adminui_contribution_pages
colemanw [Sat, 20 May 2023 00:55:26 +0000 (20:55 -0400)]
Merge pull request #24937 from aydun/adminui_contribution_pages

AdminUI: add Manage Contribution Pages

21 months agoMerge pull request #26278 from civicrm/5.62
Eileen McNaughton [Sat, 20 May 2023 00:38:59 +0000 (12:38 +1200)]
Merge pull request #26278 from civicrm/5.62

5.62 to master

21 months agoMerge pull request #26261 from samuelsov/adminui2
Eileen McNaughton [Sat, 20 May 2023 00:38:26 +0000 (12:38 +1200)]
Merge pull request #26261 from samuelsov/adminui2

Alternate Manage groups in Admin UI extension

21 months agoMerge pull request #26271 from colemanw/revertFileDeletions
Eileen McNaughton [Sat, 20 May 2023 00:06:31 +0000 (12:06 +1200)]
Merge pull request #26271 from colemanw/revertFileDeletions

dev/core#4302 Revert "Remove old deprecated class aliases"

21 months agoMerge pull request #26275 from colemanw/fixSchemaHandler
Tim Otten [Fri, 19 May 2023 22:28:23 +0000 (15:28 -0700)]
Merge pull request #26275 from colemanw/fixSchemaHandler

SchemaHandler - Cleanup string handling and fix syntax error

21 months agoAdminUI: add Manage Contribution Pages
Aidan Saunders [Tue, 8 Nov 2022 22:40:58 +0000 (22:40 +0000)]
AdminUI: add Manage Contribution Pages

21 months agoSchemaHandler - Cleanup string handling and fix syntax error
colemanw [Fri, 19 May 2023 18:19:40 +0000 (14:19 -0400)]
SchemaHandler - Cleanup string handling and fix syntax error

21 months agoAlternate Manage groups in Admin UI extension
Samuel Vanhove [Thu, 18 May 2023 15:17:31 +0000 (11:17 -0400)]
Alternate Manage groups in Admin UI extension

21 months agoMerge pull request #26198 from larssandergreen/allow-deletion-of-primary-emails
colemanw [Fri, 19 May 2023 17:50:16 +0000 (13:50 -0400)]
Merge pull request #26198 from larssandergreen/allow-deletion-of-primary-emails

dev/core#4284 Allow deletion of primary email inline on contact

21 months agoMerge pull request #26273 from larssandergreen/Resize-mailing-preview
colemanw [Fri, 19 May 2023 17:17:04 +0000 (13:17 -0400)]
Merge pull request #26273 from larssandergreen/Resize-mailing-preview

Resize mailing preview modal

21 months agoMerge pull request #26268 from eileenmcnaughton/562_member
colemanw [Fri, 19 May 2023 17:08:46 +0000 (13:08 -0400)]
Merge pull request #26268 from eileenmcnaughton/562_member

dev/core#4282 Fix isShowMembershipBlock Regression

21 months agoMerge pull request #26267 from eileenmcnaughton/562
colemanw [Fri, 19 May 2023 17:07:10 +0000 (13:07 -0400)]
Merge pull request #26267 from eileenmcnaughton/562

Enotice fix on frontend_title

21 months agoResize mailing preview modal
larssandergreen [Fri, 19 May 2023 14:36:22 +0000 (08:36 -0600)]
Resize mailing preview modal

21 months agodev/core#4302 Revert "Remove old deprecated class aliases"
colemanw [Fri, 19 May 2023 13:25:25 +0000 (09:25 -0400)]
dev/core#4302 Revert "Remove old deprecated class aliases"

This reverts the file deletions from f687b5a4eed2b67411a873c3346487bd5599497
as the files were still in use by some extensions.

21 months agoMerge pull request #26269 from eileenmcnaughton/event_form
colemanw [Fri, 19 May 2023 12:35:21 +0000 (08:35 -0400)]
Merge pull request #26269 from eileenmcnaughton/event_form

More tests fixed to use fullFormFlow

21 months agoMerge pull request #26264 from eileenmcnaughton/unshared
colemanw [Fri, 19 May 2023 12:33:02 +0000 (08:33 -0400)]
Merge pull request #26264 from eileenmcnaughton/unshared

Remove unused variables from previously-shared function

21 months ago(REF) civicrm_data - More homogenous notation
Tim Otten [Fri, 19 May 2023 10:39:07 +0000 (03:39 -0700)]
(REF) civicrm_data - More homogenous notation

21 months ago(REF) civicrm_data - Put financial stuff close together.
Tim Otten [Fri, 19 May 2023 10:20:10 +0000 (03:20 -0700)]
(REF) civicrm_data - Put financial stuff close together.

21 months ago(REF) civicrm_data - Extract civicrm_dedupe_rule_group and civicrm_dedupe_rule
Tim Otten [Fri, 19 May 2023 10:16:03 +0000 (03:16 -0700)]
(REF) civicrm_data - Extract civicrm_dedupe_rule_group and civicrm_dedupe_rule

21 months ago(REF) civicrm_data - Extract civicrm_mailing_bounce_type and civicrm_mailing_bounce_p...
Tim Otten [Fri, 19 May 2023 09:29:16 +0000 (02:29 -0700)]
(REF) civicrm_data - Extract civicrm_mailing_bounce_type and civicrm_mailing_bounce_pattern

21 months ago(REF) civicrm_data - Extract civicrm_financial_account
Tim Otten [Fri, 19 May 2023 07:53:59 +0000 (00:53 -0700)]
(REF) civicrm_data - Extract civicrm_financial_account

21 months ago(REF) civicrm_data - Extract civicrm_extension, civicrm_job
Tim Otten [Fri, 19 May 2023 07:11:22 +0000 (00:11 -0700)]
(REF) civicrm_data - Extract civicrm_extension, civicrm_job

21 months ago(REF) civicrm_data - Extract civicrm_action_mapping, civicrm_contact_type, etal
Tim Otten [Fri, 19 May 2023 06:41:30 +0000 (23:41 -0700)]
(REF) civicrm_data - Extract civicrm_action_mapping, civicrm_contact_type, etal

Also: civicrm_county, civicrm_participant_status_type, civicrm_uf_field,
civicrm_uf_group, civicrm_uf_join

21 months ago(REF) civicrm_data - Extract civicrm_financial_type, civicrm_location_type, etal
Tim Otten [Fri, 19 May 2023 04:58:51 +0000 (21:58 -0700)]
(REF) civicrm_data - Extract civicrm_financial_type, civicrm_location_type, etal

And also: civicrm_mailing_component, civicrm_membership_status,
civicrm_payment_processor_type, civicrm_preferences_date,
civicrm_relationship_type, civicrm_tag

21 months ago(REF) civicrm_data - Move some selects closer to where they're used
Tim Otten [Fri, 19 May 2023 00:50:34 +0000 (17:50 -0700)]
(REF) civicrm_data - Move some selects closer to where they're used

21 months ago(REF) civicrm_data - Remove unused variables. Move the 1 that is used.
Tim Otten [Fri, 19 May 2023 00:45:32 +0000 (17:45 -0700)]
(REF) civicrm_data - Remove unused variables. Move the 1 that is used.

21 months agoSqlData - Allow INSERT IGNORE
Tim Otten [Fri, 19 May 2023 07:10:09 +0000 (00:10 -0700)]
SqlData - Allow INSERT IGNORE

21 months agoCRM_Utils_SQL_Insert - Allow "IGNORE" flag
Tim Otten [Fri, 19 May 2023 06:57:39 +0000 (23:57 -0700)]
CRM_Utils_SQL_Insert - Allow "IGNORE" flag

21 months ago(REF) CodeGen - Split "OptionGroup" and "SqlData"
Tim Otten [Fri, 19 May 2023 00:44:51 +0000 (17:44 -0700)]
(REF) CodeGen - Split "OptionGroup" and "SqlData"

21 months agoMore tests fixed to use fullFormFlow
Eileen McNaughton [Fri, 19 May 2023 03:34:58 +0000 (15:34 +1200)]
More tests fixed to use fullFormFlow

21 months agoMerge pull request #26266 from larssandergreen/Remove-BOM-from-Registration.hlp
Eileen McNaughton [Fri, 19 May 2023 03:32:40 +0000 (15:32 +1200)]
Merge pull request #26266 from larssandergreen/Remove-BOM-from-Registration.hlp

Remove BOM from Registration.hlp

21 months agodev/core#4282 Fix isShowMembershipBlock
Eileen McNaughton [Fri, 19 May 2023 02:47:39 +0000 (14:47 +1200)]
dev/core#4282 Fix isShowMembershipBlock

As determined by Konadave & myself this
isShowMembershipBlock was always true when memberships were in
play in 5.60 - despite various code comments. I have renamed
& assigned it regardless of QuickConfig. Since it is
a condition of including the tpl & within it it already checks
the context I made the context check the top level check & removed the
isShowMembershipBlock check

21 months agoMerge pull request #26262 from MegaphoneJon/export-mapping-perms
Eileen McNaughton [Fri, 19 May 2023 02:38:16 +0000 (14:38 +1200)]
Merge pull request #26262 from MegaphoneJon/export-mapping-perms

Create export mappings without admin perms

21 months agoEnotice fix on frontend_title
Eileen McNaughton [Fri, 19 May 2023 02:28:23 +0000 (14:28 +1200)]
Enotice fix on frontend_title

21 months agoRemove BOM from Registration.hlp
larssandergreen [Fri, 19 May 2023 02:26:27 +0000 (20:26 -0600)]
Remove BOM from Registration.hlp

21 months agoRemove unused variable from previously-shared function
Eileen McNaughton [Fri, 19 May 2023 01:37:49 +0000 (13:37 +1200)]
Remove unused variable from previously-shared function

radioOptAttrs is set & unuset but never used - this makes sense as the
point of it is to about adding options to a field on the Main
contribution page - which no longer shares this function.

21 months agoMerge pull request #26263 from eileenmcnaughton/fee_zero
Seamus Lee [Fri, 19 May 2023 00:58:41 +0000 (10:58 +1000)]
Merge pull request #26263 from eileenmcnaughton/fee_zero

dev/core#3805 Fix handling of minimum_fee token when not set

21 months agoUse balanceAmount token to remove isset in offline_event
Eileen McNaughton [Sun, 14 May 2023 00:52:16 +0000 (12:52 +1200)]
Use balanceAmount token to remove isset in offline_event

21 months ago(REF) sql - Move `civicrm_data` support files to subdir
Tim Otten [Fri, 19 May 2023 00:22:12 +0000 (17:22 -0700)]
(REF) sql - Move `civicrm_data` support files to subdir

I'd like to move more of the `civicrm_data` into separate files.  But it's
going to get rather messy if we add all those files directly to `./sql/`.

21 months agodev/core#3805 Fix handling of minimum_fee token when not set
Eileen McNaughton [Thu, 18 May 2023 23:44:35 +0000 (11:44 +1200)]
dev/core#3805 Fix handling of minimum_fee token when not set

21 months agoMerge pull request #26254 from eileenmcnaughton/balance
colemanw [Thu, 18 May 2023 22:18:48 +0000 (18:18 -0400)]
Merge pull request #26254 from eileenmcnaughton/balance

Fix token boolean filter to work with money & use in templates

21 months agoMerge pull request #26164 from demeritcowboy/windows-help
Seamus Lee [Thu, 18 May 2023 21:52:53 +0000 (07:52 +1000)]
Merge pull request #26164 from demeritcowboy/windows-help

dev/core#4281 - Fix help bubbles on windows when file param not specified

21 months agoMerge pull request #26251 from colemanw/fixHtmlCoding
Seamus Lee [Thu, 18 May 2023 21:50:01 +0000 (07:50 +1000)]
Merge pull request #26251 from colemanw/fixHtmlCoding

APIv4 - Fix html encoding of rich-text fields

21 months agoMerge pull request #26245 from totten/master-exp-data
Tim Otten [Thu, 18 May 2023 21:34:46 +0000 (14:34 -0700)]
Merge pull request #26245 from totten/master-exp-data

(REF) civicrm_data.tpl - Split option-groups into many PHP files

21 months agoCreate export mappings without admin perms
Jon Goldberg [Thu, 18 May 2023 19:22:25 +0000 (15:22 -0400)]
Create export mappings without admin perms

21 months agoMerge pull request #26257 from larssandergreen/Remove-unneeded-field-description...
colemanw [Thu, 18 May 2023 16:05:26 +0000 (12:05 -0400)]
Merge pull request #26257 from larssandergreen/Remove-unneeded-field-description-clutter

Remove unneeded descriptions or replace with help text from Edit Contribution Page & Event

21 months agoRemove unneeded descriptions or replace with help text
larssandergreen [Thu, 18 May 2023 14:51:25 +0000 (08:51 -0600)]
Remove unneeded descriptions or replace with help text

21 months agoMerge pull request #26258 from eileenmcnaughton/is_primary
Yashodha Chaku [Thu, 18 May 2023 13:38:18 +0000 (19:08 +0530)]
Merge pull request #26258 from eileenmcnaughton/is_primary

Stop assigning variables removed from core templates in 2019

21 months ago(REF) Move comparator somewhere better. Tighten visibility.
Tim Otten [Thu, 18 May 2023 07:14:41 +0000 (00:14 -0700)]
(REF) Move comparator somewhere better. Tighten visibility.

21 months ago(REF) Remove duplicates
Tim Otten [Thu, 18 May 2023 05:58:58 +0000 (22:58 -0700)]
(REF) Remove duplicates

21 months ago(REF) civicrm_option_groups - Use key-value-tree for messy OGs
Tim Otten [Thu, 18 May 2023 06:34:29 +0000 (23:34 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for messy OGs

21 months ago(REF) civicrm_option_groups - Use key-value-tree for activity_type
Tim Otten [Thu, 18 May 2023 05:26:54 +0000 (22:26 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for activity_type

21 months ago(REF) civicrm_option_groups - Use key-value-tree for messy OGs
Tim Otten [Thu, 18 May 2023 04:37:57 +0000 (21:37 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for messy OGs

21 months ago(REF) civicrm_option_groups - Small simplifications
Tim Otten [Thu, 18 May 2023 04:10:16 +0000 (21:10 -0700)]
(REF) civicrm_option_groups - Small simplifications

21 months ago(REF) CRM_Core_CodeGen_OptionGroup - Implement addValues($rows). More docblocks.
Tim Otten [Wed, 17 May 2023 22:46:59 +0000 (15:46 -0700)]
(REF) CRM_Core_CodeGen_OptionGroup - Implement addValues($rows). More docblocks.

21 months ago(REF) CRM_Core_CodeGen_OptionGroup - Rename 'addValues($header, $rows)' to 'addValueT...
Tim Otten [Wed, 17 May 2023 19:42:50 +0000 (12:42 -0700)]
(REF) CRM_Core_CodeGen_OptionGroup - Rename 'addValues($header, $rows)' to 'addValueTable($header, $rows)'

21 months agoFixup ts() for bug-level consistency
Tim Otten [Wed, 17 May 2023 19:39:57 +0000 (12:39 -0700)]
Fixup ts() for bug-level consistency

21 months agoFixup ts() accept_card, preferred_communication_method
Tim Otten [Wed, 17 May 2023 19:36:32 +0000 (12:36 -0700)]
Fixup ts() accept_card, preferred_communication_method

21 months agoStop assigning variables removed from core templates in 2019
Eileen McNaughton [Thu, 18 May 2023 05:59:07 +0000 (17:59 +1200)]
Stop assigning variables removed from core templates in 2019

These were removed back in 2019. They were there to control whether
billingName showed up - which would not be the worst thing
for any sites that had not touched their templates in 4 years but
I added a prompt to the 2 relevant templates if they ARE still
there

https://github.com/civicrm/civicrm-core/commit/c6c66ed70bdb125304c395a9655505801145ec3b

21 months agoMerge pull request #26256 from colemanw/extensionNamespaces
Seamus Lee [Thu, 18 May 2023 02:52:51 +0000 (12:52 +1000)]
Merge pull request #26256 from colemanw/extensionNamespaces

dev/core#3961 - Modify psr-0 namespaces of component extensions to match core

21 months agoMerge pull request #26255 from eileenmcnaughton/weight_links
colemanw [Thu, 18 May 2023 02:15:41 +0000 (22:15 -0400)]
Merge pull request #26255 from eileenmcnaughton/weight_links

Add is_active to link spec

21 months agoMerge pull request #26211 from larssandergreen/export-dates-from-SK-in-ISO-format
colemanw [Thu, 18 May 2023 01:49:09 +0000 (21:49 -0400)]
Merge pull request #26211 from larssandergreen/export-dates-from-SK-in-ISO-format

dev/core#4031 Export dates from SearchKit to spreadsheet in SQL format

21 months agodev/core#3961 - Modify psr-0 namespaces of component extensions to match core
colemanw [Thu, 18 May 2023 01:40:50 +0000 (21:40 -0400)]
dev/core#3961 - Modify psr-0 namespaces of component extensions to match core

21 months agoExport dates from SK Download Spreadsheet in SQL format
larssandergreen [Thu, 18 May 2023 00:53:10 +0000 (18:53 -0600)]
Export dates from SK Download Spreadsheet in SQL format

21 months agoExport dates from SK Download Spreadsheet in SQL format
larssandergreen [Thu, 18 May 2023 00:06:29 +0000 (18:06 -0600)]
Export dates from SK Download Spreadsheet in SQL format

21 months agoMerge pull request #26216 from eileenmcnaughton/event_tokens
Seamus Lee [Wed, 17 May 2023 23:52:29 +0000 (09:52 +1000)]
Merge pull request #26216 from eileenmcnaughton/event_tokens

Additional event tokens

21 months agoFix token boolean filter to work with money & use in templates
Eileen McNaughton [Wed, 17 May 2023 22:12:21 +0000 (10:12 +1200)]
Fix token boolean filter to work with money & use in templates

The |raw comparison is quite confusing because it compares to 0.00
& we are otherwise using the |boolean increasingly

21 months agoAdd is_active to link spec
Eileen McNaughton [Wed, 17 May 2023 23:41:25 +0000 (11:41 +1200)]
Add is_active to link spec

In the process of adding weights to the links it
occurred to me that it might be cleaner in some cases for
hooks to fiddle with 'is_active' rather than setting &
unsetting.

An example would be that instead of excluding
a link that our core code thinks should not be available
we could include it with is_active = FALSE &
a hook could enable it.

I figured if it I add it now then while adding weights I could
bank it in too

21 months agoMerge pull request #26250 from eileenmcnaughton/weight_linke
Eileen McNaughton [Wed, 17 May 2023 21:59:11 +0000 (09:59 +1200)]
Merge pull request #26250 from eileenmcnaughton/weight_linke

Add a couple more weights

21 months agoMerge pull request #26200 from samuelsov/groupparents
Eileen McNaughton [Wed, 17 May 2023 21:36:34 +0000 (09:36 +1200)]
Merge pull request #26200 from samuelsov/groupparents

Following PR-25994 and PR-26074

21 months agoMerge pull request #26253 from civicrm/5.62
Eileen McNaughton [Wed, 17 May 2023 21:33:26 +0000 (09:33 +1200)]
Merge pull request #26253 from civicrm/5.62

5.62

21 months agoAdd a couple more weights
Eileen McNaughton [Wed, 17 May 2023 19:58:43 +0000 (07:58 +1200)]
Add a couple more weights

21 months agoMerge pull request #26252 from demeritcowboy/missing-help
Eileen McNaughton [Wed, 17 May 2023 21:13:56 +0000 (09:13 +1200)]
Merge pull request #26252 from demeritcowboy/missing-help

Import help text gone missing

21 months agoAPIv4 - Fix html encoding of rich-text fields
colemanw [Wed, 17 May 2023 20:16:09 +0000 (16:16 -0400)]
APIv4 - Fix html encoding of rich-text fields

In ece8de2d2 this was fixed but only for APIv3, and with no unit test.
The previous fix also did not cover fields using "TextArea" as their input type,
even though they are allowed to store HTML.
This fixes for APIv4 and v3 and adds a test. and adds a test.

21 months agohelp gone missing
demeritcowboy [Wed, 17 May 2023 20:42:36 +0000 (16:42 -0400)]
help gone missing