Commit Graph

52981 Commits

Author SHA1 Message Date
Corey McKrill afd6376a5e
Include post_ID field in HPOS order edit screen (#39321)
This PR adds a post_ID hidden field to the HPOS order edit screen for compatibility with the posts order edit screen.

Fixes #39272
2023-07-19 14:11:52 -07:00
Barry Hughes e97eda12ae
Introduce grace period before asking guests to verify their email address (#39191)
* Add a grace period during which email verification is not required (order pay/conf page).

When the order confirmation (or payment) page is requested, we often want to ensure the visitor is associated with the order. However, this relies heavily on information stored in the user session and, depending on the payment gateway in use, this may not be dependable. Therefore, we've introduced a grace period during which no such verification will take place.

* Provide a mechanism for establishing server-side filters from our E2E tests.

* Make our utilities for setting up filters from E2E available in the test env.

* Update guest shopper workflow to account for order conf/payment access grace period.

* Tidy verbiage.

* Add changefile(s) from automation for the following project(s): woocommerce

* Only activate the Filter Setter (e2e utility) during e2e tests.

* Coding standard fixes for E2E utility plugin.

* e2e: Update locators for headings to use getByRole, add await to clearFilters

* e2e: Abstract the cookie domain to work on non-localhost test sites

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-07-19 11:57:03 -07:00
Alejandro López Ariza 032beaa37c
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository (#39316)
Add a new GitHub Actions workflow to track on Slack the new PRs merged into the WooCommerce repository.
2023-07-19 19:56:15 +02:00
Ron Rennick ae89984d42 include post_ID in HPOS order edit screen 2023-07-19 13:46:09 -03:00
Maikel David Pérez Gómez 6f8559dada
Unable to "turn off the new product form" from within the editor (#39317)
* Fix turn off the new block experience when tracking is turned off

* Add changelog file
2023-07-19 12:22:38 -04:00
github-actions[bot] faf508c209
Delete changelog files based on PR 39301 (#39315)
Delete changelog files for 39301

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-19 10:22:10 -05:00
Maikel David Pérez Gómez 776d567f30
Create the Organization tab (#39232)
* Add Organization to the right of General tab

* Add Product catalog and Attributes sections to the Organization tab

* Add Categories and Disable product reviews blocks to Product catalog section

* Add attributes block to the attributes section

* Add changelog files

* Fix php linter error

* Remove Categories and Attributes blocks from the General tab

* Change Disable product reviews by Enable product reviews
2023-07-19 10:11:03 -04:00
Niels Lange 59f7f4092b
Add code snippet to change the number of related products output (#39209) 2023-07-19 14:24:17 +02:00
Panos (Panagiotis) Synetos ea1d08c72a
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-19 15:21:30 +03:00
Panos (Panagiotis Synetos) 7628a5bc94
Fix Storefront recommendation link and missing image in Marketplace (#39294) 2023-07-19 15:03:33 +03:00
Niels Lange 4ece72aac4
Merge branch 'trunk' into docs/number-of-related-products-output 2023-07-19 13:25:06 +02:00
Darren Ethier 565c8267de
Add doc for unhooking/removing WooCommerce email notifications snippet. (#39280)
* add doc for unhooking/removing WooCommerce email notifications.

* Update snippet to follow snippet standards.

Co-authored-by: Niels Lange <info@nielslange.de>

* Update docs/snippets/unhook--remove-woocommerce-emails.md

Co-authored-by: Niels Lange <info@nielslange.de>

---------

Co-authored-by: Niels Lange <info@nielslange.de>
2023-07-19 07:19:13 -04:00
Rodel Calasagsag 30b35f8b9b Fix flakiness 2023-07-19 18:56:39 +08:00
Panos (Panagiotis Synetos) d7a4758d3d
Revert 2023-07-19 11:26:35 +03:00
Panos (Panagiotis Synetos) 355ea0b3bb
Wake up github actions 2023-07-19 11:26:14 +03:00
Vedanshu Jain 6d11563e8c Refactored filterd in the DB util for DRY. 2023-07-19 11:59:20 +05:30
Matt Sherman 5b412c46f0
Restore the woocommerce_variations_added jQuery trigger (#39301)
* Restore woocommerce_variations_added trigger

* Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called
2023-07-18 22:15:40 -04:00
Corey McKrill 00073c0d4c
Fix for free shipping handling of minimum order rule (#39155)
Fixes the calculation from when Apply minimum order rule before coupon discount is active and prices are entered inclusive of tax and displayed that way in cart and checkout, free shipping is no longer available (based on the minimum order amount including tax), as it uses the pre-tax amount when a coupon is applied.

Fixes #28752
2023-07-18 17:00:39 -07:00
Corey McKrill 3574c0a6bc
Delete changelog file at wrong path 2023-07-18 16:26:26 -07:00
Corey McKrill 808c44c76c
Add changelog file 2023-07-18 16:25:33 -07:00
Corey McKrill c405873a89
Add changelog file 2023-07-18 16:11:53 -07:00
github-actions[bot] a41f6aaf8e
Prep trunk for 8.1 cycle (#39286)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:07:44 -05:00
github-actions[bot] 7bfe8234ae
Release: Remove 8.0 change files (#39288)
Delete changelog files from 8.0 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:06:34 -05:00
github-actions[bot] 0c4a215cb9
Update changelog.txt from release 7.9.0 (#39283)
Prep trunk post release 7.9.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:05:02 -05:00
Niels Lange 69b2e80428
Correct safe guard function 2023-07-18 16:04:12 +02:00
Niels Lange 96a1e39902
Update docs/snippets/number-of-products-per-row.md
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2023-07-18 15:57:26 +02:00
Niels Lange 53926dcf64
Update docs/snippets/README.md
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2023-07-18 15:54:08 +02:00
Niels Lange f8a345cced
Link code snippet (#39203) 2023-07-18 15:49:48 +02:00
Niels Lange c48630463f
Add obsolete spaces 2023-07-18 15:49:09 +02:00
Niels Lange ad022e460e
Update docs/snippets/README.md
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2023-07-18 15:09:12 +02:00
Panos (Panagiotis) Synetos d7930bc0e3
Update count color, use admin theme 2023-07-18 10:55:32 +03:00
Panos (Panagiotis) Synetos e310c9ed59
Fix Storefront recommendation link and missing image in Marketplace 2023-07-18 10:16:53 +03:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay a511e72b4c
Add linting to CI for monorepo utils, add to CI unit tests for docs. (#39240) 2023-07-18 12:47:13 +12:00
jonathansadowski 2f407cb172
Update post-merge workflow to add 'needs: analysis' label (#39277) 2023-07-17 17:01:36 -05:00
Alejandro López Ariza a661f5afde
Added new GitHub Actions workflow to arrange PR testing scrub sessions (#39142)
* Added new GitHub Actions workflow to arrange PR testing scrub sessions

* Minor fixes from PR review.

---------

Co-authored-by: Rodel Calasagsag <rodel.calasagsag@automattic.com>
2023-07-17 22:42:45 +02:00
Paul Sealock 072606f0aa
Package Release: Fix fetch depth so Changelogger has history (#39239)
set fetch depth to 0
2023-07-18 08:19:23 +12:00
martynmjones 2fcf512050
Add activation option workaround to trigger `woocommerce_newly_installed` action (#38694)
* Use option to track new WC installs

* Correct hook used for disabling legacy coupon menu

* Add changelog

* Fix deprecated hook version number

* Update unit tests

* Use AccessiblePrivateMethods to register action

* Update comments

---------

Co-authored-by: Martyn Jones <martyn.jones@automattic.com>
2023-07-17 12:52:50 -07:00
Joel Thiessen 7cb5cfed69
Making completion utilities available in AI package (#39190)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-17 10:25:14 -07:00
Barry Hughes 722922191e
Revert PR#39146: fix basic flat rate shipping scenario (#39259)
* Reverts PR#39146 due to uncaught issues with flat rate shipping calculations.

* Explain lack of changelog.
2023-07-17 08:51:25 -07:00
Sam Seay 69e9acaba9
WooCommerce Docs: Improve Manifest Structure, Extend Frontmatter Support (#39214) 2023-07-17 20:46:23 +12:00
RJ 66cee083d4
add: removed avalara task list item (#39238)
* add: removed avalara task list item
2023-07-17 11:32:51 +08:00
Shendy f631a5ed20
Allow registered React-powered page to specify 'parent path' (#39116)
* Allow registered React-powered page to specify 'parent path', so the right menu item can be highlighted.

* Fix linting issue.

* Changelog.

* Add changefile(s) from automation for the following project(s): woocommerce

* Changelog.

* Add changefile(s) from automation for the following project(s): woocommerce

* Changelog.

* Update plugins/woocommerce/changelog/add-override-menu-item-highlight

Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>
2023-07-16 15:23:33 -04:00
Sam Seay 6e864d8f72
Update Turborepo to 1.10.7 (#39246) 2023-07-15 13:00:08 +08:00
Barry Hughes 8a3893c47c
Prefer asterisks for API consumer key obfuscation | #39194 2023-07-14 08:45:59 -07:00
Maikel David Pérez Gómez 24a655aec4
Allow the user to delete the description (#39229) 2023-07-14 11:00:03 -04:00
Fernando Marichal bbd727c257
Add header buttons to the description editor modal (#39156)
* Add header buttons to the description editor modal

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.scss
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Remove isModalActionsBarVisible

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Fix styles and removed comment

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Add changelog

* Fix styles

* Fix gap between buttons
2023-07-14 11:18:16 -03:00
Vedanshu Jain 1833c74ef2 Coding standard fixes + changelog. 2023-07-14 18:38:30 +05:30
Vedanshu Jain c2590f2520 Limit index length to 191 characters by default.
Additionally, connect verify db tooling to order tables when they are enabled.
2023-07-14 18:38:30 +05:30
Vedanshu Jain f8dfc30708
Fixed the option name, and minor additional protection of creating order table (#39249) 2023-07-14 18:37:26 +05:30