larssandergreen [Fri, 19 May 2023 02:26:27 +0000 (20:26 -0600)]
Remove BOM from Registration.hlp
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
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
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
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
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
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
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
larssandergreen [Thu, 18 May 2023 14:51:25 +0000 (08:51 -0600)]
Remove unneeded descriptions or replace with help text
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
Tim Otten [Thu, 18 May 2023 07:14:41 +0000 (00:14 -0700)]
(REF) Move comparator somewhere better. Tighten visibility.
Tim Otten [Thu, 18 May 2023 05:58:58 +0000 (22:58 -0700)]
(REF) Remove duplicates
Tim Otten [Thu, 18 May 2023 06:34:29 +0000 (23:34 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for messy OGs
Tim Otten [Thu, 18 May 2023 05:26:54 +0000 (22:26 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for activity_type
Tim Otten [Thu, 18 May 2023 04:37:57 +0000 (21:37 -0700)]
(REF) civicrm_option_groups - Use key-value-tree for messy OGs
Tim Otten [Thu, 18 May 2023 04:10:16 +0000 (21:10 -0700)]
(REF) civicrm_option_groups - Small simplifications
Tim Otten [Wed, 17 May 2023 22:46:59 +0000 (15:46 -0700)]
(REF) CRM_Core_CodeGen_OptionGroup - Implement addValues($rows). More docblocks.
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)'
Tim Otten [Wed, 17 May 2023 19:39:57 +0000 (12:39 -0700)]
Fixup ts() for bug-level consistency
Tim Otten [Wed, 17 May 2023 19:36:32 +0000 (12:36 -0700)]
Fixup ts() accept_card, preferred_communication_method
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
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
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
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
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
larssandergreen [Thu, 18 May 2023 00:53:10 +0000 (18:53 -0600)]
Export 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
Seamus Lee [Wed, 17 May 2023 23:52:29 +0000 (09:52 +1000)]
Merge pull request #26216 from eileenmcnaughton/event_tokens
Additional event tokens
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
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
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
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
Eileen McNaughton [Wed, 17 May 2023 21:33:26 +0000 (09:33 +1200)]
Merge pull request #26253 from civicrm/5.62
5.62
Eileen McNaughton [Wed, 17 May 2023 19:58:43 +0000 (07:58 +1200)]
Add a couple more weights
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
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.
demeritcowboy [Wed, 17 May 2023 20:42:36 +0000 (16:42 -0400)]
help gone missing
demeritcowboy [Wed, 17 May 2023 18:01:53 +0000 (14:01 -0400)]
Merge pull request #26249 from larssandergreen/Remove-old-form-rule-on-/-in-page-titles-for-paypal
Remove form rule for Contribution Page and Event titles preventing /
demeritcowboy [Wed, 17 May 2023 17:59:01 +0000 (13:59 -0400)]
Merge pull request #26234 from eileenmcnaughton/deceased_token
Add deceased date token
larssandergreen [Wed, 17 May 2023 16:17:51 +0000 (10:17 -0600)]
Remove form rule for titles preventing /
colemanw [Wed, 17 May 2023 13:56:10 +0000 (09:56 -0400)]
Merge pull request #26244 from eileenmcnaughton/weight_linke
Add weight to a couple more links
Samuel Vanhove [Wed, 17 May 2023 13:53:41 +0000 (09:53 -0400)]
Non standard behavior when not providing parents + simplification
Tim Otten [Wed, 17 May 2023 11:16:10 +0000 (04:16 -0700)]
civicrm_data.tpl - Consolidate related {php} bits
Tim Otten [Wed, 17 May 2023 11:09:50 +0000 (04:09 -0700)]
Extract activity_default_assignee, entity_batch_extends, file_type
Tim Otten [Wed, 17 May 2023 11:06:09 +0000 (04:06 -0700)]
Extract contribution_recur_status, environment, pledge_status, relative_date_filters
Tim Otten [Wed, 17 May 2023 10:56:47 +0000 (03:56 -0700)]
Extract communication_style, contact_date_reminder_options, msg_mode, name_badge, wysiwyg_presets
Tim Otten [Wed, 17 May 2023 10:50:02 +0000 (03:50 -0700)]
Extract auto_renew_options, financial_account_type, financial_item_status, label_type, sms_api_type, sms_provider_name
Tim Otten [Wed, 17 May 2023 10:12:49 +0000 (03:12 -0700)]
Extract account_relationship, batch_mode, batch_status, batch_type, conference_slot, event_contacts,
Tim Otten [Wed, 17 May 2023 10:05:44 +0000 (03:05 -0700)]
Extract activity_contacts, label_format, pdf_format
Tim Otten [Wed, 17 May 2023 10:01:04 +0000 (03:01 -0700)]
Extract paper_size
Tim Otten [Wed, 17 May 2023 09:38:59 +0000 (02:38 -0700)]
Extract cg_extend_objects, engagement_index, mail_approval_status, system_extensions
Tim Otten [Wed, 17 May 2023 09:33:58 +0000 (02:33 -0700)]
Extract campaign_status, campaign_type, currencies_enabled, event_badge, note_privacy, civicrm_data.tpl
Tim Otten [Wed, 17 May 2023 09:10:02 +0000 (02:10 -0700)]
Extract addressee, contact_autocomplete_options, contact_reference_options, custom_data_type...
And also: email_greeting, mail_protocol, note_used_for, postal_greeting,
priority, redaction_rule, report_template, tag_used_for, visibility,
website_type
Tim Otten [Wed, 17 May 2023 09:00:10 +0000 (02:00 -0700)]
Extract case_status, case_type, from_email_address, mapping_type...
And also participant_listing phone_type, recur_frequency_units,
safe_file_extension, wysiwyg_editor
Tim Otten [Wed, 17 May 2023 08:47:09 +0000 (01:47 -0700)]
Extract activity_status, address_options, advanced_search_options, contact_edit_options, custom_search, group_type, user_dashboard_options
NOTE: ID change. Old insert had different orderings for OG and OV
Tim Otten [Wed, 17 May 2023 08:20:07 +0000 (01:20 -0700)]
Extract contact_smart_group_display, contact_view_options, contribution_status, event_type, participant_role, pcp_owner_notify, pcp_status,
Tim Otten [Wed, 17 May 2023 08:11:23 +0000 (01:11 -0700)]
Extract acl_role, accept_creditcard, payment_instrument
Tim Otten [Wed, 17 May 2023 08:04:30 +0000 (01:04 -0700)]
Extract individual_prefix, individual_suffix
Tim Otten [Wed, 17 May 2023 07:59:14 +0000 (00:59 -0700)]
Extract 'mobile_provider'
Tim Otten [Wed, 17 May 2023 07:56:30 +0000 (00:56 -0700)]
Extract instant_messenger_service OG
Tim Otten [Wed, 17 May 2023 07:34:12 +0000 (00:34 -0700)]
Extract gender OG
Tim Otten [Wed, 17 May 2023 06:42:25 +0000 (23:42 -0700)]
Change extension
Tim Otten [Wed, 17 May 2023 06:31:21 +0000 (23:31 -0700)]
WIP Continue splitting OG's into separate files
Tim Otten [Wed, 17 May 2023 06:27:23 +0000 (23:27 -0700)]
WIP Start splitting OG's into separate files
Tim Otten [Wed, 17 May 2023 06:09:24 +0000 (23:09 -0700)]
(WIP) sql/ - Convert OptionGroups from literal SQL to arrays/methods
Tim Otten [Wed, 17 May 2023 03:30:28 +0000 (20:30 -0700)]
(WIP) sql/ - Convert OptionGroups from literal SQL to arrays/methods
Tim Otten [Wed, 17 May 2023 10:34:44 +0000 (03:34 -0700)]
(REF) test_data_second_domain.mysql - Prepare to stop inheriting some vars
Tim Otten [Wed, 17 May 2023 10:35:42 +0000 (03:35 -0700)]
CRM_Utils_SQL - Allow escaping during pre-boot/testing
Tim Otten [Wed, 17 May 2023 02:10:59 +0000 (19:10 -0700)]
CRM_Utils_SQL - Add option `allowLiterals()` for building queries with literal SQL snippets
Tim Otten [Wed, 17 May 2023 02:04:14 +0000 (19:04 -0700)]
(REF) CRM_Utils_SQL - Extract common implementation of escapeString()
Eileen McNaughton [Wed, 17 May 2023 09:17:46 +0000 (21:17 +1200)]
Add weight to a couple more links
Eileen McNaughton [Wed, 17 May 2023 08:03:39 +0000 (20:03 +1200)]
Merge pull request #26241 from eileenmcnaughton/weight
Add some weights to menu link items
Eileen McNaughton [Wed, 17 May 2023 04:53:15 +0000 (16:53 +1200)]
Fix test to expect delete last
Also has some fixes to get away from undeclared property issues on
touched test & helpers
Eileen McNaughton [Wed, 17 May 2023 03:26:51 +0000 (15:26 +1200)]
Adjust weights so link order is inchanged
Eileen McNaughton [Tue, 16 May 2023 22:32:20 +0000 (10:32 +1200)]
Add some weights
Eileen McNaughton [Tue, 16 May 2023 06:42:02 +0000 (18:42 +1200)]
Add deceased date token
Per https://github.com/eileenmcnaughton/nz.co.fuzion.civitoken/issues/63
Eileen McNaughton [Wed, 17 May 2023 04:58:38 +0000 (16:58 +1200)]
Merge pull request #26242 from civicrm/5.62
5.62
Seamus Lee [Wed, 17 May 2023 04:04:02 +0000 (14:04 +1000)]
Merge pull request #26193 from eileenmcnaughton/member
Fix code handling to pre-5.61 for membership block
colemanw [Wed, 17 May 2023 03:06:55 +0000 (23:06 -0400)]
Merge pull request #26240 from civicrm/5.62
5.62
Seamus Lee [Wed, 17 May 2023 01:01:26 +0000 (11:01 +1000)]
Merge pull request #26239 from totten/5.62-uninstall
setup - Fix uninstall on MySQL 8.0
colemanw [Wed, 17 May 2023 00:24:02 +0000 (20:24 -0400)]
Merge pull request #26233 from eileenmcnaughton/weight
Add weight to links spec
Tim Otten [Tue, 16 May 2023 23:56:18 +0000 (16:56 -0700)]
setup - Fix uninstall on MySQL 8.0
Overview
--------
Fix a bug with uninstalling or reinstalling via cv (`cv core:uninstall` or `cv core:install -f`) on MySQL 8.0.
Before
------
On MySQL 8.0, it fails - because all table-names appear as null.
It's looking for a result column named `table_name` but actually receives `TABLE_NAME`.
After
-----
Doesn't matter if the column is called `table_name` or `TABLE_NAME`.
Eileen McNaughton [Tue, 16 May 2023 23:25:20 +0000 (11:25 +1200)]
Merge pull request #26238 from eileenmcnaughton/part_public
Notice fix on edit Household
Eileen McNaughton [Tue, 16 May 2023 22:33:39 +0000 (10:33 +1200)]
Notice fix on edit Household
Eileen McNaughton [Tue, 16 May 2023 06:14:39 +0000 (18:14 +1200)]
Add weight to links spec
This allows a weight to be set & for it to alter the order.
It is a bit hard to know whether to add weights to existing ones as
it would be a lot to do all of them - but I did hear a specific request
(can't recall who from) to have Delete last to reduce mis-clicks
and with the View & Edit declared in the same place
I felt I should add them with low values for some sort of consistency
This would mess with people who have implemented weight in a hook - but
probably any change is low impact & an easy-ish fix
Note that I will update docs once agreed
colemanw [Tue, 16 May 2023 16:23:15 +0000 (12:23 -0400)]
Merge pull request #26235 from ufundo/getsearchtasks-qfkey-for-page-callback
dev/core#4295 SearchKit: check controller class for qfKey when loading legacy search actions for contributions
benjamin [Tue, 16 May 2023 15:02:31 +0000 (16:02 +0100)]
check route callback for generating qfkey
colemanw [Tue, 16 May 2023 15:04:01 +0000 (11:04 -0400)]
Merge pull request #26214 from larssandergreen/Improve-slow-download-from-SearchKit-results
Speed up Download Spreadsheet from SearchKit results
larssandergreen [Tue, 16 May 2023 14:18:53 +0000 (08:18 -0600)]
Improve-slow-download-from-SearchKit-results
Eileen McNaughton [Tue, 16 May 2023 06:49:00 +0000 (18:49 +1200)]
Merge pull request #26230 from colemanw/contributionUpgrade
Upgrader - Use generic (non-api4) code in upgrader
colemanw [Tue, 16 May 2023 01:30:32 +0000 (21:30 -0400)]
Upgrader - Use generic (non-api4) code in upgrader
This was causing issues with https://github.com/civicrm/civicrm-core/pull/26208
because the Contribution API is no longer available without enabling the
civi_contribute extension, which doesn't happen until a later upgrade step.
colemanw [Tue, 16 May 2023 02:11:54 +0000 (22:11 -0400)]
Merge pull request #26068 from colemanw/arrayOperators
dev/core#1321 - SearchKit - Limit operator list for array fields
Matthew Wire [Mon, 15 May 2023 19:48:37 +0000 (20:48 +0100)]
Merge pull request #26223 from eileenmcnaughton/participant_sent
Clarify sent & not sent variables
Eileen McNaughton [Sun, 14 May 2023 01:09:18 +0000 (13:09 +1200)]
Additional event tokens
demeritcowboy [Mon, 15 May 2023 15:42:43 +0000 (11:42 -0400)]
Merge pull request #26225 from olayiwola-compucorp/addNameToContributor
Added Olayiwola Odunsi to contributor-key.yml
olayiwola-compucorp [Mon, 15 May 2023 14:51:19 +0000 (15:51 +0100)]
Added Olayiwola Odunsi to contributor-key.yml
demeritcowboy [Mon, 15 May 2023 14:40:24 +0000 (10:40 -0400)]
Merge pull request #26196 from seamuslee001/skip_vendor_old_files_non_civi_vendor
[REF] dev/core#1777 - Skip checking vendor provided orphaned files if the vendor directory is not within the CiviCRM root
demeritcowboy [Mon, 15 May 2023 14:38:23 +0000 (10:38 -0400)]
Merge pull request #26145 from olayiwola-compucorp/changeContributionDateLabel
dev/core#1403 - CRM/Contribute - Change "Date Received" to "Contribution Date"
Eileen McNaughton [Mon, 15 May 2023 13:20:59 +0000 (01:20 +1200)]
Clarify send & not sent variables
Its silly to pass an array around just to have it finally counted...
Matthew Wire [Mon, 15 May 2023 12:37:53 +0000 (13:37 +0100)]
Merge pull request #26221 from eileenmcnaughton/part_public
Make some internal functions protected