Commit Graph

37797 Commits

Author SHA1 Message Date
Marcus 3201a99995 fix: only use customInitFile in e2e if it's a string
in WSL2 the second argument is an instance of Command and can not be used with path.resolve
2021-02-23 20:12:51 +01:00
Ron Rennick 404e3aeb7c update changelog, remove sale price from test 2021-02-23 14:44:47 -04:00
Peter Fabian 313ea8541c Remove compatibility checks for major version.
In addition to #28840, there are other places where we make use of compatibility check with major versions. I've discovered 2:
- update through /wp-admin/update-core.php
- force disabling auto-updates if there are any extensions that haven't declared their compatibility with WC 5.0

This change updates both places to be in line with the changes done in #28840.
2021-02-23 13:27:06 +01:00
Peter Fabian 35d4ee4073
Merge pull request #28699 from woocommerce/fix/absolute-download-paths
Prevent local relative downloadable products to be treated as "absolute"
2021-02-23 11:50:34 +01:00
Ron Rennick dcb76a3047 use common buildURL function 2021-02-23 04:52:43 -04:00
Ron Rennick 116dccd12a add basic external product api test 2021-02-23 04:17:45 -04:00
Moon 5c99233905 Minor fixes
* Removed extra double quotation from the image tag

* Fixed typo in the init() method

* Moved init() method body into the constructor -- a separate method is not necessary
2021-02-22 20:33:02 -08:00
Rasmy Nguyen 7a4b54ad38 Add section to tracks event props
This adds the Extenstions tab to the event props so we can determine
which tab merchants are installing wcpay from.
2021-02-23 12:25:40 +09:00
Rasmy Nguyen cbb1a540bd Change hook name and add id param to track method
This changes the addon install hook to match the other hooks in the
extensions tracking class. This also adds an addon_id param to the
callback associated with this hook so we can extend this to other
plugins in the future.
2021-02-23 11:34:28 +09:00
Rasmy Nguyen 4ad1465fe3 Add tracks event for WCPay install via addons page
This adds a tracks event for WooCommerce Payments installs via the
wc-addons page.
2021-02-23 11:34:28 +09:00
Moon 781c5e24d7 Status dashboard widget should be rendered only if onboarding tasks have been completed or hidden 2021-02-22 15:29:47 -08:00
Ron Rennick cc86f19dec fix up some in code docs 2021-02-22 17:16:17 -04:00
Ron Rennick 2e2b53cd7d add external product type to api package 2021-02-22 17:12:30 -04:00
Greg 3830dcefba
Update CHANGELOG.md
Fixed minor type in `CHANGELOG.md`
2021-02-22 13:13:04 -07:00
zhongruige 15825a5a13 Code review feedback 2021-02-22 13:09:11 -07:00
zhongruige 75aefa6325 Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-shopper-variable-product-updates 2021-02-22 13:07:43 -07:00
Claudio Sanches f41250df39 Added unit test for cart validation 2021-02-22 13:14:43 -03:00
Néstor Soriano 68dd901b65
Merge pull request #29051 from nielslange/update/#28724 2021-02-22 16:02:58 +01:00
Fernando f613bbaeba
Merge pull request #29105 from woocommerce/fix/disable-merchant-email-notes
Merchant email notes now are turned off by default
2021-02-22 09:48:00 -03:00
Greg 5ca996b44a
Merge pull request #29079 from woocommerce/try/handle-confirm-dialog
add delay to confirm dialogs on refund test
2021-02-19 15:58:58 -07:00
barryhughes 761f155fc3 Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973 2021-02-19 14:50:59 -08:00
Tam Mullen e937a92723
Merge pull request #28869 from woocommerce/add/e2e-merchant-product-views
Added tests around product search and editing a product
2021-02-19 22:34:31 +00:00
Greg 6f9c00cd1c
Merge pull request #29118 from woocommerce/packages/api/product-properties
Separate product properties into property groups
2021-02-19 14:24:14 -07:00
Claudio Sanches b6fe772d54
Merge pull request #29109 from woocommerce/update/add-tracking-to-status-widget
Add tracking to WooCommerce Status widget
2021-02-18 20:03:50 -03:00
Claudio Sanches 881159dd31 Indent with tabs 2021-02-18 20:02:56 -03:00
Claudio Sanches ddc71d71a6
Merge pull request #27242 from jgreys/fix/27021
Checkout: phone number validation fix #27021
2021-02-18 19:31:33 -03:00
Moon ba2f97af62
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:27 -08:00
Moon ab8d29ea0c
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:22 -08:00
Claudio Sanches 8d4d372b86 Prepare default branch for 5.2-dev 2021-02-18 17:32:50 -03:00
Lourens Schep 966aca59ad Removed external class and moved logic to private functions 2021-02-18 16:05:00 -04:00
Barry Hughes 9f8145cd15
Merge pull request #28078 from woocommerce/fix/27949
Delay the registration of data exporters and erasers | #27949
2021-02-18 11:31:08 -08:00
Lourens Schep 4663d31f66 Fix some formatting changes 2021-02-18 12:01:52 -04:00
Lourens Schep 0fc81a27fc Add tests 2021-02-18 12:01:52 -04:00
Lourens Schep 136e82ee01 Added a v2 report class that makes use of the wc-analytics if wc admin is not disabled 2021-02-18 12:01:52 -04:00
Peter Fabian a9da927049
Merge pull request #27277 from filipecorrea/26686-invalid-refund
Fix invalid refund amount error when no decimals
2021-02-18 14:59:08 +01:00
Vedanshu Jain 03ba8838b1
Merge pull request #29099 from woocommerce/fix/27376
Make the refunds creation REST API behave more as documented
2021-02-18 14:25:38 +05:30
Néstor Soriano 9c2b8ac9fd
Remove extra space at end of a couple of lines 2021-02-18 09:38:17 +01:00
Moon bc3219e22e Add tests for the finish setup dashboard widget and clean up code 2021-02-17 16:07:50 -08:00
Christopher Allford 5c624278dc
Merge pull request #29139 from woocommerce/fix/issue-29137
Fix placeholder image height in cart closes #29137
2021-02-17 14:38:30 -08:00
Roy Ho 2fab448010
Update assets/css/twenty-twenty-one.scss
Co-authored-by: Christopher Allford <christopher.allford@automattic.com>
2021-02-17 13:58:16 -08:00
Moon 6284cbee3a Add a new dashboard widget to promote store setup 2021-02-17 12:10:13 -08:00
Niels Lange e9d425ba65
Update includes/wc-template-functions.php
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2021-02-17 21:09:18 +07:00
louwie17 2471f816e4
Merge pull request #29093 from woocommerce/update/28570_widget_stock_links
Update the woo widget stock links to new analytics page
2021-02-17 09:35:50 -04:00
Peter Fabian ded1c15699
Merge pull request #29150 from woocommerce/fix/contributor-guidelines
Fix/contributor guidelines
2021-02-17 09:04:32 +01:00
James Allan 264bccf505 Prevent displaying coupon form on checkout requiring login 2021-02-17 11:42:30 +10:00
barryhughes 4a78f13958 Spacing 2021-02-16 12:43:18 -08:00
barryhughes 97c4e42610 Correct the external packages list (remove REST API, add WC Admin) | spotfix 2021-02-16 12:40:27 -08:00
Claudio Sanches 6fae8ca40b
Merge pull request #29146 from woocommerce/fix/27290-rest-api-order-updates
Throw an error if a coupon item ID (readonly) is specified during an order update | #27290
2021-02-16 17:04:49 -03:00
barryhughes f79b3f9120 Supporting tests for handling coupon-related order updates (via REST API) | #27290 2021-02-16 10:28:46 -08:00
barryhughes 24e0191dc7 Throw a 400 error if a coupon item ID (readonly) is posted/put during an order update | #27290 2021-02-16 09:59:03 -08:00