Commit Graph

12604 Commits

Author SHA1 Message Date
Corey McKrill 526ffd817a
Add unit tests for getting files by file ID 2023-11-09 10:23:35 -08:00
Corey McKrill 28f8da6fbc
Add assertions for get_file_id to File unit tests 2023-11-09 10:23:35 -08:00
Corey McKrill b3489a7af7
Add file rotation navigation 2023-11-09 10:23:35 -08:00
Corey McKrill 22343ba78d
Add a header wrapper element on log screen titles 2023-11-09 10:23:34 -08:00
Corey McKrill aee77a44cc
Revert to css line numbers so they arent selectable 2023-11-09 10:23:34 -08:00
Corey McKrill d439bb2b25
Remove unused styles 2023-11-09 10:23:34 -08:00
Corey McKrill db52e9da9e
Style tweaks 2023-11-09 10:23:34 -08:00
Corey McKrill 608652f362
Fix broken markup 2023-11-09 10:23:34 -08:00
Corey McKrill 321c9b8be4
Fix broken markup 2023-11-09 10:23:34 -08:00
Corey McKrill 7bb643377c
phpcs cleanup 2023-11-09 10:23:34 -08:00
Corey McKrill ee65fae397
Extra escaping 2023-11-09 10:23:33 -08:00
Corey McKrill 561ba9a61b
Remove test script 2023-11-09 10:23:33 -08:00
Corey McKrill b63075d67f
Make log lines selectable, retain anchor 2023-11-09 10:23:33 -08:00
Corey McKrill 0c5689d683
Render log file lines in single file view 2023-11-09 10:23:33 -08:00
Corey McKrill 51f7e70127
Refactor File to use wp_filesystem, add stream method 2023-11-09 10:23:33 -08:00
Corey McKrill e914b9a2d5
Scaffold the single file view 2023-11-09 10:23:33 -08:00
Corey McKrill 7ecb9dfaee
Improve file path validation 2023-11-09 10:23:33 -08:00
Corey McKrill 2fe04da8f4
Don't use full log file names in the UI 2023-11-09 10:23:32 -08:00
Jorge A. Torres daaab7acc8
Render customers filter on HPOS list table on hook `woocommerce_order_list_table_restrict_manage_orders` (#41328)
* Render `customers_filter()` on hook `woocommerce_order_list_table_restrict_manage_orders` for backwards compat

* Add changelog
2023-11-09 15:48:11 +01:00
louwie17 65234c4590
Remove unused large banner image (#41244)
* Remove unused banner image

* Add changelog
2023-11-09 09:43:10 -04:00
Maikel David Pérez Gómez e5b1ee338e
Update the select all behavior in the variations table (#41008)
* We display the number of selected items, e.g., '5 selected'

* We display a number of all existing items next to the button, e.g., "Select all (25)".

* When only some items are selected on the page, we show an additional button that says "Select page (X)" where X stands for the number of rows on the page. Clicking it selects all rows on the page.

* Clicking "Select all" selects all existing items

* Add changelog file

* Add tracking events

* Saving progress on variations table

* Manage tracking events and error handling

* Hide edition features when at least one variation is selected

* Fix linter errors

* Resolve rebase conflicts

* Remove use selection hook since is not needed anymore

* Fix filter items vertical alignment

* Add changelog files

* Fix inconsistent loading and variations state

* Do not show EmptyTableState when the product has variations but the filter get empty list

* Invalidate cache state before generating variations

* Fix select all after filtering variations

* Remove delete variations from the selection list

* Retreive the product after generating variations

* Fix linter

* Invalidate variations cache after generating variations
2023-11-09 08:25:27 -05:00
github-actions 13c4235738 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-09 09:46:08 +00:00
Niels Lange eeb2b8ba07
Style <mark> tag on order page 2023-11-09 15:44:55 +07:00
Néstor Soriano 7b71803e95
Add changelog file 2023-11-09 09:21:28 +01:00
Nestor Soriano 17d1aa11a2
Fix typographic quotes used in HTML attributes 2023-11-09 09:15:19 +01:00
Moon 670e2c0669
Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289)
* Separate count query

* Fix total_results var

* Add count-low-in-stock endpoint

* Use new count-low-in-stock endpoint

* Fix inconsistent in function names

* Type cast to int

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

* Fix spelling

* Separate count query function

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

* Use get_count_query

* Use count-low-in-stock endpoint

* Remove condition where it only updates product count when there is less than 2 items -- no longer needed as we are using a new endpoint to count the products

* Fix spelling

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

* Lint fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-09 12:49:50 +08:00
Chi-Hsuan Huang 65e533bedd
[CYS] Add track events (#41284)
* Add tracks for cys

* Update assignStartLoadingTime entry

* Add changelog

* Fix types

* Fix redundant wcadmin track name

* Track "Start again" button instead
2023-11-09 09:32:47 +08:00
Mike Jolley e0a4ee82c1
Update WooCommerce Blocks package to 11.5.3 (#41269)
* Bump version in composer.json

* Update lock files

* changelog

* ensure the properties exist before accessing them

* add changelog file

* skip a test that is waiting for a fix from WooCommerce Blocks

* appease the linter

* remove commented out code

* use `empty` instead of `property_exists`

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

* Update WooCommerce Blocks package to 11.5.1

* Update WooCommerce Blocks package to 11.5.2

* Undo test removal

* bump to woocommerce blocks 11.5.3

---------

Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
Co-authored-by: Leif Singer <git@singer.sh>
Co-authored-by: Leif Singer <leif@automattic.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Luigi <gigitux@gmail.com>
2023-11-08 17:19:21 -06:00
nigeljamesstevenson 3befeb4b2d
Add hooks to customize the behavior of the cart shipping calculator (#41146) 2023-11-08 23:14:44 +00:00
nigeljamesstevenson d167337a1f
Fix "Choose Your Theme" task header (#41293) 2023-11-08 23:14:28 +00:00
Jonathan Lane bfa64a7d42
Improve e2e test stability (#41315)
* Clean up created pages and posts

* Move tax tests so that they run last

* Improve locators

* Changelog

* Improve locators

* Improve locator on heading

* Change assertions to look for alert text

* Change assertion to look for text

* Update locators

* Update locator

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-08 16:50:33 -06:00
github-actions[bot] ca8df97906
Delete changelog files based on PR 41205 (#41311)
Delete changelog files for 41205

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-08 21:35:21 +01:00
Jorge A. Torres ba43dce533
Fix warning when order edit lock is released mid page load (#41278) 2023-11-08 16:12:55 +01:00
Juan de Paco Moreno b608d0e79e
Fix imported variations count on batched import. (#41187)
Co-authored-by: Juan de Paco <juan.d@onthegosystems.com>
2023-11-08 16:11:57 +01:00
Chi-Hsuan Huang 3655a39238 Add changelog 2023-11-08 20:49:09 +08:00
Chi-Hsuan Huang dbcf1202cd Fix "Choose Your Theme" task header 2023-11-08 20:48:56 +08:00
berislav grgičak f30426e261
Merge branch 'trunk' into feature/marketplace-subscriptions 2023-11-08 13:19:32 +01:00
Luigi Teschio 762f6847e5
WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type (#41285)
* WooCommerce Beta Tester - CSY: implement removing patterns_ai_data post type

* add changelog

* Update changelog
2023-11-08 12:07:30 +01:00
Cem Ünalan 4b97e3e9c9
Marketplace: table design updates (#41066)
* Marketplace: table design updates

* Marketplace: address PR feedback

- Added enum for status levels
- Fixed color for the table rows
- Used ADMIN_URL for referencing plugins page
-

* Marketplace: Update WooCommerce.com references to Woo.com

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Marketplace: fix how status badges look on narrower screens

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-08 13:26:44 +03:00
Moon 54a00b282a
CYS - make the progress bar move forward in small segments (#41279)
* Add 2 additional steps between the loader steps

* Support onChange callback

* Add loader progress transition

* Add smooth transition story

* Set the initial percentage to 5 to make the transition smoother

* Add changefile(s) from automation for the following project(s): @woocommerce/onboarding, woocommerce

* Add smooth-transition class to the progressbar

* Fix lint

* Update AssembleHubLoader

* Fix e2e

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-11-08 16:50:15 +08:00
Daniel W. Robert d83c7f30f7
Rename Centered Header Menu with Search pattern (#41252)
* Rename Centered Header Menu with Search pattern

Since the search bar has been removed from this pattern, this PR renames
the pattern title and slug to reflect that change.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-08 11:24:47 +08:00
Chi-Hsuan Huang f835237a2d
[CYS] Fix navigation disappears after choosing a homepage template (#41262)
* Add changelog

* Fix navigation disappears after choosing a homepage template
2023-11-08 10:48:38 +08:00
Panos (Panagiotis) Synetos deaecfdc6a
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-07 18:48:48 +02:00
github-actions[bot] 5a027dcff4
Delete changelog files based on PR 41247 (#41271)
Delete changelog files for 41247

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-07 16:07:42 +01:00
Barry Hughes 2ef74bff5e
Avoid a type error when performing an `array_sum()` under PHP 8.3. (#41205)
* Avoid a type error when performing an `array_sum()` under PHP 8.3.

* avoid short array syntax (linter)

---------

Co-authored-by: Leif Singer <git@singer.sh>
2023-11-07 15:59:24 +01:00
Matt Sherman 9d8590ba53
WCA Test Helper: Product Editor Dev Tools (#41043) 2023-11-07 09:23:11 -05:00
Panos (Panagiotis) Synetos 37f2f7de7e
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-07 14:13:07 +02:00
nigeljamesstevenson 3568e6f7a9
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" 2023-11-07 11:29:35 +00:00
Chi-Hsuan Huang 2ec666fd73
[CYS] Show warning modal when clicking this back arrow in assembler hub (#41259)
* Add go back warning modal to assembler-hub

* Add changelog

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen.tsx

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-07 17:37:17 +08:00
Adrian Duffell 9252e5a320
Add Customize Your Store AI Survey (#41234)
* Add Customize Your Store AI Survey

* Add rating required field validation

* Move survey state to layout component

* Add changelog

* Update style

* Enable notice

* Update plugins/woocommerce-admin/client/customize-store/transitional/style.scss

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

* Update plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx

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

* Update plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx

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

* Fix lint

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-07 17:34:20 +08:00
berislav grgičak 154c69c2d5
My subscriptions error notices (#41124)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Switch to WP installer

* Use WP installer

* Remove install endpoint

* Fix php warning

* Add download_link if subscription exists

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Use product slugs for installing

* Add store for installing state

* Add theme install support

* Product activate endpoint

* Activate after install

* PHP warning

* Update context

* Debugging

* Install context

* Linter

* Simplify context

* Use Redux instead of context

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

* Replace ~ with relative paths

* Add error notices

* Move update to functions

* Add notice store

* Fix linter errors

* Remove temp file

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

* Don't autoremove notices

* Add status to notices

* Send just required path field

* Subvscribe hover color

* Css linter fix

* Fix error notice style

* Update manage button text

* Linter fixes

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 09:21:12 +01:00
Chi-Hsuan Huang 8d80436d45
[CYS] Fix frame overlap sidebar (#41237)
* Fix frame overlap the sidebar

* Add changelog

* Update
2023-11-07 10:15:24 +08:00
Chi-Hsuan Huang 14de97f03d
[CYS] Copy changes (#41235)
* Update copy for CYS

* Add changelog
2023-11-07 09:28:56 +08:00
Matt Sherman ad65099e42 Changelog 2023-11-06 16:07:41 -05:00
Matt Sherman ba53c9d828 Improve UX of expression add button 2023-11-06 15:58:44 -05:00
Matt Sherman feec1c75a0 Remove unused CSS 2023-11-06 15:51:55 -05:00
Matt Sherman 1a2bbc03ed Use custom properties for CSS 2023-11-06 15:49:59 -05:00
Corey McKrill 5420e84663
Update woocommerce.com email addresses to woo.com (#41245) 2023-11-06 12:12:15 -08:00
Corey McKrill 6fde44fe85
Logging: Add missing script exit after redirect (#41201)
Prevents a fatal error that could occur if you submitted the bulk edit form on the Logs list table without selecting any log files first.

Fixes #41197
2023-11-06 12:11:34 -08:00
Matt Sherman 84ec068dbb Use core/block-editor store to get selected block info 2023-11-06 15:11:04 -05:00
Matt Sherman 8dc2cdce5a Update tab button hover style 2023-11-06 15:11:04 -05:00
Matt Sherman 3a449c2c93 Rename components 2023-11-06 15:11:04 -05:00
Matt Sherman 10057b0d81 Fix scrolling of expressions 2023-11-06 15:11:04 -05:00
Matt Sherman 5727281493 Visually hide tabs when not selected, to keep state 2023-11-06 15:11:04 -05:00
Matt Sherman 1c40d2e892 Handle syntax error 2023-11-06 15:11:04 -05:00
Matt Sherman 140e61ed26 Tweak expression textarea style 2023-11-06 15:11:04 -05:00
Matt Sherman 22c0424cb7 Add Product tab to dev tools 2023-11-06 15:11:04 -05:00
Matt Sherman b0251b1484 Add @woocommerce/expression-evaluation dependency 2023-11-06 15:11:04 -05:00
Matt Sherman b110356263 Add order to menu item 2023-11-06 15:11:04 -05:00
Matt Sherman ed2f32f278 Help panel 2023-11-06 15:11:04 -05:00
Matt Sherman 837f7b05eb Update colors 2023-11-06 15:11:04 -05:00
Matt Sherman 2975c04269 Tab buttons styling 2023-11-06 15:11:04 -05:00
Matt Sherman d2ff3d3615 Fix scrolling and height of dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman 63c629b14d Handle when no block was focused 2023-11-06 15:11:03 -05:00
Matt Sherman cbda698e08 Move useFocusedBlock to dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman a2fb19c6ae Extract useFocusedBlock hook 2023-11-06 15:11:03 -05:00
Matt Sherman 49cba8d5ba Style updates, and limit focus tracking to product editor wrapper 2023-11-06 15:11:03 -05:00
Matt Sherman 65e0208073 Initial styling 2023-11-06 15:11:03 -05:00
Matt Sherman b0ce2b5723 Hook up menu 2023-11-06 15:11:03 -05:00
Matt Sherman 2457946161 Initial block inspector panel 2023-11-06 15:11:03 -05:00
Matt Sherman 8af0105e0d Add @woocommerce/admin-layout dependency 2023-11-06 15:11:03 -05:00
Matt Sherman a6ec8d4195 Start hooking up focus handler 2023-11-06 15:11:03 -05:00
Matt Sherman e44751fac5 Refactor menu item components 2023-11-06 15:11:03 -05:00
Matt Sherman 77617ae974 Initial menu skeleton 2023-11-06 15:11:03 -05:00
Matt Sherman 09bb2183fb Update dependencies 2023-11-06 15:11:03 -05:00
Matt Sherman 5bc52ca2eb Add @wordpress/icons dependency 2023-11-06 15:11:03 -05:00
Matt Sherman e1978d04b2 Add @woocommerce/product-editor dependency 2023-11-06 15:11:03 -05:00
Nathan Silveira 2a30735b28
[Product Block Editor] Show onboarding tour within description block editor (#41161)
* Copy WelcomeGuide from gutenberg

* Remove CSS copied from guide component since it's not influencing the product Welcome Guide and it's interfering with the block editor welcome guide

* Fix issue with box-sizing

* Fix lint issues

* Show guide only when modal is open

* Add changelog

* Remove template and fix issue with component not re-rendering

* Add comment

* Add additional changelog

* Rename component
2023-11-06 16:38:33 -03:00
nigeljamesstevenson cd838e3742
update api-core-tests to work on daily site and localhost/CI (#41222)
* update api-core-tests to work on daily site

* changelog

* changlog update
2023-11-06 11:35:03 -08:00
github-actions 3b945dbd6d
Add changefile(s) from automation for the following project(s): woocommerce 2023-11-06 11:07:52 -08:00
Corey McKrill 791f5db5b4
Logging: Add missing script exit after redirect
Prevents a fatal error that could occur if you submitted the bulk
edit form on the Logs list table without selecting any log files first.

Fixes #41197
2023-11-06 11:07:52 -08:00
louwie17 dfc2f70f46
Shrink large banner image (#41247)
* Shrink intro banner image in customize store

* Add changelog
2023-11-06 11:07:23 -04:00
Néstor Soriano f098a116e1
Add the wc_allow_changing_orders_storage_while_sync_is_pending filter (#39988)
* Add the wc_allow_changing_orders_storage_while_sync_is_pending filter

For HPOS the idea is to disallow changing the authoritative data
source for orders (new tables <--> posts table) while there are orders
pending synchronization, since this can lead to data loss. However,
while this was indeed disallowed in the features UI, it was still
possible to manually change the value of the corresponding option
(via "wp option" command); there was code in place to prevent this
(by throwing an exception) but it had been commented out to ease
testing during the development of the feature.

This commit restores that commented out code, so in principle,
trying to change value of the option while there are orders pending
synchronization will throw an exception. BUT a filter is introduced,
wc_allow_changing_orders_storage_while_sync_is_pending, to allow
bypassing this behavior: the filter returns "false" by default, but
if it returns "true", changing the option will never throw an
exception. This is needed for a few of the existing unit tests,
but otherwise it should never be done (and the filter is documented
as such).

Additionally, if the filter returns "true" it will be possible to
change the value of the option in the features UI; but a warning
message will be shown in red if there are orders pending sync.

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

* Fix code inadvertently duplicated when merging from trunk.

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

* Fixes after manually undoing merge conflicts

* Fix linting issue

* Fix unit tests

* Fixed a bug that allowed changing the authoritative table from wp cli
even with orders pending synchronization

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

* Fix some more unit tests

* Delete duplicated changelog file

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-06 14:55:15 +00:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 6cf13eb967 add changelog file 2023-11-06 14:21:12 +01:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
Panos (Panagiotis) Synetos 8df23888b8
Renamed is_wooexpress to is_woo_express and updated readme 2023-11-06 14:50:29 +02:00
Panos (Panagiotis) Synetos 53d7388269
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-06 14:46:53 +02:00
Panos (Panagiotis) Synetos 15da9903d4
Cleanup references to is_ecommerce 2023-11-06 13:19:33 +02:00
Luigi Teschio cbc3bac88c
Fix pattern route performance (#41168)
* fix pattern route performance

* Fetch multiple endpoints

* update namespace

* update business description

* fix payload

* remove eslint comment

* add changelog

* update interval of the loading frames
2023-11-06 18:51:11 +08:00
berislav grgičak 19df04921e
Update/my subscriptions wp installer (#40990)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Switch to WP installer

* Use WP installer

* Remove install endpoint

* Fix php warning

* Add download_link if subscription exists

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Use product slugs for installing

* Add store for installing state

* Add theme install support

* Product activate endpoint

* Activate after install

* PHP warning

* Update context

* Debugging

* Install context

* Linter

* Simplify context

* Use Redux instead of context

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

* Replace ~ with relative paths

* Remove unnecessary is_null check

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-06 09:35:43 +01:00
Kyle Nel b62fc16aa3
Change woocommerce.com URLs to woo.com in marketplace (#41127)
Change woocommerce.com to woo.com
2023-11-06 10:15:34 +02:00
Chi-Hsuan Huang 5f819cc40e
Fix CYS initial pattern population bug (#41233)
* Fix CYS initial pattern population bug

* Add changelog
2023-11-06 15:46:28 +08:00
Eason 0e3b04ac35
Avoid the PHP error with an undefined property on the WooCommerce > Extensions page (#41125)
* Avoid the PHP error with an undefined property on the WooCommerce > Extensions page.

* Add changelog
2023-11-06 14:38:27 +08:00
Barry Hughes 06708f5851 Changelog should be 'minor', not 'patch'. 2023-11-03 12:56:07 -07:00
Barry Hughes 0a3ca8a0dc Break apart conditions relating to postcode-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
Barry Hughes 4b524c4cbd Break apart conditions relating to state-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
barryhughes 0cfda2cee2 Update `@since` tags, reformat hook docblocks. 2023-11-03 12:56:07 -07:00
barryhughes 9b507a55a7 Changelog. 2023-11-03 12:56:07 -07:00
Marco Almeida a8e663095f Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00
Marco Almeida 8c7bb72910 Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00
Marco Almeida 350e703704 Allow removing postcode and state from calculator even if required
Allow removing postcode and state fields from the shipping calculator, if they're not needed for calculation, even if they're required at the checkout.
Fixes #28393
2023-11-03 12:56:07 -07:00
Ron Rennick c87551b6c0 Merge branch 'trunk' into oginomizuho-patch-1 2023-11-03 16:26:11 -03:00
Ron Rennick 3beb6e6de3 update another tax class sanitization 2023-11-03 16:11:58 -03:00
Ron Rennick 335aa30c2a Merge branch 'trunk' into patch-1 2023-11-03 13:50:40 -03:00
Jonathan Lane 6ff4b13b63
Add tests for tax display for the shopper (#40178)
* Add tests for tax display for the shopper

* Add changelog

* Renamed .spec file

* Fixes for re-testability

* Fix a locator problem

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-03 09:14:27 -07:00
Panos (Panagiotis) Synetos f97804e4bf
Code review 2023-11-03 17:23:02 +02:00
Ron Rennick f4b6139974
Add stalebot schedules to allow processing of all issues (#41198) 2023-11-03 11:01:12 -03:00
Ron Rennick 184f7dfbb4
Prevent warning on wc_get_product_variation_attributes (#32288) 2023-11-03 10:26:27 -03:00
Ron Rennick aa19b8913d Merge branch 'trunk' into add/stalebot-schedules 2023-11-03 10:24:47 -03:00
Gan Eng Chin eac4258baa
Allow null in multichannel campaign. (#41180) 2023-11-03 21:17:16 +08:00
Gan Eng Chin 9a3c66aca4
Merge branch 'trunk' into fix/null-allowed-in-multichannel-campaign 2023-11-03 20:18:08 +08:00
Gan Eng Chin 56712b3568
Merge branch 'trunk' into fix/marketing-campaign-link 2023-11-03 20:15:39 +08:00
nigeljamesstevenson a07f35c384
Revert "Branch to test sadow pr 41200" 2023-11-03 11:40:55 +00:00
nigeljamesstevenson 3966d44644
Fix save button is still disabled after changing logo settings (#41208) 2023-11-03 11:28:21 +00:00
nigeljamesstevenson 457da86ef7
Rename the reference to the 'Footer with Simple Menu and Cart' pattern (#41181) 2023-11-03 11:28:03 +00:00
nigeljamesstevenson 99e81720c3
Fix CYS UI bugs - Nov 3 (#41209) 2023-11-03 11:27:05 +00:00
nigeljamesstevenson b5dac6e910 change to test PR 2023-11-03 11:18:05 +00:00
nigeljamesstevenson b13234d34b commit for test PR 2023-11-03 11:14:43 +00:00
Adrian Duffell 5819fe476d Merge branch 'trunk' into fix/logo-on-change 2023-11-03 18:27:42 +08:00
Adrian Duffell ec9ead9b1a Merge branch 'trunk' into fix/cys-ui 2023-11-03 18:25:48 +08:00
Alba Rincón 26990b711e Merge branch 'trunk' into rename-footer-pattern 2023-11-03 11:17:59 +01:00
Chi-Hsuan Huang 9a702eab4f Expand the custom color panel when the user has set a custom color palette 2023-11-03 15:49:46 +08:00
Chi-Hsuan Huang ef53ebaf16 Add changelog 2023-11-03 15:32:43 +08:00
Chi-Hsuan Huang 5ece22111a Fix button's background doesn't change 2023-11-03 15:32:42 +08:00
Chi-Hsuan Huang 415fa2004a Fix color panel style 2023-11-03 14:04:49 +08:00
Chi-Hsuan Huang 54d3394ac4 Fix cys frame zooming in/out while moving mouse over 2023-11-03 13:57:41 +08:00
Chi-Hsuan Huang d2cd2ff35a Update offset 2023-11-03 13:40:25 +08:00
Chi-Hsuan Huang 14e37229a5 Fix resizer handler bar style and position 2023-11-03 13:39:04 +08:00
Chi-Hsuan Huang 3126722ab8 Add changelog 2023-11-03 13:19:36 +08:00
Chi-Hsuan Huang ca0736340e Fix onchange logic 2023-11-03 13:08:09 +08:00
github-actions 56429a44f7 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-03 03:40:07 +00:00
Alba Rincón ce94ce2328 Rename the reference to the 'Footer with Simple Menu and Cart'
The pattern was rename to 'Footer with Simple Menu' in the woocommerce-blocks repo so we need to update the reference here as well
2023-11-03 11:36:33 +08:00
Jon Lane 2dd12a1bd3 Changelog 2023-11-02 17:55:58 -07:00
Jon Lane 20fee838be Don’t include conditionally 2023-11-02 17:55:26 -07:00
Ron Rennick e695f42e85 Add stalebot schedules to allow processing of all issues 2023-11-02 15:42:26 -03:00
WooCommerce Bot 4c38063c2b Delete changelog files for 41092 2023-11-02 17:30:58 +00:00
Gan Eng Chin cb135df890
Null check on campaign.cost. 2023-11-02 22:19:03 +08:00
Gan Eng Chin 86b6a381a3
Add type for campaign cost.
Campaign cost can be null. See 408d6b7aee/plugins/woocommerce/src/Admin/Marketing/MarketingCampaign.php (L58).
2023-11-02 22:16:41 +08:00
Gan Eng Chin 369da23369
Remove duplicated changelog. 2023-11-02 21:48:18 +08:00
github-actions 7f4fb21009 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 13:47:14 +00:00
Gan Eng Chin a012644861
Remove duplicated changelog. 2023-11-02 21:46:49 +08:00
Gan Eng Chin b12f0e0aa8
Use Link component and set type based on manageUrl. 2023-11-02 21:38:43 +08:00
Panos (Panagiotis) Synetos 33d37275b3
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-02 13:10:57 +02:00
Panos (Panagiotis) Synetos c6e45d0c01
Add changelog 2023-11-02 13:10:35 +02:00
github-actions ca411ef4c9 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 10:50:24 +00:00
github-actions 445e87ab16 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 10:26:38 +00:00
Gan Eng Chin 2cf12563c7
Use normal anchor link instead of WooCommerce Link component.
Apparently Link with type wp-admin is the same as normal anchor link anyway, there is no special code handling for wp-admin. So we might as well just use the normal link, and remove the dependency on Link.
2023-11-02 17:48:00 +08:00
Gan Eng Chin 3e65d941d1
Change link type to wp-admin in marketing campaign listing.
This is because not all `manageUrl` pages are wc-admin pages, e.g. MailPoet.
2023-11-02 17:34:46 +08:00
Bartosz Budzanowski d447ea2093 Add changelog file. 2023-11-02 09:51:14 +01:00
Bartosz Budzanowski 6e0e224196 Allow null in multichannel campaign. 2023-11-02 09:28:39 +01:00
Chi-Hsuan Huang 493f4aaba3 Delete changelog files for 41152 2023-11-02 14:31:47 +08:00
Jonathan Lane 9572bf2a12
Fix e2e and api execution on daily runs (#41113)
* Increase a couple of timeouts

* Remove duplicate update to nightly

* Add changelog

* Install Playwright

* Handle Playwright setup

* Add in build name

* Add in check in e2e tests for daily run

* Reverse check

* Rookie mistake

* Use ternary operator instead

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-01 15:44:24 -07:00
Wacław Jacek 4423117dc9
Preload Jetpack data even without Jetpack plugin installed (#41092)
* Preload Jetpack data even without Jetpack plugin installed

Now that the Jetpack Connection package is a dependency
of WooCommerce, preload Jetpack data even when the Jetpack
plugin is not present.

Fixes #41070

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

* Fix lint issue

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 13:18:51 -07:00
kevinbates ac76d8c4b8
Update readme.txt (#41167)
* Update readme.txt

Changed links from WooCommerce.com to Woo.com.

* Update reference to WooCommerce Marketplace.

* Swap `woocommerce.com` with `WooCommerce Marketplace`.

* Swap `WooCommerce.com`, replace with `Woo.com`.

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

---------

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-11-01 20:21:18 +01:00
Ron Rennick 36bb04c120
bump action/stale version, increase operations per run (#41139) 2023-11-01 14:32:13 -03:00
nigeljamesstevenson d61ff514c1
fix: core profiler email opt in validation (#41152) 2023-11-01 17:10:49 +00:00
Ilyas Foo 2a023910ef
Fix CYS transition screen iframe positioning (#41162)
* Fix iframe positioning

* Changelog

* Lint
2023-11-02 01:02:43 +08:00
Adrian Duffell 62a833e834
Update Pattern Thumbnail Shadow (#41157)
* Update pattern thumbnail shadow

* Remove whitespace

* Add changelog

* Remove specific container class

* Include new gutenberg class

* Add border for selected homepage option, lint

* Fix jumpy borders in pattern assembler menu items

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-01 23:41:57 +08:00
Nathan Silveira 9850aef247
Change block default order to 10000 (#41100)
* Change block default order to 10000

* Update tests
2023-11-01 12:39:57 -03:00
Ron Rennick 408d6b7aee
Removed floating semi colon from info type setting control (#40839) 2023-11-01 10:27:11 -03:00
Brian Abelson cf141a63a3
Add `store_id` to WC_Tracker and Tracks (#40705)
* add store_id to WC_Tracker and Tracks; add blog_id to WC_Tracker

* update wc-install-test; add wc-tracks-test

* improved blog_id accessor and more tests

* attempt to mock

* spacing

* revert jetpack options changes

* linting fixes

* linting fixes

* rm blog_id test

* remove blog_id tests

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

* fixes after PR review

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

* update version

* fix linting error

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-01 08:51:21 -04:00
Mike Jolley d116b0a322
Update state definitions for Liechtenstein and Chile (#41068)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-11-01 05:37:22 -07:00
Ilyas Foo 233bdfdec7
Fix cys remove scrollbar iframe in intro screen (#41156)
* Remove when viewing intro scrollbar

* Changelog
2023-11-01 20:16:22 +08:00
Chi-Hsuan Huang 3c839b04c0
Add SlotFill for custom buttons on Transitional Page (#41153)
* Enqueue scripts in translation page

* Add cys transitiona page secondary button slotfill

* Add changelog

* Fix slot

* Fix lint
2023-11-01 19:40:12 +08:00
Chi-Hsuan Huang f7012536cc
Fix CYS pattern thumbnail size (#41126)
* Fix pattern thumbnail size

* Add changelog and doc

* Remove unused import
2023-11-01 19:03:04 +08:00
Chi-Hsuan Huang 23e8324163
[CYS] Fix "Drag to resize" styling when spotlight tour is present (#41150)
* Add changelog

* Update "Drag to resize" styling when spotlight tour is present
2023-11-01 19:01:51 +08:00
Chi-Hsuan Huang 1ca93287ca
[CYS] Fix Spotlight Tour caret is not centered vertically (#41154)
* Fix CYS Spotlight Tour caret is not centered vertically

* Add changelog
2023-11-01 16:54:53 +08:00
Chi-Hsuan Huang 38d0081fab
[CYS] Add two more loading frames to loading sequence (#41148)
* Add more loaders

* Add changelog

* Change interval time
2023-11-01 15:42:36 +08:00
Moon 79138bf13c
CYS - Hide theme and default palettes (#41103)
* Hide theme and default palette

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

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 14:40:55 +08:00
rjchow 6ccef6d498 fix: stale error not cleared 2023-11-01 14:07:47 +08:00
Chi-Hsuan Huang 391aa15e79
[CYS] Remove disproportionate spacing above and below logo preview (#41151)
* Remove disproportionate spacing above and below logo

* Add changelog
2023-11-01 13:32:33 +08:00
rjchow 5468ce68b8 fix: core profiler email opt in validation 2023-11-01 12:42:16 +08:00
Chi-Hsuan Huang 75114728f0
[CYS] Reduce the logo preview to a maximum width of 250px (#41122)
* Reduce the logo preview to a maximum width of 60px

* Add changelog

* Set max height and width to 250px

60px was too small!

---------

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 12:34:54 +08:00
Chi-Hsuan Huang 2902cdee92
[CYS] Fix undefined query id warning (#41083)
* Fix Warning: Undefined array key "queryId"

* Add changelog

* Update trigger save button logo

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/save-hub.tsx

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-01 12:30:47 +08:00
Patricia Hillebrandt 1f625ca671
Store Customization > Replace the Just Arrived Full Hero pattern with the Hero Product Split pattern in the CYS flow (#41109)
* Use the Hero Product Split pattern as the initial one for all templates.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 08:41:30 +08:00
Ron Rennick fe582d6c97 bump action/stale version, increase operations per run 2023-10-31 14:36:20 -03:00
Maikel David Pérez Gómez 6b44a969d0
Add filters to Variation table (#40978)
* Create product variations filter component

* Add slug to the product and variation attributes
This is needed to be able to filter variations by specific attribute slugs

* Add support to filter variations by many attribute options

* Integrate attribute options filter in variations table

* Fix rebase conflicts

* Set initial filter values

* Improve intial filter values and cache invalidation

* Add changelog files

* Fix linter errors

* Fix unit tests

* Change the min amount of options to show the search input

* Fix invalid cache key generation for the datastore

* Fix unit tests

* Fix linter errors

* Fix js tests

* Add terms pagination for varition filters

* Load terms on demand plus pagination

* Show selected option names as the dropdown button toggle text

* Fix invalida state when reset and on close the popover

* Revert adding selected options as part of the dropdown toggle text

---------

Co-authored-by: Fernando Marichal <ultimoround@gmail.com>
2023-10-31 13:29:48 -04:00
Luigi Teschio 6fac8aeb50
Update WooCommerce Blocks to 11.4.3 (#41134) 2023-10-31 17:21:57 +01:00
nigeljamesstevenson 335284b31b
Delete changelog files based on PR 41050 (#41136) 2023-10-31 16:12:55 +00:00
Ilyas Foo 3d223040d1
Render site thumbnail in CYS intro screen (#41130)
* Try getting a site preview in the banner working.

* Change to use iframe instead

* Changelog

* Fix lint issues

---------

Co-authored-by: Chris Runnells <chris.runnells@automattic.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 00:11:26 +08:00
WooCommerce Bot 1e98c8b2cc Delete changelog files for 41050 2023-10-31 16:06:49 +00:00
nigeljamesstevenson 430575d26e
Delete changelog files based on PR 40948 (#41039) 2023-10-31 15:44:47 +00:00
Chi-Hsuan Huang 1c4340608a
Fix intro page button styles (#41118)
* Fix intro page button style

* Add changelog
2023-10-31 22:05:18 +08:00
Chi-Hsuan Huang ef2fb598c4
[Customize your store] Fix default width for logo (#41080)
* Set default logo width when updating the template

* Set current logo width to the inserting patterns

* Add changelog

* Fix tests

* Apply logo width in use-patterns
2023-10-31 21:44:09 +08:00
Matt Sherman dabc34ed43
Template API: Add block template lifecycle documentation (#40980) 2023-10-31 09:41:44 -04:00
Chi-Hsuan Huang b9b45469b3
Update CYS AI loading screen (#41123)
* Update the CYS Design with AI loading iframes

* Add changelog
2023-10-31 21:09:21 +08:00
Rodel Calasagsag b71de82e30 Revert "Add closing header tag"
This reverts commit c7a644c7d8.
2023-10-31 17:25:27 +08:00
Rodel Calasagsag c7a644c7d8 Add closing header tag 2023-10-31 16:58:30 +08:00
Rodel Calasagsag e5a9b21a61 Remove redundant comments 2023-10-31 15:58:16 +08:00
Moon 7ed46ad2fe
Add flags to control visibility of Header, StoreAlerts, Notices, and PluginsArea from a page (#41014)
* Disable header and footer on cys pages

* Support showNotices and showStoreAlerts to control Notices and StoreAlerts from the layout

* Disable Notices and StoreAlerts from CYS

* Support showPluginArea -- setting this value to false disables plugins

* Disable plugin area in cys

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-31 15:49:21 +08:00
Leif Singer 7e55cbd1d7
Fix legacy order data PHP 8 compatibility issue (#41094)
* add a failing test for setting shipping total to empty string (fails on PHP 8.x)

* make the WC_Tests_Order_Item_Product::test_get_item_shipping_total test pass

* add changelog file

* add some more explicit conversions to float where we add values and can't be sure it's not a string

* appease the linter

* set array_reduce's initial value to 0.0
2023-10-31 00:07:44 +01:00
jonathansadowski d27c3941ea
Allow print_r in beta tester logger (#41101) 2023-10-30 12:35:54 -05:00
jonathansadowski c0eed18c8d
Prepare Beta Tester 2.2.5 Release (#41099) 2023-10-30 11:57:35 -05:00
Chi-Hsuan Huang 6ecf096d1c
Fix intro warning modal copy and button spacing (#41082)
* Fix intro warning modal copy and button spacing

* Add changelog
2023-10-30 18:05:17 +08:00
Ilyas Foo 1070d02e6f
Fix CYS iframe not firing pushstate events (#41079)
* Call original pushstate from iframe

* Changelog
2023-10-30 15:53:06 +08:00
Dmytro 4601f0d259
Remove Creative Mail from WooCommerce defaults. (#40991) 2023-10-29 15:19:29 +02:00
github-actions debe7dc3ec Add changefile(s) from automation for the following project(s): woocommerce 2023-10-27 13:35:11 +00:00
Ilyas Foo 6805e5c5e6
Add fullscreen class to body when CYS component is shown (#41056)
* Add fullscreen class to body when CYS component is shown

* Changelog

* Update import and lint
2023-10-27 17:06:13 +08:00
Barry Hughes 9570483f2e
Legacy shortcodes: block editor compatibility (#40648)
* Load standard includes and template functions in REST API and some admin contexts.

This is primarily needed to support the use of legacy shortcodes within the block editor, as pre-rendering means the shortcodes will be invoked (and therefore any frontend/template functions the shortcode handler might call need to be available).

* Check session is available before accessing its methods from within shortcodes.

* Changelog.

* Coding standards (no assignment inside a conditional).

* Whitespace.

* Support testing if the request is of type 'rest-api'.

This preserves the accuracy of the 'frontend' definition. Additionally, having tightened that up, we explicitly include REST API requests as a condition in which we should load frontend includes (needed, to support quirks in terms of how the block editor does things—such as creating FE previews of blocks).

* `rest-api` is not used, and this is a private method so it is essentially dead-code.

* Return type clean-up for `wc_print_notices()`.
2023-10-27 08:30:31 +02:00
Moon d562fbdc5c
Fix CYS JS conflict error latest Gutenberg version (#41052)
* dequeue wpcom.editor on cys pages

* Add gutenberg_version to wcSettings.admin

* Use the new consent string for Gutenberg 16.9 and above

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

* Revert "dequeue wpcom.editor on cys pages"

This reverts commit 85c039c7dc.

* Update changelog

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

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

This reverts commit 4554626fde.

* Fix lint issues

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-10-27 14:09:05 +08:00
berislav grgičak 53c4fe6afb
My subscription product updates (#40752)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 06:08:27 +02:00
Corey McKrill c305680792
Logging: Add a list table to browse log files (#40662)
Adds a new file browsing view for Logs and sets the stage for other UI improvements described in #40644. In this view, the list of log files can be sorted by several different parameters and also filtered by the log's "source" (which is essentially the prefix on the log's filename). It has the standard list table feature of being able to select multiple rows at once and perform a bulk action. In this case, the only bulk action is currently to delete files. Clicking on one of the files brings you to the single file view, which at this point is just the old log file view.

Fixes #40915
2023-10-26 18:04:36 -07:00
Corey McKrill 94ea31522f
Add an artful diagram about log file structure 2023-10-26 17:11:58 -07:00
Corey McKrill 663e610cd8
Use filectime instead of filemtime when creation date isn't available
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-10-26 16:59:11 -07:00
Corey McKrill d9cae66d9f
More phpcs cleanup 2023-10-26 13:51:02 -07:00
Corey McKrill d3cc2880c2
More escaping in list table translations 2023-10-26 13:07:35 -07:00
Corey McKrill 73924c6107
Remove unneeded line that modifies superglobal 2023-10-26 13:03:40 -07:00
Corey McKrill 417049e56f
phpcs cleanup 2023-10-26 12:55:27 -07:00
Corey McKrill 79640078d4
Remove usages of FILTER_SANITIZE_STRING 2023-10-26 12:53:36 -07:00
Dima ef81a499c0 Merge remote-tracking branch 'origin/trunk' into remove/creative-mail 2023-10-26 22:21:15 +03:00
Luigi Teschio efdb724728
Update WooCommerce Blocks to 11.4.2 (#41050) 2023-10-26 18:56:47 +02:00
Jorge Torres 6f66f3baa5 Add changelog 2023-10-26 14:32:53 +01:00
Jorge Torres 68a739e21c Add screen options nonces to HPOS edit screen 2023-10-26 14:32:49 +01:00
Dima 3bc1810f68 Merge remote-tracking branch 'origin/trunk' into remove/creative-mail 2023-10-26 15:28:36 +03:00
Barry Hughes fa1ef4a8fd
Remove linting exceptions for WC Admin code. (#41016) 2023-10-26 12:42:49 +02:00
Thomas Shellberg 51eff5c234
Woo AI - fix empty build dir due to entrypoint file extension match failure. (#40997)
* Woo AI - Fix empty build directory due to entry point file extension match failure.
2023-10-26 12:25:11 +02:00
Chi-Hsuan Huang 7b00687a38
Fix CYS assembler hub UI issues (#41036)
* Set default logo size to 60px and max to 200px

* Hide homepage template label

* Scroll to position when selecting a pattern

* Fix preview opacity issue

* Update sidebar scrollbar style

* Fix onboarding tour resize handle

* Add changelog
2023-10-26 18:15:30 +08:00
Ilyas Foo b108e19a93
Try using iframe for loading assembler hub behind the scenes (#40936)
* Try using iframe for loading assembler behind the scenes

* Add css

* Lint

* Changelog

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/actions.ts

* Handle navigations around CYS if we're using iframe

* Add better loading handler

* Increase loader screen intervals

* Fix navigation

* Increase loader timeout to 30 seconds

* Much better loading detect from editor hook as suggested by Chi

* Unused import

* Lint css
2023-10-26 16:46:50 +08:00
WooCommerce Bot a7aa8df2ee Delete changelog files for 40948 2023-10-26 07:23:09 +00:00
nigeljamesstevenson 822e4cf227
System Status compatibility with the classic-shortcode block (#40948) 2023-10-26 08:21:42 +01:00
Chi-Hsuan Huang 7142f80534
Update CYS color palettes and fonts based on the new Dotcom release (#40989)
* Update font pairings

* Remove font loader check

* Update default fonts

* Update color palette choices

* Add changelog

* Add default color styles config

* Add comment

* Fix tests

* Fix test
2023-10-26 14:15:53 +08:00
Chi-Hsuan Huang cfc44be57b
Reduce CYS intro screen loading time (#41017)
* Redirect to customize your store task without a full-reload

* Add changelog
2023-10-26 14:13:18 +08:00
Chris Runnells 2639aba8a9
Update get_recommended_themes() to check filtered response for active themes (#40981) 2023-10-25 15:22:11 -10:00
github-actions[bot] 65d2694602
Prep trunk for 8.4 cycle (#41009)
Prep trunk for 8.4 cycle with version bump to 8.4.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-25 19:11:06 -05:00
github-actions[bot] cc7601203e
Release: Remove 8.3 change files (#41011)
Delete changelog files from 8.3 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-25 19:10:55 -05:00
Paulo Arromba 39ac95b84a
[Enhancement]: Make Cart and Checkout Blocks the default experience on WooCommerce installation (#40867)
* Make Cart and Checkout Blocks the default experience on WooCommerce installation.

* Corrected text domain for translations

* Added changelog entry

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

* Change significance to major on changelog

* Update tooltips for the Cart and Checkout pages

* Deprecated woocommerce_checkout_shortcode_tag and woocommerce_cart_shortcode_tag

* Convert Cart and Checkout pages to shortcodes during setup phase of E2E, API, and k6 perf tests. (#40960)

* Add utility function to set shortcode cart, checkout pages

* Stabilize login steps in global setup, teardown

* Add minor jsdoc

* Simplify function

* Remove unnecessary env var

* Stabilize 1 flaky test

* Add minor jsdoc

* Add util function to convert cart, checkout pages to shortcode in API tests

* Convert to cart, checkout shortcode in k6 perf tests

* Get auth state from PW config

* Rename function

* Separate setup function

* Revert create-simple-product e2e test file

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

* Deleted duplicated changelog entry

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2023-10-26 07:45:55 +08:00
Paulo Arromba f0acc763a6 yoda conditions 2023-10-26 00:25:23 +01:00
Chris Runnells b1f1145b7d Remove 'is_active' value since it's set later 2023-10-25 13:02:59 -10:00
Corey McKrill 35f2fda9a8
More phpcs cleanup 2023-10-25 15:57:36 -07:00
Paulo Arromba f855520336 Deleted duplicated changelog entry 2023-10-25 23:57:10 +01:00
github-actions 498ce0e987 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 21:29:17 +00:00
nigeljamesstevenson d53e94968c
Remove the TestCheckout note (#40851)
Based on the description p1698260555732139/1698145891.281399-slack-C8X6Q7XQU - proceeding with merge
2023-10-25 21:42:51 +01:00
github-actions 531eaa029f Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 18:55:12 +00:00
Maikel David Pérez Gómez 5bce523443
wp-admin sidebar menu pushed down on wc-admin pages (#41001)
* Fix invalid left menu top space

* Add changelog files

* Fix linter errors
2023-10-25 15:16:08 -03:00
Saad Tarhi d267a6f531 Adding changelog 2023-10-25 18:25:37 +01:00
Saad Tarhi c2e179826a Remove the TestCheckout note 2023-10-25 18:25:37 +01:00
nigeljamesstevenson 3ee9c22380
Core profiler - Include tiktok-for-business (#40911) 2023-10-25 18:23:19 +01:00
nigeljamesstevenson 585fa841c0
Use a modified version of edit-site lock-unlock module to make it CYS… (#40884) 2023-10-25 18:22:37 +01:00
Rodel Calasagsag a4108b3b67 Merge branch 'trunk' into dev/fix-k6-hpos-env-var-parsing 2023-10-26 00:33:25 +08:00
Corey McKrill 3e7b8d1eec
Update unit test to account for log files generated elsewhere in the test suite 2023-10-25 09:17:47 -07:00
Daniel Dudzic 6941e8c8d7 Revert changes to unrelated composer.lock files 2023-10-25 17:30:48 +02:00
Daniel Dudzic 7803e14b7e Update WooCommerce Blocks package to 11.4.1 2023-10-25 16:56:42 +02:00
Wacław Jacek 3d5b58b7d6
Remove dependency on Jetpack from Shipping and Tax task list items (#39992)
* Remove dependency on Jetpack from WCS&T's task list item

- Remove installing Jetpack-the-plugin from WooCommerce Shipping &
Tax WC Home task list and recommended extensions area.

- Update Jetpack auth link generation to use getJetpackAuthUrl().

- Remove references of Jetpack-the-plugin from WCS&T onboarding
as the extension will now use the Jetpack Connection package
for establishing a connection between WPCOM infrastructure
and a Woo site.

* Update WooCommerce Tax flow in WC Home task list

* Inline the agreementText variable

* Add missing pluginSlugs prop to <Plugins> instance for WC Tax

* Fix WC Tax extension name in API response

* Remove Jetpack from copy in Tax task header

* Fix MD034/no-bare-urls MD linting violation

* Fix experimental shipping recommendation tests

* Add changelogs requested by linter

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

* Remove mention of Jetpack from ExperimentalShippingRecommendation

* Fix text wrapping bug in WC Tax onboarding task

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

* Use isResolving() to detect pending auth URL fetch

* Replace unused hasErrors with ref to error

* Fix lint

* Jetpack auth URL prefetching

* Revert "Jetpack auth URL prefetching"

This reverts commit 2b79000e20.

* Add PrefetchJetpackAuthUrl component to remove Connect button load time

* Replace URL prefetching in component with useEffect

* Fix: Accept redirect URL as param instead of prop

* Fix lint

* Remove prefetching. Make Connect button always available

* Fix ExperimentalShippingRecommendation incompatibility with new Connect behavior

* Handle empty object errors in Connect

* Display TOS above WooCommerce Shipping & Tax installation buttons (#40863)

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 22:39:43 +08:00
github-actions 225755a0d9 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 14:26:36 +01:00
And Finally fe8e132cc4 Styling tweaks.
- Changed illustrations for extensions and themes no results.
- Added bottom border to theme images in product cards, as many themes have white backgrounds.
- Reduced font size and font weight of suggested products titles in no results.
2023-10-25 14:26:36 +01:00
And Finally 379e07a262
Marketplace: added top margin to improve rendering of WordPress notices (#40962) 2023-10-25 14:20:35 +01:00
louwie17 3f7eb0ce31
Invalidate variations upon generation and fix formatted name (#40905)
* Invalidate variations upon generation and fix formatted name

* Add aditional invalidates to keep cache up to date

* Update formatted name to always return attribute term name list
2023-10-25 08:45:58 -04:00
Dima 07db518e67 Adding changelog file 2023-10-25 15:01:58 +03:00
github-actions 7b4f695f91 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 12:46:54 +01:00
And Finally ab34974470 Added top margin to `.woocommerce-store-alerts` to address https://github.com/Automattic/woocommerce.com/issues/18448. 2023-10-25 12:46:54 +01:00
And Finally be46ab25ed
Add improved tracking to the marketplace (#40951) 2023-10-25 12:44:02 +01:00
Dima 73c9e05e31 Remove changelog file 2023-10-25 14:01:54 +03:00
And Finally cc83ffd387
Removed `recordMarketplaceView` from `showSection` in `Products` component. We already record the view in the `useEffect` hook in the `Content` component, so we were getting a duplicate view.
Only setting default category `_all` for `search` view if `product_type` (i.e. `query.section`) is also set. The previous arrangement was setting the `_all` category on the initial search results, where category doesn't figure.

Removed `! props.view` from condition in `recordLegacyTabView`. It meant that the initial default marketplace view wasn't being recorded.

Solve issue with some default prop values

We were no longer sending through a property to determine the "view" or "section" (depending on which event version you're referring to) when loading the discover page.

This change ensures that there is always a fallback that resolves this.

Also fixed some linting issues and cleaned up redundant code.

Removed unused import.
2023-10-25 12:59:39 +02:00
Kyle Nel e76a88aa07
Fix some logic errors and tidy up empty properties
Removed default values from `marketplaceViewProps` – we are now handling this in the tracking function.

Changed `selectedTab` dependency of `useEffect` hook in content.tsx to `query?.tab`. The `selectedTab` state was being reset after (or at least not at the same time as) the change of the tab param in the query string. For this reason, we were recording two page views when you changed from Extensions tab and Shipping category to Themes tab. This doesn't seem to break anything! We are still setting the `selectedTab` based on the query string in the `Tabs` component, so they should still be in sync.

Removed the condition skipping marketplace page view when there was no `prop.view`. This meant that when you switched to the Discovery tab from another tab, we weren't recording the page view.

Also setting default category prop `_all` when no category is specified on extensions, themes and search tabs. This allows us to bundle the default views of those tabs with the views got by clicking on the "All" category link.

Addressing linter errors.
2023-10-25 12:56:54 +02:00
Dima a5d713c09f Adding changelog file 2023-10-25 12:24:25 +03:00
Dima 262ef316fe Adjusting code formatting. 2023-10-25 11:59:07 +03:00
Dima 7d0a49a15b Remove Creative Mail from woocommerce defaults. 2023-10-25 10:14:46 +03:00
nigeljamesstevenson e60737e1f5
Update order locators to allow for hpos and non hpos in test (#40961) 2023-10-25 08:49:40 +02:00
Moon 8687986e79
Customize your store - Link site icon to Woo Home (#40888)
* Link site icon to Woo Home

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 13:09:05 +08:00
Chi-Hsuan Huang 6503da23aa
Increase sidebar back button z-index to 2 (#40970) 2023-10-25 12:21:48 +08:00
Chi-Hsuan Huang 0f6fd01e65
[Customize your store] Fix footer logo size (#40963) 2023-10-25 12:20:42 +08:00
Chi-Hsuan Huang 64260d987d
Update thumbnail border radius to 4px in CYS assembler (#40967) 2023-10-25 12:20:23 +08:00
Moon bd1fda4891
Remove green/yellow color palette from pattern assembler (#40887)
* Remove green/yellow color palette from pattern assembler

* Remove Lemon Myrtle

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 11:34:55 +08:00
Corey McKrill 3444484126
Add file rotation number to sort sets 2023-10-24 17:15:17 -07:00
Corey McKrill 21a995bb50
Tweaks to page rendering methods 2023-10-24 17:02:18 -07:00
Corey McKrill 591c728ac3
Add unit tests for File class 2023-10-24 16:50:43 -07:00
Chris Runnells 5dc432382c Lint fixes. 2023-10-24 13:37:23 -10:00
Corey McKrill dcf4954fa8
Add unit tests for FileController 2023-10-24 16:00:52 -07:00
Chris Runnells f802def6e2 Add changelog. 2023-10-24 12:51:43 -10:00
Matt Sherman 9c72f9fb32 Changelog 2023-10-24 18:34:26 -04:00
Chris Runnells 1c956e7ebc Update get_recommended_themes() to check filtered response for active themes 2023-10-24 12:21:35 -10:00
Corey McKrill b745d460ab
Add some parameter type hints 2023-10-24 14:11:37 -07:00
Corey McKrill 5681892773
Add return type hinting 2023-10-24 14:00:00 -07:00
github-actions 947fd7cf90 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-24 17:04:35 +00:00
Fernando Marichal abc476a005
Change variable product experiment name (#40769)
* Change experiment name

* Add changelog
2023-10-24 13:29:01 -03:00
RJ e01e6f8b2a
add: core profiler email marketing opt in (#40869)
* add: core profiler email marketing opt in

* tests

* changed mailchimp feature flag

* fix: made experiment name static

* lint
2023-10-24 17:07:26 +02:00
Néstor Soriano eafc87b453
Save the session data before proceeding with order payment (#40964)
* Save the session early before proceeding with order payment.

As part of the checkout process an order is created and the order id
is stored in a session variable right before requesting payment
processing to the appropriate payment gateway. Thus if the payment
fails and the user submits the order again, the order id will be
picked from the session so the existing order can be retrieved and
updated.

However if the payment process hangs (instead of returning an error)
and the request never finishes the session data will never actually
be sorted, and the next time the user submits the order a duplicate
of the first order will be created.

This commit simply does WC()->session->save_data() after the
WC()->session->set that stores the order id, so that the session is
effectively updated even if the request hangs.

* Add changelog file
2023-10-24 16:38:39 +02:00
github-actions e411ea9b41 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-24 11:32:36 +00:00
Kyle Nel 7b0a72307b
Add tracks events for to ensure legacy funnels work 2023-10-24 12:05:25 +02:00
Kader Ibrahim S 82b90d07ec
Adds documentation for WooCommerce endpoints (#40773)
* Adds WooCommerce Endpoints documentation

* Removes images from `woocommerce.com` domain.

* Embed code directly into markdown instead of using gists.

* Adds images to the document.

* Adds changelog file

* Move the document to the right folder.

* Fixes markdown lint issues
2023-10-24 11:04:38 +02:00
Néstor Soriano 481e799c49
Add notice about webhooks using the legacy REST API (#40866)
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-10-24 08:51:36 +02:00
Chi-Hsuan Huang 1e00d49843 Fix pr link 2023-10-24 12:29:18 +08:00
Chi-Hsuan Huang b972c515fc Fix typo 2023-10-24 12:28:39 +08:00
Chi-Hsuan Huang d40cfae029 Use NormalModuleReplacementPlugin to replace lock-unlock file 2023-10-24 12:27:49 +08:00
moon 630c78a9ef Add comment for the plugin 2023-10-23 17:25:09 -07:00
moon 2d3756a82c Lint fixes 2023-10-23 17:18:37 -07:00
moon 2b9fe30ecc Remove replace call 2023-10-23 17:16:15 -07:00
Kader Ibrahim S 99a39ad56e
Adds documentation for implementing WC Integration (#40772)
* First draft after HTML to markdown.

* Refactors the implement settings document.

* Adds changelog file
2023-10-23 23:03:04 +02:00
moon c9ad56bb64 Use webpack to replace modified version lock lock-unlock 2023-10-23 10:54:41 -07:00
Maikel David Pérez Gómez 16ce05109f
Add a loading state for the new product form (#40939)
* Create product page skeleton

* Load skeleton in product and variation pages

* Let each page to define own loading/skeleton when the router is resolving the page.

* Add changelog files

* Fix linter error

* Fix unit test
2023-10-23 12:47:26 -04:00
github-actions ba52c4083a Add changefile(s) from automation for the following project(s): woocommerce 2023-10-23 15:36:09 +00:00
Mike Jolley 31feb9aa94 In system status report, detect and allow usage of the classic-shortcode block 2023-10-23 16:24:19 +01:00
Joel Thiessen a84538554b
Only initializing background removal with jetpack connection present (#40918) 2023-10-23 07:56:49 -07:00
Maikel David Pérez Gómez 2fb59293ad
Create product-external-affiliate feature flag (#40910)
* Create product-external-affiliate feature flag

* Add changelog file
2023-10-23 09:34:24 -04:00
Kader Ibrahim S 6d7755813a
Adds documentation for useful functions (#40771)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-10-23 11:37:53 +02:00
berislav grgičak 83b7b95850
Add subscriptions empty state (#40862)
* Add disconnected state

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

* Added top margin to `.woocommerce-store-alerts` to address https://github.com/Automattic/woocommerce.com/issues/18448.

* Rename description class

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-23 07:55:23 +02:00
Rodel Calasagsag 23cb4af487 Explicitly enable HPOS due to bug 2023-10-23 02:03:33 +08:00
Rodel Calasagsag 856590a8c7 Add changelog 2023-10-22 21:26:20 +08:00
Rodel Calasagsag 3f7088b4cd Explicitly mention default value in README 2023-10-22 21:25:59 +08:00
Rodel Calasagsag 8376efe7c5 Simplify logic for setting hpos_enabled value 2023-10-22 21:25:21 +08:00
Rodel Calasagsag 22a1aabdd4 Remove enabling HPOS via old external plugin 2023-10-22 21:11:41 +08:00
Rodel Calasagsag 240fdefb7a Default HPOS value to true 2023-10-22 20:57:25 +08:00
Rodel Calasagsag ffda17042d Rename more cot-based variables to hpos 2023-10-22 20:11:20 +08:00
Rodel Calasagsag 452ce2f29e Replace COT with HPOS in comments 2023-10-22 20:09:24 +08:00
Rodel Calasagsag 4e2702e514 Replace invalid assertion when HPOS is enabled.
Use same assertion regardless of HPOS setting.
2023-10-22 20:08:21 +08:00
Rodel Calasagsag dfb1f1d01e Use "HPOS" in variable names 2023-10-22 20:06:42 +08:00
Rodel Calasagsag 00e5b6263d Ensure admin_acc_login gets a boolean value 2023-10-22 19:44:15 +08:00
Rodel Calasagsag 59d86e3ec0 Simplify if condition 2023-10-22 19:43:42 +08:00
Rodel Calasagsag 9e3ff0c7e5 Assure cot_status gets a boolean value 2023-10-22 19:41:34 +08:00
Corey McKrill 0d70609dbb
Add support for rotated log files 2023-10-20 17:19:11 -07:00
Ilyas Foo d8d896741b
CYS: Remove spotlight tour modal shadow (#40861)
* Tweak css for spotlight tour modal shadow

* Changelog

* Lint
2023-10-21 07:34:18 +08:00
Corey McKrill 566d2dfd91
Rename File prop from key to hash 2023-10-20 16:17:29 -07:00
Corey McKrill 112cfef33e
More phpcs cleanup 2023-10-20 15:43:10 -07:00
Corey McKrill d872ec5742
phpcs cleanup 2023-10-20 15:43:10 -07:00
Corey McKrill 7be565bc47
Add title to log file list table view 2023-10-20 15:43:10 -07:00
Corey McKrill 4fff634b6b
Add bulk delete action to list table 2023-10-20 15:43:10 -07:00
Corey McKrill 8d21f645e7
Add source filtering 2023-10-20 15:43:10 -07:00
Corey McKrill e17654226a
Link to single files from the list table 2023-10-20 15:43:10 -07:00
Corey McKrill 06aaed23d9
Set up screen options for the list table view 2023-10-20 15:43:10 -07:00
Corey McKrill 827553db48
Switch rendering to use new PageController class 2023-10-20 15:43:09 -07:00
Corey McKrill e47ba2fdd7
Set up PageController and placeholder log handler class 2023-10-20 15:43:09 -07:00
Corey McKrill b7d72265d4
Add service providers file for logging stuff 2023-10-20 15:43:09 -07:00
Corey McKrill 025677bfac
Add minimally functional list table for files 2023-10-20 15:43:09 -07:00
Corey McKrill e851de89ea
Updates to File class 2023-10-20 15:43:09 -07:00
Corey McKrill 390539048c
Updates to FileController 2023-10-20 15:43:09 -07:00
Corey McKrill 899f27f62d
Add File and FileController 2023-10-20 15:43:08 -07:00
moon 6af132ec43 Core profiler - Include tiktok-for-business 2023-10-20 12:48:39 -07:00
louwie17 fbac42aafc
Update variation switcher logic to not loop (#40901) 2023-10-20 11:17:30 -04:00
Matt Sherman 3fa5573706
Template API: Deprecate woocommerce/conditional block (#40883) 2023-10-20 09:53:06 -04:00
berislav grgičak c3faeaec8d
Support free products in My Subscriptions (#40820)
* Use slugs to identify installed products

* Show installed .org products as active

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

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Remove org product activation

* Linter fix

* Linter

* Show only one unconnected item

* Linter fixes

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>
2023-10-20 14:06:58 +02:00
moon 448a7e1fea Update version compare logic to include higher versions 2023-10-19 17:14:40 -07:00
vahab mohammadi 17a71d7537
Update class-wc-admin-post-types.php
Code on line 620 has error Trying to get property 'ID' of non-object . you should use if($post instanceof WP_Post) in your condition instead if($post);
2023-10-20 02:37:26 +03:30
github-actions ef8df7875d Add changefile(s) from automation for the following project(s): woocommerce 2023-10-19 22:33:08 +00:00
moon 907ade39b2 Remvoe unused import 2023-10-19 15:28:13 -07:00
moon 595d5c9c94 Remove ~+ -- not needed 2023-10-19 15:10:10 -07:00
moon 6e3874b137 Use a modified version of edit-site lock-unlock module to make it CYS compatible with both WP 6.4 and 6.3 2023-10-19 14:52:11 -07:00
Matt Sherman be727efb9f Changelog 2023-10-19 15:34:27 -04:00
Matt Sherman dcb658f537 Add conditional visibility example to doc 2023-10-19 15:28:56 -04:00
Christopher Allford 8f8b1c8d47
Expand CI WooCommerce Matrix (#40882) 2023-10-19 11:55:37 -07:00