Commit Graph

36293 Commits

Author SHA1 Message Date
jonathansadowski 802a31e0d8
Merge pull request #27581 from woocommerce/fix/obw-e2e-test-wc-4-5
Fix OBW e2e test to reflect changes in WooCommerce 4.5 release
2020-09-04 11:44:52 -05:00
Julia Amosova e224cd4b1b Update how disablement of the extensions download is handled in OBW test 2020-09-04 11:47:02 -04:00
Rodrigo Primo 2b5a295db0 Fix variations and attributes layout when running WP >= 5.5
This commit fixes the layout of the sections of the product page in the admin that display variations and attributes. It was broken since WP 5.5 was releases. This version of WP removed a CSS rule that WooCommerce uses (see 22d0cd6c96 (diff-fc8970b78a0739bd367f17c3a8e552e6L1993)). So this commit simply adds this rule back.

See #27326
2020-09-04 09:47:25 -03:00
Nestor Soriano 43642f7835 Enhance the query for "Any" variations in filter by attribute widget.
The new query fixes a bug where variations were being counted twice:
if a product was included in both the queries then it would be counted
differently and added; e.g. when a product had two variations,
one with "Any" attribute and other with a attribute that has a value.

The new query also optimizes performance, so that filter conditions
can be improved and better indexes can be used.
2020-09-04 11:29:50 +02:00
James Collins 59a6c4b330
Authentication fallback if current user is set before WC is initialized
See Issue #26847
2020-09-04 15:55:12 +08:00
James Collins 958896545d
Merge branch 'master' into fix/26847-rest-api-auth 2020-09-04 14:05:14 +08:00
Julia Amosova 4ca4f37969 Update recommended business features checkbox selector in OBW test 2020-09-03 16:23:19 -04:00
Christopher Allford c75f0f8886 Renamed the `@woocommerce/factories` package to `@woocommerce/api`
With the plan now to add more CRUD actions the scope of the package has transformed into a more general API package than one just for factories.
2020-09-03 12:28:17 -07:00
Julia Amosova 552545c0ac Update number of industries in the loop from 10 to 9 2020-09-03 13:17:47 -04:00
Rebecca Scott b92149f94e Bump woocommerce admin version to 1.5.0-rc.5 2020-09-03 14:46:35 +10:00
jonathansadowski ecb25d7dc8
Merge pull request #27572 from woocommerce/update/bump-wc-admin-to-1.5.0-rc.4
Bump WooCommerce Admin to 1.5.0-rc.4; WooCommerce to 4.5.0-rc.3
2020-09-02 19:21:52 -05:00
Christopher Allford c898e1de03 Fixed failing E2E test 2020-09-02 16:14:25 -07:00
Christopher Allford f5771ebd0a Fixed failing E2E test 2020-09-02 16:13:20 -07:00
Christopher Allford b9d314e1ae Fixed another E2E test 2020-09-02 15:47:15 -07:00
Jonathan Sadowski d637db8201 Update composer.lock 2020-09-02 17:26:15 -05:00
Jonathan Sadowski 2e75ca64e8 Bump to WC 4.5.0-rc.3 in woocommerce.php 2020-09-02 17:03:23 -05:00
Christopher Allford dde64b964f Updated lock files & fixed failing E2E test 2020-09-02 14:50:08 -07:00
Christopher Allford d3162b2f1d Updated package-lock.json files 2020-09-02 14:39:49 -07:00
Jonathan Sadowski a70cef214a Bump WooCommerce Admin to 1.5.0-rc.4 2020-09-02 16:33:26 -05:00
Christopher Allford f0023ec276 Added package building to npm install 2020-09-02 14:19:55 -07:00
jonathansadowski dd0a8769d6
Merge pull request #27571 from woocommerce/update/readme-changelog-and-version-for-4.5.0-rc2
Prepare for WC 4.5.0-rc2. Update changelog, readme, and version number.
2020-09-02 15:41:03 -05:00
Christopher Allford 68f0d60048 Resolved package conflicts 2020-09-02 13:07:16 -07:00
Christopher Allford aee44c2935 Merge remote-tracking branch 'origin/master' into add/e2e-feedback-blockers 2020-09-02 12:47:40 -07:00
Christopher Allford 16cf8c81be Revised the default environment variables to pull the version from the latest docker image 2020-09-02 12:47:27 -07:00
Jonathan Sadowski 7352c4ab40 Prepare for WC 4.5.0-rc2. Update changelog, readme, and version number. 2020-09-02 14:39:17 -05:00
jonathansadowski 53c22ba4e4
Merge pull request #27508 from woocommerce/fix/27419
Fix filter by attribute widget now working for "Any..." attributes
2020-09-02 13:32:54 -05:00
jonathansadowski 57e83f9120
Merge pull request #27557 from woocommerce/update/bump-wc-admin-to-1.5.0-rc3
Bump wc-admin to 1.5.0-rc.3
2020-09-02 13:20:54 -05:00
Nestor Soriano 417bcf8fff Split the query for counting terms in the filter by attributes widget.
For performance reasons the query is split in two: one for simple
products and variations with a concrete attribute value, and another
one for variations having "Any..." as the attribute value.
2020-09-02 16:22:25 +02:00
Jonathan Sadowski 456851c827 Bump wc-admin to 1.5.0-rc.3 2020-09-01 13:50:02 -05:00
jonathansadowski 86f8788525
Merge pull request #27509 from woocommerce/fix/creating-variations-for-numeric-attributes
Fix "Create variations from all attributes" for numeric attribute values
2020-09-01 13:40:52 -05:00
Nestor Soriano 07b62dabbd Improve the query to retrieve "Any..."-attributed variations in filtering widget
The new query doesn't need empty attribute entries in the meta table,
therefore the code that generates them and the migration to backfill
the missing existing ones have been removed.
2020-09-01 16:47:41 +02:00
GREYS c0092bad34 Fixes spelling country's region Biscay #27538 2020-09-01 22:44:34 +09:00
Nestor Soriano 53351fcc2f Update wc_product_attribute_uasort_comparison to accept null entries
When set_attributes is used on WC_Product to remove existing attributes
the wc_product_attribute_uasort_comparison ends up being called
with a null argument, and this breaks tests in PHP 7.4 since
null is used as an array. This commit modifies the function so that
if null is passed no array access is attempted.
2020-08-31 16:49:29 +02:00
Nestor Soriano 3a583feab1 Change filter by attributes widget to count products, not variations.
Right now the filter by attributes widget counts available variations
(for variation products). This is confusing since the counter shows
numbers that are higher than the actual count of products displayed.

This commit changes the query used by the widget so that instead
of counting variations it returns the parent product ids, and then
counts the distinct values. This also covers the case of products
where some of the variations have concrete values and some have
"Any..." values.
2020-08-31 12:22:33 +02:00
Kevin Hagerty 69758c38da
Define a background-color for the H1 in the header
To prevent the email client from setting something different.
2020-08-30 11:28:23 -04:00
Kevin Hagerty a18d80fb60
Merge pull request #1 from woocommerce/master
updating my fork
2020-08-30 11:25:47 -04:00
Claudio Sanches 5f1d2a8a2c
Merge pull request #27387 from woocommerce/fix/27385-twenty-twenty-notices
Fixes to notice styles in Twenty Twenty
2020-08-28 17:24:33 -03:00
Claudio Sanches 09630202e7
Merge pull request #27459 from jgreys/fix/27360
Fix white space character #27360
2020-08-28 17:23:12 -03:00
Ron Rennick bbdafb5cb1
Merge pull request #26196 from fitimvata/master
Add filter woocommerce_cart_item_required_stock_is_not_enough
2020-08-28 15:34:46 -03:00
Ron Rennick af162d8bed
Updated `@since` for the filter 2020-08-28 15:33:43 -03:00
Ron Rennick 00e38b51ef
Merge pull request #26327 from sandeshjangam/patch-1
New after order details action added
2020-08-28 15:27:17 -03:00
Ron Rennick 38190e2dcd
Merge branch 'master' into patch-1 2020-08-28 15:26:56 -03:00
Ron Rennick 122de48325
Update template version 2020-08-28 15:25:26 -03:00
Ron Rennick d998c6334d
Merge pull request #26976 from JoryHogeveen/patch-1
Public access to WC_Install::get_core_capabilities()
2020-08-28 15:12:51 -03:00
Ron Rennick a88cb8ab8e
Merge pull request #27437 from georgejipa/master
Remove the second occurrence of woocommerce_add_{$notice_type} filter
2020-08-28 14:10:43 -03:00
Ron Rennick e49527cf9d apply changes from feedback 2020-08-28 11:34:32 -03:00
Ron Rennick 0b85ee58f8 update package-lock.json 2020-08-28 11:06:25 -03:00
Ron Rennick 17ee223e71 update package-lock.json 2020-08-28 11:03:28 -03:00
Ron Rennick 8fe3bcb90e rebase to current master 2020-08-28 10:59:43 -03:00
jonathansadowski 00dca53b8c
Merge pull request #27500 from woocommerce/update/readme-2
Readme Tweaks & Screenshot updates
2020-08-28 08:56:47 -05:00