eileen [Sun, 14 Feb 2021 23:23:58 +0000 (12:23 +1300)]
dev/mail#89 Fix unreleased regression where civimember is not permitted/enabled
Fixes a bug where a person with no access to CiviMember will get an exception thrown (and
not caught) rather than receive a result of 0 when checking the memberships
that a contact has access to
Eileen McNaughton [Fri, 5 Feb 2021 23:42:45 +0000 (12:42 +1300)]
Merge pull request #19546 from colemanw/labelField
APIv4 - Fix label_field to use underscore instead of camelCase
Coleman Watts [Fri, 5 Feb 2021 20:36:26 +0000 (15:36 -0500)]
APIv4 - Fix label_field to use underscore instead of camelCase
Seamus Lee [Thu, 4 Feb 2021 21:55:06 +0000 (08:55 +1100)]
Merge pull request #19529 from agh1/5.35.0-releasenotes-initial
5.35.0 release notes - initial run
Andrew Hunt [Thu, 4 Feb 2021 16:26:40 +0000 (11:26 -0500)]
5.35.0 release notes: added boilerplate
Andrew Hunt [Thu, 4 Feb 2021 16:23:48 +0000 (11:23 -0500)]
5.35.0 release notes: raw from script
CiviCRM [Thu, 4 Feb 2021 07:00:42 +0000 (07:00 +0000)]
Set version to 5.35.beta1
Seamus Lee [Thu, 4 Feb 2021 01:49:34 +0000 (12:49 +1100)]
Merge pull request #19521 from civicrm/5.34
5.34
Seamus Lee [Thu, 4 Feb 2021 01:42:31 +0000 (12:42 +1100)]
Merge pull request #19519 from colemanw/afformGuiFixBlocks
Afform GUI - Fix errors when creating & saving blocks
Seamus Lee [Thu, 4 Feb 2021 00:17:39 +0000 (11:17 +1100)]
Merge pull request #19520 from agh1/5.34.0-releasenotes-final
5.34.0 release notes: final edits and late changes
Andrew Hunt [Thu, 4 Feb 2021 00:09:24 +0000 (19:09 -0500)]
5.34.0 release notes: final edits and late changes
Coleman Watts [Wed, 3 Feb 2021 23:55:02 +0000 (18:55 -0500)]
Afform Gui - Exclude self from list of available blocks when editing a block
colemanw [Wed, 3 Feb 2021 23:46:26 +0000 (18:46 -0500)]
Merge pull request #19464 from eileenmcnaughton/menu
dev/core#2340 Skip rather than fail on bad menu item
Eileen McNaughton [Wed, 3 Feb 2021 23:30:23 +0000 (12:30 +1300)]
Merge pull request #19514 from colemanw/apiRelativeDateFix
APIv4 - Fix bug when using relative date filters in ON clause of a join
Coleman Watts [Wed, 3 Feb 2021 22:58:38 +0000 (17:58 -0500)]
Afform GUI - Fix errors when creating & saving blocks
Eileen McNaughton [Wed, 3 Feb 2021 22:42:42 +0000 (11:42 +1300)]
Merge pull request #19517 from seamuslee001/fix_user_load_deprecation
Override the DrupalBase getUserObject function with a Drupal8/9 compa…
Eileen McNaughton [Wed, 3 Feb 2021 21:57:16 +0000 (10:57 +1300)]
Merge pull request #19516 from colemanw/apiGetFkFields
APIv4 - Enable getFields to find fields across implicit FK joins
Matthew Wire [Wed, 3 Feb 2021 21:04:54 +0000 (21:04 +0000)]
Merge pull request #19510 from eileenmcnaughton/msg_tpl
[REF] Extract logical functions from sendTemplate
Seamus Lee [Wed, 3 Feb 2021 20:41:07 +0000 (07:41 +1100)]
Override the DrupalBase getUserObject function with a Drupal8/9 compatible version
Matthew Wire [Wed, 3 Feb 2021 20:58:45 +0000 (20:58 +0000)]
Merge pull request #19443 from eileenmcnaughton/ipn
[REF] Move sendNotification out of recur, remove unused related_contact
Matthew Wire [Wed, 3 Feb 2021 20:57:13 +0000 (20:57 +0000)]
Merge pull request #19511 from eileenmcnaughton/mem_clean
[REF] Remove invalid attempt to load contriution id from invoiceID
Seamus Lee [Wed, 3 Feb 2021 20:21:57 +0000 (07:21 +1100)]
Merge pull request #19498 from eileenmcnaughton/complete_order_test
[REF] Stop passing contributionPageID to isEmailReceipt
Eileen McNaughton [Wed, 3 Feb 2021 20:11:32 +0000 (09:11 +1300)]
Merge pull request #19515 from demeritcowboy/amtg-notice
dev/core#2355 - E_NOTICE on Manage Contribution and Manage Event listings
Coleman Watts [Wed, 3 Feb 2021 16:48:26 +0000 (11:48 -0500)]
APIv4 - Enable getFields to find fields across implicit FK joins
Now it is possible to retrieve field metadata for a joined entity
demeritcowboy [Wed, 3 Feb 2021 14:24:46 +0000 (09:24 -0500)]
E_NOTICE on contribution pages
Coleman Watts [Wed, 3 Feb 2021 13:18:36 +0000 (08:18 -0500)]
APIv4 - Fix bug when using relative date filters in ON clause of a join
Eileen McNaughton [Wed, 3 Feb 2021 11:26:33 +0000 (00:26 +1300)]
Merge pull request #19496 from colemanw/afformBugFixes
Afform - Misc tweaks, validation & bug fixes
Eileen McNaughton [Wed, 3 Feb 2021 09:24:54 +0000 (22:24 +1300)]
Merge pull request #19513 from eileenmcnaughton/kernel_error
Move require once in api kernel to support edge cases
Seamus Lee [Wed, 3 Feb 2021 09:17:23 +0000 (20:17 +1100)]
Merge pull request #19492 from demeritcowboy/fatalerrorhandler
dev/core#2350 - Oauth extension - Setting a fatalErrorHandler might override the redirect url because typo
Tim Otten [Wed, 3 Feb 2021 08:35:14 +0000 (00:35 -0800)]
config-form.html - Fix rendering of client-side validation error for "server_route"
eileen [Wed, 3 Feb 2021 07:23:35 +0000 (20:23 +1300)]
Move require once in api kernel to support edge cases
The function 'createError' on the kernel class calls 3 functions that are in the api v3 utils file.
It is possible to reach this from apiv4 using drush (I realise we
don't really know much about how to support api v4 with drush but it DOES work with a simple
api with this patch in my testing). We could go with only including utils.php in
v4 api AND the createError function. I think it's more readable this way.
To test this try
drush cvapi Contribution.get version=4
it will legitimately fail without checkPermissions=0 but it will fail with a
require_once error without this patch
Coleman Watts [Wed, 3 Feb 2021 01:57:03 +0000 (20:57 -0500)]
Search Kit - Improve display of afforms in search list
eileen [Wed, 3 Feb 2021 01:42:29 +0000 (14:42 +1300)]
Remove defunct reference to skilCleanMoney
The BAO used to handle this param but it no longer does. The api does respond to it - but defaults to
true (we don't call the api here but anything other than setting it to false will always do nothing)
eileen [Wed, 3 Feb 2021 01:38:49 +0000 (14:38 +1300)]
Remove attempt to load contriution id from invoiceID
This might make sense (maybe) on the front end code this was previously shared with but on the
backoffice form id would be specifically set in the url
eileen [Tue, 2 Feb 2021 22:51:44 +0000 (11:51 +1300)]
[REF] Extract logical functions from sendTemplate
This simply makes it clear what the main chunks of code are doing
eileen [Tue, 2 Feb 2021 01:15:25 +0000 (14:15 +1300)]
[REF] Stop passing contributionPageID to isEmailReceipt
By switching to passing in contributionID instead we can significantly simplify this.
It could cause an extra query in some cases but the query would be very quick based
on my previous query reduction efforts and this will help us
remove a bunch of other code
Monish Deb [Tue, 2 Feb 2021 23:24:23 +0000 (04:54 +0530)]
Merge pull request #19417 from eileenmcnaughton/test
[REF] Standardise methods of determining isTest
Seamus Lee [Tue, 2 Feb 2021 22:28:05 +0000 (09:28 +1100)]
Merge pull request #19505 from mattwire/remotememrelated
Remove another use of loadRelatedObjects() function
Seamus Lee [Tue, 2 Feb 2021 22:16:58 +0000 (09:16 +1100)]
Merge pull request #19500 from eileenmcnaughton/cancel
dev/core#2206 Unhide contributioncancelactions core extension
Matthew Wire [Tue, 2 Feb 2021 21:24:03 +0000 (21:24 +0000)]
Merge pull request #19507 from eileenmcnaughton/trans
Comment intent to remove call to transition components
eileen [Tue, 2 Feb 2021 20:55:16 +0000 (09:55 +1300)]
Comment intent to remove call to transition components
The other usages have been migrated to contributioncancelactions so only update-to-completed remains
Eileen McNaughton [Tue, 2 Feb 2021 20:48:58 +0000 (09:48 +1300)]
Merge pull request #19502 from mattwire/sendReminder
CRM_Core_BAO_MessageTemplate::sendReminder() is not used anywhere
Eileen McNaughton [Tue, 2 Feb 2021 20:47:01 +0000 (09:47 +1300)]
Merge pull request #19504 from colemanw/labelField
Add "labelField" metadata to entities
eileen [Tue, 2 Feb 2021 07:45:00 +0000 (20:45 +1300)]
Unhide contributioncancelactions
With https://github.com/civicrm/civicrm-core/pull/19289 merged we
can now unhide this extension & people can disable it if they wish (as a
supported option)
Matthew Wire [Tue, 2 Feb 2021 19:30:39 +0000 (19:30 +0000)]
Remove another use of loadRelatedObjects() as we call it again before using
Seamus Lee [Tue, 2 Feb 2021 20:00:23 +0000 (07:00 +1100)]
Merge pull request #19503 from mattwire/casecomponentignoreexception
Use exceptions when enabling case component / checking for 'CREATE VIEW' permissions
Coleman Watts [Tue, 2 Feb 2021 19:24:51 +0000 (14:24 -0500)]
Add "labelField" metadata to entities
This determines which field will be shown when displaying a single record
e.g. when viewing a Contact, show the display_name.
Coleman Watts [Tue, 2 Feb 2021 18:31:22 +0000 (13:31 -0500)]
Afform - Fix repeatable blocks in GUI
Coleman Watts [Tue, 2 Feb 2021 15:09:53 +0000 (10:09 -0500)]
Search kit: Fix bug when showing functions in HAVING clause
Coleman Watts [Tue, 2 Feb 2021 03:32:11 +0000 (22:32 -0500)]
Afform Admin - Pluralize tabs & rename variable with same name as another
Coleman Watts [Tue, 2 Feb 2021 01:56:28 +0000 (20:56 -0500)]
Afform - Fix filling preset values during submit
At some point the `af-values` attribute got renamed `data` but the Submit api wasn't updated.
Coleman Watts [Tue, 2 Feb 2021 01:19:05 +0000 (20:19 -0500)]
Afform Gui - Reset server_route and is_dashlet when cloning
Coleman Watts [Mon, 1 Feb 2021 22:46:26 +0000 (17:46 -0500)]
Afform Gui - Basic validation & defaults for server_route
Matthew Wire [Tue, 2 Feb 2021 14:27:34 +0000 (14:27 +0000)]
Use exceptions when enabling case component / checking for 'CREATE VIEW' permissions
Matthew Wire [Tue, 2 Feb 2021 12:34:14 +0000 (12:34 +0000)]
CRM_Core_BAO_MessageTemplate::sendReminder() is not used anywhere
Seamus Lee [Tue, 2 Feb 2021 09:50:50 +0000 (20:50 +1100)]
Merge pull request #19499 from eileenmcnaughton/silly_if
Remove always true if
Monish Deb [Tue, 2 Feb 2021 04:21:46 +0000 (09:51 +0530)]
Merge pull request #19289 from eileenmcnaughton/cancel
dev/core#2206 Move cancel pledge into Contribution.create and fix
Seamus Lee [Tue, 2 Feb 2021 03:58:15 +0000 (14:58 +1100)]
Merge pull request #19493 from civicrm/5.34
5.34
Seamus Lee [Tue, 2 Feb 2021 02:14:59 +0000 (13:14 +1100)]
Merge pull request #19497 from eileenmcnaughton/534
Fix for ReportTest when launching a pdf
eileen [Tue, 2 Feb 2021 01:19:13 +0000 (14:19 +1300)]
Remove always true if
This if is logically always true based on the if that precedes it
eileen [Tue, 2 Feb 2021 00:59:37 +0000 (13:59 +1300)]
Fix for ReportTest when launching a pdf
Coleman Watts [Mon, 1 Feb 2021 19:43:33 +0000 (14:43 -0500)]
Afform - Rename 'Forms' menu item to 'Form Builder'
Seamus Lee [Mon, 1 Feb 2021 22:25:16 +0000 (09:25 +1100)]
Merge pull request #19468 from mattwire/cpcleanup
NFC Minor code cleanup to contribution pages
Seamus Lee [Mon, 1 Feb 2021 22:07:34 +0000 (09:07 +1100)]
Merge pull request #19481 from eileenmcnaughton/pdffix
dev/core#2344 unit test for fix regression affecting sending thank you letters when grouped
Matthew Wire [Mon, 1 Feb 2021 21:10:13 +0000 (21:10 +0000)]
Merge pull request #19490 from mlutfy/fixTokenProcessorEscape
Token Processor: fix PHP syntax for purifyHTML
Matthew Wire [Sat, 30 Jan 2021 17:26:19 +0000 (17:26 +0000)]
Minor code cleanup to contribution pages
eileen [Sat, 30 Jan 2021 01:11:29 +0000 (14:11 +1300)]
dev/core#2340 Skip rather than fail on bad menu item
Eileen McNaughton [Mon, 1 Feb 2021 20:16:48 +0000 (09:16 +1300)]
Merge pull request #19489 from colemanw/searchKitBugs
Search Kit: Misc bug fixes
Eileen McNaughton [Mon, 1 Feb 2021 20:13:12 +0000 (09:13 +1300)]
Merge pull request #19487 from civicrm/5.34
5.34
Eileen McNaughton [Mon, 1 Feb 2021 20:08:57 +0000 (09:08 +1300)]
Merge pull request #19491 from herbdool/issue-2352
Issue #2352: fix Views integration suggestion
Eileen McNaughton [Mon, 1 Feb 2021 20:04:42 +0000 (09:04 +1300)]
Merge pull request #19461 from colemanw/searchCancel
Greenwich: Fix BS3 conflict with html5 search clear button
Eileen McNaughton [Mon, 1 Feb 2021 20:03:27 +0000 (09:03 +1300)]
Merge pull request #19485 from seamuslee001/composer_update
[NFC] Update composer.lock
demeritcowboy [Mon, 1 Feb 2021 19:11:48 +0000 (14:11 -0500)]
seems like a typo
Coleman Watts [Mon, 1 Feb 2021 19:00:02 +0000 (14:00 -0500)]
Afform Gui - Align buttons to right on admin list
Herb v/d Dool [Mon, 1 Feb 2021 18:17:54 +0000 (13:17 -0500)]
Issue #2352: fix Views integration suggestion
Mathieu Lutfy [Mon, 1 Feb 2021 15:30:08 +0000 (10:30 -0500)]
Token Processor: fix PHP syntax for purifyHTML
Coleman Watts [Mon, 1 Feb 2021 15:23:27 +0000 (10:23 -0500)]
dev/core#2349 Fix Search Kit display of pseudoconstant fields
Yashodha Chaku [Mon, 1 Feb 2021 15:22:51 +0000 (20:52 +0530)]
Merge pull request #19488 from eileenmcnaughton/act_map_form
[REF] Remove copy & paste code from Activity mapping form
Coleman Watts [Mon, 1 Feb 2021 15:22:39 +0000 (10:22 -0500)]
Search Kit: Fix rowCount to run only if results exceed limit
Coleman Watts [Mon, 1 Feb 2021 14:43:52 +0000 (09:43 -0500)]
dev/core#2347 Search Kit: Fix 'Select All' in table display
Seamus Lee [Mon, 1 Feb 2021 07:01:32 +0000 (18:01 +1100)]
Merge pull request #19479 from colemanw/afformSearchBugFixes
Search Kit - Fix display pager and improve error handling
Seamus Lee [Mon, 1 Feb 2021 07:01:09 +0000 (18:01 +1100)]
Merge pull request #19483 from eileenmcnaughton/part
dev/core#2348 fix unreleased regression
eileen [Mon, 1 Feb 2021 04:49:46 +0000 (17:49 +1300)]
dev/core#2344 fix regression affecting sending thank you letters when grouped
Seamus Lee [Mon, 1 Feb 2021 06:52:30 +0000 (17:52 +1100)]
Merge pull request #19482 from eileenmcnaughton/pdfprep2
dev/core#2344 fix regression affecting sending thank you letters when grouped
Eileen McNaughton [Mon, 1 Feb 2021 06:50:55 +0000 (19:50 +1300)]
Merge pull request #19480 from eileenmcnaughton/pdf
[REF] Prelminary tidy up to support fix for dev/core#2344
eileen [Mon, 1 Feb 2021 06:50:25 +0000 (19:50 +1300)]
[REF] Remove copy & paste code from Activity mapping form
All this code to support location types appears to be copied & pasted & not accessed in this form
Seamus Lee [Mon, 1 Feb 2021 05:29:00 +0000 (16:29 +1100)]
[NFC] Update composer.lock
Eileen McNaughton [Mon, 1 Feb 2021 05:27:17 +0000 (18:27 +1300)]
Merge pull request #19484 from eileenmcnaughton/upit
Merge 5.34 to master
eileen [Mon, 1 Feb 2021 05:25:51 +0000 (18:25 +1300)]
Merge branch '5.34' of https://github.com/civicrm/civicrm-core into upit
Eileen McNaughton [Mon, 1 Feb 2021 05:23:10 +0000 (18:23 +1300)]
Merge pull request #19457 from seamuslee001/dev_core_2324
dev/core#2324 Update jquery-validaton to be 1.19.3
Eileen McNaughton [Mon, 1 Feb 2021 05:19:41 +0000 (18:19 +1300)]
Merge pull request #19448 from mattwire/countryactive
dev/core#2329 Add is_active field to Country/StateProvince/County
eileen [Mon, 1 Feb 2021 05:02:04 +0000 (18:02 +1300)]
dev/core#2348 fix unreleased regression
eileen [Mon, 1 Feb 2021 04:49:46 +0000 (17:49 +1300)]
dev/core#2344 fix regression affecting sending thank you letters when grouped
eileen [Mon, 1 Feb 2021 04:41:02 +0000 (17:41 +1300)]
[REF] Prelminary tidy up to support fix for dev/core#2344
Seamus Lee [Mon, 1 Feb 2021 03:36:57 +0000 (14:36 +1100)]
Merge pull request #19460 from colemanw/afformFix
Afform - Fix form submit button
Seamus Lee [Mon, 1 Feb 2021 03:27:17 +0000 (14:27 +1100)]
Merge pull request #19472 from eileenmcnaughton/amtg
dev/core#2333 Fix issue when clicking on alpha links from 'amtg' search
Coleman Watts [Mon, 1 Feb 2021 02:43:19 +0000 (21:43 -0500)]
Search Kit - Fix display pager
Coleman Watts [Mon, 1 Feb 2021 02:42:48 +0000 (21:42 -0500)]
Fix hard-crash when afform fails to render
Eileen McNaughton [Mon, 1 Feb 2021 01:27:17 +0000 (14:27 +1300)]
Merge pull request #19477 from seamuslee001/php_74_afform
[NFC] Fix PHP 7.4 Syntax issue in Afform HTML Extension
Seamus Lee [Mon, 1 Feb 2021 00:06:31 +0000 (11:06 +1100)]
Merge pull request #19455 from colemanw/afformMeta
Afform GUI enhancements & Search Kit integration