Commit Graph

52277 Commits

Author SHA1 Message Date
Matt Sherman f0e6802f2a
Load custom editor-only blocks in the block-based product editor (#38495) 2023-05-31 13:14:00 -04:00
github-actions[bot] a80c68fb4b
Delete changelog files based on PR 38449 (#38454)
Delete changelog files for 38449

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:06:17 -05:00
github-actions[bot] 4073f374a7
Delete changelog files based on PR 38099 (#38133)
Delete changelog files for 38099

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:06:02 -05:00
github-actions[bot] d6042cb86b
Delete changelog files based on PR 38110 (#38131)
Delete changelog files for 38110

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:39 -05:00
github-actions[bot] a756b5548f
Delete changelog files based on PR 38074 (#38129)
Delete changelog files for 38074

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:25 -05:00
github-actions[bot] c7b16f1acc
Release: Remove 7.8 change files (#38404)
Delete changelog files from 7.8 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:05:03 -05:00
jonathansadowski 14a53c2dd4
Remove change file from 38441 (#38464)
Delete add-core-profiler-business-location copy
2023-05-31 10:04:27 -05:00
github-actions[bot] 91095db43a
Delete changelog files based on PR 38542 (#38544)
Delete changelog files for 38542

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-31 10:04:14 -05:00
Denis Dvali 07f662ecf8 - Logic to submit SSR data to WooCommerce.com.
- Allow request SSR  only if user has permissions to manage WooCommerce.
2023-05-31 17:01:11 +04:00
louwie17 7d4f65b8c7
Fix save settings error within Analytics (#38542)
* Filter out undefined query params

* Add changelog
2023-05-31 09:35:54 -03:00
Ron Rennick 84a62ced27
cast url to string for str_replace (#38530)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-05-31 12:25:21 +02:00
Sam Seay b076a7b521
Fix linter issues and update Syncpack (#38523) 2023-05-31 11:45:10 +12:00
Jorge A. Torres 8d02566d9c Add changelog 2023-05-30 15:10:36 -05:00
Jorge A. Torres 700a3114cd Do not show HPOS incompatibility warning to users with no access to the plugins screen 2023-05-30 15:10:32 -05:00
Ron Rennick 8c9ff70c33 fix string + string for PHP 8.X 2023-05-30 16:35:56 -03:00
Ron Rennick dd04184dd5 fix Unsupported operand string * float 2023-05-30 15:25:28 -03:00
Matt Sherman 4e530ba2e2
Prevent theme styles from being used in the block-based product editor (#38491) 2023-05-30 13:25:55 -04:00
Tomek Wytrębowicz 1c7c99636e
Reduce code duplication in Report Controllers (#38048) 2023-05-30 12:53:30 +02:00
Ilyas Foo edf95bf3f4
Update shipping partner suggestions to use data from API (#38457)
* Added shipping partner suggestions data handling in JS

* Add woocommerce services real info

* Add dynamic layout components, remove unused JS, added images to proper asset paths

* Changelog

* Update changelog and removed unused variable

* Remove console.log

* Lint fix

* Add shipping methods module in woocommerce/data

* Update data usage

* Revert "Added shipping partner suggestions data handling in JS"

This reverts commit 6a87ef2658.

* Lint fix
2023-05-30 15:56:32 +08:00
RJ ab18828e84
add: core profiler business info page (#38412)
* add: core profiler business info page
2023-05-30 15:05:38 +08:00
Chi-Hsuan Huang 953a8f5c30
Make option API fail when using a disallowed option name in non-produciton environments (#38388)
* Make option API fail when using a disallowed option name in non-produciton environments and update permission list

* Add changelog

* Change Option API deprecated notice version to WC 6.3
2023-05-30 09:07:29 +08:00
Matt Sherman 27574c98cd
Update DateTimePickerControl's dropdown positioning (#38466) 2023-05-29 16:12:28 -04:00
Matt Sherman f186403a77
Opt out of Reset and Help buttons in DateTimePickerControl (#38480) 2023-05-29 16:09:06 -04:00
Maikel David Pérez Gómez b0ac1607b9
View should scroll to the top when navigating between tabs (#38484)
Override the interface skeleton container so it can be scrollable
2023-05-29 15:28:50 -04:00
Ron Rennick 98a1ba3174
Maybe default the selected state as the first one when it's "*" (#38469) 2023-05-29 16:02:41 -03:00
Moon 6946ef384a
Core Profiler - Add extensions page (#38405)
* Initial design impl. without the full functionality

* Delete unused icons

* Add is_installed and plugins_page_skipped

* Add plugin-card component to render an installable plugin

* Implement plugins page

* Add loaders for plugins

* Add changelog

* Remove unused type

* Add changelog

* Remove unnecessary return statement

* Add obw/core-profiler

* Replace extensions with plugins

* Temp -- use window.location.href for Woo Home redirection

* Minor: code refactor

* Refactor isntallAndActivatedPlugins

* Skip plugins page when there is no available plugin

* Apply mobile styles

* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/style.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Bold errored plugin name

* Fix checkbox alignment

* Update changelog

* Fix object type for formatToParts function

* Fix lint issues

* Fix CSS lint issues

* Fallback to en-US when locale is not available

* Fix error with siteLocale

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-29 07:45:30 -07:00
Fernando Marichal 5e3fe64598
Fix RIM rules processor (#38312)
* Fix url comparison.

* Add changelog

* Fix lint

* Fix `process` function

* Fix `contains` switch

* Create class "PrepareUrl"

* Fix "PrepareUrl"

* Fix "compare" and "process"

* Fix "process"

* Add readme and changelog

* Refactor OptionRuleProcessor

* Fix lint

* Fix conditional

* Add unit tests

* Fix lint
2023-05-29 09:29:02 -03:00
Chi-Hsuan Huang 340d74cdba
Update woocommerce_suggest_jetpack filter description (#38501)
* Update woocommerce_suggest_jetpack filter description

* Add changelog

* Update filter description
2023-05-29 15:21:24 +08:00
Chi-Hsuan Huang f937a3e61b
Add an action to add trunk to live branches manifest (#38419)
Add build-live-branch action to add trunk to live branches manifest
2023-05-29 12:08:32 +08:00
Christopher Allford 230bc04050
Updated `wp-env` To 8.0.0 (#38440) 2023-05-26 15:48:48 -07:00
Moon f3a515889c
Core Profiler - replace install-async with install-activate-async (#38434)
* Change install-async to install-activate-async

* Add changelog

* Add comment for activated function

* Fix tests and rename install-activate-async to install-and-activate-async

* Rename callback function to static
2023-05-26 13:34:54 -07:00
ajayghaghretiya-multidots 0780386610
Fixed import and visibility tax values to lowercase (#33820)
* Fixed import and visibility tax values to lowercase

* Minor fixes

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-05-26 13:23:35 -05:00
Scott Kingsley Clark 7feda5e4dd
Bring in code suggestions from Ron
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2023-05-26 12:53:00 -05:00
Ron Rennick bf77b4c022
[Fix] Undefined array key 1, 2, 3 when using list to extract cookie values. (#38294) 2023-05-26 13:28:34 -03:00
Ron Rennick 73c8b91b6f
Add changelog file 2023-05-26 12:33:41 -03:00
Matt Sherman 2b12908a80
Add @woocommerce/create-product-editor-block package (#38263)
* Initial commit for create-product-editor-block

* Changelog

* Add stylelint support

* Install WooCommerce and WooCommerce Beta Tester in wp-env

* Set PHP and WordPress versions

* Enable product block editor after wp-env setup

* Lower priority for modifying template, so that the template is actual there!

* Update wp-env afterSetup command to use npx

* Update output README.md

* Update README for package

* Use long form of template parm name in README

* Remove unused example in block config

* Update block registration to handle both WP 6.2 and WP 6.3

* Include note about how to change version of WP and WC in README

* Update WP to 6.2.1

* Remove explicit enqueuing of block script and style

* Update minimum required versions of WordPress and PHP in generated plugin file

* Enable feature flag option after setup of wp-env

* Add minimum required WC version to generated plugin file

* Support wp-env lifecycleScripts

* Guard against product_block_editor not enabled or missing template

* Update lock file
2023-05-26 08:16:57 -04:00
Nathan Silveira c44ee9649f
Filter by date_paid and date_completed on list table orders (#38428)
* Filter by date_paid and date_completed on list table orders based on configuration

* Use separate query param 'order_date_type' to filter orders

* Add clarifying comment

* Add missing phpcs ignore

* Refactor to use 'm' and 'order_date_type' query parameters
2023-05-26 05:19:01 -03:00
Paul Sealock 0cfbf0a653
Changelog CLI: Add command to make entry from PR description (#38357) 2023-05-26 12:02:20 +12:00
Rua Haszard bb79e28cf6 make all params optional (except body text) and conditonally render button 2023-05-26 11:02:43 +12:00
Rua Haszard ff89bfda40 tidy / polish new order metabox hook:
- rename for consistency with related hooks
- add `$order` param as will likely be useful to clients
- document in docblock
- remove wrapper div
2023-05-26 10:49:34 +12:00
Rua Haszard 4c9df162ce fix parameter order – consistent with docblock, group soon-tobe-optionall button params 2023-05-26 10:40:20 +12:00
Moon 2f6ff0f3e6
Core Profiler - Add obw/core-profiler to the extensions endpoint (#38418)
* Add obw/core-profilers

* Added name fields to all plugins

* Added icons for jetpack and woocommercer-services

* Add changelog

* Fix lint issues
2023-05-25 13:20:39 -07:00
Scott Kingsley Clark 4eea158c82
Rename changelog/fix-default-selected-state-for-country to plugins/woocommerce/changelog/fix-default-selected-state-for-country 2023-05-25 15:17:27 -05:00
Scott Kingsley Clark 59ecb9306c
Rename pr-38467 to fix-default-selected-state-for-country 2023-05-25 14:40:48 -05:00
Scott Kingsley Clark 9840cc48d7
Add changelog 2023-05-25 14:38:16 -05:00
Scott Kingsley Clark c32c133235
Remove extra tabs 2023-05-25 14:32:49 -05:00
Scott Kingsley Clark 839bc0ea18
Maybe default the selected state as the first one when it's "*"
When WC is provided only the country for the option `woocommerce_default_country` then it will fail to select a default state within the listed states.

Try this by manually setting `woocommerce_default_country` to "US" and you will see it selects the first country in the list instead of the first state within that country.

This only happens for countries that have states like US and CA for instance.
2023-05-25 14:28:05 -05:00
Barry Hughes 3fecc47437
Revert "Add REST API Products featured image" (#38460) 2023-05-25 12:08:38 -07:00
Ron Rennick c045584248
Revert "Add REST API Products featured image" 2023-05-25 14:44:49 -03:00
Albert Juhé Lluveras 94d8b54de6
Update WooCommerce Blocks package to 10.2.1 (#38449) 2023-05-25 16:02:58 +02:00