Commit Graph

52625 Commits

Author SHA1 Message Date
kidinov 89d3a1ecee Merge branch 'trunk' into update-38820-enhancement-api-search-customers-with-non-empty-email-or-name-or-address
# Conflicts:
#	plugins/woocommerce/tests/legacy/unit-tests/woocommerce-admin/api/reports-customers.php
2023-06-26 10:01:38 +02:00
kidinov 93a62e704d Tests to the separate test 2023-06-26 09:56:13 +02:00
Andrey d4b77eead6
Update query type for filter_empty
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-06-26 09:30:06 +02:00
nigeljamesstevenson 3b075731a5
Make e2e test `can discard industry changes when navigating back to "Store Details"` independent from previous tests (#38715)
* e2e test update

* handle modal on test

* Update deprecated method

---------

Co-authored-by: Rodel Calasagsag <rodel.calasagsag@automattic.com>
2023-06-26 14:13:02 +08:00
rodelgc b91c37fe32
Replace deprecated `page` methods (#38344) 2023-06-26 09:06:11 +08:00
Christopher Allford ba5cc19757
Update project-pr-labeler.yml 2023-06-23 13:56:29 -07:00
Christopher Allford 2493f32a2f
Update project-pr-labeler.yml 2023-06-23 13:55:25 -07:00
Barry Hughes 7ed5f599a2
Improve hpos cli verbose output (#38699) 2023-06-23 13:40:57 -07:00
github-actions[bot] 41d24a7643
Delete changelog files based on PR 38918 (#38928)
Delete changelog files for 38918

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-23 14:33:00 -05:00
github-actions[bot] 127ced8e79
Delete changelog files based on PR 38861 (#38926)
Delete changelog files for 38861

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-23 14:29:11 -05:00
Ron Rennick f879ebb6c7
Update plugins/woocommerce/changelog/improve-hpos-cli-verbose-output
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-06-23 15:56:53 -03:00
Alexandre Lara 960ed2d0d1
Update WooCommerce Blocks to 10.4.4 (#38918) 2023-06-23 15:29:25 -03:00
Corey McKrill fbcab41289
Improvements to the dependency injection related unit testing infrastructure (#38849)
* When ExtendedContainer::replace is used and an instance of an object is passed as the replacement, the init method of the passed object will be executed (previously the container would execute init only when creating a new instance from a class name).
* Added the ExtendedContainer::reset_replacement method, this will undo a replace and reset the registration back to its original state (so get will act as if replace had never been executed for the given class name). Note that for shared definitions this needs to be combined with reset_all_resolved.
* Similarly, added the ExtendedContainer::reset_all_replacements method.
2023-06-23 10:24:52 -07:00
Alexandre Lara 2163b5e108 Update WooCommerce Blocks to 10.4.4 2023-06-23 12:36:11 -03:00
Nestor Soriano c59b8cefad
Apply absint to the batch in DataSynchronizer::process_batch 2023-06-23 16:37:35 +02:00
Nestor Soriano ae1e340ae6
Use $wpdb->suppress_errors in the data migration 2023-06-23 16:25:29 +02:00
Nestor Soriano e83eb70599
Deletion key renamed to '_deleted_from', and moved to constant. 2023-06-23 16:19:45 +02:00
Nathan Silveira 066974538c
[Enhancement]: Add Tracks event recording to Emails settings (#38834)
* Add possibility to track select and checkbox values for non_option settings

* Track select and checkboxes in abstract-wc-settings-api

* Add changelog

* Add hook comment and ignore phpcs for actions that were already called before
2023-06-23 09:44:57 -03:00
Nestor Soriano f9e0705fc4
Fix insertion of duplicated deletion records.
With orders table authoritative, sync disabled, an order with refunds
is deleted, a duplicate deletion record was being created for the refund.

That's because 'upshift_or_delete_child_orders' was deleting the child
orders, which caused a deletion record to be already created; and
after that, 'handle_order_deletion_with_sync_disabled' was again
creating a record for these child orders.

The fix is a bit convoluted because we can't know for sure if
'upshift_or_delete_child_orders' will delete the child orders or not.
2023-06-23 13:03:17 +02:00
Vedanshu Jain e6eda7fce5
Analytics API: Search for customers using all available search fields instead of having to choose one (#38628) 2023-06-23 14:32:42 +05:30
Chi-Hsuan Huang 5fb8183682
Fix Core Profiler UI issues (#38872)
* Fix overlapping button position when the height is less than 667px (iphone SE)

* Fix misaligned check icon on mobile

* Prevent the menu from closing when clicking on a selected item

* Add changelog

* Fix lint

---------

Co-authored-by: moon <moon.kyong@automattic.com>
2023-06-22 20:54:14 -07:00
Corey McKrill 26902f0ce1
Move unit tests to existing file 2023-06-22 17:24:25 -07:00
Corey McKrill b16d362490
Add unit tests 2023-06-22 15:44:40 -07:00
github-actions[bot] b9f265c44a
Delete changelog files based on PR 38852 (#38894)
Delete changelog files for 38852

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-22 14:35:32 -05:00
github-actions[bot] a75b8fd393
Delete changelog files based on PR 38854 (#38890)
Delete changelog files for 38854

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-22 14:22:01 -05:00
Nathan Silveira b1f4907dec
Remove feature related query args after enabling/disabling it (#38852)
* Remove feature related query args after enabling/disabling it

* Test to see if E2E tests pass

* Revert "Test to see if E2E tests pass"

This reverts commit 120e971f33f22dc3e7eec6e5ab228b1908c56364.

* Add support to remove multiple query params
2023-06-22 14:42:00 -04:00
Matt Sherman 78dad448f4
Always pass defaults to product_type_options filter (#38854)
* Add wc_get_default_product_type_options function

* Use wc_get_default_product_type_options() as initial input for product_type_options filter

* Changelog
2023-06-22 08:16:34 -04:00
Sam Seay b99f63769a
Remove a workflow that is not used and too old to trust (#38647)
Remove a workflow that is not used and too old to trust.
2023-06-22 22:24:02 +12:00
kidinov fc6c01736a Fixed formatting 2023-06-22 10:55:53 +02:00
kidinov 0d5bc86da2 Fixed test again 2023-06-22 09:50:50 +02:00
Nestor Soriano 15d505864f
Added a missing __construct doc comment.
(But why is phpcs complaining about this now and it wasn't before??)
2023-06-22 09:24:06 +02:00
Nestor Soriano 98a25ffd67
Treat LegacyProxy as a special case when resetting replacements. 2023-06-22 09:16:07 +02:00
Moon 30ea01c047
Refresh onboarding profile values on the Homescreen (#38861)
* Use window.location.href for redirection to refresh the page to get the latest onboarding profile values

* Add changelog

* Remove unused import
2023-06-21 22:40:42 -07:00
Matt Sherman 6076458471
Do not show "Adding new attribute failed" error message when loading of product screens is interrupted by page unload (#38815)
* Suppress "adding new attribute failed" error message on page unload
* Only attempt to add empty attribute if page has attributes list
2023-06-21 21:26:01 -04:00
Paul Sealock 72a6f2b503
Workflows CLI: add list command (#38816)
* hello world

* better description

* cli-table types

* row types

* just strings

* lockfile
2023-06-22 12:15:04 +12:00
Tam Mullen cd69c99ef6
E2E: Update WP Mail Logging Version (#38862)
* Removing skip in order-emails.spec.js

* Pin version of WP Mail Logging

* added changelog
2023-06-22 00:06:17 +01:00
github-actions[bot] 1ce4adcda9
Delete changelog files based on PR 38745 (#38870)
Delete changelog files for 38745

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-21 17:57:40 -05:00
github-actions[bot] 95c9578694
Delete changelog files based on PR 38835 (#38868)
Delete changelog files for 38835

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-21 17:50:20 -05:00
github-actions[bot] 1b08275b1c
Delete changelog files based on PR 38839 (#38866)
Delete changelog files for 38839

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-21 17:46:52 -05:00
github-actions[bot] 4ec56e650c
Delete changelog files based on PR 38728 (#38864)
Delete changelog files for 38728

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-21 17:23:03 -05:00
nigeljamesstevenson ee7fcf8840
E2e/skip failing can email invoice/order details to customer (#38855) 2023-06-21 21:15:07 +01:00
nigeljamesstevenson 97a3d7e918 add changelog 2023-06-21 20:39:50 +01:00
nigeljamesstevenson 9cd06f022c skip test causing GH PRs to fail -under investigation 2023-06-21 20:36:32 +01:00
Timothy Steele 565c1e9be7
Load `taxonomy-pa_<slug>` template before `taxonomy-product_attribute` (#37552)
* Fix for WooCommerce Issue 36560: https://github.com/woocommerce/woocommerce/issues/36560

* Add changelog

* Move changelog file to proper location

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-06-21 16:15:17 -03:00
Barry Hughes f5a601d6e1
When removing customer accounts, their content should be preserved. (#38837)
* When removing customer accounts, their content should be preserved.

* Fix test for customer data clean-up.
2023-06-21 14:03:01 -03:00
Joshua T Flowers 6bbc4dad1a
Add missing tracks events to product editor (#38728)
* Only record product update on already published products

* Add source into published product tracks event

* Add missing tracks options to product update event

* Track tab clicks in the editor

* Add source to tab clicks

* Record tracks on preview click

* Add events for media gallery, description, and attributes

* Add tracks events to more menu

* Replace new_product_page with source

* Add changelog entry

* Fix lint errors

* Add tracks for About the Editor menu item

* Add onClick event to AboutTheEditor menu item

* Use dropdown option event for classic editor menu click
2023-06-21 09:38:04 -07:00
Fernando Marichal 0be60a44a8
Add 'product_block_editor' to 'legacy_feature_ids'. (#38835)
* Add product_block_editor to legacy_feature_ids

* Add changelog
2023-06-21 13:11:11 -03:00
Nestor Soriano 46b259bc8d
Add changelog file 2023-06-21 17:44:28 +02:00
Nestor Soriano 5d4c07d23c
Improvements to the DI related unit testing infrastructure:
- When ExtendedContainer::replace is used passing an instance of
  an object, the 'init' method will be executed in the instance
  when resolving the replaced class name.
- Added the ExtendedContainer::reset_replacement method, this will
  undo a 'replace' and reset the registration back to its original state.
- Similarly, added the ExtendedContainer::reset_all_replacements method.
2023-06-21 17:39:34 +02:00
kidinov 634377bbc9 Fixed test again 2023-06-21 16:46:52 +02:00