Commit Graph

47210 Commits

Author SHA1 Message Date
Roy Ho 85ac42b945
Merge pull request #31875 from woocommerce/update/bump_woocommerce_admin_3.1.0-rc.1
Bump WooCommerce Admin version to 3.2.0-rc.1
2022-02-10 06:41:10 -08:00
Néstor Soriano 14a8b328a9
Merge pull request #31847 from oscargare/trunk
Fix wc_get_price_excluding_tax ignoring the woocommerce_adjust_non_base_location_prices filter.
2022-02-10 13:28:12 +01:00
Néstor Soriano 6eaef89bdb
Fix unit tests related to wc_get_price_excluding_tax 2022-02-10 12:40:10 +01:00
Nestor Soriano 7f48e88a09
Small changes to the custom orders table implementation
- Add an extra warning message in the settings page
- Escape table name for DROP statement in DatabaseUtil::drop_database_table
2022-02-10 09:13:39 +01:00
Dharmesh Patel 1be5e81860 Fixed clear cart after payment for block-based themes(Twenty Twenty-Two). 2022-02-10 10:14:01 +05:30
barryhughes 8d279c018c Update tests for product reviews (REST API endpoints). 2022-02-09 19:53:00 -08:00
Fernando Marichal ca88734006 Fix actions in gateways 2022-02-09 22:02:44 -03:00
Lucas Bustamante 3eeb1f239f
Merge pull request #31868 from woocommerce/add/api-t-documentation
Added documentation around certain conventions in API tests.
2022-02-09 19:35:20 -03:00
Lucas Bustamante 4ad028eab4
Merge pull request #31839 from woocommerce/fix/31748
update slack export to build version
2022-02-09 19:31:47 -03:00
Josh Betz 4069cc3470 fix tests 2022-02-09 13:47:50 -06:00
Jonathan Sadowski 757209ba37 Add github workflow to automatically enforce the code freeze. 2022-02-09 13:43:05 -06:00
Lourens Schep cd410637fd Bump WooCommerce Admin version 2022-02-09 15:26:14 -04:00
Jon Lane 287c560692 Suppress wp.console.withState deprecation warning 2022-02-09 10:23:53 -08:00
Nestor Soriano 3964a2255a
Make the db utils class non-static, change the custom orders tables UI
- Rename DBUtils to DatabaseUtils, and register it in the DI container
  (instead of having it just contain static methods)

- The tool for the custom orders tables has now two shapes:
  "create tables" and "delete tables" (so no regeneration, migration...)

- Not yet used constants and methods from DataSynchronizer removed

- Added missing method comments
2022-02-09 11:58:19 +01:00
Rodel cf90bda319 Added documentation 2022-02-09 15:14:55 +08:00
Chi-Hsuan Huang e1ac06afa7 Fix payments extensions displayed below the offline payments options (https://github.com/woocommerce/woocommerce-admin/pull/8232)
* Fix payments extensions displayed below the offline payments options

Add spaces back

* Add changelog

* Remove the snapshot test and update payment gateway render test

* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
Chi-Hsuan Huang 6dc5189fc2 Replace "any" type with an explicit type (https://github.com/woocommerce/woocommerce-admin/pull/8262)
* Replace "any" type with an explicit type

* Add types in utils and import FormInputProps to store address
2022-02-09 12:40:44 +08:00
barryhughes b2580b29f7 Further adjust permissions for reviews (REST API). 2022-02-08 14:48:04 -08:00
louwie17 83e1addd82 Fix minor process issues (https://github.com/woocommerce/woocommerce-admin/pull/8279) 2022-02-08 18:22:26 -04:00
louwie17 7d2aa04b2a Add business-details step complete track (https://github.com/woocommerce/woocommerce-admin/pull/8265)
* Add business-details step complete track

* Add changelog

* Update tab name and treat each tab as an individual step when trickering tracks

* Add comment

* Fix linting

* Remove unnecessary css selector

* Update goToNextStep param to make it less confusing

* Update jsdoc param
2022-02-08 14:29:17 -04:00
xristos3490 741f5015e0 typo 2022-02-08 19:27:30 +02:00
xristos3490 f331dbc9d2 Move filter into the template controller 2022-02-08 19:24:55 +02:00
Néstor Soriano 87d8e93bfe
Fix argument count in hook. 2022-02-08 17:42:30 +01:00
vedanshujain fc0c45a204 Show link to create custom orders table. 2022-02-08 21:57:39 +05:30
vedanshujain 3d29e8329c Refactor and move DB related methods to util class. 2022-02-08 21:44:38 +05:30
Tim b1e7046808 Removed duplicate height style in email-styles template 2022-02-08 09:29:11 +00:00
Nestor Soriano 2e613bbd0c
Merge branch 'scafolding-for-custom-order-tables' into mvp-cot/intial-table-strucuture 2022-02-08 09:26:08 +01:00
RJ b9806c5087 Made email in OBW optional again (https://github.com/woocommerce/woocommerce-admin/pull/8263) 2022-02-08 08:56:45 +08:00
louwie17 23505c1e58 Make sure hidden fields are cleared when definition changes (https://github.com/woocommerce/woocommerce-admin/pull/8250)
* Make sure hidden fields are cleared when definition changes

* Make use of shortened condition available in TS
2022-02-07 19:31:08 -04:00
Lucas Bustamante 03614e54ae Tweak comment 2022-02-07 18:16:37 -03:00
Lucas Bustamante 0cf1b69c7a Rename/move test to more appropriate location 2022-02-07 18:13:02 -03:00
Lucas Bustamante 0bc908f8d2 CR: Spacing 2022-02-07 18:10:31 -03:00
Lucas Bustamante cd2ed17200 CR: Simplify code 2022-02-07 18:10:02 -03:00
Lucas Bustamante 299b7c0bdd Remove display_key/display_value from coupon_line on Order test 2022-02-07 18:08:26 -03:00
Lucas Bustamante ae5d23ce9f Rename property, code style changes, add developer comment 2022-02-07 18:05:06 -03:00
barryhughes f762037e61 Update permission checks for V1/V2 product review endpoints. 2022-02-07 12:58:29 -08:00
Lucas Bustamante 8b859ffb25 Merge branch 'trunk' into packages/api/json-transform-tests 2022-02-07 17:53:55 -03:00
louwie17 c2537136bb Fix shipping task step when store location isn't filled out (https://github.com/woocommerce/woocommerce-admin/pull/8260)
* Remove completeStep call in StoreLocation callback to avoid duplicate call.

* Add changelog
2022-02-07 14:55:35 -04:00
Moon 080dc48a9b Fix/8191 deleting products adds blank space to analytics data (https://github.com/woocommerce/woocommerce-admin/pull/8255)
* Retrieve variation name from woocommerce_order_items for deleted products

* Remove test code

* Refactor to use wc_order_product_lookup table

* Identation fix

* Remove link if the variation/product has been deleted

* Add changelog

* Remove (deleted) suffix

* Add (Deleted) suffix in frontend
2022-02-07 10:13:27 -08:00
jamelreid bd14664ef4 Removed test workflows 2022-02-07 09:37:23 -05:00
Nestor Soriano 7a9651ad30
Rename FeatureController to CustomOrdersTableController.
Also fix priority-args count reversed in filter hookings in that class.
2022-02-07 11:57:54 +01:00
Ilyas Foo dfdafc1568 Update headercard to use filter to add ExPlat parameter (https://github.com/woocommerce/woocommerce-admin/pull/8233)
* Add changelog

* Update headercard experiment hook to utilize `woocommerce_explat_request_args` filter

* Add test

* Fix experiment name check

* Update parameter name

* Add changelog

* Removed old changelog

* Added prop comments to Layout component

* Add preload option for homescreen

* Fix class attribute typo

* Hide extended tasklist when task detail is shown

* Add local Suspense to stop lazy component bubbling up to Controller's Suspense

* Remove unused props

* Add missed Suspense, add loading logic to ActivityHeader

Co-authored-by: Moon <moon.kyong@automattic.com>
2022-02-07 08:50:20 +08:00
Fernando Marichal eb44888a79 Fix `track_setting_change` method 2022-02-05 09:54:10 -03:00
Oscar Gare 7428e264bd woocommerce_adjust_non_base_location_prices filter not work if there is no order 2022-02-05 10:57:46 +01:00
Barry Hughes f3927c786a
Merge pull request #31819 from woocommerce/add/indices-to-product-attributes-lookup-table
Add database indices for the product attributes lookup table
2022-02-04 14:55:15 -08:00
Jamel Noel Reid 87b69a8f26
Merge pull request #31732 from woocommerce/e2e/add-force-to-test-scaffold
Add --force to test scaffold
2022-02-04 14:08:23 -05:00
Ron Rennick 3bb27bdc79 update slack export to build version 2022-02-04 14:48:56 -04:00
Jonathan Lane 5d2b764da1
Merge pull request #31835 from woocommerce/e2e/bump-default-wp
bump e2e-environment to WP 5.9.X default
2022-02-04 10:44:25 -08:00
Jonathan Lane d3183be8a5
Merge pull request #31838 from woocommerce/fix/31456
use OS path separator in installFiles
2022-02-04 10:38:50 -08:00
Jonathan Lane 6dbfe9e044
Merge pull request #31836 from woocommerce/e2e/prepare-release
Prepare E2E package releases
2022-02-04 10:30:26 -08:00