Eileen McNaughton [Tue, 19 Sep 2023 20:43:29 +0000 (08:43 +1200)]
Merge pull request #27520 from colemanw/dfk
APIv4 - Add dfk metadata to getfields
colemanw [Tue, 19 Sep 2023 20:34:59 +0000 (16:34 -0400)]
Merge pull request #27476 from eileenmcnaughton/part_amounts
Add test cover, use token for `event.is_share`
colemanw [Tue, 19 Sep 2023 18:56:16 +0000 (14:56 -0400)]
APIv4 - Hack around bad dfk metadata in unit tests
colemanw [Tue, 19 Sep 2023 16:07:48 +0000 (12:07 -0400)]
APIv4 - Add dfk metadata to getfields
(mostly) fixes some bad guesswork in the APIv4 conformance test,
and now the dfk_entities metadata is available in getFields
colemanw [Tue, 19 Sep 2023 16:22:36 +0000 (12:22 -0400)]
Merge pull request #27487 from eileenmcnaughton/pay_later
Fix notices in text versions of event receipts
colemanw [Tue, 19 Sep 2023 15:35:26 +0000 (11:35 -0400)]
Merge pull request #27517 from eileenmcnaughton/custom_param
Move nasty chunk of code to where it is used
demeritcowboy [Tue, 19 Sep 2023 12:47:52 +0000 (08:47 -0400)]
Merge pull request #27516 from eileenmcnaughton/participant82
Php8.x Fix notices when creating custom field
Eileen McNaughton [Tue, 19 Sep 2023 10:36:17 +0000 (22:36 +1200)]
Move nasty chunk of code to where it is used
This code to get the customFields array is tough going. I haven't unravelled it, just moved it from being
figured out in one function & used in another such that it is figured out in the
chunk of code it is used in.
This will probably fix some php 8.2 tests because rather than all tests
hitting it only those that actually have custom fields + receipts do.
It's a bit of a fake win but it will reduce fails & make further cleanup easier
Eileen McNaughton [Tue, 19 Sep 2023 10:23:45 +0000 (22:23 +1200)]
Php8.x Fix notices when creating custom field
Eileen McNaughton [Tue, 19 Sep 2023 09:15:57 +0000 (21:15 +1200)]
Merge pull request #27514 from eileenmcnaughton/regen
Run regen
Eileen McNaughton [Tue, 19 Sep 2023 08:38:27 +0000 (20:38 +1200)]
Run regen
Eileen McNaughton [Tue, 19 Sep 2023 06:06:40 +0000 (18:06 +1200)]
Merge pull request #27510 from totten/master-event-dao
Regenerate CRM_Event_DAO_Event
Eileen McNaughton [Mon, 18 Sep 2023 09:56:32 +0000 (21:56 +1200)]
Fix notices in text versions of event receipts
Pretty minor change but gets past the notices
Tim Otten [Tue, 19 Sep 2023 04:29:17 +0000 (21:29 -0700)]
Regenerate CRM_Event_DAO_Event
Recently changed by #27478
colemanw [Tue, 19 Sep 2023 02:28:46 +0000 (22:28 -0400)]
Merge pull request #27478 from eileenmcnaughton/carty
Move Conference slots functionality to event cart
colemanw [Tue, 19 Sep 2023 02:24:55 +0000 (22:24 -0400)]
Merge pull request #27482 from eileenmcnaughton/show_cms
Consolidate Profile Preview with other profile code
colemanw [Tue, 19 Sep 2023 02:22:32 +0000 (22:22 -0400)]
Merge pull request #27488 from eileenmcnaughton/event_notice_custom_post
php 8.x Ensure profiles are assigned to template, even when empty
colemanw [Tue, 19 Sep 2023 01:57:35 +0000 (21:57 -0400)]
Merge pull request #27497 from eileenmcnaughton/sessions_offline
Remove event cart sessions handling from offline event receipt text as gone from html
Eileen McNaughton [Tue, 19 Sep 2023 01:53:35 +0000 (13:53 +1200)]
Merge pull request #27502 from eileenmcnaughton/legacy
Fix legacy custom searches to not use hacky method to access protected property on core class
Eileen McNaughton [Tue, 19 Sep 2023 01:53:17 +0000 (13:53 +1200)]
Merge pull request #27509 from eileenmcnaughton/renew
php8.2 stop using yet-another undeclared property for _membershipId.
colemanw [Tue, 19 Sep 2023 01:49:50 +0000 (21:49 -0400)]
Merge pull request #27503 from eileenmcnaughton/getvar
Add deprecation annotations for getVar & setVar
Eileen McNaughton [Tue, 19 Sep 2023 01:39:12 +0000 (13:39 +1200)]
Merge pull request #27508 from civicrm/5.66
5.66
colemanw [Tue, 19 Sep 2023 01:31:53 +0000 (21:31 -0400)]
Merge pull request #27507 from eileenmcnaughton/survey
Remove getVar call, access protected property in same class directly
Eileen McNaughton [Tue, 19 Sep 2023 00:48:02 +0000 (12:48 +1200)]
php8.2 stop using yet-another undeclared property for _membershipId.
Instead follow our new practice of having consistent (externally supported)
functions for getting the main id variables
Tim Otten [Tue, 19 Sep 2023 00:30:28 +0000 (17:30 -0700)]
Merge pull request #27475 from totten/5.66-comp-status
Status Check - Ensure that components are enabled
Eileen McNaughton [Tue, 19 Sep 2023 00:26:50 +0000 (12:26 +1200)]
Remove getVar call, access protected property in same class directly
Eileen McNaughton [Tue, 19 Sep 2023 00:23:47 +0000 (12:23 +1200)]
Merge pull request #27494 from agh1/5.66.0-releasenotes-initial
5.66.0 release notes initial run
Eileen McNaughton [Tue, 19 Sep 2023 00:23:24 +0000 (12:23 +1200)]
Merge pull request #27499 from mlutfy/cleanupAndSend
[NFC] Mail Logger: cleanup CIVICRM_MAIL_LOG_AND SEND
Eileen McNaughton [Mon, 18 Sep 2023 23:58:30 +0000 (11:58 +1200)]
Fix legacy custom searches to not use hacky method to access protected property on core class
This avoids passing the form object to a function simply to extract the
links value & instead only calls the form object is it actually implements
the links function - which they basically don't...
This still works - ie I checked the actions are still available in custom searches
but respects the principle that protected variables are not public
Eileen McNaughton [Tue, 19 Sep 2023 00:07:18 +0000 (12:07 +1200)]
Merge pull request #27504 from civicrm/5.66
5.66 to master
Eileen McNaughton [Tue, 19 Sep 2023 00:06:37 +0000 (12:06 +1200)]
Merge pull request #27501 from eileenmcnaughton/weight
Add a couple more weights - legacy searches
Eileen McNaughton [Tue, 19 Sep 2023 00:04:01 +0000 (12:04 +1200)]
Add deprecation annotations for getVar & setVar
Eileen McNaughton [Mon, 18 Sep 2023 23:30:12 +0000 (11:30 +1200)]
Add a couple more weights - legacy searches
Eileen McNaughton [Mon, 18 Sep 2023 23:10:16 +0000 (11:10 +1200)]
Merge pull request #27500 from civicrm/5.66
5.66 to master
Eileen McNaughton [Mon, 18 Sep 2023 23:09:45 +0000 (11:09 +1200)]
Merge pull request #27492 from pradpnayak/entitybatch
make grouptree protected so that it can be accessed via hook
Mathieu Lu [Mon, 18 Sep 2023 22:58:39 +0000 (18:58 -0400)]
Mail Logger: cleanup CIVICRM_MAIL_LOG_AND SEND
colemanw [Mon, 18 Sep 2023 22:35:22 +0000 (18:35 -0400)]
Merge pull request #27481 from totten/5.66-upg-comp-timing
(dev/core#4521) Upgrader - Enable component-extensions before system-flush
Seamus Lee [Mon, 18 Sep 2023 22:23:59 +0000 (08:23 +1000)]
Merge pull request #27485 from eileenmcnaughton/payment_fields
[php 8.2] Declare _paymentFields with public visibility
Pradeep Nayak [Mon, 18 Sep 2023 15:05:48 +0000 (16:05 +0100)]
make grouptree protected so that it can be accessed via hook
Eileen McNaughton [Mon, 18 Sep 2023 21:54:09 +0000 (09:54 +1200)]
Remove event cart sessions handling from offline event receipt text as gone from html
demeritcowboy [Mon, 18 Sep 2023 21:38:18 +0000 (17:38 -0400)]
Merge pull request #27490 from eileenmcnaughton/activity_report
php 8.2, ensure properties are declared on activity report
colemanw [Mon, 18 Sep 2023 19:55:19 +0000 (15:55 -0400)]
Merge pull request #27480 from eileenmcnaughton/templates
Add some missing weights
John Kingsnorth [Mon, 18 Sep 2023 14:55:49 +0000 (15:55 +0100)]
Exclude inactive groups on recipient lists
colemanw [Mon, 18 Sep 2023 19:19:16 +0000 (15:19 -0400)]
Merge pull request #27491 from JKingsnorth/patch-21
Exclude inactive groups on recipient lists for mailings
colemanw [Mon, 18 Sep 2023 19:18:00 +0000 (15:18 -0400)]
Merge pull request #27489 from eileenmcnaughton/payment_block
Fix last notices on Online event registration by removing variables
Andie Hunt [Mon, 18 Sep 2023 19:12:20 +0000 (15:12 -0400)]
5.66.0 release notes: added boilerplate
Andie Hunt [Mon, 18 Sep 2023 19:08:53 +0000 (15:08 -0400)]
5.66.0 release notes: raw from script
colemanw [Mon, 18 Sep 2023 16:48:42 +0000 (12:48 -0400)]
Merge pull request #27461 from colemanw/colType
SearchKit - Add crm-search-col-type-* css classes
colemanw [Mon, 18 Sep 2023 15:39:11 +0000 (11:39 -0400)]
Merge pull request #27477 from eileenmcnaughton/confirm
Deprecate Form_Event::testSubmit, migrate test to full flow
John Kingsnorth [Mon, 18 Sep 2023 14:55:49 +0000 (15:55 +0100)]
Exclude inactive groups on recipient lists
Eileen McNaughton [Mon, 18 Sep 2023 10:47:07 +0000 (22:47 +1200)]
php 8.2, ensure properties are declared on activity report
Eileen McNaughton [Mon, 18 Sep 2023 10:32:01 +0000 (22:32 +1200)]
Fix last notices on Online event registration by removing variables
I hunted through to see why these variables are assigned
and they pre-date the switch to load the payment block from the
CRM_Financial_Form_Payment
There is no evidence of that form looking them up in
any way - so I think they can go....
https://github.com/civicrm/civicrm-core/commit/
aaff4c697d6f94f01f5dacf5a3d876a95e50f5cb#diff-
660258b71b4d1db49bdef38c7b3fcb4b698004ab39b57dcbd49083e256444272
Eileen McNaughton [Mon, 18 Sep 2023 10:23:42 +0000 (22:23 +1200)]
Ensure profiles are assigned to template, even when empty
Eileen McNaughton [Mon, 18 Sep 2023 07:33:55 +0000 (19:33 +1200)]
Declare _paymentFields with public visibility
Eileen McNaughton [Mon, 18 Sep 2023 06:23:41 +0000 (18:23 +1200)]
Consolicate Profile Preview with other profile code
Eileen McNaughton [Mon, 18 Sep 2023 05:06:22 +0000 (17:06 +1200)]
Add some missing weights
Eileen McNaughton [Mon, 18 Sep 2023 04:56:43 +0000 (16:56 +1200)]
Jenkins rejected the deprecated function in the style check
Eileen McNaughton [Mon, 18 Sep 2023 02:03:26 +0000 (14:03 +1200)]
Deprecate Form_Event::testSubmit, migrate test to full clow
In the procss I looked at what the test is actually testing & the goal of the test is ensure the
doPayment contract is met, specifically regarding contactID
https://docs.civicrm.org/dev/en/latest/extensions/payment-processors/create/#getpaymentformfields
I updated the test to use the alterPaymentProcessorParams hook to actually check for that.
Tim Otten [Mon, 18 Sep 2023 04:13:41 +0000 (21:13 -0700)]
Upgrader - 5.63 upgrade should use simple extension installation
Tim Otten [Mon, 18 Sep 2023 04:13:20 +0000 (21:13 -0700)]
Upgrader - Multiple fixes for new enableSimpleExtension()
Tim Otten [Mon, 18 Sep 2023 01:41:31 +0000 (18:41 -0700)]
Upgrader - Implement addSimpleExtensionTask(). Update docblocks.
Eileen McNaughton [Mon, 18 Sep 2023 04:03:57 +0000 (16:03 +1200)]
Move Conference slots functionality to event cart
Eileen McNaughton [Mon, 18 Sep 2023 03:29:50 +0000 (15:29 +1200)]
Merge pull request #27469 from eileenmcnaughton/no_event_cart
Stop enabling event_cart on new installs
demeritcowboy [Mon, 18 Sep 2023 01:25:00 +0000 (21:25 -0400)]
Merge pull request #27456 from eileenmcnaughton/user_email
PHP8.2 Remove undefined property userName
colemanw [Fri, 8 Sep 2023 12:59:14 +0000 (08:59 -0400)]
Add enableSimpleExtension upgrade function
Eileen McNaughton [Sun, 17 Sep 2023 22:25:34 +0000 (10:25 +1200)]
Stop enabling event_cart on new installs
Although we have not fully extracted this, it seems that disabling does not
cause any errors, so it makes sense to stop enabling. Once we have been running
like this on our dev & demo sites for a while we can disable it
for any existing sites that do not have
event cart enabled
Eileen McNaughton [Mon, 18 Sep 2023 00:11:06 +0000 (12:11 +1200)]
Add test cover, use token for event.is_share
Also fix a couple of places where is_monetary is using the smarty variable.
We have updated & tested is_monetary elsewhere
Eileen McNaughton [Mon, 18 Sep 2023 00:13:17 +0000 (12:13 +1200)]
Merge pull request #27473 from eileenmcnaughton/style
Rename locally assigned variable for clarity
Tim Otten [Sun, 17 Sep 2023 23:42:03 +0000 (16:42 -0700)]
Status Check - Ensure that components are enabled
Eileen McNaughton [Sun, 17 Sep 2023 23:30:24 +0000 (11:30 +1200)]
Rename locally assigned variable for clarity
Eileen McNaughton [Fri, 15 Sep 2023 23:35:35 +0000 (11:35 +1200)]
Remove undefined property userName
This is causing issues on a bunch of classes - but in fact
is only used on the ContributionForm
Eileen McNaughton [Sun, 17 Sep 2023 22:54:46 +0000 (10:54 +1200)]
Merge pull request #27468 from eileenmcnaughton/contribution_json
Hardened smarty - fix mishandling of json
colemanw [Sun, 17 Sep 2023 22:50:19 +0000 (18:50 -0400)]
Merge pull request #27467 from eileenmcnaughton/contribution_trivia
Superficial tidy up in backoffice contribution form
Eileen McNaughton [Sun, 17 Sep 2023 22:23:33 +0000 (10:23 +1200)]
Merge pull request #27466 from eileenmcnaughton/part_
Fix test template to use the same tokens as the templates
Eileen McNaughton [Sun, 17 Sep 2023 22:21:54 +0000 (10:21 +1200)]
Hardened smarty - fix mishandling of json
Eileen McNaughton [Sun, 17 Sep 2023 22:13:33 +0000 (10:13 +1200)]
Superficial tidy up in backoffice contribution form
Eileen McNaughton [Sun, 17 Sep 2023 21:29:14 +0000 (09:29 +1200)]
Fix template to use the same tokens as the templates
demeritcowboy [Sun, 17 Sep 2023 19:03:12 +0000 (15:03 -0400)]
Merge pull request #27465 from civicrm/5.66
5.66
demeritcowboy [Sun, 17 Sep 2023 18:12:55 +0000 (14:12 -0400)]
Merge pull request #27464 from demeritcowboy/oh-snap
Upgrade - don't crash on earlier versions of mariadb
demeritcowboy [Sun, 17 Sep 2023 17:27:00 +0000 (13:27 -0400)]
don't crash on earlier versions
demeritcowboy [Sun, 17 Sep 2023 17:00:48 +0000 (13:00 -0400)]
Merge pull request #27462 from demeritcowboy/dao
DAO out of date
demeritcowboy [Sun, 17 Sep 2023 17:00:37 +0000 (13:00 -0400)]
Merge pull request #27463 from demeritcowboy/regexp
[NFC] phpunit 9 compatibility
demeritcowboy [Sun, 17 Sep 2023 14:23:12 +0000 (10:23 -0400)]
regexp
demeritcowboy [Sun, 17 Sep 2023 14:11:36 +0000 (10:11 -0400)]
dao out of date
Tim Otten [Sun, 17 Sep 2023 07:19:19 +0000 (00:19 -0700)]
Merge pull request #27460 from braders/scheduled-job-dynamic-properties
[REF][PHP8.2] Tidy up properties in scheduled jobs
colemanw [Sun, 17 Sep 2023 02:55:17 +0000 (22:55 -0400)]
Merge pull request #27455 from eileenmcnaughton/conf
php 8.x Remove conference sessions from core workflow messages
colemanw [Sun, 17 Sep 2023 02:54:12 +0000 (22:54 -0400)]
Merge pull request #27458 from eileenmcnaughton/online_more
php 8 / notices Fix online event receipt to use the same location tokens as offline
colemanw [Sun, 17 Sep 2023 02:50:36 +0000 (22:50 -0400)]
SearchKit - Add crm-search-col-type-* css classes
Eileen McNaughton [Sat, 16 Sep 2023 03:35:55 +0000 (15:35 +1200)]
Use token for event ID
Eileen McNaughton [Sat, 16 Sep 2023 03:26:39 +0000 (15:26 +1200)]
Fix online event receipt to use the same location tokens as offline
Eileen McNaughton [Fri, 15 Sep 2023 23:08:07 +0000 (11:08 +1200)]
Remove conference sessions from core workflow messages
These cause notices is some circumstance and it seems to make more
sense to remove than support them.
They are only available to be configured when the Event Cart is in play so
it's not clear it makes sense to fix core code for them
The Event cart is kinda on it's way out & I don't think it makes sense
to maintain conference sessions in the core templates to support this
extension which despite many attempts has never had much use & has always
been somewhat broken AFAIK.
Note that this change would affect sites with non-customised templates
but in time I think we would either move the assign to the cart or stop
assigning it
Also not the goal is to provide event-cart type functionality via form
builder
colemanw [Sat, 16 Sep 2023 14:15:07 +0000 (10:15 -0400)]
Merge pull request #27457 from eileenmcnaughton/online
Whitespace clean up on event online receipt
colemanw [Sat, 16 Sep 2023 14:12:18 +0000 (10:12 -0400)]
Merge pull request #27232 from artfulrobot/artfulrobot-add-smart-group-profiler
Add simple smart group profiler
Bradley Taylor [Sat, 16 Sep 2023 10:14:32 +0000 (11:14 +0100)]
[REF][PHP8.2] Tidy up properties in scheduled jobs
Eileen McNaughton [Sat, 16 Sep 2023 02:57:42 +0000 (14:57 +1200)]
Whitespace clean up on event online receipt
Rich Lott [Sat, 16 Sep 2023 07:29:45 +0000 (08:29 +0100)]
Update xml/schema/Contact/Group.xml
Co-authored-by: colemanw <coleman@civicrm.org>
Rich Lott / Artful Robot [Sat, 16 Sep 2023 07:27:28 +0000 (08:27 +0100)]
Move from 5.66 to 5.67
Rich Lott / Artful Robot [Wed, 6 Sep 2023 08:58:15 +0000 (09:58 +0100)]
Move cache_fill_took to float/double; only update when there's a good value
Rich Lott / Artful Robot [Sun, 3 Sep 2023 07:14:53 +0000 (08:14 +0100)]
Change xml added and upgrader from 5.65 to 5.66
Rich Lott / Artful Robot [Fri, 1 Sep 2023 08:50:19 +0000 (09:50 +0100)]
Move to using CRM_Utils_Constant for CIVICRM_SLOW_SMART_GROUP_SECONDS