Commit Graph

48365 Commits

Author SHA1 Message Date
Moon 01e5cbdd7f Only run the version check for an admin request (https://github.com/woocommerce/woocommerce-admin/pull/8384) 2022-02-27 19:42:48 -08:00
jonathansadowski 1cc61de404
Merge pull request #31873 from woocommerce/add/release-code-freeze
Add github workflow to automatically enforce the code freeze.
2022-02-25 16:14:49 -06:00
Fernando 77fb10c53e OBW: fix copy on Business Details when "WooCommerce Shipping" is not listed (https://github.com/woocommerce/woocommerce-admin/pull/8324)
* Fix wc-shipping copy

* Fix method `createInstallExtensionOptions`

* Fix tests

* Add changelog

* Add WCTax logic

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-25 18:26:44 -03:00
Jonathan Sadowski ad201cde88 Improve messaging when milestone or release branch already exist 2022-02-25 15:02:15 -06:00
Jonathan Sadowski 439ae1f17b Update code-freeze script to base its decision on latest release 2022-02-25 12:22:07 -06:00
louwie17 84e6a1e317 Add missing dependency to onboarding package (https://github.com/woocommerce/woocommerce-admin/pull/8378)
* Add missing dependency

* Add changelog
2022-02-25 08:44:07 -04:00
louwie17 02d7973b55 Update WooCommerce Payment note action callback logic (https://github.com/woocommerce/woocommerce-admin/pull/8366)
* Update WooCommerce Payment note action callback logic

* Fix lint errors
2022-02-25 08:43:59 -04:00
Néstor Soriano d76dac08e6
Add syntax highlight to README for the code hacker 2022-02-25 11:38:27 +01:00
Nestor Soriano 32e01a21f2
Fix internal links in README files
After the WooCommerce code was moved to 'plugins/woocommerce' many of
the internal links in the README files (links to other README files
or to code files) were broken. This commit fixes that.
2022-02-25 11:27:58 +01:00
Tung Du 3b637f1e93
Fix: `shopper.emptyCart()` issue. (#31977)
* fix: shopper.emptyCart

* ensure emptyCart work with cart containing multiple products
2022-02-25 16:14:42 +08:00
Jaclyn Chen cb9e6b34df Fix hidden notes in `admin/notes` when the user is not in tasklist experiment (https://github.com/woocommerce/woocommerce-admin/pull/8328)
* Fix hidden notes from tasklist experiment.

* Add changelog.

* Use PR number instead of issue number in the changelog.
2022-02-25 08:09:49 +08:00
Claudio Sanches 7fdebe1214
Merge pull request #31973 from woocommerce/update/package
Update browserslist package
2022-02-24 19:02:18 -03:00
Christopher Allford aae02d6872
Added Triage Label to Enhancements 2022-02-24 10:31:07 -08:00
Vedanshu Jain e0af6c1050
Merge pull request #31779 from woocommerce/fix/31729-add-menu-page-arg
Use integers for menu page priority.
2022-02-24 20:10:01 +05:30
Nestor Soriano 0f5a395cb9
Add code comments about db updates on new WooCommerce installs.
The update functions in wc-update-functions.php run when WooCommerce
is updated from a previous version, but not when it's newly installed.
This commit adds a couple of comments explaining that.
2022-02-24 15:26:34 +01:00
Roy Ho 28ad530794
Merge pull request #31976 from woocommerce/update/woocommerce-admin-3.2.1
Bump woocommerce-admin version to 3.2.1
2022-02-24 06:03:29 -08:00
Ilyas Foo 48cbbfbe38 Bump woocommerce-admin to 3.2.1 2022-02-24 10:36:36 +08:00
Moon 5338ebf04a Make $customer_id public again (https://github.com/woocommerce/woocommerce-admin/pull/8371)
* Make $customer_id public -- see issue 8369. We have a backward compatibility issue
2022-02-23 16:31:41 -08:00
Claudio Sanches 3d4a8edf87 6.2.1 changelog 2022-02-23 19:03:50 -03:00
Jeff Stieler 291790c64d Refactor handle_upload() rather than change import_error() visibility. 2022-02-23 18:56:48 -03:00
Jeff Stieler c85f3b7e1d Add test case for tax importer. 2022-02-23 18:56:43 -03:00
Jeff Stieler 735d9f15a2 Add test case for product importer. 2022-02-23 18:56:37 -03:00
Jeff Stieler 654036850e Prevent path traversal outside ABSPATH in product and tax importers. 2022-02-23 18:56:31 -03:00
Claudio Sanches 4a87a9bfbb
Merge pull request from GHSA-6wvr-47ff-m546
Fixed permission check for reviews in v1 & v2 REST API
2022-02-23 18:54:33 -03:00
roykho c749bd3bd6
Update browserslist package 2022-02-23 12:10:00 -08:00
louwie17 e652b0b93f Fixes some minor process issues (https://github.com/woocommerce/woocommerce-admin/pull/8355)
* Additional general updates and improvements

* Fix php lint errors
2022-02-23 13:04:59 -04:00
Ron Rennick 8ef39e2269
Merge pull request #31909 from woocommerce/fix/31907
Exclude the project root when ran in GitHub CI
2022-02-23 11:34:29 -04:00
louwie17 ed2a1eaae2 Updated changelog with cherry picks (https://github.com/woocommerce/woocommerce-admin/pull/8347) 2022-02-23 08:59:49 -04:00
Daniele Scasciafratte 76c3ef7466 Fix Notice in RuleEvaluator (https://github.com/woocommerce/woocommerce-admin/pull/8184)
* Fix Notice in RuleEvaluator 

Ref: https://github.com/woocommerce/woocommerce-admin/issues/7825

* fix indentation

* fix lint
2022-02-22 20:48:15 -08:00
Chi-Hsuan Huang e8ce945d0e Implement MailChimp API request threshold for MailchimpScheduler (https://github.com/woocommerce/woocommerce-admin/pull/8342)
* Implement MailChimp API request threshold for MailchimpScheduler

Fix class-wc-tests-mailchimp-scheduler.php

Fix class-wc-tests-mailchimp-scheduler.php

* Add changelog

* Fix class-wc-tests-mailchimp-scheduler.php

* Fix class-wc-tests-mailchimp-scheduler.php
2022-02-23 09:37:00 +08:00
Chi-Hsuan Huang f052c3fed1 Replace deprecated wp.compose.withState with wp.element.useState (https://github.com/woocommerce/woocommerce-admin/pull/8338)
* Update search-list-control

* Update tag

* Update stories

* Add packages/components changelog
2022-02-23 09:35:50 +08:00
Roy Ho 6f22a51db9
Merge pull request #31961 from woocommerce/update/bump_woocommerce_admin_3.2.0
Bump woocommerce-admin version to 3.2.0
2022-02-22 11:47:05 -08:00
Moon 1c2bc9843c Use WC_VERSION as cache buster for assets (https://github.com/woocommerce/woocommerce-admin/pull/8308)
* Use WC_VERSION as cache buster

* Add changelog
2022-02-22 10:51:53 -08:00
Lourens Schep 0b34842c8d Bump woocommerce-admin version 2022-02-22 14:36:48 -04:00
jamelreid 9837274a66 Updated CHANGELOG.md 2022-02-22 13:06:51 -05:00
Christopher Allford 8dffe885c6
Expanded Project Label Action Permissions
With the `pull_request_target` event, it will have
the write permissions needed to add labels.
2022-02-22 10:05:27 -08:00
Christopher Allford 91442cd5d1
Limited Post-Merge Comment
Since this is for the WooCommerce release process,
we should only trigger it for the Core plugin.
2022-02-22 10:04:33 -08:00
berislav grgičak e2dfe225b8 Increase chart selection to 10 and allow color overriding (https://github.com/woocommerce/woocommerce-admin/pull/8258)
* Increase selection limit to 10

* Add filter for overriding chart colors

* Add filter documentation

* Update chart story

* Add testing instructions

* Changelogs

* Remove broken changelog entires

* Update changelogs

* Fix changelogs

* Add filter example

* Improve filter example
2022-02-22 09:01:14 -04:00
Christopher Allford 21ed16c24b
Fixed Project Labeler Matches 2022-02-21 14:59:50 -08:00
Christopher Allford e8096a7ac2
Fixed PR Labeler Workflow Syntax 2022-02-21 14:32:37 -08:00
Christopher Allford b00629c889
Merge pull request #31952 from woocommerce/add/project-label-action
Added Project Label Workflow
2022-02-21 14:27:32 -08:00
Christopher Allford fb1f86b69a Added Project Label Workflow
This workflow should automatically label a
pull request based on the code being
touched.
2022-02-21 14:26:46 -08:00
Chi-Hsuan Huang 56f7850d07 Make src/Features/* internal except for Features.php, Onboarding.php and TransientNotices.php (https://github.com/woocommerce/woocommerce-admin/pull/8318)
* Move src/Features/* to src-internal/Admin/ except for Features.php, Features/Onboarding.php and TransientNotices.php
2022-02-21 17:47:28 +08:00
Chi-Hsuan Huang 9c49667dde Fix Google Listings plugin is always shown in free features despite already activated (https://github.com/woocommerce/woocommerce-admin/pull/8330)
* Add is_visible rule for google-listings-and-ads to not display it if it's already activated

* Add changelog
2022-02-21 17:46:25 +08:00
Chi-Hsuan Huang dd4736cc5c Add build-types to .eslintignore (https://github.com/woocommerce/woocommerce-admin/pull/8334) 2022-02-21 12:12:05 +08:00
Chi-Hsuan Huang bda55d99f3 Bump package versions (https://github.com/woocommerce/woocommerce-admin/pull/8333) 2022-02-21 11:27:45 +08:00
Chi-Hsuan Huang c05ed7777a Update dependencies to support react 17 (https://github.com/woocommerce/woocommerce-admin/pull/8305)
* Upgrade dependencies to support react17

Update pkg

Update @wordpress/api-fetch and gridicons

* Update test snapshots

* Update SnackbarList with latest react-spring

* Mock data.dispatch for task-list-item.test.tsx

* Remove '@wordpress/components/src/visually-hidden/style' import

wp-components has included it

* Update interpolateComponents import path

* Fix display-options test

* Add changelogs

Update changelogs

* Add @automattic/explat-client-react-helpers back

* Update webpack.config for explat-client-react-helpers

Update webpack config comment

Fix grammar
2022-02-21 10:34:25 +08:00
Pierre Carrier b072cc1f9e
includes/class-wc-geolocation.php: bot.whatismyipaddress.com gone, tnedi.me new 2022-02-20 13:14:59 -05:00
Jonathan Lane acb288ceb5
Merge pull request #31930 from woocommerce/e2e/bump-versions
bump E2E versions
2022-02-18 13:31:03 -08:00
Roy Ho ffc9327892
Merge pull request #31935 from woocommerce/revert-31593-trunk
Revert "If applied, this commit will format Line items price in order api"
2022-02-18 13:16:10 -08:00