Moon
5a71268a1d
Remove WCA installation merge test ( #33303 )
...
* Remove unnecessary test
* Add changelog
2022-06-03 14:57:57 -07:00
jonathansadowski
35b58245af
Remove changelog file for cherry-picked PRs #33180 and #33300 ( #33299 )
...
* Remove changelog file for cherry-picked PR #33180
* Remove changelog file for cherry-picked PR #33300
2022-06-03 11:14:41 -05:00
Joep Schuurkes
7e54b8aea0
Add e2e tests to check shipping costs consistency in cart and checkout ( #33208 )
...
* Add e2e tests to check consistency in shipping costs for cart and checkout pages
Goal of these tests it to check if the cart and checkout pages are
consistent in calculuating shipping costs. Three tests added:
- shipping available to country with states
- shipping available to country without states
- no shipping available (fails, see issue #33205 )
Reason to add these tests is PR #25916 , which reverted PR #25128 ,
because the original PR worked for the cart page, but not for the
checkout page.
* Update e2e-core-tests changelog
* Skip failing e2e-core-test
2022-06-03 10:01:04 -06:00
Albert Juhé Lluveras
2b85008ae5
Fix broken design of Single Product template in block themes when product had no reviews or additional info ( #33308 )
...
Fix broken design of Single Product template in block themes when product had no reviews or additional info
2022-06-03 08:37:30 -07:00
Joshua T Flowers
21f7cea2b6
Add woo install timestamp to server experimental assignment requests ( #33300 )
...
* Add woo install timestamp to server experimental assignment requests
* Add changelog entry
2022-06-03 08:25:10 -04:00
Moon
29ddd17e68
Deprecate wcAdminAssetUrl and WC_ADMIN_IMAGES_FOLDER_URL ( #33290 )
...
* Fix incorrect URL for the wcAdminAssetUrl and deprecate both wcAdminAssetUrl and WC_ADMIN_IMAGES_FOLDER_URL
* Remove unused wcAdminAssetUrl var
* Remove use of wcAdminAssetUrl
* Add changelog
* Ignore hook PHPCS error -- they are pre-existing
2022-06-02 15:01:37 -07:00
Barry Hughes
ea365f9f1a
Bump version number. ( #33296 )
2022-06-02 14:06:11 -05:00
Joshua T Flowers
bec9e92b32
Add total payments volume rule processor for inbox notifications ( #33192 )
...
* Add method to get total sales for a timeframe
* Add total payments volume rule processor
* Use start and end dates for total sales method
* Add method to get start and end dates from timeframe
* Update processor rule to use timeframes
* Fix up method calls
* Add tests for timeframes
* Add tests around getting total sales by date
* Add changelog entry
* Use revenue query instead of custom query for total sales
* Update since tag on hook
2022-06-02 08:38:06 -04:00
Tung Du
7de6d18b2e
Fix: Twenty Twenty-Two integration ( #32840 )
...
* fix: Twenty Twenty-Two integration
* fix the width for checkout page. remove unnecessary account page width style
* add changelog entry
2022-06-02 11:04:27 +01:00
Chi-Hsuan Huang
5d076cc7d4
Fix obw free extension rules for the marketing task with php 8 ( #33291 )
...
* Fix obw free extensions api for marketing task with php8
* Add changelog
* Fix wcpay cbd rule
2022-06-02 13:13:44 +08:00
Hugo Derre
c0619dc597
Add : "name" and "id" attributes of input html tags can now be different in wc-admin-settings ( #32728 )
...
Support specifying settings fields where the name and IDs can be different.
2022-06-01 15:16:23 -07:00
Fernando
be041e0d38
Add/edit products: add new Tracks props ( #33177 )
...
* Add props to `product_add_publish
* Add props to `product_update`
* Add changelog
* Add validation to description prop
* Add validation to purchase_note
* Add validation to short_description
* Removed debugger
* Fix `get_dimensions`
* Add validation to upsells
* Changed `cross-sells` and `upsells` checks
* Fix description tracking
* Fix `description_value`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-06-01 14:44:18 -03:00
louwie17
e02bdd98a0
Remove order/product count from wcSettings ( #33064 )
...
* Remove orderCount and publishedProductCount setting and make use of data stores
* Add test
* Add changelog
* Make use of orders data store instead of items data store
* Add users param to reports customers API params to allow filtering by user_id
* Fix invalidateResolution call that was misspelled
2022-06-01 14:15:09 -03:00
Joel Thiessen
ddafa8e380
Tasks chaining side panel ( #33124 )
2022-06-01 10:10:20 -07:00
Roy Ho
deed99313a
Remove unused contributors script ( #33239 )
...
* Remove unused contributors script
* Add changelog entry
2022-06-01 05:43:54 -07:00
Christopher Allford
112b9ac67a
Prefixed Private JS Packages ( #33218 )
...
In order to ease the identification of private packages within the monorepo, this adds an `internal-` prefix to all of the current private packages. This makes it immediately clear when reviewing `packages/js` what is and isn't a private package.
2022-05-31 15:42:00 -07:00
louwie17
c0999d4cf8
Add inbox WP admin link support for remote inbox notifications ( #33237 )
...
* Add support for admin url in remote inbox notifications
* Add unit tests for the spec runner action url
* Add changelog
2022-05-31 13:32:13 -03:00
Joshua T Flowers
7590663f3b
Remove the navigation nudge note ( #33241 )
...
* Remove the navigation nudge note
* Add changelog entry
2022-05-31 12:09:40 -04:00
Chi-Hsuan Huang
cad762197b
Add "built by Woo" label to Pinterest ( #33270 )
...
* Set is_built_by_wc to true for pinterest
* Add changelog
2022-05-31 16:46:36 +08:00
Chi-Hsuan Huang
822b4538ad
Update Tax task title ( #33269 )
...
Update the tax task title to "Set up tax rates"
2022-05-31 16:45:33 +08:00
Viktor Szépe
983a6cab96
Update required WP version ( #33246 )
...
See https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/composer.json#L17
2022-05-30 16:12:59 -05:00
Luigi Teschio
9a4f1d93e4
Add check for post_types key #33179 ( #33180 )
...
Add check for post_types key
2022-05-30 11:30:45 -07:00
louwie17
61d9d0043f
Add initial tracking for categories, tags, and attribute product pages ( #33118 )
...
* Add initial tracking for categories, tracks, and attribute product pages
* Update list action tracks that add new items without page refresh
* Add changelog
* Add extra category tracks
* Rename constant for add a new tag button
* Remove unneeded props from track
2022-05-30 13:14:25 -03:00
louwie17
574e00b6d5
Add/32676 category and tag tracks within products screen ( #33121 )
...
* Add logs for the attributes and tags on the product page
* Only trigger attributes_add on product screen when user hits save
* Add extra props to attribute add track
* Add tags delete track and fix count of tags add track
* Update use of wp_localize_script
2022-05-30 10:06:34 -03:00
RJ
b051ed88db
Update react-router-dom to v6 for woocommerce-admin ( #33156 )
2022-05-30 14:51:33 +08:00
erikdemarco
d6f2848d8c
Add new filter to product archive description ( #31958 )
...
Add new filter to product archive description
2022-05-27 13:31:13 -07:00
Ninos Ego
c821ebdc0a
Fixed: Don't show placeholder on transparent product thumbnails ( #30959 )
...
Fixed: Don't show placeholder on transparent product thumbnails
2022-05-27 13:26:39 -07:00
jonathansadowski
e5bd98dc36
Remove changelog files for PRs cherry-picked into 6.6-RC1 ( #33244 )
2022-05-27 15:23:40 -05:00
Ian Forrest
13f4e1572a
Add role="presentation" to table within add-to-cart form. ( #33123 )
...
Add table role="presentation" for an accessibility enhancement.
2022-05-27 12:58:38 -07:00
Ilyas Foo
b85dca4308
Fix unresponsive clicks on product task card elements ( #33235 )
...
* Fix clicking on borders for product task card elements
* Changelog
2022-05-27 13:04:17 -05:00
Fernando
cb2c09fad7
Fix completed card button ( #33238 )
...
* Fix completed card button
* Update sectioned task list to use onboarding data store
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2022-05-27 12:41:16 -04:00
RJ
0f0b2d5064
Cleanup and fix translation path changes ( #33226 )
...
Cleanup translation path changes
- removed temporary codepath since translation paths have been updated
2022-05-27 16:57:43 +08:00
Ilyas Foo
368d8ac4fc
TimeInterval test fix expected 5 weeks instead of 6 ( #33227 )
...
* Fix expected 5 weeks instead of 6
* Changelog
2022-05-27 15:08:40 +08:00
Néstor Soriano
64c6803640
Improve unit testing infrastructure ( #33140 )
...
* Add infrastructure for mocking globals in unit tests.
- 'get_global' method in LegacyProxy, MockableLegacyProxy and WC().
- 'register_global_mocks' method in MockableLegacyProxy.
- 'register_legacy_proxy_global_mocks' method in WC_Unit_Test_Case.
* Add the DynamicDecorator class, and unit tests for it.
* Add the StringUtil::contains method
* Add unit tests for error logging on PostsToOrdersMigrationController
* Update README file to mention improvements in unit testing infrastructure
- Mention the mechanism to mock globals using the LegacyProxy
- Mention the code hacker and the DynamicDecorator
* Add changelog file
2022-05-27 11:43:31 +05:30
Ilyas Foo
ca4e3606b1
Fix dashboard and analytics crashing ( #33206 )
...
* Set timezone before calling get_weekstartend and after to preserve original timezone
* Add test for timezone check
* Update calculation to be timezone agnostic and add tests
* Changelog
2022-05-27 10:08:46 +08:00
Chi-Hsuan Huang
4a6c6e739c
Update woocommerce-admin `test:watch` command ( #33202 )
...
* Update woocommerce-admin test:watch command
Only watch admin ./client folder
* Add changelog
2022-05-27 10:08:34 +08:00
Matt Harrison
3ac62945c1
Allow filtering of cookie flags, which enables setting of samesite ( #33219 )
...
Allow filtering of cookie flags, which enables setting of `samesite`.
* Break out filter so the same filter can be used for any version of PHP.
* Add docblocks and other linting fixes; add changelog.
Props: David Anderson <DavidAnderson684@users.noreply.github.com>
2022-05-26 16:40:16 -07:00
Kathy
8edc32c7fb
Cleanup twentytwenty notice styles. Closes #29529 . ( #33182 )
...
Cleanup twentytwenty notice notices. Closes #29529 .
* Increase width of border for notices
* Make notice buttons black to provide sufficient contrast
* Add changelog.
2022-05-26 16:15:49 -07:00
Joshua T Flowers
e4824b9660
Add tracks to new product and edit product screens ( #33120 )
...
* Move product list tracks to seperate file
* Change product list tracks to TS
* Check init of tracks on client-side
* Add new product tracks
* Add product screen tracks
* Add product edit tracks
* Localize product screen variable
* Add changelog entry
* Handle PR feedback
* Track date changes on edit
2022-05-26 16:56:22 -04:00
Joshua T Flowers
2294082869
Fix report days calculation to account for DST ( #33036 )
...
* Fix report days calculation to account for DST
* Add tests around month with DST
* Update tests to use EST timezone
2022-05-26 16:55:54 -04:00
jonathansadowski
bf02f377e6
Prepare trunk for 6.7 ( #33215 )
...
* Prepare trunk for 6.7
* Update composer.json and package.json for 6.7
2022-05-26 15:49:37 -05:00
jonathansadowski
0c619cbafe
Remove empty changelog file for updating minimum wp version ( #33213 )
2022-05-26 15:02:39 -05:00
Paul Sealock
37905dd178
Analyzer CLI: Add Database scanning ( #33084 )
2022-05-27 07:52:39 +12:00
jonathansadowski
66633dfe1a
Remove changelog files for cherry-picked PRs #32940 and #33171 ( #33209 )
2022-05-26 12:25:22 -05:00
jonathansadowski
cd520c0e53
Update minimum wp version in woocommerce.php ( #33194 )
...
* Update minimum wp version
* Add changelog file for minimum wp version update
* Update required WP version in readme.txt
2022-05-26 08:39:24 -05:00
Chi-Hsuan Huang
13fe9b4970
Merge pull request #32644 from woocommerce/update/reports-datastore-date-column
...
Replace the date_created column name with a class property in the analytics DataStore
2022-05-26 09:24:15 +08:00
Jonathan Lane
f70afccec9
Merge pull request #33139 from woocommerce/e2e/rep-playwright-feature-flag
...
Run Playwright tests behind feature flag
2022-05-25 14:55:23 -07:00
“Chris
58abc685cb
Add changelog
2022-05-25 16:36:22 +03:00
Christos Lilitsas
d057225e07
Add default value to `db_datetime_format` for back compatibility
...
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-05-25 16:26:20 +03:00
louwie17
ddb3239a1c
Merge pull request #33163 from woocommerce/fix/leaderboard-menu-styling
...
Fix the styling of the frame in the Leaderboard section of Analytics.
2022-05-25 10:14:32 -03:00
AnnaMag
165d3b659a
Add changelog
2022-05-25 14:16:20 +02:00
Chi-Hsuan Huang
0240a29eb6
Merge pull request #33168 from woocommerce/dev/migrate-woo-data-options-to-ts
...
Migrate `@woocommerce/data` options store to TS
2022-05-25 13:20:07 +08:00
Jonathan Sadowski
4ece2489db
Add changelog entry for update of Action Scheduler to 3.4.1
2022-05-24 15:48:02 -05:00
Jonathan Sadowski
7fbb8ba1d9
Update Action Scheduler to 3.4.1
2022-05-24 15:42:14 -05:00
Joel Thiessen
5f56ecb9b0
Suppressing warnings for malformed metadata in product template downloads #32971 #32971
2022-05-24 11:12:02 -07:00
jonathansadowski
22375b34f4
Merge pull request #32940 from woocommerce/update/woocommerce-blocks-7.6.0
...
Update WooCommerce Blocks package to 7.6.0
2022-05-24 09:25:51 -05:00
Chi-Hsuan Huang
4d9e07bbd4
Add changelogs
2022-05-24 21:41:36 +08:00
Chi-Hsuan Huang
55dfa78ebb
Fix type errors in ./client after migrating options store to TS
2022-05-24 21:41:36 +08:00
Peter Fabian
59f6ffa027
Merge pull request #33130 from woocommerce/add/schema-output
...
Add script to get db schema from CLI
2022-05-24 15:20:56 +02:00
Joshua T Flowers
97eecfdcc4
Use term ID to query category IDs in analytics ( #33164 )
...
* Use term ID to query category IDs in analytics
* Add changelog entry
2022-05-24 09:10:58 -04:00
Chi-Hsuan Huang
773ab10c61
Add translator domain to texts
2022-05-24 17:24:54 +08:00
Chi-Hsuan Huang
1b8e90b529
Remove unnecessary completion time track
2022-05-24 17:09:53 +08:00
Chi-Hsuan Huang
8ff2c334d7
Fix missing translation domain
2022-05-24 16:56:16 +08:00
Chi-Hsuan Huang
3613ccb23e
Add changelog
2022-05-24 15:43:29 +08:00
Chi-Hsuan Huang
e2cc91dd60
Add confirmation dialog before loading the sample products
2022-05-24 15:43:27 +08:00
Chi-Hsuan Huang
86553fbe1f
Add load sample product confirm modal
2022-05-24 15:00:17 +08:00
Ilyas Foo
78f96109da
Fix PHP notice when `woocommerce_admin_disabled` filter is used ( #33154 )
...
* Add array key check
* Changelog
2022-05-24 12:14:28 +08:00
Paul Sealock
3b51144011
add wc- namespace
2022-05-24 14:22:03 +12:00
AnnaMag
af7f738704
Fix the styling of the frame in the Leaderboard section of Analytics.
2022-05-23 17:30:47 +02:00
Chi-Hsuan Huang
c83dedd849
Merge pull request #33153 from woocommerce/dev/33132-migrate-woo-onboarding-to-ts
...
Migrate `@woocmmerce/onboarding` to TS
2022-05-23 18:33:00 +08:00
Néstor Soriano
484e790d99
Merge pull request #32864 from woocommerce/add/32385-cot-admin-list-table
...
Admin list table [COT]
2022-05-23 12:05:52 +02:00
Néstor Soriano
7c9eddf251
Merge pull request #26965 from RiLaRos/master
...
Update add precision function when pass empty string parameter
2022-05-23 09:13:49 +02:00
Chi-Hsuan Huang
637ea244ea
Add changelog
2022-05-23 13:28:31 +08:00
Chi-Hsuan Huang
485d858fc3
Remove onboarding task @ts-expect-error and fix related type errors
2022-05-23 13:27:11 +08:00
Jonathan Sadowski
d2eefc4467
Remove pending 6.6 changelog files
2022-05-20 13:58:09 -05:00
barryhughes
c9ebffda40
Improve menu integration (classic as well as the new WC Admin nav feature).
2022-05-20 13:52:40 +00:00
barryhughes
715544f811
Resolve conflicts.
2022-05-20 13:51:41 +00:00
barryhughes
b30bd2a85a
Tighten baseline order query to only fetch regular orders (not refunds).
2022-05-20 13:44:50 +00:00
barryhughes
9f58514350
Add changelog.
2022-05-20 13:44:50 +00:00
barryhughes
e1c771337f
Add enhanced (Marketplace-ready) 'no results' view.
2022-05-20 13:44:50 +00:00
barryhughes
6dde512e79
Do not remove WC Admin nav from existing CPT admin list table.
2022-05-20 13:44:50 +00:00
barryhughes
1aa6265544
Tidy.
2022-05-20 13:44:50 +00:00
barryhughes
0ecffb416f
Tweak logic responsible for registering COT admin list table.
2022-05-20 13:44:50 +00:00
barryhughes
8b30cf2639
Connect new list table with WC Admin nav.
2022-05-20 13:44:50 +00:00
barryhughes
e27b89a7e8
Align column names with original WP List Table (for better back-compat).
2022-05-20 13:44:50 +00:00
barryhughes
77197d3f85
Retain state when filtering.
2022-05-20 13:44:49 +00:00
barryhughes
aaefb3b5d5
Per existing order admin list, hide various columns by default.
2022-05-20 13:44:49 +00:00
barryhughes
a954aae826
Utilize existing CSS, class-names, JS.
2022-05-20 13:44:49 +00:00
barryhughes
11c2e0c061
Table pagination.
2022-05-20 13:44:49 +00:00
barryhughes
0eabe18b79
Add (dates, customers) filters.
2022-05-20 13:44:49 +00:00
barryhughes
8d44bfb9eb
Add bulk actions dropdown.
2022-05-20 13:44:49 +00:00
barryhughes
bde166db3d
Add table views.
2022-05-20 13:44:49 +00:00
barryhughes
e07b0a3b10
Address and reduce code duplication across list table implementations.
2022-05-20 13:44:49 +00:00
barryhughes
f95834f095
Create a baseline admin list table implementation that is data-store agnostic.
2022-05-20 13:44:49 +00:00
vedanshujain
e3d0de1065
Removed unused import.
2022-05-20 16:36:56 +05:30
vedanshujain
ef03e5e0dd
Add changelog.
2022-05-20 16:34:51 +05:30
vedanshujain
b9f1a05c85
Add methods and fixes that were removed due to merge conflicts.
2022-05-20 15:42:38 +05:30
vedanshujain
781f97242d
Remove back-compat support for _date_paid and _date_complete as it conflicts with verify data logic.
2022-05-20 15:41:02 +05:30
Rodel
4da670cc82
Add patch changelog to ignore e2e changes
2022-05-20 16:16:55 +08:00
Rodel
32604a0acc
Update html output folder location
2022-05-20 16:02:43 +08:00
Rodel
3a6a546daa
Update base url in playwright config
2022-05-20 15:58:54 +08:00
Néstor Soriano
4f76d76d1f
Add changelog file.
2022-05-20 09:55:58 +02:00
Rodel
381c5507da
Add allure-playwright config
2022-05-20 15:33:42 +08:00
Rodel
7b66d06c91
Checkout e2e folder from add/playwright-e2e branch
2022-05-20 15:30:28 +08:00
Rodel
f79c684c4b
Install allure-playwright dependency
2022-05-20 15:26:48 +08:00
Rodel
0429f2abfc
Install @woocommerce/woocommerce-rest-api dependency
2022-05-20 15:26:19 +08:00
Rodel
29afe4971e
Install playwright dependency
2022-05-20 15:24:46 +08:00
Rodel
86d604756c
Checkout .eslintrc.js from add/playwright-e2e
2022-05-20 15:16:50 +08:00
Nestor Soriano
59a6a54891
Add changelog file for #33034
2022-05-20 09:09:14 +02:00
Rodel
99796df9d4
Ignore Allure directories globally
2022-05-20 15:08:01 +08:00
Vedanshu Jain
c771121459
Merge pull request #33034 from woocommerce/add/logging_for_posts_to_cot_migration
...
[COT] Log errors during the posts to orders table migrations
2022-05-20 12:32:00 +05:30
Paul Sealock
71252cac9b
changelog
2022-05-20 14:16:06 +12:00
Moon
0b35ad678d
Merge pull request #33027 from woocommerce/update/update-history-package
...
Update history package to the latest 5.3.0 version
2022-05-19 18:27:12 -07:00
Paul Sealock
7cfdbe4922
add get-schema
2022-05-20 11:48:27 +12:00
Joel T
9e62fb58b8
Updating references to old album-1 image
2022-05-19 16:05:23 -07:00
Paul Sealock
373ad382b5
Analyzer CLI: Refactor main file ( #33081 )
2022-05-20 10:02:40 +12:00
moon
29fcbfaf68
Fix the failing test
2022-05-19 15:02:04 -07:00
Barry Hughes
e62a338826
Merge pull request #31417 from woocommerce/fix/add_filter_to_wc_create_refund
...
Introduce a filter to control whether an order is partially refunded in `wc_create_refund`
2022-05-19 12:18:11 -07:00
barryhughes
277e3635ab
Update @version to 6.7.0.
2022-05-19 18:36:29 +00:00
Jorge A. Torres
f64dc181fd
Merge pull request #32953 from Pross/patch-1
...
Make sure variable is set in `system_status` endpoint.
2022-05-19 17:43:56 +01:00
Sonhui
1376f8acda
Hide post code for Belize, and make state optional ( #32731 )
2022-05-19 16:01:24 +01:00
“Chris
d569cf463a
Add docblock
2022-05-19 17:41:09 +03:00
Jorge A. Torres
d2d8efa7fc
Merge pull request #32857 from woocommerce/cot/backfill
...
Implement backfill for update posts records from COT
2022-05-19 15:00:15 +01:00
Adrian Duffell
d1fdc2aecc
Update Icon for TikTok for WooCommerce extension ( #33112 )
...
* Add tiktok onboarding icon
* Change tiktok extension icon to normal logo
* Remove tiktok for business icon
* Add changelog
2022-05-19 20:00:35 +08:00
Nestor Soriano
71e0fd92d6
Move the base table migration classes outside CustomOrderTable directory
...
These classes are generic and don't depend on the custom orders table
functionality, so they are moved from src/Database/Migrations/CustomOrderTable
to just src/Database/Migrations.
2022-05-19 10:26:59 +02:00
Nestor Soriano
469c5a1aea
Change references to "orders" to "entities" in generic table migrators
2022-05-19 09:48:04 +02:00
Nestor Soriano
c4b498d13f
Remove the MigrationErrorLogger class as it's not used.
2022-05-19 09:43:41 +02:00
Nestor Soriano
9e42028c98
Add changelog file
2022-05-19 09:20:10 +02:00
Nestor Soriano
dbbef8ff8a
Move the DatabaseUtil class to the proper directory
...
The class is in the Automattic\WooCommerce\Internal\Utilities namespace,
but it was wrongly placed in the src/Utilities directory. It has been
moved to usr/Internal/Utilities without changing the namespace, thus
no code changes are required.
2022-05-19 09:12:51 +02:00
Vedanshu Jain
5ab229d217
Merge pull request #32957 from woocommerce/add/experiment-subscriptions-admin-menu-1
2022-05-19 08:32:15 +05:30
James Allan
3cecb3d72c
Introduce susbcriptions menu item slug constant
2022-05-19 11:14:32 +10:00
James Allan
3aa2294968
Use date created and status order filter for order eligiblity check
...
Using these two order properties instead of the paid_date field is more performance friendly
as both fields are in the wp-posts table - not in the post_meta table.
ref: 71e9657e52 (r875545984)
2022-05-19 10:42:53 +10:00
Chris Aprea
98e23a8156
Only add the inline script if the store is eligible for the experiment
2022-05-19 10:11:27 +10:00
Moon
9b7bf2cf16
Merge pull request #32974 from woocommerce/update/32410-deprecated-wca-classes-have-wca-versions
...
Use the core version for the @deprecated tags in WCA
2022-05-18 16:11:10 -07:00
Barry Hughes
2b6097535b
Merge pull request #33091 from DavidAnderson684/patch-8
...
Check results of calling WP_Filesystem()
2022-05-18 15:07:43 -07:00
barryhughes
a642db3d41
Add changelog.
2022-05-18 21:38:34 +00:00
David Anderson
dbd3c71ee8
Update plugins/woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-05-18 21:22:13 +00:00
barryhughes
a1279e67c6
Switch to cast to coerce values into floats.
2022-05-18 20:43:38 +00:00
Barry Hughes
1ce91eb70f
Merge pull request #33078 from woocommerce/add/pay-for-order-express-checkout-action
...
Adding the action to the Pay for Order shortcode
2022-05-18 11:46:35 -07:00
Radoslav Georgiev
303e7e27a1
Adding available_gateways to the filter
2022-05-18 20:57:00 +03:00
Radoslav Georgiev
1c813ea3fb
Adding a docblock to the order button filter as well
2022-05-18 18:16:25 +03:00
Radoslav Georgiev
f73cbb6671
Adding a @since to the docblock comment.
2022-05-18 18:05:27 +03:00
David Anderson
01b248c8df
Check results of calling WP_Filesystem()
2022-05-18 10:36:48 +00:00
Ilyas Foo
045b9e6cf3
Fix nested link in products import task ( #33088 )
...
* Fix nested links by using onClick event instead
* Changelog
2022-05-18 17:57:25 +08:00
vedanshujain
7ff0ba8061
Applied coding standards.
2022-05-18 13:24:42 +05:30
RJ
f637dd2bb7
Add: temporary workaround to add experiment metadata for task_view ( #33052 )
...
rigged a workaround to let products task report its experimental assignment
2022-05-18 15:24:48 +08:00
RJ
31922c1da9
Merge pull request #33083 from woocommerce/fix/broken-events-tracking-assignment-to-const
...
fix: broken event tracking due to assignment to const
2022-05-18 11:16:02 +08:00
Chi-Hsuan Huang
9a15f68f3f
Merge pull request #33068 from woocommerce/update/33062-subscriptions-product-type-only-in-the-us
...
Update add product task to only show "subscriptions" product type for stores in the US
2022-05-18 11:12:52 +08:00
RJChow
b8bd4bb5ca
fix: broken event tracking due to assignment to const
2022-05-18 10:28:27 +08:00
Chi-Hsuan Huang
3ba19b3ab5
Add changelog
2022-05-18 10:21:49 +08:00
Chi-Hsuan Huang
1a87301894
Fix payment settings banner tos link
2022-05-18 10:21:29 +08:00
Chi-Hsuan Huang
c551477248
Hide subscription product type when store country is unknown
2022-05-18 10:18:57 +08:00
Chi-Hsuan Huang
103afc0c6d
Add changelog
2022-05-18 10:15:45 +08:00
Chi-Hsuan Huang
017d8c2a80
Update product task to only show subscription product type for merchants in the US
2022-05-18 10:15:44 +08:00
Chi-Hsuan Huang
657e40ed98
Convert getProductTypes method to use object param
2022-05-18 10:15:17 +08:00
Chi-Hsuan Huang
c8146d6c5d
Merge pull request #33071 from woocommerce/fix/33055-skip-payment-welcome-screen-for-wcpay-setup
...
Skip payment welcome screen for WCPay banner experiment
2022-05-18 10:07:00 +08:00
Chi-Hsuan Huang
dc9b545a30
Merge pull request #33058 from woocommerce/add/view-more-product-type-track
...
Add view more product type click event track for the add product task
2022-05-18 09:51:49 +08:00
Chi-Hsuan Huang
29fe251bb1
Merge pull request #33030 from woocommerce/update/system-status-report
...
Report the status of admin items in SSR
2022-05-18 09:50:27 +08:00
James Allan
71e9657e52
Fix typo
2022-05-18 11:21:41 +10:00
James Allan
91669281ec
Rename component class names with BEM standard names
2022-05-18 10:56:06 +10:00
Chris Aprea
0cd63cf130
Only register the the subscriptions page if tracking is allowed
2022-05-18 09:21:39 +10:00
Moon
d066266fbf
Merge pull request #33023 from woocommerce/update/33022-update-explat-with-examples
...
Update ExPlat with more examples
2022-05-17 16:20:09 -07:00
louwie17
e822a4a7f4
Merge pull request #32538 from woocommerce/feature/32158_complete_task_list_card_with_feedback
...
Feature/32158 complete task list card with feedback
2022-05-17 17:39:14 -03:00
Radoslav Georgiev
2ae5d90088
Adding the changelog entry
2022-05-17 20:32:04 +03:00
Lourens Schep
23d64d0bc2
Rename showCustomerEffortScore prop
2022-05-17 14:25:06 -03:00
Radoslav Georgiev
3cb59ebc8f
Adding the action to the Pay for Order shortcode
2022-05-17 20:24:24 +03:00
Joshua T Flowers
07b02fb858
Add filtered tracks properties to client-side tracks ( #32690 )
...
* Add filtered tracks properties to client-side tracks
* Add changelog entry
* Fix up tracks errors
* Update vars to const
2022-05-17 13:12:52 -04:00
Joshua T Flowers
0702433531
Add tracks to products list page ( #32949 )
...
* Add tracks to products list page
* Remove duplicate tracks
* Add changelog entry
* Check for fields before getting values
* Add bulk actions cancel button
* Check for element before binding event listener
* Check for search input before getting value
2022-05-17 11:52:44 -04:00
vedanshujain
2ca4b42846
Modify tests to skip reading meta_ids
2022-05-17 20:12:47 +05:30
vedanshujain
ad30c61463
Multiple fixes for reading order data.
...
Some meta items cause issues when testing, such as having trailing zeros. This commit fixes, along with adding compatibility with WC < 2.6.
2022-05-17 20:10:40 +05:30
Lourens Schep
5494f4970d
Renamed some of the variables to remove some ambiguity
2022-05-17 09:59:11 -03:00
Vedanshu Jain
58eaa73d39
Merge pull request #33051 from woocommerce/pr/32980
...
From PR 32980, Update IN PIN Code
2022-05-17 17:28:35 +05:30
vedanshujain
37a41423fe
Add changelog.
2022-05-17 16:48:03 +05:30
vedanshujain
253e8424ea
Add backfill method to support update post and postmeta data.
2022-05-17 16:47:59 +05:30
vedanshujain
22f81c9693
Add test for backfill from COT to wp_post and wp_postmeta.
2022-05-17 16:47:17 +05:30
Chi-Hsuan Huang
27ed682980
Add changelog
2022-05-17 17:40:59 +08:00
Chi-Hsuan Huang
d4af17d3a3
Skip payment welcome screen for wc pay banner experiment
2022-05-17 17:40:59 +08:00
RJ
b524b82816
Merge pull request #33047 from woocommerce/fix/wrap-import-products-under-experiment
...
Wrap product task import around experiment
2022-05-17 14:57:29 +08:00
vedanshujain
ea1594bab9
Add changelog.
2022-05-17 11:40:49 +05:30
Chi-Hsuan Huang
902dcf3369
Check if woocommerce_admin_install_timestamp > 0 for SSR & remove extra space
2022-05-17 14:07:39 +08:00
Chi-Hsuan Huang
9bddfbb84e
Add changelog
2022-05-17 13:58:33 +08:00
Chi-Hsuan Huang
c4c1cc4da7
Add admin items to system status report
2022-05-17 13:58:33 +08:00
vedanshujain
2ad4a54e10
Merge branch 'trunk' into pr/32743
2022-05-17 11:26:38 +05:30
Chi-Hsuan Huang
9ff7f887d1
Add changelog
2022-05-17 13:06:55 +08:00
Chi-Hsuan Huang
2520781c7e
Add tasklist_view_more_product_types_click track event for add product task
2022-05-17 13:06:55 +08:00
Moon
c6d198723f
Merge pull request #33066 from woocommerce/update/33056-update-the-wcpay-description
...
Redirect users to the WC Pay connect page if the WC Pay is already installed
2022-05-16 20:17:29 -07:00
Chris Aprea
0afc9dd2de
Merge branch 'trunk' into add/experiment-subscriptions-admin-menu-1
2022-05-17 13:12:21 +10:00
moon
285047fde8
Update the description and make the button to redirect the users to the WC Pay connect page when the WC Pay is already installed
2022-05-16 15:37:38 -07:00
moon
362e98489a
Set icon width to 51px
2022-05-16 14:00:43 -07:00
Roy Ho
02ef6c534e
Merge pull request #33037 from woocommerce/prep/post-6.5.1
...
Update changelog to reflect 6.5.1 release
2022-05-16 12:49:30 -07:00
Tam Mullen
e8740f8b73
Merge pull request #33044 from woocommerce/update/k6-merch-wc-home-assert
...
Updated assertion for k6 merchant wc home request
2022-05-16 17:50:52 +01:00
Vedanshu Jain
7c537b342c
Merge pull request #32577 from davefx/patch-14
...
Avoid exception when serializing context
2022-05-16 19:54:36 +05:30
Lourens Schep
d1bf5c5719
Address the majority of the PR feedback
2022-05-16 10:03:46 -03:00
Chris Aprea
1fa3060697
Merge pull request #32958 from woocommerce/add/experiment-subscriptions-admin-menu-experiment-framework
...
Add experiment functionality to the WooCommerce → Subscriptions page
2022-05-16 22:31:22 +10:00
vedanshujain
f830968c04
Add changelog.
2022-05-16 17:17:33 +05:30
vedanshujain
1eba660503
Merge branch 'trunk' into pr/32577
2022-05-16 17:06:22 +05:30
Néstor Soriano
4b0d5550ed
Merge branch 'trunk' into add/logging_for_posts_to_cot_migration
2022-05-16 12:53:13 +02:00
Vedanshu Jain
7c37c9187a
Merge pull request #32925 from woocommerce/issue/32843
...
Add `_recorded_sales` meta to COT
2022-05-16 16:04:14 +05:30
Nestor Soriano
33791e4fcd
Fix: MetaToMetaTableMigrator attempting to migrate empty datasets
...
That caused an invalid SQL query to throw an error.
2022-05-16 12:27:58 +02:00
rodelgc
6cda659980
Publish API test reports to GitHub Pages
...
- Added workflow to publish API tests
2022-05-16 17:59:40 +08:00
Chi-Hsuan Huang
03ba7bc794
Merge branch 'trunk' into add/32859-fashion-sample-products
2022-05-16 17:18:26 +08:00
Chi-Hsuan Huang
697eb185b1
Merge pull request #33049 from woocommerce/update/enable-feature-flags-for-product-task
...
Enable feature flags for add product task
2022-05-16 16:38:01 +08:00
Vedanshu Jain
b8e2de8520
Merge pull request #32938 from woocommerce/cot/32917
...
Add CLI support to run migrations.
2022-05-16 12:34:15 +05:30
vedanshujain
d5aa1a11ec
Add changelog.
2022-05-16 12:24:06 +05:30
Chi-Hsuan Huang
213b987981
Update fashion sample product file
2022-05-16 14:53:46 +08:00
Roxanne S
05c1dade0c
Update IN PIN Code
...
This fixes https://github.com/woocommerce/woocommerce/issues/32965
2022-05-16 12:21:40 +05:30
Chi-Hsuan Huang
71dabded8a
Enable experimental-fashion-sample-products feature
2022-05-16 12:28:43 +08:00
Ilyas Foo
40a1eb5a01
Move out logic to be reusable
2022-05-16 12:00:09 +08:00
Chi-Hsuan Huang
f5e4f1ade6
Add changelog
2022-05-16 11:40:28 +08:00
Chi-Hsuan Huang
88068a4cd0
Enable feature flags for add product task
2022-05-16 11:39:46 +08:00
Ilyas Foo
68c7de6c5e
Fix janky product task items on hover ( #33043 )
...
* Fix hover border size
* Changelog
2022-05-16 11:32:37 +08:00
Ilyas Foo
120029e078
Changelog
2022-05-16 10:59:46 +08:00
Moon
1ef9b2d2ba
Merge pull request #32850 from woocommerce/add/32778-tiktok-marketing-task
...
Add TikTok marketing task
2022-05-15 19:55:57 -07:00
Ilyas Foo
ebec562699
Wrap product task import around experiment
2022-05-16 10:49:49 +08:00
Tam Mullen
dff5d18c4c
Updated assertion for admin.php?page=wc-admin k6 performance request
2022-05-15 22:13:52 +01:00
Tam Mullen
cd0a491094
Updated assertion value for admin.php?page=wc-admin k6 performance request
2022-05-15 13:18:16 +01:00
moon
fded54dd81
Revert back google ad image
2022-05-13 15:44:11 -07:00
Barry Hughes
c08585ab69
Update fix-products-api-method-visibility
...
No changelog needed (place explanation in comment field)
2022-05-13 15:36:04 -07:00
moon
7d1c1b7894
Add .
2022-05-13 15:34:35 -07:00
moon
b85f0b0aa7
Add Changelog
2022-05-13 15:33:47 -07:00
moon
3431c73046
Add tiktok marketing task to the default free extensions list
2022-05-13 15:26:00 -07:00
Corey McKrill
6229dfcb59
Add changelog
2022-05-13 15:24:42 -07:00
Corey McKrill
634c96d29c
Products API: revert get_objects method to `protected`
...
In 029257b
I inadvertently changed the visibility of the get_objects
method to public. There is no need for its visibility to differ from
the parent class, and it ended up causing fatal errors for other classes
that are extending WC_REST_Products_Controller. This simply changes
the visibility back to protected.
2022-05-13 15:09:41 -07:00
roykho
1e7466ade3
Add changelog entry
2022-05-13 12:05:37 -07:00
roykho
9f41cf7609
Update changelog to reflect 6.5.1 release
2022-05-13 11:56:55 -07:00
Nestor Soriano
500db3cdba
Log all db errors and exceptions in the posts to orders migrators.
...
To achieve this:
- A new class is added, TableMigrator, containing basic in-memory
error storage methods, and auxiliary db_query and db_get_result
methods.
- MetaToCustomTableMigrator and MetaToMetaTableMigrator classes
now extend TableMigrator and use these db_* methods.
- process_migration_batch_for_ids is now a method in TableMigrator,
it just calls the abstract process_migration_batch_for_ids_core,
catches exceptions, and returns an array of errors.
- PostsToOrdersMigrationController now logs all the errors returned
by process_migration_batch_for_ids in all the migrator classes.
- New utility method: ArrayUtil::to_ranges_string
2022-05-13 16:29:55 +02:00
Nestor Soriano
087e8ecacf
Fix issues in error handling in the MetaToCustomTableMigrator class
...
There were some inconsistencies, such as trying to treat an error
array as a string, or accessing to a non-existing column from a
dataset retrieved from the db on error.
2022-05-13 16:25:03 +02:00
Nestor Soriano
d0e3035cc8
Adjust visibility of methods in the orders table migrator classes.
...
Many methods were public/protected when they could be protected/private
instead. All methods are adjusted to the minimum visibility required
for the current implementation to work.
Also minor adjustments for phpcs, such as "ignore" comments.
2022-05-13 16:16:04 +02:00
Lourens Schep
780fbffc68
Fix merge conflict type issue
2022-05-13 10:29:21 -03:00
Lourens Schep
03cb7e5a42
Fix completed image display in two column layout
2022-05-13 10:29:21 -03:00
Lourens Schep
fe1e814a41
Fix customer effort types and add timeout to thank you message
2022-05-13 10:29:21 -03:00
Lourens Schep
b441a84d9d
Keep score displayed if user cancels out of CES Modal
2022-05-13 10:29:21 -03:00
Lourens Schep
45dfda2b65
Move CES show logic to the back end, so there is no loading delay
2022-05-13 10:29:21 -03:00
Lourens Schep
4b27f831f7
Add CES submission
2022-05-13 10:29:21 -03:00
Lourens Schep
7aa37d609f
Added new completed header and customer feedback component
2022-05-13 10:29:20 -03:00
vedanshujain
07977131e1
Address PR feedback - function name for readability, indentation etc.
2022-05-13 16:37:34 +05:30
vedanshujain
7b0564a44e
Add support to migrate meta tables.
2022-05-13 16:37:34 +05:30
Vedanshu Jain
ac4367f7ef
Correct formatting for comment.
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-05-13 16:37:33 +05:30
vedanshujain
07f9d2cd2a
Rename count to count_unmigrated for better readability.
2022-05-13 16:37:33 +05:30
vedanshujain
71cc54522d
Applied PR feedback.
2022-05-13 16:37:33 +05:30
vedanshujain
ea29eb8c49
Increase batch size to 500 for faster processing.
2022-05-13 16:37:33 +05:30
vedanshujain
1722793c80
Add testing instructions link.
2022-05-13 16:37:33 +05:30
vedanshujain
05dae81030
Removed unused export.
2022-05-13 16:37:33 +05:30
vedanshujain
75f5528445
Addressed feedback comments.
2022-05-13 16:37:33 +05:30
vedanshujain
99a76bf7d4
Add verify command in CLI to verify migrated orders.
2022-05-13 16:37:33 +05:30
vedanshujain
d2e6689407
More defensive checks for date_epoch data type.
2022-05-13 16:37:33 +05:30
vedanshujain
8c148e7e4b
Use `+` to preserve order ID index.
2022-05-13 16:37:33 +05:30
vedanshujain
3578b02b0c
Add function to verify migrate orders for COT migration.
2022-05-13 16:37:33 +05:30
vedanshujain
8876ddd5ca
Add verification support to custom table migrators.
2022-05-13 16:37:33 +05:30
vedanshujain
31e5e08330
Add changelog.
2022-05-13 16:37:33 +05:30
vedanshujain
1750590822
Add CLI support to run migrations.
2022-05-13 16:37:33 +05:30
Ilyas Foo
1b0ee6f5da
Remove WCAdmin deactivation note ( #33028 )
...
* Add wc-admin-deactivate-plugin to list of obselete notes
* Changelog
2022-05-13 13:59:19 +08:00
RJ
2c5f47a91d
Merge pull request #32944 from woocommerce/add/tracks-experimental-products
...
Add tracks for experimental products page
2022-05-13 12:41:48 +08:00
Chi-Hsuan Huang
55884d841e
Add changelog
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
3d55bfb2be
Add fashion sample products for product task
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
12e3a2f27d
Add a feature flag for fasion sample products
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
eb5ef8dfc6
Merge pull request #32973 from woocommerce/fix/32956-notice-on-empty-product-page
...
Fix notice on empty product page
2022-05-13 10:33:28 +08:00
moon
8adcae1072
Remove @types/history -- it is part of history 5.3.0
2022-05-12 18:34:13 -07:00
moon
e40f73a555
Add changelog
2022-05-12 18:32:06 -07:00
moon
aa7853edbd
Update history package to the latest 5.3.0 version
2022-05-12 18:28:43 -07:00
RJChow
f3cc00ff8b
changelogs
2022-05-13 06:20:11 +08:00
RJChow
05cd1c30de
Added tracks events to experimental products pages
2022-05-13 06:16:28 +08:00
roykho
7b0e30d852
Add changelog entry
2022-05-12 14:58:49 -07:00
roykho
d69eeba36e
Bumping WP tested up to version to 6.0
2022-05-12 14:55:15 -07:00
moon
f3035c65c7
Add changelog
2022-05-12 14:39:37 -07:00
moon
aaf9282277
Add Experimental_Abtest usage
2022-05-12 14:34:41 -07:00
moon
daeebfc622
Add comment for the hook
2022-05-12 14:17:05 -07:00
moon
bf4d777704
Add changelog
2022-05-12 14:10:00 -07:00
Joel Thiessen
cb8076966e
Adding badge to legacy admin menu to indicate remaining onboarding tasks
2022-05-12 12:29:45 -07:00
louwie17
f05d8959c9
Merge pull request #32981 from woocommerce/fix/32962_multisite_disable
...
Make sure we also disable WooCommerce Admin on a multi site
2022-05-12 15:59:16 -03:00
Lourens Schep
efc11d7fe2
Add changelog
2022-05-12 13:31:19 -03:00
Peter Fabian
d88d01a982
Merge pull request #32919 from YordanSoares/fix-broken-urls-unicode
...
Fix broken URLs of recommendations from Unicode
2022-05-12 15:21:52 +02:00
Lourens Schep
7d23a2b7c8
Make sure we also disable WooCommerce Admin on a multi site
2022-05-12 10:06:25 -03:00
Chi-Hsuan Huang
4992899d84
Merge pull request #32975 from woocommerce/fix/32959-product-task-text-shown-before-accordion-is-expanded
...
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 15:26:04 +08:00
Chi-Hsuan Huang
8440400f3c
Set fixed width for experimental product layout
2022-05-12 14:08:03 +08:00
Chris Aprea
3e1d7ac99b
Copy changes and remove console log
2022-05-12 14:46:06 +10:00
Chris Aprea
c6836e270e
Hardcode experiment name.
2022-05-12 13:11:42 +10:00
Ilyas Foo
713198f5ed
Renames to increase clarity
2022-05-12 10:41:15 +08:00
Ilyas Foo
f7263c60ff
Changelogs
2022-05-12 10:41:15 +08:00
Ilyas Foo
481b1e8566
Add backend experiment logic
2022-05-12 10:41:15 +08:00
Ilyas Foo
16c36e1f7d
Import hook from onboarding
2022-05-12 10:41:15 +08:00
moon
14ff4f63ee
Add changelog
2022-05-11 19:12:35 -07:00
moon
7c06b4325b
Use the core version for the @deprecated tags
2022-05-11 19:11:16 -07:00
Chi-Hsuan Huang
5453737747
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 09:56:53 +08:00
Chi-Hsuan Huang
1ccacd95ab
Add changelog
2022-05-12 09:24:37 +08:00
Chi-Hsuan Huang
03731c64d5
Fix notice on emptry product page
2022-05-12 09:24:08 +08:00
Chris Aprea
022c60f9e5
Tidy up experiment code and conditional rendering for the onboarding steps component.
2022-05-12 10:32:54 +10:00
Joel T
8e04383fb0
Enabling reminder bar for both experiments and control
2022-05-11 16:18:51 -07:00
Joel T
27cecd9b83
Hiding badge when remaining tasks is now zero
2022-05-11 16:18:51 -07:00
Joel T
29e521dca0
Reworking condition to allow reminder badge with corret list for all experiment states and control
2022-05-11 16:18:51 -07:00
Joel T
46d6e6dd3e
Updating badge for tasks that complete with no page refresh
2022-05-11 16:18:50 -07:00
Joel T
3b28616640
Altering badge logic to function based on experiments instead of feature flag
2022-05-11 16:18:50 -07:00
Joel T
6693e9fba8
Correcting spacing manually since autoformatter isn't working
2022-05-11 16:18:50 -07:00
Joel T
cd2b9732dd
Adding changelog
2022-05-11 16:18:50 -07:00
Joel T
3a443234ea
Adding basic support for tasks badge to woo navigation
2022-05-11 16:18:50 -07:00
Joel T
18e0af4c29
Adding badge to legacy menu for onboarding tasks remaining
2022-05-11 16:18:50 -07:00
Joel T
697278b69c
Updating changelog
2022-05-11 16:14:26 -07:00
Joel T
9cd5a05237
Adding changelog
2022-05-11 16:11:56 -07:00
Joel T
2ac65955a3
Supressing warnings originating from metadata functions
2022-05-11 15:59:49 -07:00
Jorge A. Torres
82e6e31903
Merge pull request #32968 from woocommerce/fix/download_dir_table_key
...
Fix/download dir table key
2022-05-11 18:25:56 -03:00
louwie17
ed2adee551
Merge pull request #32966 from woocommerce/fix/32962_fatal_error_wc_admin_conflict
...
Add FeaturePlugin facade under the Admin namespace to avoid conflict WCA conflict
2022-05-11 17:57:12 -03:00
barryhughes
d3bf32a147
Prefer get_var() over get_col().
2022-05-11 20:12:20 +00:00
Moon
9720874f50
Merge pull request #32954 from woocommerce/update/32883-update-react-dates-dependency
...
Update react-dates to 21.8.0
2022-05-11 12:49:16 -07:00
Lourens Schep
ce292870c3
Add changelog
2022-05-11 16:41:58 -03:00
barryhughes
44bb55452a
Update install versions test :-/
2022-05-11 19:28:41 +00:00
barryhughes
0d1da4e8bf
6.5.1 update routine for approved download directories.
2022-05-11 18:32:55 +00:00
Lourens Schep
4a2a94eb8c
Add FeaturePlugin facade under the Admin namespace to avoid conflict WCA conflict
2022-05-11 14:54:02 -03:00
barryhughes
f994ba1839
Apply max size to URL col in download directories table.
2022-05-11 17:07:32 +00:00
Jorge A. Torres
4ef86419da
Add changelog entry
2022-05-11 11:42:35 -03:00
Jorge A. Torres
992f936fae
Check for `recorded_sales` op data in COT migration tests
2022-05-11 11:42:35 -03:00
Chris Aprea
aa8835bfce
Merge branch 'trunk' into add/experiment-subscriptions-admin-menu-1
2022-05-11 17:04:29 +10:00
Chris Aprea
f66a8c5b0f
Add basic experiment functionality.
2022-05-11 15:37:14 +10:00
Ilyas Foo
016a23f202
Merge pull request #32941 from woocommerce/dev/32635-implement-product-task-experiment
...
Add ExPlat call for product task experiment
2022-05-11 13:03:27 +08:00
James Allan
5eb81985e4
Add changelog
2022-05-11 12:11:32 +10:00
Chi-Hsuan Huang
edbfd5bf93
Merge pull request #32937 from woocommerce/update/convert-woo-tracks-to-ts
...
Convert `@woocommerce/tracks` to TS
2022-05-11 09:57:27 +08:00
James Allan
077d68eecd
Remove unused maestro card SVG file
2022-05-11 11:57:08 +10:00
Chi-Hsuan Huang
79814ccccf
Merge pull request #32936 from woocommerce/update/memoize-one
...
Remove `memoize-one` from woo admin & update it to ^6.0.0 for woo components
2022-05-11 09:55:40 +08:00
Chi-Hsuan Huang
63c9cb3e09
Merge pull request #32932 from woocommerce/update/task-completion-time
...
Update import product task to record completion time in time frame format
2022-05-11 09:55:25 +08:00
moon
15ecfd9b16
Update react-dates to 21.8.0
2022-05-10 18:12:32 -07:00
Eric Jinks
c924fbd54b
Merge pull request #32867 from woocommerce/add/experiment-subscriptions-admin-menu-eligibility
...
Prevent rendering the WooCommerce > Subscriptions menu item for WooCommerce stores that are ineligible for the experiment.
2022-05-11 10:01:29 +10:00
Chris Aprea
4336b3a390
Add the wccore_subscriptions_empty_state_get_started_error tracking event.
2022-05-11 09:05:35 +10:00
Simon Prosser
8e754070f3
Make sure variable is actually set
...
themes_api() may return unexpected results see https://wordpress.org/support/topic/php-warnings-flooding-log-undefined-property-class-wc-admin-status-php for example.
2022-05-10 23:53:19 +01:00
Roy Ho
ba6f193958
Merge pull request #32899 from woocommerce/fix/json-formatting
...
Standardize JSON Formatting
2022-05-10 14:17:40 -07:00
Christopher Allford
ec2e90540e
Added Changelogs
2022-05-10 13:31:13 -07:00
Christopher Allford
37ad4c5a70
Converted Spaces To Tabs In JSON
...
Since we almost universally use tabs instead
of spaces, this commit replaces all of the spaces
with tabs in various JSON files across the monorepo.
2022-05-10 13:31:01 -07:00
roykho
9668071503
Bump readme.txt version to latest
2022-05-10 13:30:29 -07:00
roykho
56a88d3771
Prep trunk post 6.5 release
2022-05-10 13:01:47 -07:00
Moon
d3ef624ab9
Merge pull request #32928 from woocommerce/update/32911-remove-explat-calls-for-headercard-exp
...
Remove ExPlat calls for woocommerce_tasklist_progression_headercard experiments
2022-05-10 11:12:25 -07:00
jonathansadowski
4c707a27d6
Merge pull request #32943 from woocommerce/update/bash-zip
...
Update commands to use Nx
2022-05-10 10:54:11 -05:00
roykho
d870ff09ac
Add changelog entry
2022-05-10 08:27:01 -07:00
Josh Betz
f3edbcad36
Merge pull request #32823 from woocommerce/update/api/system-status-performance
...
System Status performance improvements
2022-05-10 09:17:09 -05:00
roykho
0bcc96a415
Update commands to use Nx
2022-05-10 06:37:57 -07:00
Ilyas Foo
367db18bc4
Rename function
2022-05-10 20:57:11 +08:00
Alejandro López Ariza
56c8962722
Merge pull request #32606 from woocommerce/performance/merchant-view-coupons
...
Added new performance test to view coupons as merchant.
2022-05-10 14:37:12 +02:00
Ilyas Foo
71e0d3d27d
Changelog
2022-05-10 18:42:07 +08:00
Ilyas Foo
933fe9f449
Add tests
2022-05-10 18:21:52 +08:00
Thomas Roberts
5ca74b6ff0
Bump WooCommerce blocks package version and update locks
2022-05-10 11:05:49 +01:00
Alex López
eb60957a20
Added changelogger file without actual entry to the changelog.
2022-05-10 11:51:23 +02:00
Ilyas Foo
826029ca7b
Add ExPlat call for product task experiment
2022-05-10 16:58:02 +08:00
Chi-Hsuan Huang
cd3abebeb0
Add changelogs
2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang
93725ece0f
Remove woo tracks type declaration from woo admin
2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang
4f1e7af7c7
Add changelogs
2022-05-10 14:29:45 +08:00
Chi-Hsuan Huang
43af801d46
Remove memoize-one from wca & update it to ^6.0.0 for woo components
2022-05-10 14:17:03 +08:00
Chi-Hsuan Huang
4cc033bc12
Add tests for getTimeFrame
2022-05-10 14:02:07 +08:00
James Allan
692cdd3607
Redirect to the create subscription product step after installing WC Payments
...
This is a temporary measure to be enable testing the full flow whilst we
work on setting up the experiment.
2022-05-10 15:50:47 +10:00
Chris Aprea
fc55f14fdd
Add the wccore_subscriptions_empty_state_view tracking event.
2022-05-10 15:43:47 +10:00
RJChow
67cf1e109b
added task_view tracks prop for experimental_products
2022-05-10 12:52:00 +08:00
Chi-Hsuan Huang
879ccdb14f
Merge pull request #32923 from woocommerce/update/32451-wcpay-task-display-logic
...
Change wcpay task display logic
2022-05-10 10:07:06 +08:00
Chris Aprea
c421733dec
Add @ts-expect-error comment to avoid build error.
2022-05-10 11:11:07 +10:00
Chi-Hsuan Huang
7d75919e25
Add changelog
2022-05-10 08:59:10 +08:00
Chi-Hsuan Huang
2b46085ff7
Update to record completion time in time frame format
2022-05-10 08:58:23 +08:00
moon
d78c8334b9
Disable experiment test
2022-05-09 17:30:21 -07:00
Eric Jinks
ffc64e9f7d
Use wc formatting functions for transient booleans
2022-05-10 10:26:36 +10:00
Chi-Hsuan Huang
c4c2d160ff
Merge pull request #32914 from woocommerce/add/32811-import-prdocuts-tracks
...
Add tracks for experimental import products task
2022-05-10 08:14:40 +08:00
Eric Jinks
ef25a3180c
Fix store sale eligibility comments to correct intent
2022-05-10 10:00:06 +10:00
Chris Aprea
68142596bb
Merge branch 'add/experiment-subscriptions-admin-menu-1' into add/experiment-subscriptions-admin-menu-eligibility
...
# Conflicts:
# plugins/woocommerce/src/Internal/Admin/WcPaySubscriptionsPage.php
2022-05-10 09:47:17 +10:00
Eric Jinks
1aa88a9cb7
Change recent sales eligibility transient string to yes/no
2022-05-10 06:45:27 +10:00
louwie17
bd5c1e739e
Merge pull request #32926 from woocommerce/fix/32896_two_tasklists
...
Fix duplicate task list shown in some occurrences
2022-05-09 16:24:00 -03:00
Eric Jinks
ae954f3cc5
Store recent sales eligibility transient as string
2022-05-10 04:02:10 +10:00
Lourens Schep
99eb80d811
Remove unused string condition
2022-05-09 14:36:51 -03:00
moon
7fd05ed0d6
Add @since tags
2022-05-09 10:33:55 -07:00
moon
cecf63ca5b
Add changelog
2022-05-09 10:16:53 -07:00
moon
db87fc59b9
Remove ExPlat API calls from the backend
2022-05-09 10:08:11 -07:00
moon
2aa8088197
Remove ExPlat API calls from the frontend
2022-05-09 10:01:11 -07:00
Jorge A. Torres
086f318299
Add `recorded_sales` to COT schema and migration
2022-05-09 10:23:23 -05:00
Vedanshu Jain
53a6202d68
Merge pull request #32817 from woocommerce/cot/effectively_sync_posts_to_cot
...
[COT] Effectively synchronize orders from the posts table to the custom orders table
2022-05-09 20:32:38 +05:30
Lourens Schep
65da6a8562
Add changelog
2022-05-09 11:31:03 -03:00
Lourens Schep
fb62e3392a
Fix duplicate task list shown
2022-05-09 11:17:37 -03:00
Nestor Soriano
dcb2f45904
Increase orders sync default batch size to 250
2022-05-09 16:03:56 +02:00
Nestor Soriano
997395e971
Changes in COT handling to ease testing:
...
- The woocommerce_custom_orders_table_enabled option can now be manually
altered even if there are orders out of sync
- Saving settings will always restart the sync process, even if one
is already in progress
- Add the woocommerce_orders_cot_and_posts_sync_step_size filter
2022-05-09 11:01:08 +02:00
Vedanshu Jain
1e090c3c3c
Merge pull request #32828 from woocommerce/fix/32016-shipping-zones-loop
...
Allow removal of all zone regions from a shipping zone
2022-05-09 14:25:39 +05:30
Chi-Hsuan Huang
da535437e7
Add changelog
2022-05-09 16:32:34 +08:00
Chi-Hsuan Huang
b75ba577c0
Update wcpay task display logic
2022-05-09 16:32:01 +08:00
Yordan Soares
1e67304e80
Fix the broken URLs of recommendations from Unicode (Countries, States, and Currency names)
2022-05-09 03:04:56 -04:00
Chris Aprea
0601a75e1c
Fix enqueue_scripts logic.
2022-05-09 16:06:33 +10:00
Chris Aprea
ce2385d0d3
Change the badge wording to "new".
2022-05-09 15:58:35 +10:00
James Allan
b45d095e2d
Use updateOptions from @woocommerce/data OPTIONS_STORE_NAME to set wp options instead of using apiFetch
2022-05-09 15:10:17 +10:00
James Allan
59478e391c
Reorder and self close the No thanks buttons
2022-05-09 14:56:59 +10:00
Chi-Hsuan Huang
c0c55ed9fa
Add changelog
2022-05-09 12:44:38 +08:00
Chi-Hsuan Huang
87f5431a5d
Add track events for experimental import products
2022-05-09 12:43:10 +08:00
Chi-Hsuan Huang
4aa1bead31
Add use-record-completion-time.ts for task event
2022-05-09 12:40:55 +08:00
James Allan
738b3764e5
Add a dismiss ("No thanks") button to the wcpay susbcriptions welcome page
2022-05-09 14:24:01 +10:00
Eric Jinks
3d68850d78
Cache recent sales eligibility to reduce excessive DB queries
2022-05-09 13:08:36 +10:00
Eric Jinks
48ead02176
Fix recent sales query to allow orders without completed status
2022-05-09 10:58:16 +10:00
Chris Aprea
f34fcab040
Fix font weight.
2022-05-09 10:55:04 +10:00
Chris Aprea
b223ed27f6
Fix typo.
2022-05-09 10:47:06 +10:00
Eric Jinks
dbe0f5fc54
Add xa-woocommerce-subscriptions to plugin eligibility check
...
Co-authored-by: James Allan <james.allan@automattic.com>
2022-05-09 08:17:12 +10:00
Roy Ho
54a42a8388
Merge pull request #32901 from woocommerce/fix/woocommerce-admin-build
...
Remove Unnecessary React Admin Build
2022-05-06 15:42:55 -07:00
Christopher Allford
9e34796bd0
Added Changelog
2022-05-06 15:04:42 -07:00
Christopher Allford
3f5c3b2039
Added Changelog
2022-05-06 15:00:00 -07:00
Christopher Allford
0519045d20
Added Missing Dependencies
...
Some kind of branch switching related mishap it seems.
2022-05-06 14:58:33 -07:00
Josh Betz
a1cb8fe8fc
lint
2022-05-06 14:49:25 -05:00
Josh Betz
01fc3018d0
Clear the theme cache for any plugin update
...
The cached theme data has some properties that depend on WooCommerce.
This could also extend to extensions. Since we don't have a reliable way
to know if a given plugin is a WooCommerce extension, any plugin update
should flush the cache.
2022-05-06 14:49:25 -05:00
Josh Betz
43579aeac9
Expire theme cache in case a theme is updated outside WordPress
...
If someone updates their theme outside of the WordPress update process
(by manipulating files directly) the cache won't be invalidated. To deal
with that, we're setting the TTL here to 1hr.
2022-05-06 14:49:25 -05:00
Josh Betz
5dc5b467a8
Clear the theme cache if woocommerce is updated
2022-05-06 14:49:25 -05:00
Josh Betz
747278a85c
changelog
2022-05-06 14:49:25 -05:00
Josh Betz
b6b5b8f33b
Extract top-level property
...
Using _fields, we can specify a sub-property like environment.version.
In that case, we need to extract the top-level property so we known
which function to run.
2022-05-06 14:49:25 -05:00
Josh Betz
30f41c96e8
phpcs
2022-05-06 14:49:25 -05:00
Josh Betz
fe3b71c011
API: System Status: Cache theme info
...
Generating theme info involves reading the theme files from disk and
parsing them.
In testing, caching this data in a transient improves performance by
600ms. Since themes changes relatively infrequently, the cache hit rate
should be quite high.
We're registering the cache clean function in Server.php because
rest_api_init is too late.
2022-05-06 14:49:25 -05:00
Josh Betz
66c21a5e8b
API: System Status: Only load necessary data
...
The system status endpoint supports the global `_fields` query parameter
for limiting which fields are returned. That is, if you send a request
with a query string of `?_fields=environment`, only the environment
property will be returned. However, we still calculate every property.
This change ensure that we only gather the data that is necessary for
the response. Since some of this data can be somewhat slow (like reading
from the disk in the case of get_theme_info), this could have a pretty
nice performance benefit in some cases.
2022-05-06 14:49:25 -05:00