Commit Graph

39927 Commits

Author SHA1 Message Date
Brian c0e4852cda Update class-wc-countries.php
hide PLZ

..based on feedback at https://github.com/woocommerce/woocommerce/issues/30375#issuecomment-937858938
2021-11-09 15:29:44 -08:00
Brian 8abba36b89 Update states.php
fix codesniff
2021-11-09 15:29:43 -08:00
Brian 13be555407 update chile regions
based on https://en.wikipedia.org/wiki/ISO_3166-2:CL
2021-11-09 15:29:43 -08:00
Ron Rennick 9736b15eb6
Merge pull request #31102 from woocommerce/fix/30655
remove duplicate gitignore entries
2021-11-09 16:46:05 -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
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
Greg a7b1ceaf6a
Merge pull request #31103 from woocommerce/fix/30137
use consistent defaultViewport
2021-11-08 11:48:03 -07:00
Ron Rennick 64b562e498
Merge pull request #31082 from woocommerce/add/wsl-instructions
Added WSL instructions
2021-11-08 13:34:27 -04: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
Rodel f37bc08a44 Corrected reference to WSL instructions 2021-11-05 20:44:31 +08: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
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
Rodel 73c3563290 Added WSL instructions 2021-11-04 02:48:30 +08: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
Peter Fabian 3398cf88cb Clarify tooltip for on-hold email. 2021-11-03 13:35:58 +05:30
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