Commit Graph

47373 Commits

Author SHA1 Message Date
Ž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
Chi-Hsuan Huang 9cfd69d778 Fix incorrect date options when the "Default Date Range" is set from Analytics settings (https://github.com/woocommerce/woocommerce-admin/pull/8189)
* Add defaultDateRange argument to getAllowedIntervalsForQuery function for default period value

* Fix incorrect date options when the "Default Date Range" is set

* Add changelog
2022-01-19 10:15:33 +08: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
Joshua T Flowers 067c9f763e Fix task ID class check and add tests around tracking (https://github.com/woocommerce/woocommerce-admin/pull/8185)
* Fix task ID class check and add tests around tracking

* Add changelog entry

* Add doc comment for return value of recorded tracks event
2022-01-18 15:29:14 -05:00
Joel Thiessen 96c7eb4e26 Adding tooltip to describe the lack of refund deductions from revenue summaries (https://github.com/woocommerce/woocommerce-admin/pull/8187) 2022-01-18 12:07:32 -08: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
Fernando 3c424992a4 Refactor selling options - OBW - Business Details (https://github.com/woocommerce/woocommerce-admin/pull/8081)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-18 10:46:10 -03:00
Chi-Hsuan Huang 2ce17ed7c0 Fix incorrect total count of downloads on the analytics download report (https://github.com/woocommerce/woocommerce-admin/pull/8182)
* Fix incorrect total count of downloads on download analytics report

* Add changelog
2022-01-18 19:04:20 +08:00
Chi-Hsuan Huang 18a4a467f8 Fix get_automated_tax_supported_countries doesn't include UK (https://github.com/woocommerce/woocommerce-admin/pull/8180)
* Add GB to automated tax supported countries list

* Add changelog
2022-01-18 18:31:46 +08:00
Chi-Hsuan Huang 3b8c6662e8 Fix incorrectly displayed note created date (https://github.com/woocommerce/woocommerce-admin/pull/8179)
* Fix incorrectly displayed note created date

* Add changelog

* Add package changelog
2022-01-18 18:24:15 +08:00
Menaka S 80bf1cfb76 Add WcPay settings info to WC Tracker 2022-01-18 14:22:42 +04:00
Chi-Hsuan Huang 08acc3e2f7 Fix incorrect reader text generated for data points on charts table (https://github.com/woocommerce/woocommerce-admin/pull/8181)
* Fix incorrect screen reader text generated for data points on charts table

* Add changelog
2022-01-18 18:10:23 +08: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
Chi-Hsuan Huang ae0ea6df2c Fix php unit test "test_deleted_coupons" for wc >= 6.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/8162)
* Fix bin/install-wp-tests.sh for wc >= 6.0.0

* Fix php unit test "test_deleted_coupons" for wc >= 6.1.0

* Update WC_Tests_Reports_Coupons test_populate_and_query test

Fix test
2022-01-18 13:31:21 +08: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
Chi-Hsuan Huang 161a9d6feb Fix shipping rate error message overlaps with the 'Proceed' button (https://github.com/woocommerce/woocommerce-admin/pull/8165)
* Fix shipping rate error message overlaps with the 'Proceed' button

* Add changelog
2022-01-17 14:39:02 +08:00
Chi-Hsuan Huang 409f077a83 Fix setup wizard free features checkbox re-check itself (https://github.com/woocommerce/woocommerce-admin/pull/8169)
* Fix setup wizard free features checkbox re-check itself

* Add changelog
2022-01-17 10:03:32 +08: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
Tom Cafferkey 88a623639c Code review feedback 2022-01-14 14:26:12 +00:00
Joshua T Flowers 666f740659 Add localized validation to store address (https://github.com/woocommerce/woocommerce-admin/pull/8123)
* Use locale labels for store info

* Get address validation errors based on locale

* Fix validation rules based on locale

* Fix up store address in location task step

* Add changelog entry
2022-01-14 08:39:25 -05: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