Mathieu Lutfy [Sun, 13 Sep 2020 14:38:46 +0000 (10:38 -0400)]
dev/translation#51 Fix inheritLocale regression
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
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 …
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
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
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
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
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
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
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
Matthew Wire [Mon, 7 Sep 2020 09:42:54 +0000 (10:42 +0100)]
Merge pull request #18381 from eileenmcnaughton/depcom
Finish deprecating BaseIPN->completeTransaction
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
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
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
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
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
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
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…
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…
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
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
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
demeritcowboy [Sun, 6 Sep 2020 23:37:56 +0000 (19:37 -0400)]
swap out Array::value
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
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
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
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)
demeritcowboy [Sun, 6 Sep 2020 21:19:44 +0000 (17:19 -0400)]
mismatched classnames
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
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
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
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
demeritcowboy [Thu, 3 Sep 2020 00:36:00 +0000 (20:36 -0400)]
e_warning when editing custom field
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
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.
eileen [Sun, 6 Sep 2020 00:50:55 +0000 (12:50 +1200)]
Add try catch to main loops on core ipn classes
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)
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 …
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
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
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
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
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…
Eileen McNaughton [Sat, 5 Sep 2020 12:07:47 +0000 (00:07 +1200)]
Merge pull request #18375 from eileenmcnaughton/dep
Remove deprecated ids param
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
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
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
Seamus Lee [Sat, 5 Sep 2020 07:00:21 +0000 (17:00 +1000)]
Merge pull request #18370 from KarinG/tidyup_testSubmitContributionPageWithPriceSetQuantity
Tidy up testSubmitContributionPageWithPriceSetQuantity
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…
Seamus Lee [Sat, 5 Sep 2020 05:32:58 +0000 (15:32 +1000)]
Merge pull request #18364 from civicrm/5.30
5.30
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…
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
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...
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
eileen [Sat, 5 Sep 2020 04:03:30 +0000 (16:03 +1200)]
Remove deprecated ids param
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
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
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
eileen [Sat, 5 Sep 2020 02:57:31 +0000 (14:57 +1200)]
Rename variable key to participantID to make it clear what it is
KarinG [Sat, 5 Sep 2020 02:53:18 +0000 (20:53 -0600)]
Tidy up testSubmitContributionPageWithPriceSetQuantity
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
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
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
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'),
Seamus Lee [Sat, 5 Sep 2020 02:31:08 +0000 (12:31 +1000)]
[NFC] Enable APIv4 Testing on the statusPrefence API Tests
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
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
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
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
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
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
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)
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
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
Coleman Watts [Fri, 4 Sep 2020 00:59:25 +0000 (20:59 -0400)]
Fix customField legacy handling in APIv3
eileen [Fri, 4 Sep 2020 07:10:06 +0000 (19:10 +1200)]
dev/core#1998 Address dedupe clash on dashboard contact
Seamus Lee [Fri, 4 Sep 2020 23:29:07 +0000 (09:29 +1000)]
Merge pull request #18246 from sunilpawar/report_45
report#45 Ability to Search Smart or Normal Group using additional filter on Manage Group page
Pradeep Nayak [Fri, 4 Sep 2020 23:20:38 +0000 (00:20 +0100)]
Fixed pre hook params for LineItem
Seamus Lee [Fri, 4 Sep 2020 22:51:27 +0000 (08:51 +1000)]
[NFC] Update Event DAO Checksum
eileen [Fri, 4 Sep 2020 22:39:33 +0000 (10:39 +1200)]
Remove some places where the ghost of 2014 is getting special love
per https://lab.civicrm.org/dev/core/-/issues/1921 we fixed the root cause of this 6 years ago....
eileen [Fri, 4 Sep 2020 22:18:35 +0000 (10:18 +1200)]
Use eventID rather than the object in completeTransaction
This allows us to stop passing it in as an object as a follow up. It potentially does an extra query but this is
mitigated by
1) it only does a look up if the contribution does not already have a source (rare)
2) it uses a pseudoconstant so would only look up a given event once
- we can later remove the whole loading of event and just get the id from the participant record
Seamus Lee [Fri, 4 Sep 2020 21:45:50 +0000 (07:45 +1000)]
Merge pull request #18147 from eileenmcnaughton/ex_type
Improve consistency of metadata type declarations
eileen [Fri, 4 Sep 2020 21:19:01 +0000 (09:19 +1200)]
[REF] Simplify logic on calling self::updateContributionStatus
self::updateContributionStatus is only called when contributionStatusId has been set - there is only
one place that is set so move the code up there rather than set a param to trigger action further down
eileen [Fri, 4 Sep 2020 06:55:51 +0000 (18:55 +1200)]
Move tax handling from line item api to BAO to make it available from apiv4
This implementation has some limitations. I only address one in this PR - removing the rounding - as
the focus of the PR is the move.
The rounding from all save layers was previously removed but it was reverted when it was eroneously believed
to have caused a bug. The bug turned out to be https://github.com/civicrm/civicrm-core/pull/18297
Matthew Wire [Fri, 4 Sep 2020 15:32:43 +0000 (16:32 +0100)]
Merge pull request #18348 from eileenmcnaughton/kg
Fix test to use validateAllContributions
Matthew Wire [Fri, 4 Sep 2020 10:34:09 +0000 (11:34 +0100)]
Merge pull request #18331 from eileenmcnaughton/refs
Stop passing / using object when all we need is the id
Matthew Wire [Fri, 4 Sep 2020 10:32:45 +0000 (11:32 +0100)]
Merge pull request #18343 from eileenmcnaughton/fail
Minor code cleanup - this is only ever called from one place so component is always event
eileen [Fri, 4 Sep 2020 01:38:03 +0000 (13:38 +1200)]
Fix test to use validateAllContributions
Tim Otten [Fri, 4 Sep 2020 06:56:46 +0000 (23:56 -0700)]
Bootstrap3 - Move warning from Api4Explorer to bundle default
The Api4Explorer page has a neat trick - if (by any means) you manage to
have Bootstrap3 active within the body of this Civi page, then it will
display a warning.
This patch moves the trick to be part of the `bootstrap3` bundle, which
means that it will be applied to any page where `bootstrap3` is activated.
Tim Otten [Tue, 18 Aug 2020 21:17:52 +0000 (14:17 -0700)]
Api4Explorer - Activate bootstrap3
Tim Otten [Tue, 18 Aug 2020 06:44:28 +0000 (23:44 -0700)]
CRM_Core_Resources - Define 'bootstrap3' bundle
eileen [Fri, 4 Sep 2020 06:27:58 +0000 (18:27 +1200)]
Add test to cover existing v3 api setting of financial type on line items
eileen [Fri, 4 Sep 2020 05:47:48 +0000 (17:47 +1200)]
Add expected responses & enble the handler
eileen [Fri, 4 Sep 2020 03:26:33 +0000 (15:26 +1200)]
Convert PaypalPro to use Guzzle - step 1 - prepare to capture
Eileen McNaughton [Fri, 4 Sep 2020 04:06:52 +0000 (16:06 +1200)]
Merge pull request #18346 from eileenmcnaughton/linetes
Preliminary cleanup on test
Seamus Lee [Fri, 4 Sep 2020 00:09:42 +0000 (10:09 +1000)]
Merge pull request #18247 from totten/master-res-coll
Add higher-level support for "bundles" and "collections" of resources
eileen [Thu, 3 Sep 2020 23:51:50 +0000 (11:51 +1200)]
Preliminary cleanup on test
Just fixing unused variables, exception declarations etc
Seamus Lee [Thu, 3 Sep 2020 22:08:09 +0000 (08:08 +1000)]
Update unit tests to match content
Eileen McNaughton [Thu, 3 Sep 2020 22:07:30 +0000 (10:07 +1200)]
Merge pull request #18264 from demeritcowboy/mysql-ssl-guess
dev/core#1926 - Try to autodetect mysql ssl settings from the CMS config
Tim Otten [Wed, 26 Aug 2020 00:11:34 +0000 (17:11 -0700)]
CollectionAdderInterface - Support addMarkup($html)