Commit Graph

41012 Commits

Author SHA1 Message Date
Lucas Bustamante baa2d15c2d ts-jest ^27 is incompatible with chalk <3.0.0
This breaks the build in the monorepo due to some package using chalk <3.0.0, reverting back to jest/ts-jest ^25 seems like the lesser evil
2022-01-19 13:47:29 -03:00
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
Jeff Stieler 8c78791c37 Fix styling of order pay form via my account. 2022-01-18 16:50:30 -07:00
Jeff Stieler 1a8e27e5ca Fix my account orders action button spacing. 2022-01-18 16:50:07 -07:00
jamelreid 7eef1abb02 Added a 45 second timeout to the beforeAll hook 2022-01-18 17:52:11 -05: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
mrleemon f5411284a5
Wrap terms and conditions required asterisk symbol with <abbr> tag 2022-01-18 20:00:33 +01: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
jamelreid af8fedf6f6 Removed whitespace 2022-01-18 11:46:09 -05:00
Menaka S 80bf1cfb76 Add WcPay settings info to WC Tracker 2022-01-18 14:22:42 +04:00
Ron Rennick 7c04c5893c e2e package changelog cleanup 2022-01-18 05:04:32 -04:00
Nestor Soriano dbb4605e8e
Change db update version from 6.2 to 6.3.
Also rename the db update function to include the Woo version number.
2022-01-18 09:28:54 +01:00
Nestor Soriano 806c4f2ed3
Add a table regeneration step size filter and a "regeneration aborted" warning
Add a new filter: woocommerce_attribute_lookup_regeneration_step_size,
it allows to choose how many products will be processed on each
step when the product attributes lookup table is being regenerated,
the default is the previous fixed value, 10.

Also when the regeneration is manually aborted (via deleting the
woocommerce_attribute_lookup_regeneration_in_progress option), the
products - advanced settings section will still allow to enable the
usage of the table, but a warning will be shown because the table
will be in an inconsistent state.
2022-01-18 09:06:14 +01: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
jamelreid bb2810abf9 Fixed commands and removed test steps 2022-01-15 14:07:16 -05:00
jamelreid 5dbf994d8e Added steps to tests condition evaluation 2022-01-15 13:58:25 -05: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
dnwjn fe7a35adc8 Update since version 2022-01-14 10:16:22 +01:00
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