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
roykho
a4b44659fc
revert workspace config
2021-11-04 12:58:52 -07: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
roykho
acbd9883f1
Prevent from running npm
2021-11-04 07:36:58 -07:00
roykho
90075e81a6
Run Nx add to monorepo command to auto set up some things
2021-11-04 07:35:02 -07:00
roykho
7db8509af1
Extend the base TS configuration and update package path
2021-11-04 07:32:47 -07: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
roykho
e0265eefd8
Add nx composer dependency
2021-11-03 12:20:12 -07: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
Manos Psychogyiopoulos
fb1cc38375
Delay handling of requests to hide admin notices and limit to admin area
...
Moving this to `admin_init` also ensures that WC_Notes_Run_Db_Update has been instantiated before it can hook into the `woocommerce_hide_update_notice` action. See:
- WC_Install:init()
- WC_Notes_Run_Db_Update::construct()
closes #30781
2021-11-03 10:28:30 +02:00
Peter Fabian
3398cf88cb
Clarify tooltip for on-hold email.
2021-11-03 13:35:58 +05:30