Commit Graph

11254 Commits

Author SHA1 Message Date
Barry Hughes 4dc745cc37
If `geo_hash` is known and correct, avoid an unnecessary redirect (#39634) 2023-08-25 14:41:48 -07:00
github-actions[bot] ed0d45178f
Delete changelog files based on PR 39902 (#39908)
Delete changelog files for 39902

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-25 07:08:01 -05:00
nigeljamesstevenson 879136404d
Updates smoke-test-daily.yml workflow to correctly remove test execution (#39904)
Updates smoke-test-daily.yml workflow to correctly remove additional test execution as previous revert PR #39889 missed a step
2023-08-25 18:06:46 +08:00
Vedanshu Jain a290dd51e8 Fixup to prevent infinite migration loop. 2023-08-25 13:02:43 +05:30
github-actions[bot] fe81a4cf27
Delete changelog files based on PR 39882 (#39884)
Delete changelog files for 39882

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-24 17:36:26 -05:00
Alexandre Lara 93a983f6ff
Update WooCommerce Blocks to 10.9.3 (#39895)
* Update WooCommerce Blocks to 10.9.3

* Update composer.lock file

* Add changelog
2023-08-24 17:07:34 -05:00
Fernando Marichal c9f924a5b3
Enhance stability of Product E2E Tests (#39823)
* Add describe.configure

* Add changelog

* Serialize create-product-attributes
2023-08-24 17:52:21 -03:00
nigeljamesstevenson e0c569baff
revert #39803 Add additional Perf Test Daily run (#39889)
revert #39803
2023-08-24 13:27:58 -07:00
Barry Hughes df8ceea379
Add CLI commands to enable or disable HPOS. (#39865) 2023-08-24 12:26:07 -07:00
louwie17 9198596918
Set up and migration to use BlockTemplate classes (#39814)
* Initial set up and migration for the BlockTemplate

* Migrate remaining fields to the new SimpleProductTemplate

* Remove re-usable functions and clean up

* Add interfaces

* Add changelogs

* Remove unused id from block attributes

* Update changelog

* Address refactor suggestions

* Fix lint errors

* Add tests

* Address PR feedback

* Extend from BlockContainerInterface instead of BlockInterface
2023-08-24 16:04:44 -03:00
nigeljamesstevenson 79edab17bc
Run full API test suite on daily run (#39858) 2023-08-24 14:26:20 +01:00
Ismael Martín Alabarce 8895df58b9
Temporary solution to avoid extra queries from WooPayments incentives (#39882)
* Temporary solution to avoid extra queries

after dismissing an incentive. We will prevent doing anything else, including order queries, if there is a dismissed incentive.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-24 13:49:37 +02:00
nigeljamesstevenson 5150d3959a
Add additional Perf Test Daily run (#39803) 2023-08-24 11:37:12 +01:00
Vedanshu Jain 073042b52a Correct messaging to displayed in first line. 2023-08-24 14:00:29 +05:30
Vedanshu Jain 5d858e07f8 Address PR feedback. 2023-08-24 13:50:25 +05:30
Jon Lane ec974e22ab Copy utils from e2e tests to api tests 2023-08-23 14:40:35 -07:00
Christopher Allford 739159ab44
Prepare Beta Tester 2.2.4 Release (#39874) 2023-08-23 13:51:43 -07:00
Christopher Allford cd8edbf51a
Made Beta Tester Release Compatible (#39871) 2023-08-23 12:45:54 -07:00
github-actions[bot] c14d6d918e
Prep trunk for 8.2 cycle (#39834)
Prep trunk for 8.2 cycle with version bump to 8.2.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-23 13:53:56 -05:00
github-actions[bot] 1d26182f3b
Release: Remove 8.1 change files (#39836)
Delete changelog files from 8.1 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-23 13:52:51 -05:00
Barry Hughes 53c93ab449
Turn off the experimental flag for HPOS (#39846) 2023-08-23 09:22:57 -07:00
Maikel David Pérez Gómez 0db29cd8c1
Create several global attributes with the same name (#39827)
* Save changes

* Remove restriction from the variations dropdown to let users create multiple attributes with the same name

* Add support for autogenerate slug in the create attribute endpoint

* Add a tooltip to specify the slug of the attribute when there are more than one listed in the dropdown list

* Add changelog files

* Revert filtering to the prev implementation

* Add review suggestions

* Add return description to the generate_unique_slug function description
2023-08-23 12:08:05 -04:00
Ron Rennick d3774b0335
Improve BACS/Direct Bank Transfer UI. (#39860) 2023-08-23 09:31:23 -03:00
Vedanshu Jain 56333c425f Add CLI commands to enable or disable HPOS. 2023-08-23 17:56:31 +05:30
Leif Singer ce422f1769 remove HPOS `log_production_warning` in CLIRunner 2023-08-23 14:20:25 +02:00
Néstor Soriano 845aa40883
Remove legacy PHP version checks (#39845)
- In the status report (server PHP version display)
- In the abstract CSV exporter (fputcsv function)
- In the legacy REST API controllers (get_raw_data function)
- In the wc_setcookie function
- In the wc_round_tax_total function

Also remove the infrastructure for WP and PHP minimum requirement notices
2023-08-23 09:42:59 +02:00
barryhughes 1012c45a48 Improve verbiage for tooltip. 2023-08-22 16:07:19 -07:00
barryhughes da5d81374d Improve BACS/Direct Bank Transfer UI. 2023-08-22 16:02:22 -07:00
Jon Lane b4e35c63fe Merge branch 'trunk' into api/start-unskipping-daily-tests 2023-08-22 15:19:24 -07:00
Jon Lane 64cb3a032d Run tests serially 2023-08-22 14:36:35 -07:00
Jon Lane bdb9335d3a Update shipping zone tests 2023-08-22 13:47:57 -07:00
Jon Lane bec1f11869 Add changelog 2023-08-22 13:42:41 -07:00
Jon Lane e0397bf455 Update settings test for external host 2023-08-22 13:33:24 -07:00
Barry Hughes 1d6f912b25
Coding standards: add trailing ; 2023-08-22 12:03:11 -07:00
jonathansadowski f9363d4804
Update Yoast PHPUnit Polyfill to 2.0 (#39830)
* Update Yoast PHPUnit Polyfill to 2.0

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-22 12:33:30 -05:00
barryhughes 0759bafdc4 If `geo_hash` is known and correct, avoid an unnecessary redirect back to the same page. 2023-08-22 09:38:51 -07:00
Kyle Nel f2446da15f
Merge branch 'trunk' into feature/marketplace 2023-08-22 13:16:13 +02:00
RJ cb2cf79342
dev: refactor core profiler loader (#39735)
* dev: refactor core profiler loader

* dev: added storybook example for loader

* lint

* Apply suggestions from code review

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* addressed review feedback

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-22 19:58:33 +10:00
Leif Singer d8c9f6a5a3 Turn off the experimental flag for HPOS 2023-08-22 11:11:12 +02:00
Néstor Soriano 4876ab35b8
Bump WooCommerce minimum required PHP version to 7.4 (#39820)
-Change "Requires PHP":
  - In woocommerce.php
  - In readme.txt
  - In plugins/woocommerce-docs/woocommerce-docs.php
  - In packages/js/create-product-editor-block/plugin-templates/$slug.php.mustache

- Change "testVersion" in phpcs.xml:
  - In the root of the repository
  - In plugins/woocommerce
  - In plugins/woocommerce-beta-tester

- Change "require-php" and "config-platform-php" in composer.json
- Update composer.lock with more modern versions of some of the dependencies
- Remove the admin notice about the upcoming bump for PHP 7.3 users in class-wc-admin-notices.php
2023-08-22 09:21:09 +02:00
Jonathan Lane c2cbc87807
Updates Playwright to 1.37.1 from 1.33 (#39815)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-08-22 12:59:28 +08:00
Jon Lane 5fc3c00437 Add a delay when running externally 2023-08-21 15:43:59 -07:00
Jon Lane 4c09bf73d3 Remove comment for non-skipped test (cleanup) 2023-08-21 15:30:07 -07:00
Jon Lane 5128c26140 Force tests to run serially 2023-08-21 15:04:40 -07:00
Jon Lane e1763174e5 Update system status to account for environment differences 2023-08-21 14:57:57 -07:00
Niels Lange 0519dbb7d0
Bump WooCommerce blocks package to 10.9.2 (#39828)
* Bump WooCommerce blocks package to 10.9.2

* Add changelog file
2023-08-21 14:50:01 -05:00
Moon 6f1a84e435
Run A/B test on the core profiler plugins page with Jetpack and Jetpack Boost (#39799)
* Update Jetpack label and description

* Replace Jetpack with Jetpack Boost for treatment group

* Add changelog

* Append plugin_name param to Jetpack Connection page URL

* Use the correct experiment name
2023-08-21 12:43:15 -07:00
Joshua T Flowers 0c161dcacb
Add block template registry and controller (#39698)
* Add id, description, title, and area to block template methods

* Add block template registry and controller

* Remove errant die

* Add new template properties to existing test templates

* Add new template method tests to custom block template tests

* Add template registry tests

* Add template controller tests

* Add tests around template transformer

* Use template instance for registration

* Add changelog entry

* Fix tests for block controller not be initialized by container
2023-08-21 10:22:19 -07:00
Ismael Martín Alabarce 1227a27458
Fix onboarding payments task not completed after setting up WooPayments (#39786)
* Remove is_connected condition from can_view

To display WooPayments task as completed if applicable rather than an uncompleted payments task.

* Add changelog entry
2023-08-21 12:55:49 +02:00
Vedanshu Jain bc5c355eb7
Always return bool values from WPCacheEngine functions. (#39819) 2023-08-21 16:12:08 +05:30