Commit Graph

40673 Commits

Author SHA1 Message Date
Lucas Bustamante 58e2c6ecaa Merge branch 'trunk' into packages/api/json-transform-tests 2022-01-19 13:28:32 -03:00
Lucas Bustamante 5deef1b4b2 Add tests and partial fix of coupon_lines and refunds 2022-01-19 13:28:16 -03:00
Lucas Bustamante 5ea6f671d3 Add tests and partial fix of tax_lines 2022-01-19 13:16:45 -03:00
Lucas Bustamante f23587cde6 Add tests and partially fix line_items, fee_lines, shipping_lines 2022-01-19 13:11:59 -03:00
Peter Fabian 7412e8e174
Merge pull request #31193 from azygis/feature/30006-cart-product-modified-hook
New hook: cart item removed because of hash change
2022-01-19 15:57:15 +01:00
Žygimantas Arūna db6f6f22ca New hook: cart item removed because of hash change 2022-01-19 15:01:21 +01:00
Peter Fabian af3c2732c1
Merge pull request #31508 from woocommerce/update/revert-Customize-WC-logic
Revert #30044
2022-01-19 14:50:02 +01:00
Peter Fabian 322696b2fa
Merge pull request #31506 from siliconforks/woocommerce_product_recount_terms-filter
Change '__return_true' to true in apply_filters()
2022-01-19 14:38:14 +01:00
Lucas Bustamante 6489025273 Hydrate from snake_case or camelCase, depending on applied transformers 2022-01-18 19:36:38 -03:00
Lucas Bustamante 2120c08eb0 Tests WIP 2022-01-18 19:36:18 -03:00
Lucas Bustamante 46af82a842 Make OrderLineItem hydratable 2022-01-18 19:36:06 -03:00
Lucas Bustamante 3c8c6e7718 Rename properties according to WooCommerce API 2022-01-18 19:35:56 -03:00
Lucas Bustamante 6a6ceaa3f4 Add more keys to be converted 2022-01-18 19:35:38 -03:00
jonathansadowski 5239cf62e7
Merge pull request #31672 from woocommerce/update/partially-revert-31113
Partially revert #31113 `is_ajax` deprecation.
2022-01-18 13:16:13 -06:00
jonathansadowski 5e4f6c7413
Add `@see` tag to hint at usage of `wp_doing_ajax` 2022-01-18 13:15:32 -06:00
Jonathan Sadowski d39bd0eb54 Partially revert #31113
This commit reverts the deprecation if `is_ajax` that occurred in #31113. It leaves beind the changes to use the native function `wp_doing_ajax` instead.
2022-01-18 11:28:35 -06:00
Lucas Bustamante b75f8adbb5 Test that a JSON payload is transformed as expected (WIP) 2022-01-17 16:25:49 -03:00
Lucas Bustamante 770bd181ce Split Shipping and Billing Addresses as they have different properties 2022-01-17 16:25:23 -03:00
Jamel Noel Reid c9696e66b9
Merge pull request #31644 from woocommerce/e2e/import-cleanup
e2e-core-test package cleanup
2022-01-17 13:08:59 -05:00
Lucas Bustamante c6ac637fa6 Bump ts-jest to same version of jest ^27 2022-01-17 09:37:45 -03:00
Vedanshu Jain 3c9d1353e5
Merge pull request #31317 from kkmuffme/cookie-consent-filter
add cookie consent filter
2022-01-17 16:28:33 +05:30
Vedanshu Jain e6544d737d
Rename filter to be more generic since it can be used across different use cases. 2022-01-17 16:04:34 +05:30
Peter Fabian 505e6ee27c
Merge pull request #31590 from masteradhoc/patch-3
change string 'automatically generate an account password'
2022-01-17 11:25:11 +01:00
Ron Rennick 1c1fceb304 e2e-core-test package cleanup 2022-01-14 15:44:08 -04:00
Kamil 37794b2b7c
Additional parameters in `woocommerce_get_product_thumbnail` (#31605)
* Additional parameters in `woocommerce_get_product_thumbnail`

* Protection against potential wrong types of parameters

* Coding standards
2022-01-14 13:42:35 -05:00
Greg a1523c39fb
Merge pull request #31643 from MrJnrman/fix/update-github-action-env
Update ENV variables to be plain text
2022-01-14 10:53:30 -07:00
秋余 afde32fd01
If applied, this commit will format Line items price in order api (#31593)
* If applied, this commit will format Line items price in order api

When buying three products at price is 17.17. request /wp-json/wc/v3/orders api will get line_items prices is 17.169999999999998, this is because floating point numbers have limited precision.

* use wc_format_decimal function format line item price on order api
2022-01-14 12:35:46 -05:00
jamelreid 81b91e2ba3 Update ENV variables to be plain text 2022-01-14 11:54:32 -05:00
jonathansadowski 2a2b609055
Merge pull request #31640 from woocommerce/update/changelog-6.1
Prepare trunk to 6.3.0-dev and update changelog
2022-01-14 10:30:47 -06:00
Vedanshu Jain eb7a727371
Merge pull request #31435 from erikdemarco/patch-5
Filter enhancement
2022-01-14 18:42:32 +05:30
vedanshujain 7b8f3be261 Merge branch 'trunk' into pr/31317 2022-01-14 17:20:46 +05:30
vedanshujain 17f6671924 Merge branch 'trunk' into pr/31435 2022-01-14 17:01:30 +05:30
Vedanshu Jain fd658797d8
Merge pull request #31577 from woocommerce/issue/31562-filter-coupons-by-status
Issue/31562 filter coupons by status
2022-01-14 16:32:27 +05:30
Vedanshu Jain d5f32ee514
Merge pull request #31610 from woocommerce/fix/allow-block-taxonomy-product-templates
Allow Blocks for Custom Product taxonomies
2022-01-14 16:22:50 +05:30
Vedanshu Jain a9c1c6756a
Updated @since version 2022-01-14 15:57:31 +05:30
Claudio Sanches fa781ef9e7
Merge pull request #31623 from kvnang/trunk
Use inline `onload` event instead of jQuery `load`
2022-01-14 02:43:11 -03:00
Claudio Sanches ed69120f2c
Merge pull request #31641 from woocommerce/update/bump-woocommerce-admin-3.1.0-rc.1
Version bump WooCommerce Admin to 3.1.0-rc.1
2022-01-14 02:14:14 -03:00
Ilyas Foo e3357ff3bf Bump version 2022-01-14 07:39:59 +08:00
Claudio Sanches efcdcfa67c Prepares trunk to 6.3.0-dev and update changelog 2022-01-13 20:28:58 -03:00
Claudio Sanches 36f4ee84aa
Merge pull request #31556 from woocommerce/update/woocommerce-blocks-6.7.0
Update WooCommerce Blocks package to 6.7.1
2022-01-13 20:22:48 -03:00
Greg 3457917a3a
Merge pull request #31629 from woocommerce/fix/remove-duplicate-path-from-actions
Remove the need for duplicate `plugins/woocommerce` in path when running a single E2E test
2022-01-13 15:05:31 -07:00
Jamel Noel Reid 522fecf7f3
Merge pull request #31361 from woocommerce/add/apt-publish-config
Added public publish config for API core tests package
2022-01-13 15:45:49 -05:00
Greg c9953da73c Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/apt-publish-config 2022-01-13 12:16:39 -07:00
Miguel Perez Pellicer bfa5d2d14d Fix format for PHP < 7.3 2022-01-13 18:14:29 +01:00
Miguel Perez Pellicer 9ec469859b Fix format for PHP < 7.3 2022-01-13 18:10:26 +01:00
Miguel Perez Pellicer ae65c8c139 Adding Unit tests 2022-01-13 18:01:11 +01:00
jamelreid fe736d7d42 Merge branch 'trunk' into fix/remove-duplicate-path-from-actions 2022-01-13 10:55:38 -05:00
jamelreid c1d0f510af Updated CHANGELOG.md 2022-01-13 10:52:55 -05:00
jamelreid b89b67658a Updated method import 2022-01-13 10:52:44 -05:00
jamelreid 564ea31c5d Changed method name to resolveSingleE2EPath 2022-01-13 10:52:15 -05:00