civicrm-core.git
4 years agoMerge pull request #16482 from eileenmcnaughton/super-perm
Seamus Lee [Wed, 9 Sep 2020 10:24:31 +0000 (20:24 +1000)]
Merge pull request #16482 from eileenmcnaughton/super-perm

Implement more nuanced 'Administer CiviCRM permisions

4 years agoMerge pull request #17641 from MegaphoneJon/core-1590
Eileen McNaughton [Wed, 9 Sep 2020 08:47:27 +0000 (20:47 +1200)]
Merge pull request #17641 from MegaphoneJon/core-1590

dev/core#1590: Don't send reminders on deleted events

4 years agoMerge pull request #18232 from sunilpawar/dev_1942_new
Eileen McNaughton [Wed, 9 Sep 2020 08:06:07 +0000 (20:06 +1200)]
Merge pull request #18232 from sunilpawar/dev_1942_new

dev/core#1942 handle multiple membership of same membership type to u…

4 years agoMerge pull request #18413 from eileenmcnaughton/memtest
Seamus Lee [Wed, 9 Sep 2020 07:39:31 +0000 (17:39 +1000)]
Merge pull request #18413 from eileenmcnaughton/memtest

Membership form test cleanup, date cleanup on form

4 years agoMerge pull request #18414 from seamuslee001/jaap_test
Seamus Lee [Wed, 9 Sep 2020 07:28:30 +0000 (17:28 +1000)]
Merge pull request #18414 from seamuslee001/jaap_test

[REF] Refactor price field form to allow for unit testing of the form

4 years ago[REF] Refactor price field form to allow for unit testing of the form
Seamus Lee [Wed, 9 Sep 2020 03:08:52 +0000 (13:08 +1000)]
[REF] Refactor price field form to allow for unit testing of the form

Set the assert equals to be an actual float number

4 years agoMerge pull request #18415 from eileenmcnaughton/acl
Seamus Lee [Wed, 9 Sep 2020 06:03:48 +0000 (16:03 +1000)]
Merge pull request #18415 from eileenmcnaughton/acl

[REF] Minor readability fix

4 years agoMerge pull request #18076 from MegaphoneJon/better-on-behalf-of-2
Eileen McNaughton [Wed, 9 Sep 2020 05:39:14 +0000 (17:39 +1200)]
Merge pull request #18076 from MegaphoneJon/better-on-behalf-of-2

[REF] change deprecated function to API4 call

4 years agoMerge pull request #18297 from eileenmcnaughton/jaap
Seamus Lee [Wed, 9 Sep 2020 05:28:25 +0000 (15:28 +1000)]
Merge pull request #18297 from eileenmcnaughton/jaap

dev/core#2003 Civicrm_price_field_value.amount truncation when localisation in play

4 years agoMembership form test cleanup, date cleanup on form
eileen [Wed, 9 Sep 2020 02:29:47 +0000 (14:29 +1200)]
Membership form test cleanup, date cleanup on form

This converts the test set up to use the api and also does some mild date clean up on the form.

Supports https://github.com/civicrm/civicrm-core/pull/18395

4 years ago[REF] Minor readability fix
eileen [Wed, 9 Sep 2020 04:18:45 +0000 (16:18 +1200)]
[REF] Minor readability fix

None of the table names in this query are localisable so we don't need to use variables
to refer to them.

Note the legacy dao->query() would require it if they were localisable whereas CRM_Core_DAO::executeQuery()
does not

4 years agocore#1590: Don't send reminders to add'l recipients on deleted/inactive/template...
Jon Goldberg [Thu, 18 Jun 2020 18:27:17 +0000 (14:27 -0400)]
core#1590: Don't send reminders to add'l recipients on deleted/inactive/template events

support reminders with event types/templates and multiple event/type/template IDs

fix

4 years agoMerge pull request #18317 from eileenmcnaughton/bug_test
Seamus Lee [Wed, 9 Sep 2020 03:50:06 +0000 (13:50 +1000)]
Merge pull request #18317 from eileenmcnaughton/bug_test

Add postAssert to check payments and contributions are valid on all tests.

4 years agoMerge pull request #18412 from civicrm/5.30
Seamus Lee [Tue, 8 Sep 2020 23:21:31 +0000 (09:21 +1000)]
Merge pull request #18412 from civicrm/5.30

5.30

4 years agoMerge pull request #18409 from eileenmcnaughton/j
Seamus Lee [Tue, 8 Sep 2020 22:52:11 +0000 (08:52 +1000)]
Merge pull request #18409 from eileenmcnaughton/j

Fix formatLocaleNumericRoundedByCurrency

4 years agoMerge pull request #18402 from eileenmcnaughton/5.30
Seamus Lee [Tue, 8 Sep 2020 20:58:02 +0000 (06:58 +1000)]
Merge pull request #18402 from eileenmcnaughton/5.30

Fix search extension excluded from tarball

4 years agoMerge pull request #18408 from alifrumin/5.30rn
Seamus Lee [Tue, 8 Sep 2020 20:57:19 +0000 (06:57 +1000)]
Merge pull request #18408 from alifrumin/5.30rn

[NFC] 5.30 release-notes: first stab at annotating and sorting release notes

4 years agodev/core#1603 fix tangental bug on form handling of long options
eileen [Mon, 31 Aug 2020 06:28:20 +0000 (18:28 +1200)]
dev/core#1603 fix tangental bug on form handling of long options

This fixes the bug that derailed the fix for https://lab.civicrm.org/dev/core/-/issues/1603

On further testing I agree with Jitendra that the price field form was mis-saving the longer values (I only
tested with Euro style decimal separators but maybe on both) and it was bad data caused by this
that made the merged fix look like a regression.

I also observed that the Money functions intended to round only appeared to since it was rounding
just fine to 2 places, as tested, but it was still rounding to 2 places when we wanted more.

This fixes both the New Price field screen (when options are entered) and the edit options screen

4 years agoFix formatLocaleNumericRoundedByCurrency
eileen [Tue, 8 Sep 2020 19:36:32 +0000 (07:36 +1200)]
Fix formatLocaleNumericRoundedByCurrency

The function was rounding by a max of 2 regardless of the number of places passed - it
was only tested for 2 so seemed to work

4 years ago5.30 release-notes: first stab at release notes
Alice Frumin [Thu, 3 Sep 2020 20:41:49 +0000 (16:41 -0400)]
5.30 release-notes: first stab at release notes

4 years agoMerge pull request #18365 from eileenmcnaughton/member
colemanw [Tue, 8 Sep 2020 11:31:21 +0000 (07:31 -0400)]
Merge pull request #18365 from eileenmcnaughton/member

[REF] Code cleanup on membership renewal & test

4 years agoComment out implied permissions for administer CiviCRM system per discussion
eileen [Tue, 8 Sep 2020 00:14:12 +0000 (12:14 +1200)]
Comment out implied permissions for administer CiviCRM system per discussion

4 years agoFix search extension excluded from tarball
eileen [Tue, 8 Sep 2020 00:37:25 +0000 (12:37 +1200)]
Fix search extension excluded from tarball

4 years agoImplement 'super permissions' as described by @totten
eileen [Thu, 6 Feb 2020 04:07:11 +0000 (17:07 +1300)]
Implement 'super permissions' as described by @totten

This picks up on an idea Tim has pushed several times - ie that instead of giving out 'Administer CiviCRM' willy nilly
we could deprioritise it in favour of 2 more granular permission bundles - ie Administer CiviCRM data & administe CiviCRM system.

This allows us to make some permissions more 'locked away' without endlessly adding new 'administer Payment Processors'
because we've realised not everyone who can create profiles needs to be able to see payment processor credentials.

It also allows us to make system checks less broadly visible where they are not appropriate.

Note that to proceed with this we would need to go through all places that check Administer CiviCRM & put in one
or both of the 2 new permissions. Having Administer CiviCRM implicitly includes anything granted to the existing
permissions so the implementation is smooth-ish there. However, I can imagine we would need a hook allowing people
to categorise themselves or we would find ourselves litigating all sorts

4 years agoMerge pull request #18401 from seamuslee001/update_eway_upgrade
Seamus Lee [Tue, 8 Sep 2020 00:09:24 +0000 (10:09 +1000)]
Merge pull request #18401 from seamuslee001/update_eway_upgrade

[REF] Improve the human readable name of the eway upgrade step to be …

4 years ago[REF] Improve the human readable name of the eway upgrade step to be clearer about...
Seamus Lee [Mon, 7 Sep 2020 22:40:54 +0000 (08:40 +1000)]
[REF] Improve the human readable name of the eway upgrade step to be clearer about what it is doing and also fix issue with a hard fault if the eway single currency payment processor type has been already removed

4 years agoMerge pull request #18378 from colemanw/noMoreStupidHTMLTypes
Seamus Lee [Mon, 7 Sep 2020 22:24:15 +0000 (08:24 +1000)]
Merge pull request #18378 from colemanw/noMoreStupidHTMLTypes

Remove redundant custom field types

4 years agoMerge pull request #18399 from megaphonetech-dennis/contact-form-task_delete-php_spel...
Seamus Lee [Mon, 7 Sep 2020 22:12:53 +0000 (08:12 +1000)]
Merge pull request #18399 from megaphonetech-dennis/contact-form-task_delete-php_spelling-fix

Contact form task delete php spelling fix

4 years agoMerge pull request #18245 from eileenmcnaughton/loop
Seamus Lee [Mon, 7 Sep 2020 20:46:26 +0000 (06:46 +1000)]
Merge pull request #18245 from eileenmcnaughton/loop

Fix for ongoing issues with static upsetting the apple cart

4 years agoMerge pull request #18396 from swastikpareek/issue-1987-fix-template
Eileen McNaughton [Mon, 7 Sep 2020 20:37:47 +0000 (08:37 +1200)]
Merge pull request #18396 from swastikpareek/issue-1987-fix-template

dev/core#1987: Enable frontend and backend theme configuration in display preference page for Drupal CMS

4 years agofixed spelling of address on lines 122 and 247
Dennis P Osorio [Mon, 7 Sep 2020 16:22:21 +0000 (12:22 -0400)]
fixed spelling of address on lines 122 and 247

fixed capitalization on line 247

fix capitalization fix on line 122

4 years agoMerge pull request #18309 from demeritcowboy/link-cases-change-status
Yashodha Chaku [Mon, 7 Sep 2020 13:20:46 +0000 (18:50 +0530)]
Merge pull request #18309 from demeritcowboy/link-cases-change-status

dev/core#1979 - Incorrect comparison of status_id when changing status of linked cases

4 years agoMerge pull request #18381 from eileenmcnaughton/depcom
Matthew Wire [Mon, 7 Sep 2020 09:42:54 +0000 (10:42 +0100)]
Merge pull request #18381 from eileenmcnaughton/depcom

Finish deprecating BaseIPN->completeTransaction

4 years agoMerge pull request #18372 from eileenmcnaughton/inv
Matthew Wire [Mon, 7 Sep 2020 09:41:47 +0000 (10:41 +0100)]
Merge pull request #18372 from eileenmcnaughton/inv

Fix Invoice class to not call validateData

4 years agoMerge pull request #18373 from eileenmcnaughton/trans
Matthew Wire [Mon, 7 Sep 2020 09:41:03 +0000 (10:41 +0100)]
Merge pull request #18373 from eileenmcnaughton/trans

[REF] Simplify loading of related objects in transition components

4 years agoMerge pull request #18385 from eileenmcnaughton/pay
Matthew Wire [Mon, 7 Sep 2020 09:40:08 +0000 (10:40 +0100)]
Merge pull request #18385 from eileenmcnaughton/pay

[REF] simplify interaction with objects in complete order

4 years agoMerge pull request #18367 from eileenmcnaughton/validate
Matthew Wire [Mon, 7 Sep 2020 09:38:56 +0000 (10:38 +0100)]
Merge pull request #18367 from eileenmcnaughton/validate

Remove unnecessary call to 'validateData' from pdf generator

4 years agodev/core#1987 Enable frontend and backend theme configuration in display preferences
Swastik Pareek [Wed, 2 Sep 2020 12:41:19 +0000 (13:41 +0100)]
dev/core#1987 Enable frontend and backend theme configuration in display preferences

4 years agoMerge pull request #18338 from agileware/CIVICRM-1555
Seamus Lee [Mon, 7 Sep 2020 01:44:55 +0000 (11:44 +1000)]
Merge pull request #18338 from agileware/CIVICRM-1555

Change wording on the Opt Out and Unsubscribe pages

4 years agoMerge pull request #18387 from seamuslee001/format_amount_deprecated
Eileen McNaughton [Mon, 7 Sep 2020 01:27:01 +0000 (13:27 +1200)]
Merge pull request #18387 from seamuslee001/format_amount_deprecated

[REF] Mark CRM_Contribute_BAO_Contribution_Utils::formatAmount deprec…

4 years agoMerge pull request #18394 from seamuslee001/ref_memory_usage_create_single_value_alter
Eileen McNaughton [Mon, 7 Sep 2020 01:25:03 +0000 (13:25 +1200)]
Merge pull request #18394 from seamuslee001/ref_memory_usage_create_single_value_alter

[NFC] Aim to reduce memory usage in create single value alter test by…

4 years agoMerge pull request #18392 from demeritcowboy/test-names
Seamus Lee [Mon, 7 Sep 2020 00:44:32 +0000 (10:44 +1000)]
Merge pull request #18392 from demeritcowboy/test-names

[NFC/Test framework] Make class name match file name

4 years agoMerge pull request #18391 from demeritcowboy/utils-array-18207-1
Seamus Lee [Mon, 7 Sep 2020 00:43:52 +0000 (10:43 +1000)]
Merge pull request #18391 from demeritcowboy/utils-array-18207-1

[REF] Swap out CRM_Utils_Array::value() - partial pull out from PR 18207

4 years ago[NFC] Aim to reduce memory usage in create single value alter test by removing xdebug...
Seamus Lee [Sun, 6 Sep 2020 23:47:32 +0000 (09:47 +1000)]
[NFC] Aim to reduce memory usage in create single value alter test by removing xdebug items from comparaison

4 years agoswap out Array::value
demeritcowboy [Sun, 6 Sep 2020 23:37:56 +0000 (19:37 -0400)]
swap out Array::value

4 years agoMerge pull request #18389 from eileenmcnaughton/pp
Seamus Lee [Sun, 6 Sep 2020 23:09:01 +0000 (09:09 +1000)]
Merge pull request #18389 from eileenmcnaughton/pp

[REF] Remove unused lines from loadObjects

4 years agoMerge pull request #18369 from eileenmcnaughton/fail
Seamus Lee [Sun, 6 Sep 2020 22:42:31 +0000 (08:42 +1000)]
Merge pull request #18369 from eileenmcnaughton/fail

Remove inaccessible call to baseIPN failed

4 years ago[REF] change deprecated function to API4 call
Jon Goldberg [Wed, 5 Aug 2020 19:41:00 +0000 (15:41 -0400)]
[REF] change deprecated function to API4 call

4 years ago[REF] Mark CRM_Contribute_BAO_Contribution_Utils::formatAmount deprecated and replace...
Seamus Lee [Sun, 6 Sep 2020 20:37:25 +0000 (06:37 +1000)]
[REF] Mark CRM_Contribute_BAO_Contribution_Utils::formatAmount deprecated and replace its only usage with CRM_Utils_Rule::cleanMoney

4 years ago[REF] Remove unused lines from loadObjects
eileen [Sun, 6 Sep 2020 21:32:41 +0000 (09:32 +1200)]
[REF] Remove unused lines from loadObjects

loadObjects is only called from one place. As we can see the contribution object is
always passed in so we don't need to handle the possibility of it being anything other than a
BAO (I tweaked the error handling around that line too to make it clearer where it was
coming from)

4 years agomismatched classnames
demeritcowboy [Sun, 6 Sep 2020 21:19:44 +0000 (17:19 -0400)]
mismatched classnames

4 years agoMerge pull request #18371 from eileenmcnaughton/key
Seamus Lee [Sun, 6 Sep 2020 20:44:04 +0000 (06:44 +1000)]
Merge pull request #18371 from eileenmcnaughton/key

Rename variable $key to $participantID to make it clear what it is

4 years agoMerge pull request #18383 from eileenmcnaughton/iso
Seamus Lee [Sun, 6 Sep 2020 20:42:16 +0000 (06:42 +1000)]
Merge pull request #18383 from eileenmcnaughton/iso

dev/core#1921 Fix legacy date handling

4 years agoMerge pull request #18384 from eileenmcnaughton/validatepp
Seamus Lee [Sun, 6 Sep 2020 20:42:05 +0000 (06:42 +1000)]
Merge pull request #18384 from eileenmcnaughton/validatepp

Add try catch to main loops on core ipn classes

4 years agoMerge pull request #18386 from demeritcowboy/logging-customfield-notice
Seamus Lee [Sun, 6 Sep 2020 20:40:11 +0000 (06:40 +1000)]
Merge pull request #18386 from demeritcowboy/logging-customfield-notice

dev/core#1989 - E_WARNING when editing custom field with logging turned on

4 years agoe_warning when editing custom field
demeritcowboy [Thu, 3 Sep 2020 00:36:00 +0000 (20:36 -0400)]
e_warning when editing custom field

4 years agoMerge pull request #18352 from eileenmcnaughton/line_move
colemanw [Sun, 6 Sep 2020 16:01:46 +0000 (12:01 -0400)]
Merge pull request #18352 from eileenmcnaughton/line_move

dev/core#1980 Move tax handling from line item api to BAO to make it available from apiv4

4 years agoRemove redundant custom field types
Coleman Watts [Sat, 5 Sep 2020 19:22:32 +0000 (15:22 -0400)]
Remove redundant custom field types

The html_type 'Select Country' and 'Select State/Province' serve no purpose. They are the same as Select, just with a different data_type.

This adds an APIv3 shim to display the old types.

4 years agoAdd try catch to main loops on core ipn classes
eileen [Sun, 6 Sep 2020 00:50:55 +0000 (12:50 +1200)]
Add try catch to main loops on core ipn classes

4 years ago[REF] simplify interaction with objects in complete order
eileen [Sun, 6 Sep 2020 01:29:32 +0000 (13:29 +1200)]
[REF] simplify interaction with objects in complete order

Per https://github.com/civicrm/civicrm-core/pull/18382 this line seems to be heavily tested so
& per the test we can use the 'already calculated value' for payment_processor_id rather than look
it up in yet another place.

This adds a query but in most cases queries can be removed before calling this function as
the various objects are not really accessed anymore (apart from the few lines just above this)

4 years agoMerge pull request #18379 from seamuslee001/report_45
Eileen McNaughton [Sat, 5 Sep 2020 23:53:20 +0000 (11:53 +1200)]
Merge pull request #18379 from seamuslee001/report_45

report#45 Switch out function call CRM_Utils_Array::value and extend …

4 years agodev/core#1921 Fix legacy date handling
eileen [Sat, 5 Sep 2020 23:18:36 +0000 (11:18 +1200)]
dev/core#1921 Fix legacy date handling

Per https://lab.civicrm.org/dev/core/-/issues/1921 this was required before dao->save()
right up until 2014

4 years agoFinish deprecating BaseIPN->completeTransaction
eileen [Sat, 5 Sep 2020 22:59:14 +0000 (10:59 +1200)]
Finish deprecating BaseIPN->completeTransaction

This has been marked deprecated, but still called for a long timme.

Now that it is just a one-liner I think it's cleaner if the core processors that use it do the one line
directly

4 years agoAdd postAssert to check payments and contributions are valid on all tests.
eileen [Sat, 2 Nov 2019 02:40:38 +0000 (15:40 +1300)]
Add postAssert to check payments and contributions are valid on all tests.

4 years agoreport#45 Switch out function call CRM_Utils_Array::value and extend test coverage
Seamus Lee [Sat, 5 Sep 2020 21:45:11 +0000 (07:45 +1000)]
report#45 Switch out function call CRM_Utils_Array::value and extend test coverage

Minor fix for MySQL 8

4 years agoMerge pull request #18351 from eileenmcnaughton/line
Seamus Lee [Sat, 5 Sep 2020 22:00:33 +0000 (08:00 +1000)]
Merge pull request #18351 from eileenmcnaughton/line

Add test to cover existing v3 api setting of tax_amount on line items

4 years agoMerge pull request #18377 from seamuslee001/eway_further
Seamus Lee [Sat, 5 Sep 2020 14:33:46 +0000 (00:33 +1000)]
Merge pull request #18377 from seamuslee001/eway_further

[REF] Hide eway extension in UI and only install it if the original e…

4 years agoMerge pull request #18375 from eileenmcnaughton/dep
Eileen McNaughton [Sat, 5 Sep 2020 12:07:47 +0000 (00:07 +1200)]
Merge pull request #18375 from eileenmcnaughton/dep

Remove deprecated ids param

4 years agoMerge pull request #18376 from eileenmcnaughton/ev
Eileen McNaughton [Sat, 5 Sep 2020 12:07:12 +0000 (00:07 +1200)]
Merge pull request #18376 from eileenmcnaughton/ev

Load event title from participantID

4 years agoMerge pull request #18374 from eileenmcnaughton/iso
Eileen McNaughton [Sat, 5 Sep 2020 11:39:12 +0000 (23:39 +1200)]
Merge pull request #18374 from eileenmcnaughton/iso

dev/core#1921 Further removal of iso date handling

4 years ago[REF] Hide eway extension in UI and only install it if the original eway payment...
Seamus Lee [Sat, 5 Sep 2020 05:37:17 +0000 (15:37 +1000)]
[REF] Hide eway extension in UI and only install it if the original eway payment processor is still being used

4 years agoMerge pull request #18370 from KarinG/tidyup_testSubmitContributionPageWithPriceSetQu...
Seamus Lee [Sat, 5 Sep 2020 07:00:21 +0000 (17:00 +1000)]
Merge pull request #18370 from KarinG/tidyup_testSubmitContributionPageWithPriceSetQuantity

Tidy up testSubmitContributionPageWithPriceSetQuantity

4 years agoMerge pull request #18368 from seamuslee001/bundle_public
Seamus Lee [Sat, 5 Sep 2020 07:00:04 +0000 (17:00 +1000)]
Merge pull request #18368 from seamuslee001/bundle_public

[REF] Ensure that all bundle container services are public for Symfon…

4 years agoMerge pull request #18364 from civicrm/5.30
Seamus Lee [Sat, 5 Sep 2020 05:32:58 +0000 (15:32 +1000)]
Merge pull request #18364 from civicrm/5.30

5.30

4 years agoMerge pull request #18349 from seamuslee001/eway_extension
Eileen McNaughton [Sat, 5 Sep 2020 05:32:08 +0000 (17:32 +1200)]
Merge pull request #18349 from seamuslee001/eway_extension

Migrate Eway(Single Currency) Payment Processor Type out into its own…

4 years agoMerge pull request #18366 from seamuslee001/nfc_enablev4_status_pref
Seamus Lee [Sat, 5 Sep 2020 05:16:58 +0000 (15:16 +1000)]
Merge pull request #18366 from seamuslee001/nfc_enablev4_status_pref

[NFC] Enable APIv4 Testing on the statusPrefence API Tests

4 years agoLoad event title from participantID
eileen [Sat, 5 Sep 2020 04:43:39 +0000 (16:43 +1200)]
Load event title from participantID

This is a follow on to https://github.com/civicrm/civicrm-core/pull/18358 - after thinking
more I realised that I had already established this code is rarely reached and by
doing a very small query when it is we can avoid loading the whole event to pass in

Same test applies...

4 years ago[REF] Code cleanup on membership renewal & test
eileen [Sat, 5 Sep 2020 01:30:43 +0000 (13:30 +1200)]
[REF] Code cleanup on membership renewal & test

This wound up being mainly a clean up of the test class & the addition of a test on changing
membership type.

However, there is a minor code consolidation which makes 3 actual changes
1) if we are doing a test renewal we shouldn't make the membership test
2) even when renewing a Pending membership we should save any submitted custom data
3) modified id is also set for pending (although future test work might indicate this can go

4 years agoRemove deprecated ids param
eileen [Sat, 5 Sep 2020 04:03:30 +0000 (16:03 +1200)]
Remove deprecated ids param

4 years agodev/core#1921 Further removal of iso date handling
eileen [Sat, 5 Sep 2020 03:58:34 +0000 (15:58 +1200)]
dev/core#1921 Further removal of iso date handling

Same deal as https://github.com/civicrm/civicrm-core/pull/18359

4 years agoSimply loading of related objects in transition components
eileen [Sat, 5 Sep 2020 03:52:12 +0000 (15:52 +1200)]
Simply loading of related objects in transition components

This alters transitionComponents to  bypass validateData to load the related objects

Stepping through validateData it's clear that validate data
1) loads the contribution - this is now in transitionComponents
2) loads the contact - that is not specifically necessary as it is not used in transitionComponents
3) does some validation that relates to the IPNyness of BaseIPN but not to an internally called function
4) calls 'loadObjects'

LoadObjects does some error handling, sets the processorID if passed in, which it isn't  and then calls
contribution->loadRelatedObjects( )

- we now do that last call directly in-function

OrderTest::testCancelWithParticipant passes directly through this code

4 years agoFix Invoice class to not call validateData
eileen [Sat, 5 Sep 2020 03:07:31 +0000 (15:07 +1200)]
Fix Invoice class to not call validateData

This avoids calling the BaseIPN validateData class from Invoice.php and calls the narrower
loadRelatedObjects to avoid having to change the code around it

4 years agoRename variable key to participantID to make it clear what it is
eileen [Sat, 5 Sep 2020 02:57:31 +0000 (14:57 +1200)]
Rename variable key to participantID to make it clear what it is

4 years agoTidy up testSubmitContributionPageWithPriceSetQuantity
KarinG [Sat, 5 Sep 2020 02:53:18 +0000 (20:53 -0600)]
Tidy up testSubmitContributionPageWithPriceSetQuantity

4 years agoRemove inaccessible call to baseIPN failed
eileen [Sat, 5 Sep 2020 02:50:55 +0000 (14:50 +1200)]
Remove inaccessible call to baseIPN failed

As is now clear the updateContributionStatus function is only accessible to complete
a contribution. This removes the call to baseIPN->failed() as it is unreachable,
along with the hacky handling to support it

4 years ago[REF] Ensure that all bundle container services are public for Symfony v4
Seamus Lee [Sat, 5 Sep 2020 02:50:14 +0000 (12:50 +1000)]
[REF] Ensure that all bundle container services are public for Symfony v4

4 years agoMerge pull request #18357 from eileenmcnaughton/fail
Seamus Lee [Sat, 5 Sep 2020 02:45:29 +0000 (12:45 +1000)]
Merge pull request #18357 from eileenmcnaughton/fail

[REF] Simplify logic on calling self::updateContributionStatus

4 years agoRemove unnecessary call to 'validateData' from pdf generator
eileen [Sat, 5 Sep 2020 02:40:03 +0000 (14:40 +1200)]
Remove unnecessary call to 'validateData' from pdf generator

the call to validateData fills the objects array - but the only object being used is 'contribution'
so there is an easier way to load it....

The UI way to pass through this code is to send a pdf receipt from contribution search

          'title' => ts('Receipts - print or email'),

4 years ago[NFC] Enable APIv4 Testing on the statusPrefence API Tests
Seamus Lee [Sat, 5 Sep 2020 02:31:08 +0000 (12:31 +1000)]
[NFC] Enable APIv4 Testing on the statusPrefence API Tests

4 years agoMerge pull request #18340 from pradpnayak/lineItemFix
Seamus Lee [Sat, 5 Sep 2020 02:05:57 +0000 (12:05 +1000)]
Merge pull request #18340 from pradpnayak/lineItemFix

Fixed pre hook params for LineItem

4 years agoMerge pull request #18363 from colemanw/5.30
Seamus Lee [Sat, 5 Sep 2020 02:05:23 +0000 (12:05 +1000)]
Merge pull request #18363 from colemanw/5.30

Forward-merge 5.29 -> 5.30

4 years agoChange eWAY processor to use guzzle, fix style issues and update info.xml and add...
Seamus Lee [Fri, 4 Sep 2020 22:43:32 +0000 (08:43 +1000)]
Change eWAY processor to use guzzle, fix style issues and update info.xml and add in test of eWAY single Currency payment processor

Update README

4 years agoMigrate Eway(Single Currency) Payment Processor Type out into its own extension
Seamus Lee [Fri, 4 Sep 2020 02:21:12 +0000 (12:21 +1000)]
Migrate Eway(Single Currency) Payment Processor Type out into its own extension

4 years agoMerge pull request #18350 from eileenmcnaughton/payguzz
Seamus Lee [Sat, 5 Sep 2020 01:19:31 +0000 (11:19 +1000)]
Merge pull request #18350 from eileenmcnaughton/payguzz

dev/financial#143 Convert Paypal Pro to use Guzzle

4 years agoMerge pull request #18358 from eileenmcnaughton/event
Seamus Lee [Sat, 5 Sep 2020 00:56:56 +0000 (10:56 +1000)]
Merge pull request #18358 from eileenmcnaughton/event

Use eventID rather than the object in completeTransaction

4 years agoMerge pull request #18354 from totten/master-bs3b
Eileen McNaughton [Sat, 5 Sep 2020 00:54:37 +0000 (12:54 +1200)]
Merge pull request #18354 from totten/master-bs3b

dev/user-interface#27 - Define a "bootstrap3" bundle (skeleton)

4 years agoMerge pull request #18361 from seamuslee001/update_event_checksum
Eileen McNaughton [Sat, 5 Sep 2020 00:48:25 +0000 (12:48 +1200)]
Merge pull request #18361 from seamuslee001/update_event_checksum

[NFC] Update Event DAO Checksum

4 years agoMerge pull request #18359 from eileenmcnaughton/load
Eileen McNaughton [Sat, 5 Sep 2020 00:43:52 +0000 (12:43 +1200)]
Merge pull request #18359 from eileenmcnaughton/load

dev/core#1921 Remove some places where the ghost of 2014 is getting special love

4 years agoFix customField legacy handling in APIv3
Coleman Watts [Fri, 4 Sep 2020 00:59:25 +0000 (20:59 -0400)]
Fix customField legacy handling in APIv3

4 years agodev/core#1998 Address dedupe clash on dashboard contact
eileen [Fri, 4 Sep 2020 07:10:06 +0000 (19:10 +1200)]
dev/core#1998 Address dedupe clash on dashboard contact