Commit Graph

47343 Commits

Author SHA1 Message Date
jamelreid ca3dac4828 Adds step to execute Smoke test release workflow 2022-02-04 07:30:01 -05:00
Peter Fabian 79578e1262 Make the error code more correct. 2022-02-04 11:00:46 +01:00
Peter Fabian 4e8b179a8b
Update plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
Report more correct error code.

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-02-04 10:58:47 +01:00
Nestor Soriano a2e3e31bd0
Create indices in a stored procedure so that IF...THEN can be used. 2022-02-04 10:27:51 +01:00
Barry Hughes b18e2437f4
Merge pull request #31825 from tyrann0us/patch-2
Add states for Germany.
2022-02-03 16:14:59 -08:00
Lucas Bustamante 345faa6ea5 Skip confirmation for test files as well with --force 2022-02-03 20:47:14 -03:00
Lucas Bustamante f9c90b87ef Space for consistency 2022-02-03 20:36:18 -03:00
Lucas Bustamante d63a697d20 Merge branch 'trunk' into e2e/add-force-to-test-scaffold 2022-02-03 20:35:34 -03:00
Lucas Bustamante 1688d66484
Avoid calling substr method on undefined
Co-authored-by: Jamel Noel Reid <MrJnrman@users.noreply.github.com>
2022-02-03 20:35:03 -03:00
Jacob Sewell 9c18a427fa Avoid `get_notes` call in `CouponPageMoved` (https://github.com/woocommerce/woocommerce-admin/pull/8202)
* First draft of CouponPageMoved::has_(unactioned|dismissed)_note() method changes to avoid get_notes().

* Add static function get_note_by_name( $note_name ) to Automattic\WooCommerce\Admin\Notes\Notes class.

* Use Notes::get_note_by_name() in Notes::get_note_status().

* Use new Notes::get_note_by_name() in CouponPageMoved::has_unactioned_note().

* Use new Notes::get_note_by_name() in CouponPageMoved::has_dismissed_note().

* Add changelog for 7986/8202.
2022-02-03 15:27:55 -06:00
Josh Betz 8a9782986d API: Orders: Add payment_url
Adds the payment URL to the order response if we request it. This is
helpful for sharing payment links from the apps.

Ref: https://wp.me/p91TBi-7ov
2022-02-03 14:10:20 -06:00
Philipp Bammes 14ce6090b0
Align notion for country states in PHP comments
Use adjectival form of country names, lowercase "states" etc., end with period, remove reference links.
2022-02-03 20:35:13 +01:00
Ron Rennick eac5fb5c67 Merge branch 'trunk' into e2e/prepare-release 2022-02-03 15:30:07 -04:00
Philipp Bammes 434de6aa19
Add states for Germany
Source: 666bcce731/common/subdivisions/en.xml (L1090-L1106)
2022-02-03 20:05:46 +01:00
Peter Fabian c3572a19ff Fixed permission check for reviews in v1 & v2 REST API 2022-02-03 16:24:17 +01:00
Lucas Bustamante c1cf58437f Remove tweak to work with both snake_case and camelCase 2022-02-03 11:26:49 -03:00
Alex Florisca 556b6101bf Bump woocommerce-blocks to 6.9.0 in composer.json 2022-02-03 10:14:16 +00:00
Néstor Soriano c36d25af71
Merge pull request #31663 from woocommerce/add/wcpay_settings_tracker
Add WcPay settings info to WC Tracker
2022-02-03 10:45:49 +01:00
Nestor Soriano 7795682232
Add database indices for the product attributes lookup table.
These are intended to improve the performance of the table querying
when there's a lot of products and attributes, see:
https://github.com/woocommerce/woocommerce/issues/31688

The indices will be created during the database migration to v6.3,
regardless of whether the lookup table already existed at that point
or not.
2022-02-03 10:08:50 +01:00
Jamel Noel Reid 4dad84782d
Merge pull request #31757 from woocommerce/fix/31576
remove pnpm rule, fix utils build
2022-02-02 19:43:48 -05:00
Lucas Bustamante 23b1c10518 Merge branch 'trunk' into packages/api/json-transform-tests 2022-02-02 18:14:31 -03:00
Ron Rennick 5ba1ceefcc refresh pnpm lock 2022-02-02 15:43:58 -04:00
Ron Rennick 8508884c62 Merge branch 'trunk' into fix/31576 2022-02-02 15:12:55 -04:00
louwie17 8d3eefb508 Add additional testing instructions for 3.2 release (https://github.com/woocommerce/woocommerce-admin/pull/8247)
* Add additional testing instructions for 3.2 release

* Add specificity to the scheduled actions that need running
2022-02-02 11:48:07 -04:00
louwie17 d492793276 Update changelog (https://github.com/woocommerce/woocommerce-admin/pull/8243) 2022-02-02 10:46:24 -04:00
Ron Rennick 8e98a7c1e3
Merge pull request #31649 from woocommerce/try/remove-some-test-label
Remove smoke test label on failure
2022-02-02 10:31:21 -04:00
louwie17 d41906267a Dev/e2e reset (https://github.com/woocommerce/woocommerce-admin/pull/8219)
* Add payment_setup track for WooCommerce Payments

* Add WooCommerce Reset Plugin to E2E environment

* Add resetWoComerceState util

* Add state reset before obw test

* Refactor resetWooCommerceState

resetWooCommerceState now makes the HTTP request locally instead of from inside the browser context.

* Update reset functionality

* Add custom settings reset function for onboarding

* Update reset functionality

* Add action-scheduler run helper function

* Fix add section test

* Add plugin removal helper functions

* Fix lint errors

* Fix broken e2e tests

* Add changelog

* Remove unused imports

* Add comment for extra timeout

* Add helper function to wait until button stops moving, incase of animations

* Fix lint error

* Add variable for string used in multiple places

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2022-02-02 08:55:10 -04:00
vedanshujain ad6c9a7099 Fixups for typo and unintended code. 2022-02-02 15:14:34 +05:30
vedanshujain 5308d5b10a Add initial DB structure for custom order tables. 2022-02-02 14:51:18 +05:30
vedanshujain 1aaa4de48e Refactor verify_base_tables method to allow custom schema verification. 2022-02-02 14:50:30 +05:30
Moon 69034713a1 Reintroduce CES (https://github.com/woocommerce/woocommerce-admin/pull/8238)
* Reintroduce CES for the following actions

* Add a product

* Update product

* Edit order

* Add changelog

* Add PR # to the changelog
2022-02-01 15:34:17 -08:00
Ron Rennick c607bbfeb8 pre-release changelog fixes 2022-02-01 15:37:31 -04:00
jamelreid 7d42347537 Updated test not found output 2022-02-01 13:27:25 -05:00
jamelreid c9862f7a44 Merge branch 'trunk' into try/remove-some-test-label 2022-02-01 13:24:58 -05:00
Moon 52fbcffe92 Make ExPlat request URL args filterable (https://github.com/woocommerce/woocommerce-admin/pull/8231)
* Support woocommerce_explat_request_args filter to modify ExPlat request args

* Add ExPlat test

* Add ExPlat test for PHP

* Add changelog

* Add doc for the filter

* Fix syntax
2022-02-01 14:17:03 -04:00
Chi-Hsuan Huang e6f19d0d91 Fix country/region selection not preserved in store details task (https://github.com/woocommerce/woocommerce-admin/pull/8228)
* Fix country/region selection not preserved in store details task

* Update store-adress test cases

* Add changelog

* Check alphabets regx for isStateAbbreviation

* Update comments

* Use unknown type for locale

* Add Disable reason
2022-02-01 14:13:54 -04:00
Peter Fabian 2a4de35e24
Merge pull request #31701 from dhjw/autocomplete-signup
Enable browser-suggested passwords on checkout signup
2022-02-01 18:40:06 +01:00
Joshua T Flowers ea6b50f241 Show single success message for theme install and activation (https://github.com/woocommerce/woocommerce-admin/pull/8236)
* Show single success message for theme install and activation

* Add changelog entry
2022-02-01 12:02:33 -05:00
Peter Fabian 4645a3a534
Merge pull request #31754 from woocommerce/fix/echo-atto-required-asterix
Echo the escaped text (required field asterix)
2022-02-01 17:51:30 +01:00
Saggre ace9786914 Fix typos in phpdocs and comments 2022-02-01 17:06:58 +02:00
Saggre 6eadc14259 Fix invalid wc api exception code 2022-02-01 13:27:08 +02:00
Peter Fabian 306a9ca34d
Merge pull request #31683 from woocommerce/fix/2022-theme-store-notice
Style the 2022 theme store notice.
2022-02-01 10:06:29 +01:00
Jeff Stieler 598f5f329d Fix typo. 2022-02-01 09:56:15 +01:00
Jeff Stieler 40f2575b6c Style the 2022 theme store notice. 2022-02-01 09:55:49 +01:00
Jeff Stieler de57b39d8e Use integers for menu page priority. 2022-01-31 18:12:23 -07:00
Jacob Sewell 5002a1498a Fix distorted Country/Region label at some zoom levels (https://github.com/woocommerce/woocommerce-admin/pull/8186)
* Override overflow rule for label in select controls in OBW store address inputs.

* Changelog for 7893/8186.

* Rather than specifically override the overflow for store addresss country/region, remove the specific rule that was causing the issue.

* Increase line-height on SelectControl label.

* Restore overflow: hidden rule for profile wizard control label.

* Update changelog for 7893/8186.

* Add package changelog entry for 7893/8186.
2022-01-31 15:56:15 -06:00
Joshua T Flowers 8abea5a435 Add asynchronous plugin install and activation endpoints (https://github.com/woocommerce/woocommerce-admin/pull/8079)
* Move plugin installation method to plugin helper

* Add hook to for note addition on install error to JP/WCS note

* Add install scheduler

* Add async request parameter

* Fix up scheduled action errors

* Add route to get installation status

* Add activation endpoints and helper async methods

* Fix errors in plugin activation

* Make job ID null by default

* Add async plugin tests

* Fix install activation error errant method

* Return error codes from API

* Us AS to retrieve jobs instead of transients

* Get plugin status data from AS actions

* Use job ID instead of action ID for scheduling activation

* Add generic activation and installation status endpoints

* Add changelog entry
2022-01-31 09:17:14 -05:00
Joshua T Flowers 75bc438973
Update store setup widget to use task list API (#31755)
* Hide store setup widget if user cannot manage woocommerce

* Use task list API to retrieve tasks

* Fix up URL and URL fragments from tasks

* Remove URL assertion on external API response

* Simplify task count and completed count test

* Update tests around widget visibility

* Update step number to be completed count +1
2022-01-30 10:28:40 -05:00
Ron Rennick 57ad5e388a add puppeteer dependency 2022-01-28 13:15:45 -04:00
Ron Rennick 933de44557 remove pnpm rule, fix utils build 2022-01-28 12:34:49 -04:00