Commit Graph

40363 Commits

Author SHA1 Message Date
Ron Rennick 9736b15eb6
Merge pull request #31102 from woocommerce/fix/30655
remove duplicate gitignore entries
2021-11-09 16:46:05 -04:00
Ron Rennick 93b9745b80 arithematic to logical OR 2021-11-09 16:41:44 -04:00
roykho d839bdfc94
Implement executors for all script commands 2021-11-09 12:35:22 -08:00
Ron Rennick f4c254e8af add pnpm lock file 2021-11-09 14:26:48 -04:00
Peter Fabian 619d7097f1
Merge pull request #31100 from woocommerce/brexit-tax-obw
Recommend automated taxes to  'GB'
2021-11-09 19:23:29 +01:00
Ron Rennick eeb331f160 move coupon delete, add tax classes, rates to withRestApi 2021-11-09 14:09:26 -04:00
kkmuffme 4f39c25991 use native wp_doing_ajax instead of custom is_ajax 2021-11-09 17:55:02 +01:00
Néstor Soriano d64c4492c1
Add promoted card to in-App marketplace page (#31090)
* Add promoted card to in-App marketplace page

* Change name of transient

Changed name of transient for v2.0 of in-app marketplace featured page
content, so sites upgrading to WooCommerce 5.9 will get the correct
data for the new version of the page.
2021-11-09 08:02:57 -07:00
Peter Fabian 80ba82a00e
Merge pull request #30970 from woocommerce/fix/20563
Clarify tooltip for on-hold email.
2021-11-09 14:57:42 +01:00
Rodel 49647ea852 Added tests for order search 2021-11-09 18:19:44 +08:00
Rodel 1f341df486 Merge branch 'trunk' into add/api-tests-orders-crud 2021-11-09 14:38:19 +08:00
Greg a7b1ceaf6a
Merge pull request #31103 from woocommerce/fix/30137
use consistent defaultViewport
2021-11-08 11:48:03 -07:00
Cullen Whitmore 057019c614 Move text alignment to the label to improve CSS specificity 2021-11-08 12:28:56 -06:00
Cullen Whitmore 499d443656 Add text-alignment to `th` elements in the variations table 2021-11-08 12:04:58 -06:00
Ron Rennick 9582aa5107 move clickAndWaitForSelector to utils package 2021-11-08 13:38:55 -04:00
Ron Rennick 64b562e498
Merge pull request #31082 from woocommerce/add/wsl-instructions
Added WSL instructions
2021-11-08 13:34:27 -04:00
Cullen Whitmore f7623ac324 Change attribute label column from `td` to `th` 2021-11-08 11:30:18 -06:00
Tom Cafferkey c5e17812f0 Ensure we are loading product page gallery scripts in for FSE themes 2021-11-08 17:26:46 +00:00
Ron Rennick c6ee9e3b0a use consistent defaultViewport 2021-11-08 12:51:54 -04:00
Rodel 7c1888ddad Better phrasing in Running Tests opening statement 2021-11-09 00:45:34 +08:00
Barry Hughes 976f623792
Merge pull request #31091 from woocommerce/update/woocommerce-admin-2.8.0_Woo-6.0
Bump WooCommerce Admin version to 2.8.0
2021-11-08 08:10:58 -08:00
Vedanshu Jain ca2495fc96
Merge pull request #31092 from woocommerce/add/5.9-changelog-entries
Add changelog entries for 5.9
2021-11-08 20:55:03 +05:30
Ron Rennick a53e37f43b remove duplicate gitignore entries 2021-11-08 11:03:19 -04:00
David Stone 10b534ac82 Add 'GB' to list of countries that are supported by taxjar since it no longer is part of EU
Closes https://github.com/Automattic/woocommerce-shipping-issues/issues/20
2021-11-08 13:02:00 +02:00
Ron Rennick a6df312732
Merge pull request #31084 from woocommerce/fix/e2e-env-readme-links
Update links to moved e2e READMEs.
2021-11-05 15:54:30 -03:00
roykho 96afdca392
Change to using trunk as affected base 2021-11-05 10:20:40 -07:00
roykho 0ddad32294
Add docker up/down to executors 2021-11-05 10:10:13 -07:00
roykho 4501f13a87
Accommodate different directory names for woocommerce 2021-11-05 10:09:34 -07:00
Tom Cafferkey 5cdc6c86f6 Revert change for theme support on permalinks 2021-11-05 15:35:08 +00:00
Tom Cafferkey 2003a7813e Create conditional function wc_current_theme_supports_woocommerce_or_fse 2021-11-05 15:31:22 +00:00
roykho b86a66168e
Add Nx script executors to woocommerce plugin 2021-11-05 08:19:36 -07:00
roykho 7dc6ae6316
Add Nx basic script executors for packages 2021-11-05 08:15:04 -07:00
roykho e34803caa2
Add Nx lint to e2e-utils package 2021-11-05 05:59:47 -07:00
roykho b5715bfd88
Add Nx lint to e2e-environment 2021-11-05 05:54:57 -07:00
Rodel f37bc08a44 Corrected reference to WSL instructions 2021-11-05 20:44:31 +08:00
roykho 608d42711d
Implement Nx lint for API package 2021-11-05 05:43:46 -07:00
Nestor Soriano b5c5a4da15
Improve handling of relative paths in downloadable files
to prevent access to files outside of WordPress uploads folder.
2021-11-05 13:43:22 +01:00
Rodel 8c8385fcce Remove earlier WSL section 2021-11-05 20:42:12 +08:00
Rodel 1b60740e57 Reference to WSL md at the beginning of Running tests section 2021-11-05 20:40:54 +08:00
Rodel df85aa293c Minor changes 2021-11-05 20:23:37 +08:00
Ron Rennick efe7e4f8ba
Merge pull request #31010 from woocommerce/add/run-api-tests-on-pr
Run API tests on PR with e2e tests
2021-11-05 09:12:26 -03:00
Rodel 906afa8a67 Separate readme for WSL instructions 2021-11-05 20:10:03 +08:00
Nestor Soriano aaab2095fa
Change stable tag to 5.9 2021-11-05 12:57:59 +01:00
Nestor Soriano e1bdd037c1
Add missing changelog entries for 5.9 2021-11-05 12:56:59 +01:00
Nestor Soriano 63531b985b
Bump WooCommerce Admin version to 2.8.0 2021-11-05 12:11:11 +01:00
Nestor Soriano 2d71ec403c
Fix (and improve) failing unit test. 2021-11-05 11:59:33 +01:00
Nestor Soriano d98112e014
Use base taxes instead of current user taxes in wc_get_price_excluding_tax
Modify wc_get_price_excluding_tax so that when there's no user
available from a passed order and the
'woocommerce_adjust_non_base_location_prices' filter returns false,
the shop base location is used for the tax calculation instead of
the location of the currently logged in user.
2021-11-05 11:59:33 +01:00
Nestor Soriano 76c611b2d8
Fix: wc_get_price_excluding_tax when an order with no customer is passed
PR #30692 modified 'wc_get_price_excluding_tax' so that if an order
is passed its customer will be passed to WC_Tax::get_rates in order
to use the proper location for the taxes to be discounted. The problem
is that when the order has no customer (it's "Guest") an invalid
customer (id=0) is passed, which has no location, and thus no taxes
are deducted whatsoever.

The fix consists of checking if the customer id from the order is 0,
and in that case no customer is passed to WC_Tax::get_rates, thus
the shop location is used for the taxes.
2021-11-05 11:59:33 +01:00
Claudio Sanches 77ccfc56ca
Merge pull request #31081 from woocommerce/fix-nightly-builds
Use trunk version of action-build
2021-11-04 19:37:11 -03:00
roykho b64d0b3dfe
Add initial project.json config files to all packages and plugins 2021-11-04 14:51:04 -07:00