Commit Graph

41016 Commits

Author SHA1 Message Date
Josh Betz e35c7ac6dc Filter out product variation line_item meta
There are cases where we want to display line item meta, similar to the
checkout flow on the web. The web filters out variation meta because
it's redundant. The product name already includes the relevant meta.

ref: 8bc310008c/plugins/woocommerce/includes/class-wc-order-item.php (L282-L285)
2022-03-04 15:06:43 -06:00
Jorge A. Torres 11fa76e447
Merge pull request #30949 from sebcode/fix/type-annotation
Fix docblock type annotation of WC_Coupon::is_type.
2022-03-03 09:31:05 -03:00
Jorge A. Torres edc5d0a408
Merge pull request #31860 from scholary-tim/fix/email-styles-template-duplicate
Removed duplicate height style in email-styles template
2022-03-03 09:23:34 -03:00
Jorge A. Torres 9658b3a59c
Merge pull request #29002 from n3f/fix/webhook_loading_limit
Respect the $limit parameter (0)
2022-03-02 16:42:22 -03:00
Brent Nef 40a1988f24 Add tests. 2022-03-01 17:45:13 -03:00
Brent Nef c01fcf389a Respect the $limit parameter (0) 2022-03-01 17:45:13 -03:00
Christopher Allford 2c1885f69a
Merge pull request #31974 from woocommerce/add/repository-merge-tool
Created Repository Merge Tool
2022-02-28 20:38:04 -08:00
Christopher Allford 8bb027279a Addressed PR Feedback 2022-02-28 09:43:16 -08:00
Christopher Allford cd9aad9a3d Added Merge Command
This adds a command that is able to merge any
repository into the monorepo.
2022-02-28 09:43:16 -08:00
Christopher Allford ed77233fb4 Added monorepo-merge Tool Scaffolding
This contains the basic framework for our new `monorepo-merge`
command. The goal will be for this command to handle the heavy lifting
for merging repositories with full history. It will (ideally) bring any
plugin or package into the repository in a ready-to-use state.
2022-02-28 09:43:02 -08:00
Alejandro López Ariza 5af5be5100
Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products. (#31650)
* Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products.

* Updated changelogs from e2e-utils and e2e-core packages.

* - Fixed minor issue from wp-admin-order-edit.test.js when running tests in browser mode.
- Changed those tests so that products and orders are deleted individually after every test run.
- Added deleteOrder() and deleteProduct() functions to withRestApi.

Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2022-02-28 15:24:33 +08:00
Lucas Bustamante d68b6d7777
Run @woocommerce/api tests in CI (#31931)
* Run @woocommerce/api tests in CI

* CR: Remove "paths-ignore"

* Trigger CI

* Remove description from yml

* Trigger CI

* Trigger CI

* Remove trigger CI
2022-02-28 12:04:47 +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
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
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
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
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
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
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
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
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
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
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
Jamel Noel Reid 354c666ba6
Merge pull request #31929 from woocommerce/e2e/ignore-results
exclude test results from package publish
2022-02-18 15:57:02 -05:00
Christopher Allford 396fbe12bd
Inverted Triage Workflow Check 2022-02-18 12:43:00 -08:00
Josh Betz 31b22673f4 Revert "If applied, this commit will format Line items price in order api (#31593)"
This reverts commit afde32fd01.
2022-02-18 14:42:25 -06:00
Christopher Allford b8293e4216
Fixed Triage Label Check
This (hopefully) corrects the label presence check. The goal is to avoid applying the triage label when an issue is created with a label.
2022-02-18 12:41:47 -08:00
Christopher Allford bacfee1614
Added Triage Label Workflow
This workflow (should) automatically add the `status: awaiting triage` label when issues are created.
The workflow won't trigger if a label is applied when the issue is created.
2022-02-18 12:35:24 -08:00
Christopher Allford b954f3eb67
Updated Stale Label
The default 'Stale' label needs replaced with the one we use in the repository.
2022-02-18 12:11:30 -08:00
jamelreid 256d766518 Updated logic to resolveSingleE2EPath
All tests are expected to be found in the tests/e2e directory, so in the event that tests/e2e is a part of the single test path, it is removed to ensure the file path is correct.
2022-02-18 13:02:59 -05:00
Ron Rennick 4fa9cf1051 missed package bumps from #31836 2022-02-18 13:14:06 -04:00
Ron Rennick 34b5cae86f exclude test results from package publish 2022-02-18 13:06:29 -04:00
Vedanshu Jain dcbc37a904
Merge pull request #31785 from Saggre/fix/wc-api-error-code
Fix typo in wc api exception code
2022-02-18 21:15:18 +05:30