Commit Graph

39909 Commits

Author SHA1 Message Date
Cullen Whitmore 499d443656 Add text-alignment to `th` elements in the variations table 2021-11-08 12:04:58 -06:00
Cullen Whitmore f7623ac324 Change attribute label column from `td` to `th` 2021-11-08 11:30:18 -06: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 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
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
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
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
louwie17 9221f67dbc
Merge pull request #30899 from woocommerce/fix/30736_invalid_track_format
Fix format of `order_edit_recalc_totals` track props
2021-11-04 13:44:33 -03:00
Lourens Schep 012359b499 Fix format of order_edit_recalc_totals props, so event does not get rejected 2021-11-04 12:26:41 -03:00
Greg 6cbba71246
Merge pull request #30724 from woocommerce/update/e2e-utils-docs
Add a note about the need of Basic Auth plugin to the docs.
2021-11-04 09:14:59 -06:00
Tomek Wytrębowicz e73329fdf3 Update links to moved e2e READMEs. 2021-11-04 12:58:11 +01:00
Tomek Wytrębowicz 751d5bf3a7 Elaborate why Basic Auth is needed to use `e2e-utils.withRestApi`
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>

Addresses https://github.com/woocommerce/woocommerce/pull/30724#discussion_r715113390
2021-11-04 12:25:52 +01:00
Tomek Wytrębowicz 0ec1bd8243 Add a note about the need of Basic Auth plugin to the docs.
Related to https://github.com/woocommerce/woocommerce/issues/30687#issuecomment-919989929
2021-11-04 12:25:52 +01:00
jonathansadowski 49771e6e1b
Merge pull request #31074 from woocommerce/pr-smoke-test
Update smoke test on PR to use pnpm
2021-11-03 10:40:15 -05:00
roykho 98fb5cafaa
Use trunk version of action-build 2021-11-03 08:19:22 -07:00
Greg 9df1b119c6
Merge branch 'trunk' into add/run-api-tests-on-pr 2021-11-03 08:47:30 -06:00
Ron Rennick 65fa9b397e
Merge pull request #31078 from woocommerce/smoke-test-release
Update smoke test to use PNPM and update paths
2021-11-03 11:31:56 -03:00
Vedanshu Jain aace508b2c
Merge pull request #29642 from cfxd/add-action-hook-after-variations-table
Add action hook after variations table
2021-11-03 19:01:11 +05:30
roykho 9622643c2e
Update smoke test to use PNPM and update paths 2021-11-03 06:24:18 -07:00
Michael Silber 4cba4bc1be Add woocommerce_after_variations_table action hook after variations table 2021-11-03 05:51:55 -07:00
Néstor Soriano 77917a2de3
Merge pull request #31070 from woocommerce/fix/30653-iqd
Correct IQD currency symbol.
2021-11-03 11:27:02 +01:00
roykho d977a00ae5
Add in working dir for actual test 2021-11-02 18:26:44 -07:00
roykho ffd31b6376
Ref trunk 2021-11-02 18:16:06 -07:00
roykho b9d58359dd
Update smoke test on PR to use pnpm 2021-11-02 18:08:32 -07:00
roykho 9ac16a0a00
Revert testing dispatch trigger and update correct path 2021-11-02 14:02:49 -07:00
Ron Rennick b4fdc03446
Merge pull request #31055 from woocommerce/fix/e2e-product-with-category
Add category by ID instead of name when creating a product in e2e tests
2021-11-02 14:54:58 -03:00
barryhughes 91435c89c5 Correct IQD currency symbol. 2021-11-02 10:32:37 -07:00
roykho 407d3b2ef7
Update e2e test pattern 2021-11-02 09:40:11 -07:00
roykho c2c65586e7
Remove running of docker 2021-11-02 09:17:15 -07:00
roykho 9ccbf5fdd5
Run docker 2021-11-02 08:36:17 -07:00
roykho 9356c1c230
Daily smoke test reinstate pattern 2021-11-01 21:51:31 -07:00
roykho 01117a2417
Add bck working directory so wc-e2e package is present 2021-11-01 21:09:52 -07:00
roykho bb27fde3d1
Update daily smoke test pattern 2021-11-01 21:03:05 -07:00
roykho 06d241daf2
Update daily smoke test prereq install path 2021-11-01 20:49:52 -07:00
Roy Ho 99946dcb48
Merge pull request #31066 from woocommerce/smoketest
Use pnpm and update some paths
2021-11-01 20:34:13 -07:00
roykho 5ee6461dd8
Added a manual trigger just to test 2021-11-01 18:36:49 -07:00
roykho ac6de4e77b
Use pnpm and update some paths 2021-11-01 18:30:17 -07:00
Greg 574b5282a2 Fix imports 2021-11-01 14:40:03 -06:00
Greg fabf6bf8c6 Code review feedback 2021-11-01 14:26:16 -06:00
Vedanshu Jain d1dbfa38ba
Merge pull request #31059 from woocommerce/fix/typo-readme
Fixed typo in readme.
2021-11-01 16:49:55 +05:30
Peter Fabian f7eeeacb10 Fixed typo in readme. 2021-11-01 11:43:26 +01:00
Greg 812b672c5e Add in missing refunds test 2021-10-29 16:43:45 -06:00
Greg c6d5e45123 More missing files 2021-10-29 16:40:27 -06:00