Commit Graph

49793 Commits

Author SHA1 Message Date
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 7b3a1db157
Merge pull request #32977 from woocommerce/add/32859-fashion-sample-products
Add fashion sample products
2022-05-16 17:43:02 +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
Barry Hughes e78f6e02be
Merge pull request #33039 from woocommerce/fix/products-api-method-visibility
Products API: revert get_objects method to protected
2022-05-13 16:07:41 -07: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
moon 9faccc176f Remove unused LoadingExperience 2022-05-13 14:23:40 -07:00
roykho cf5c47eb09
Cache Composer global store 2022-05-13 13:43:33 -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
jonathansadowski 44196c47e2
Merge pull request #32984 from woocommerce/fix/mirror-workflow
Copy file to correct path
2022-05-13 08:46:28 -05: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
Roy Ho fc1f8cee92
Merge pull request #32982 from woocommerce/fix/smoke-tests-2
Fix smoke test on release
2022-05-13 05:37:12 -07: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