Commit Graph

48736 Commits

Author SHA1 Message Date
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
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
Christopher Allford e0b9689079
Merge pull request #33025 from woocommerce/bump/wp60
Bumping WP tested up to version to 6.0
2022-05-12 15:40:57 -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 e2ad299c13 Update ExPlat changelog 2022-05-12 14:37:18 -07:00
moon aaf9282277 Add Experimental_Abtest usage 2022-05-12 14:34:41 -07:00
moon 4e0faa6ea1 Add useExperiment example 2022-05-12 14:30:17 -07:00