Commit Graph

54765 Commits

Author SHA1 Message Date
Matt Sherman d53966018d Include template events in script sent to client 2023-11-14 16:22:56 -05:00
Matt Sherman efe4b45d9a Update logging calls 2023-11-14 16:13:39 -05:00
Matt Sherman 0648b064ba Refactor logging and add template events 2023-11-14 16:13:39 -05:00
Matt Sherman 7b2767aa57
Template API: Only generate templates on WCA routes (#41410) 2023-11-14 15:47:20 -05:00
Matt Sherman 489322d084 Always set templateLock to all 2023-11-14 15:14:57 -05:00
Žiga Sancin 62d21cc03d
Check if $data['billing_email'] is set (#41098)
* Check if $data['billing_email'] is set

Checks if $data['billing_email'] is set in the create_order function. Fixes #41097

* Add changelog entry

Adds the changelog entry for #41097
2023-11-14 19:18:42 +00:00
Nathan Silveira 55766ac140
Template API: Conditional disabling support (#41307)
* Add disable conditions functionality to back-end

* Evaluate _templateBlockDisableConditions in registerWooBlockType

* Add 'disabled' support for number, pricing, and text

* Add disabled support for checkbox

* Add disabled for taxonomy block

* Add changelogs

* Update documentation

* Add unit tests

* Augment attribute with disabled in back-end

* Fix disabled styling

* Remove disabled from toggle since it's being added for all blocks

* Improve CSS for disabled fields

* Only add disabled attribute when it's not added on the block json and refactor

* Allow adding disable conditions in the constructor

* Fix lint issue

* Fix test

* Add disableConditions to dependencies
2023-11-14 13:17:34 -03:00
Sagar Tamang 7ec5a88573
[Enhancement]: Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook. (#41051)
* Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook.

* Added changelog

* fix - phpcs errors

* Added version to the hook
2023-11-14 12:06:30 +00:00
github-actions[bot] 8f819f60ae
Delete changelog files based on PR 41409 (#41428)
Delete changelog files for 41409

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-14 18:30:16 +08:00
jonathansadowski e5cbf82781
Update/wp 6.4 (#41409)
* Update woocommerce.php required WP version for 6.4 release

* Update readme.txt for WP 6.4 release

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-14 18:10:30 +08:00
Eason efd2ae7e0a
Fix the slides overlapping on the Marketing > Coupon page (#41155)
* Fix the slides overlapping on the Marketing > Coupon page.

* Add changelog
2023-11-14 10:23:08 +08:00
nigeljamesstevenson 4eb13fea81
Update code-freeze tool to work with accelerated (#41133) 2023-11-13 22:54:05 +00:00
Jonathan Sadowski 4d6d57e63c Update code-freeze tool to work with accelerated 2023-11-13 15:24:21 -06:00
Matt Sherman 11f593fe3c Changelog 2023-11-13 15:05:52 -05:00
Matt Sherman 48f0e14ba4 Changelog 2023-11-13 15:05:03 -05:00
Matt Sherman 4b3ee3c13d Move creation and registration of templates to only WCA admin pages, right before sent to client 2023-11-13 15:03:52 -05:00
Matt Sherman e766673829 Remove template from settings type (unused) 2023-11-13 14:50:57 -05:00
Matt Sherman 3dbd06ef1b Remove setting template on productBlockEditorSettings 2023-11-13 14:43:57 -05:00
Nathan Silveira 703936e307
Remove FullScreenMode component from new product editor (#41375)
Remove FullScreenMode component since it seems we're not using it for anything
2023-11-13 16:11:32 -03:00
Maikel David Pérez Gómez fac0669fc8
Hide virtual & downloadable sections when the product type is 'variable' (#41331)
* Show virtual and downloadable features in simple product and variations only

* Add changelog file

* Fix php linter errors
2023-11-13 14:00:24 -05:00
Nathan Silveira 8d731f8a43
Show global attribute slug without 'pa_' prefix (#41333)
* Show global attribute slug without 'pa_' prefix

* Make implementation more robust
2023-11-13 15:39:58 -03:00
Matt Sherman a8e996a0ff Refactor editor settings to separate function 2023-11-13 13:38:59 -05:00
Matt Sherman 9e292485c3 Refactor and remove unused init code 2023-11-13 13:32:47 -05:00
Fernando Marichal b24591432d
Add `popoverProps` to DatePicker (#41404)
* Add `popoverProps` to DatePicker

* Add changelog

* Move changelog

* Add popoverProps to README.md

* Fix lint

* Fix lint again
2023-11-13 14:45:31 -03:00
Mike Jolley 08969e927c
Update WooCommerce Blocks package to 11.5.4 (#41403) 2023-11-13 17:06:29 +00:00
Mike Jolley 4e31ee605b Changelog 2023-11-13 14:52:51 +00:00
Mike Jolley 795117f711 Bump version in composer.json 2023-11-13 14:51:49 +00:00
nigeljamesstevenson db22b89d12
Delete .github/workflows/cot-build-and-e2e-tests-daily-wip.yml 2023-11-13 12:34:34 +00:00
nigeljamesstevenson 86a0e26f07
Add filter to remove some of the `order-received` page protections (#41347) 2023-11-13 10:14:34 +00:00
Barry Hughes 70154d5476
Reduce risk of accessing a property on a non-object while disabling autosave. 2023-11-10 16:32:41 -08:00
barryhughes 6f5708b396 Changelog. 2023-11-10 15:40:14 -08:00
Corey McKrill 5b9231edce
Fix typographic quotes used in HTML attributes (#41320)
Fixes #41179
2023-11-10 12:21:54 -08:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
Barry Hughes 8134a9237c
Use consistent sanitization on tax classes (#41220) 2023-11-10 11:40:18 -08:00
Veljko V f51995a470
Add new E2E tests to cover Shopper Cart Block (#40522)
* Add new e2e tests to cover shopper cart block first part

* Add changelog

* Add more tests to cover coupons

* Update coupon tests to include discounts

* Split cart block tests and update tests

* Add E2E tests for cart block shipping

* Add tests for shopper cart block calculating tax

* Remove test.skip

* Add a workaround for filling shipping due to issue found

* Improve welcome modal closure

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-10 11:14:47 -08:00
Fernando Marichal 811e0c079b
Fix date range and UI in Analytics (#41372)
* Fix date range and ui in Analytics

* Add changelogs

* Modify default behavior

* Remove changelog
2023-11-10 16:01:52 -03:00
Barry Hughes ab10a660e7
Minor tweak to changelog. 2023-11-10 10:59:06 -08:00
Veljko V ffe90ce432
Add new test scenario for mini-cart inclusive tax price (#41064)
* Update mini-cart test to include tax scenario

* Include changelog file

* Move changelog file to the right place

* Update taxing options

* Update calculation for tax price

* Remove only parameter

* Improve closing welcome popup if prompted

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-10 10:40:04 -08:00
Barry Hughes 9e0fbe8606
PHPCS fix. 2023-11-10 10:38:04 -08:00
Leif Singer 15058e1654 Revert "bump template versions"
This reverts commit 2ec041c9a0.
2023-11-10 19:13:51 +01:00
Leif Singer 09040b134f Revert "bump all edited templates to @version 8.4.0"
This reverts commit c788c8f9fa.
2023-11-10 19:13:06 +01:00
nigeljamesstevenson 11de6bc7bb
Update and rename cot-build-and-e2e-tests-daily.yml to hpos-build-and-e2e-tests-daily.yml 2023-11-10 17:12:14 +00:00
nigeljamesstevenson d827587394
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 16:41:03 +00:00
Fernando Marichal 05c96d8cf0
Fix block header style in description modal (#41338)
* Fix block header style in description modal

* Add changelog
2023-11-10 11:57:51 -04:00
nigeljamesstevenson 8f056ce3b0
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:50:28 +00:00
nigeljamesstevenson 1cd2404815
Create cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:30:18 +00:00
Leif Singer 6fc6aabf6f address markdownlint issues 2023-11-10 16:24:48 +01:00
Leif Singer 030d67531f Woocommerce → WooCommerce (when used in prose only) 2023-11-10 16:13:06 +01:00
Leif Singer 5944fdcdff replace developer.woocommerce.com with developer.woo.com 2023-11-10 16:09:27 +01:00
Leif Singer b0e5c34cde capitalize Woo.com (and WordPress.com) when used in a sentence 2023-11-10 15:49:08 +01:00