Commit Graph

37721 Commits

Author SHA1 Message Date
vedanshujain bc4228ae7f Add caching for node modules. 2021-01-29 16:32:34 +05:30
vedanshujain 783cb4b63c Add action for running e2e tests. 2021-01-29 16:26:03 +05:30
Vedanshu Jain 218ec02078
Merge pull request #28892 from woocommerce/add/action-zip-to-pr
Introduced "add comment" step to pr-build workflow
2021-01-29 12:46:50 +05:30
roykho b2eb2d8724
Update tax rate label when saving order closes #28649 2021-01-28 14:42:40 -08:00
Claudio Sanches 2fed015ad4
Merge pull request #28977 from woocommerce/update/wordpress-minimum
Increase WordPress minimum to 5.4
2021-01-28 19:01:09 -03:00
Christopher Allford 79e80fdd02
Increased minimum WP version to 5.4
As per the L-2 support policy we should increase the minimum to 5.4.
2021-01-28 12:56:22 -08:00
Claudio Sanches 12c6a6b082
Fixed coding standards 2021-01-28 17:07:26 -03:00
Claudio Sanches 6701ce9c9d
Merge pull request #26983 from woocommerce/fix/25082
Use tax location from order while computing tax in discount.
2021-01-28 16:59:59 -03:00
Ron Rennick 1e5692ec46
Merge pull request #28942 from woocommerce/packages/env/clean-up-console
Eliminate repeated missing resource messages in E2E
2021-01-28 14:48:22 -04:00
Ron Rennick e1a9fa0dc6 Merge branch 'master' into packages/env/clean-up-console 2021-01-28 14:21:12 -04:00
Greg eb1e881244
Merge pull request #28965 from woocommerce/try/debug-cart-coupon
make cart coupon test more granular
2021-01-28 11:09:25 -07:00
Claudio Sanches 38ba5d5e9c
Merge pull request #28967 from woocommerce/update/wc-admin-1.9.0
Update wc-admin to 1.9.0
2021-01-28 14:05:39 -03:00
roykho 8b0915c4e0
Flush term cache when saving product and settings closes #25375 2021-01-28 08:26:24 -08:00
Ron Rennick a252b3a3d8 use workaround for coupon already applied 2021-01-28 10:39:48 -04:00
Peter Fabian afbc0ab42d
Merge pull request #28893 from woocommerce/tracker_return_string_values
Tracker return string values for order related data
2021-01-28 13:17:04 +01:00
Paul Sealock 8a061fa24e update to wc-admin 1.9.0 2021-01-28 14:25:45 +13:00
Ron Rennick de759607d1 use correct coupon codes to total $0 2021-01-27 21:04:01 -04:00
Ron Rennick 1195e79c17 clear coupon code for entry 2021-01-27 20:34:56 -04:00
Ron Rennick d18dc96158 make cart coupon test more granular 2021-01-27 17:15:39 -04:00
mfs-mindsize c1c2a8d4ad added docblock for new hook (per @claudiosanchesr) 2021-01-27 13:48:05 -05:00
Fernando Marichal a3471b47d6 Fixed method adjust_download_permissions
This commit fixes the method "adjust_download_permissions" since we're getting an error if the received product id is not valid.
2021-01-27 13:25:06 -03:00
Nestor Soriano 1b04bedd3d Exclude e2e infrastructure from the zip build process
Use the new "install:no-e2e" script instead of "npm install"
for building the zip file.
2021-01-27 16:59:31 +01:00
Nestor Soriano 1d3e83ff55 Remove duplicate processing when building the zip file.
The "build:zip" NPM command was invoking "build-zip.sh" and then doing
"composer install", "grunt" and "makepot", these three were already
done in "build-zip.sh".
2021-01-27 16:50:33 +01:00
Nestor Soriano 63c2b434d2 Don't update text domains on the post-merge hook. 2021-01-27 16:48:25 +01:00
Nestor Soriano bacbd75ac8 Modify package.json to still do the lerna bootstrap by default.
Also remove the "install:e2e" script as it's not really useful.
2021-01-27 16:46:56 +01:00
Menaka S 778c4e2907 Typecast instead of using strval() 2021-01-27 20:39:41 +05:30
zhongruige 1e36385fc8 Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views 2021-01-27 08:05:14 -07:00
Ron Rennick 694aff70cb Merge branch 'master' into packages/env/clean-up-console 2021-01-27 10:23:08 -04:00
Roy Ho ed04d3080a
Merge pull request #28951 from JoseeWouters/fix/alignment-checkout-review-in-twenty-twenty-one
Left align content in tfoot in checkout-review-order-table
2021-01-27 06:02:16 -08:00
Menaka S 203e5ff2a8 Convert all values collected to string 2021-01-27 18:39:52 +05:30
Josee Wouters 294df7f96a Left align content in tfoot in checkout-review-order-table 2021-01-27 10:38:39 +01:00
Roy Ho 32b502dcd2
Merge pull request #28949 from woocommerce/fix/28947
Use wp_robots_no_robots() when available
2021-01-26 15:24:22 -08:00
Claudio Sanches 41d26ea283 Use wp_robots_no_robots() when available
Adds support for WP 5.7 wp_robots_no_robots().
Note that wp_no_robots() is deprecated on WP 5.7.
2021-01-26 20:00:02 -03:00
Ron Rennick bb4e654cce
Return jest error for Travis (#28929)
* Return jest error for Travis

* fix onboarding flow for WCA 1.9.0
2021-01-26 21:59:40 +01:00
Roy Ho f9a02d1029
Merge pull request #28834 from woocommerce/fix/comment-typos
Fix typos in comments
2021-01-26 08:23:54 -08:00
Roy Ho ff06542a87
Merge pull request #28905 from mehrshaddarzi/patch-1
change attibutes to attributes
2021-01-26 08:17:23 -08:00
Roy Ho 207101caa3
Merge pull request #28919 from jahir07/single-product-image
Changes post_thumbnai_id instead of get_image_id
2021-01-26 08:10:52 -08:00
Roy Ho 5dd53439e0
Merge pull request #28927 from sc0ttkclark/patch-1
Fix fatal error problems by no longer adding false to the list of orders
2021-01-26 08:07:37 -08:00
Ron Rennick f48ca7cade eliminate repeated missing resource messages in E2E 2021-01-26 11:42:51 -04:00
Nestor Soriano f239075b2f Improve the nmp setup process to install e2e tests only explicitly
Use the "install-subset" package to define a subset of the nmp
dependencies that doesn't include the e2e testing infrastructure.
Also define a new npm "install:no-e2e" command, and modify the
post-merge hook to use it instead of the full install.
2021-01-26 12:23:24 +01:00
Roy Ho b7339a3114
Merge pull request #28931 from woocommerce/update/prepare-5.1
Prepare default branch for 5.1
2021-01-25 11:58:35 -08:00
Claudio Sanches ee28da5d30 Prepare default branch for 5.1 2021-01-25 16:38:22 -03:00
Ron Rennick d882433db4
Merge pull request #28661 from woocommerce/e2e-shopper-cart-apply-coupon
Add new e2e test shopper cart apply coupon
2021-01-25 13:34:23 -04:00
Christopher Allford 3ea6f8d5c5 @woocommerce/e2e-utils: updated fishery to 1.2
Now that my PR adding support for async creation has been merged we can
remove the AsyncFactory class we were using as a temporary workaround.
2021-01-25 09:33:46 -08:00
Ron Rennick 6134d0ffc8
Merge pull request #28867 from woocommerce/add/e2e-shopper-registered-checkout
E2E: add registered shopper checkout test
2021-01-25 12:52:48 -04:00
Ron Rennick 0eafe83be6 Merge branch 'master' into e2e-shopper-cart-apply-coupon 2021-01-25 12:24:19 -04:00
Scott Kingsley Clark ceb3a0d753
Fix fatal error problems by no longer adding false to the list of orders
By adding this prevention, it also stops fatal errors (calling method on non-object) from happening down the line when working with the orders list that is always assumed to be a proper order object.

Example error this prevents:

```
Fatal error: Uncaught Error: Call to a member function get_items() on bool in /wp-content/plugins/woocommerce/includes/class-wc-order.php on line 1902
```
2021-01-25 10:11:14 -06:00
Claudio Sanches ca4cc1d6f1
Merge pull request #28918 from woocommerce/fix/prep-492-release
Update changelogs for 4.9.2.
2021-01-25 11:16:02 -03:00
jahir07 fe38d20f51 Added instead of ->get_image_id() 2021-01-25 17:42:27 +06:00
Peter Fabian eec4c73701 Update changelogs for 4.9.2. 2021-01-25 12:19:55 +01:00