Commit Graph

40454 Commits

Author SHA1 Message Date
Rodel 38be0cf7c8 Merge branch 'trunk' into add/api-tests-add-complex-order 2021-11-19 23:31:42 +08:00
Peter Fabian b7c8e3ea68 Send set password link instead of the actual password to new users. 2021-11-19 16:30:53 +01:00
roykho a07f471fed
Update gitignore 2021-11-19 07:08:48 -08:00
roykho 882e5ed173
Update pnpm-lock 2021-11-19 07:01:28 -08:00
roykho f7b32f2231
Move js and css folders into legacy 2021-11-19 06:46:28 -08:00
roykho a790022727
Add legacy in workspace 2021-11-19 06:42:02 -08:00
roykho 6202c49803
Move legacy into woocommerce folder 2021-11-19 06:40:48 -08:00
roykho 4681ccfc15
Add project.json 2021-11-19 06:38:24 -08:00
Rodel ca5124e1d1 Merge branch 'trunk' into add/api-t-order-search 2021-11-19 22:38:12 +08:00
roykho 371c20cc45
Add package.json 2021-11-19 06:37:47 -08:00
roykho bd8b8a947b
Add dot files 2021-11-19 06:36:51 -08:00
roykho cb04009dda
Add implicit dependency 2021-11-19 06:32:46 -08:00
roykho 2a2c406c64
Add in css/js to be ignored 2021-11-19 06:27:24 -08:00
Roy Ho 448bc6f109
Merge pull request #31251 from woocommerce/update/dev-version
Prepare For 6.1 Release Cycle
2021-11-19 06:12:00 -08:00
And Finally 257e7c866c Addressing feedback.
- Replaced `intval` calls with faster type casting.
- Showing more informative error messages.
- Using ternary for better legibility in `WC_Admin_Addons::output`.
- Added `is_wp_error` check to avoid warning from `count` call in `html-admin-page-addons.php`.
- Always showing error message as detail in error output.
- Showing error detail message above "To start growing your business, head over to WooCommerce.com" text, instead of below.
2021-11-19 10:42:05 +00:00
And Finally ea1dd33b25 Updated error text. 2021-11-19 10:41:21 +00:00
And Finally 61d46c6987 Added more informative error messages when API request fails on the in-app marketplace featured page. 2021-11-19 10:41:21 +00:00
And Finally 9a0e91477e Added `woocommerce_page_wc-addons_connection_error` action, which records a Track event when the in-app marketplace fails to connect properly to the WCCOM API. 2021-11-19 10:41:21 +00:00
And Finally b7520f3d9a Slightly tidier handling of bad responses in `render_featured`. 2021-11-19 10:41:21 +00:00
And Finally a40ed95c0f Showing fallback message when the store can't connect to the WCCOM API. 2021-11-19 10:41:21 +00:00
Ron Rennick fc9c3c7aa0 Merge branch 'trunk' into fix/e2e-env-monorepo 2021-11-18 22:13:53 -04:00
Ron Rennick 53402656a0 Merge branch 'trunk' into fix/30866 2021-11-18 21:58:51 -04:00
Christopher Allford b7cc36e2c7 Updated 6.1 Version
With the release branch for 6.0 cut,
we can now update the development version.
2021-11-18 16:16:50 -08:00
Christopher Allford 388dc0290e
Merge pull request #31243 from woocommerce/dev/bump-woo-admin-2.9
Bump WooCommerce Admin to 2.9-rc.2
2021-11-18 16:12:11 -08:00
Adrian Duffell 36b48fec96 Bump WooCommerce Admin to 2.9-rc.2 2021-11-18 13:34:56 -08:00
Christopher Allford 42c2a2d252
Merge pull request #31242 from woocommerce/update/blocks-to-6.3.2
Update WooCommerce Blocks to 6.3.2
2021-11-18 13:31:25 -08:00
Niels Lange 909ba998fd Update composer.json and composer.lock for Blocks 6.3.2 2021-11-18 13:00:35 -08:00
Greg 49447617c3
Merge pull request #31239 from woocommerce/fix/29677
add common utilities for cart, checkout coupon tests
2021-11-18 12:31:05 -07:00
jonathansadowski eaf689ad78
Merge pull request #31216 from woocommerce/nx/gh-actions
Use Nx commands in GH actions
2021-11-18 11:44:02 -06:00
Ron Rennick 8b53c3a8b9 Merge branch 'trunk' of github.com:woocommerce/woocommerce into trunk 2021-11-18 13:38:34 -04:00
roykho 549f8c5e9e
Update e2e path 2021-11-18 08:25:48 -08:00
roykho 19d26298ea
Merge branch 'trunk' into nx/gh-actions 2021-11-18 08:02:24 -08:00
roykho 9fbaca0a9d
Install dependencies again 2021-11-18 07:47:57 -08:00
roykho 8732c04c86
Use single commands for executors 2021-11-18 07:28:51 -08:00
roykho 7d6979905c
Use Nx commands for smoke test release action 2021-11-18 07:25:19 -08:00
roykho c39ab816d9
Use Nx commands for daily smoke test action 2021-11-18 07:23:30 -08:00
Ron Rennick 6f84faf5ec
Merge pull request #31218 from woocommerce/update/31217
Run API tests in their own job
2021-11-18 11:11:22 -04:00
roykho 68b9e2896b
Install composer 2021-11-18 07:09:03 -08:00
roykho ce461d0c5b
Check directory 2021-11-18 06:56:55 -08:00
roykho 9b999deda0
Set path for unit test 2021-11-18 06:31:59 -08:00
roykho 2f4fa6e26c
Use Nx for unit tests action 2021-11-18 06:05:07 -08:00
Néstor Soriano e21e4ef0d2
Merge pull request #31228 from woocommerce/remove/snippet-needed-to-activate-attributes-lookup-table-feature
Remove the need to invoke LookupDataStore->show_feature() to use the product attributes lookup table
2021-11-18 12:02:48 +01:00
Néstor Soriano a50b9860fe
Merge pull request #31212 from woocommerce/improve/performance-of-product-attributes-lookup-table
Improve the performance of the product attributes lookup table query
2021-11-18 08:40:22 +01:00
roykho 4033121df7
Run npnx command 2021-11-17 12:25:33 -08:00
roykho d50855db29
Update working dir 2021-11-17 12:09:32 -08:00
roykho 3bd09dec8c
Use pnpx 2021-11-17 11:57:26 -08:00
Nestor Soriano 3a40691c6b Replace "{$wp->prefix}posts" with "{$wp->posts}" 2021-11-17 11:38:39 -08:00
Nestor Soriano caf1481767 Improve the performance of the product attributes lookup table query
Improve (by a lot) the performance of the queries for the
product attributes lookup table by doing the following:

1. Fallback the query for the "AND" case to thequery for the "OR" case
   when there's only one term being filtered for the category
   (the subquery for the "OR" case is much simpler)

2. Collapse all of the "AND" queries (for all the categories)
   into a simple one (this is possible since term ids are unique
   even across categories)

3. The most important change: introduce an extra derived query,
   so

   ...AND posts.ID in ( SELECT product_id FROM lookup_table WHERE...

   becomes

   ...AND posts.ID in ( SELECT product_id FROM (
       SELECT product_id FROM lookup_table WHERE...

   This causes the filtering subquery to be executed only once.
2021-11-17 11:38:39 -08:00
roykho 79ee6c00f5
Create a seperate no dev composer install command 2021-11-17 11:32:53 -08:00
Ron Rennick 202469fd5b add common utilities for cart, checkout coupon tests 2021-11-17 15:25:51 -04:00