Commit Graph

7321 Commits

Author SHA1 Message Date
Corey McKrill 2c6bf681d2 Add changelog file 2022-04-27 09:47:08 -05:00
Corey McKrill eedac60985 Update tests 2022-04-27 09:47:08 -05:00
Corey McKrill 7807c70549 Don't combine content and SKU search
We decided the performance hit was too great. So with this, you can
still use both the search and search_sku parameters at the same time
if you want, but the query will use `AND` so that there must be a
partial match from both fields rather than either field. To just search
SKUs, all that you need is the search_sku parameter.
2022-04-27 09:47:08 -05:00
Corey McKrill b480d1362d Ensure where clause gets nested correctly when terms are the same 2022-04-27 09:47:08 -05:00
Corey McKrill 029257be30 Refactor to use search_sku parameter
Instead of overloading the default search parameter.

This actually added a bit of complexity because it introduced the
possibility that a request could have both search and search_sku
parameters, and they might not be the same value.

I decided to handle the two cases differently: if both search strings
match, the assumption is that we're looking for a string in either the
content *or* the SKU field. However, if the the search strings are
different, the assumption is that we're looking for products with a
particular string in the content *and* a separate particular string
in the SKU.

New unit tests for this are still pending.
2022-04-27 09:47:08 -05:00
Jaclyn Chen 49743f5167 Add a new parameter `search_includes_sku` so that SKU search isn't included by default. 2022-04-27 09:47:08 -05:00
Jaclyn Chen 532c580081 Include sku partial match for products search. 2022-04-27 09:47:08 -05:00
barryhughes 72d196f398 Log if headers cannot be sent during a download error event. 2022-04-27 07:46:21 -07:00
vedanshujain 8629fcd929 Add changelog. 2022-04-27 20:07:20 +05:30
James Allan 2ae7eda512 Remove tax rounding of taxes displayed in items meta table 2022-04-27 19:46:15 +05:30
roykho 8d911cff6f
Remove makepot from build 2022-04-27 06:58:08 -07:00
roykho e5bdd3fcd3
Refactor workflows to remove action-build step 2022-04-27 06:40:37 -07:00
tjcafferkey 5db9c600b5 Add changelog file 2022-04-27 13:43:59 +01:00
tjcafferkey abe3d60361 Update woo-blocks to 7.4.3 2022-04-27 13:33:04 +01:00
Peter Fabian 68234755d9
Merge pull request #32685 from woocommerce/fix/32028-settings-method-exists-fatal
Address possible type error during install on PHP 8.x
2022-04-27 13:49:04 +02:00
Chi-Hsuan Huang b938eb88f9 Update icons 2022-04-27 18:32:20 +08:00
Ilyas Foo 5187a2d4bd Changelog 2022-04-27 15:36:00 +08:00
Chi-Hsuan Huang 026a902fc1 Add changelog 2022-04-27 15:22:17 +08:00
Chi-Hsuan Huang 7eff6afd82 Add initial experimental-products component to show product stack component 2022-04-27 15:22:17 +08:00
Chi-Hsuan Huang d4dbf2f1a3 Add product stack component 2022-04-27 15:22:17 +08:00
Ilyas Foo 5ca93ef00f Remove note references 2022-04-27 14:56:15 +08:00
vedanshujain b0748973a4 Add changelog. 2022-04-27 11:47:25 +05:30
vedanshujain 19d230af63 Merge latvian formatting test with other tests for DRY. 2022-04-27 11:40:51 +05:30
Saggre 46ae32161c Remove duplicate tests 2022-04-27 11:37:09 +05:30
Saggre 004bfeabf5 Restore legacy tests 2022-04-27 11:36:43 +05:30
Saggre fab094dcbe Add wc_format_postcode tests for IE and PT postcodes 2022-04-27 11:35:50 +05:30
Saggre 80e8157c12 Move tests to new tests dir 2022-04-27 11:35:50 +05:30
Saggre ec82f8865c Restore legacy tests 2022-04-27 11:35:50 +05:30
Saggre 3081fa593f Add wc_format_postcode tests to new test directory 2022-04-27 11:35:50 +05:30
Saggre 5991311a33 Add wc_format_postcode tests for IE and PT postcodes 2022-04-27 11:35:50 +05:30
Saggre 474494dcab Add LV postcode formatting and tests 2022-04-27 11:35:50 +05:30
Moon 33cca70beb
Merge pull request #32789 from woocommerce/add/32788-add-experimental-import-products-task
Add experimental import products task feature flag & experimental-import-products component
2022-04-26 21:07:26 -07:00
moon 3b654321b1 Remove unnecessary style 2022-04-26 20:14:47 -07:00
moon 671ce7291c Add changelog 2022-04-26 18:28:53 -07:00
Claudio Sanches d880da05e4
Merge pull request #32756 from woocommerce/fix/hook_removal_from_32460
Re-introduce woocommerce_product_csv_importer_check_import_file_path as deprecated
2022-04-26 18:23:26 -03:00
moon 3d68bdbded Add CardList component 2022-04-26 14:15:11 -07:00
Fernando Marichal 93b9c48a85 Fix link url 2022-04-26 17:17:45 -03:00
moon 7c32432bf1 Add feature flag experimental-import-products-task and base component 2022-04-26 13:03:30 -07:00
barryhughes 8beaf2d987 Updating an existing downloadable file to a bad path should trigger a warning notice. 2022-04-26 01:21:04 -07:00
Chi-Hsuan Huang 5618603c1a Add changelog 2022-04-26 13:43:13 +08:00
Chi-Hsuan Huang 255872e4a3 Update react admin tasks/fills to render experimental-products when the feature flag is on 2022-04-26 13:40:13 +08:00
Chi-Hsuan Huang d1d441c824 Update wcAdminFeatures type 2022-04-26 13:26:41 +08:00
Chi-Hsuan Huang 53e0df3c35 Add experimental-products-task feature flag 2022-04-26 13:26:19 +08:00
Ilyas Foo af2349c685 Changelog 2022-04-26 12:16:10 +08:00
Ilyas Foo 9eba4b93de Add fallback image 2022-04-26 12:10:26 +08:00
Chi-Hsuan Huang 11f321a334 Add isWcPaySupported util function for payments 2022-04-26 11:14:05 +08:00
Chi-Hsuan Huang 3ee2fcaeac Use getAdminLink to format WC_PAY_SETUP_URL 2022-04-26 10:55:44 +08:00
Ilyas Foo 2398fdf772 Change experiment name to dynamic 2022-04-26 10:47:01 +08:00
Ilyas Foo 0c5676d28b
Merge pull request #32752 from woocommerce/fix/32751-remove-wcpay-in-core-experiment-request
Remove WCPay in core experiment request
2022-04-26 09:35:55 +08:00
Chi-Hsuan Huang d0e31f9949 Add is_visible to Extension type 2022-04-26 09:34:52 +08:00
barryhughes fbb96048a2 Clean-up. 2022-04-25 17:39:13 -07:00
barryhughes a96c364bb5 Resolve issue with tests (headers already sent by test suite bootstrapper). 2022-04-25 17:36:03 -07:00
barryhughes bb41311ccf PHPCS fixes. 2022-04-25 16:16:14 -07:00
barryhughes 99f85a55d5 Protect against use of download links, where the directory is no longer approved. 2022-04-25 15:58:55 -07:00
Paul Sealock e70b75cf81
Update `create-extension` to work in monorepo context (#32514)
* Update create-wc-extension to work in monorepo context

* update lock file
2022-04-26 08:51:35 +12:00
Barry Hughes 004b007199
Merge pull request #32540 from woocommerce/fix/errors-flash-messaging
Reduce risk of prematurely dropping meta box error messages
2022-04-25 12:32:38 -07:00
Barry Hughes 288855d468
Merge pull request #32744 from woocommerce/fix/650-update-routines
Change Approved Directory update routine
2022-04-25 12:26:14 -07:00
Jorge A. Torres 9bfb108ab7
Merge pull request #32640 from woocommerce/cot/meta_migrations
Add meta table to meta table migration and enable it for WP postmeta table to order meta table.
2022-04-25 16:12:44 -03:00
louwie17 cfb3ff63d1
Merge pull request #32759 from woocommerce/fix/32745_task_list_experiment_1_tracks
Fix eventPrefix for new task list - experiment 1
2022-04-25 14:45:40 -03:00
Jacob Sewell 072f7d8942
Merge pull request #32614 from woocommerce/fix/sanitize-notes-order-by
Fix: sanitize notes order and orderby arguments
2022-04-25 12:13:18 -05:00
Lourens Schep 9872ec153b Add test case for eventPrefix 2022-04-25 10:57:36 -03:00
Lourens Schep 906b92fdbf Add changelog 2022-04-25 10:53:00 -03:00
Lourens Schep 1acbcd64c5 Fix eventPrefix for two column task list 2022-04-25 10:44:29 -03:00
Nestor Soriano 23fa1bc447
Add changelog entry file 2022-04-25 10:59:36 +02:00
Nestor Soriano 991722ba6f
Re-introduce woocommerce_product_csv_importer_check_import_file_path
The hook was inadvertendlty removed in PR #32460.
Reintroducing it as a deprecated hook in favor of
woocommerce_csv_importer_check_import_file_path.
2022-04-25 10:49:15 +02:00
Chi-Hsuan Huang 0d5a0050d8 Add changelogs 2022-04-25 15:17:35 +08:00
Chi-Hsuan Huang 678e893f60 Fix react admin ./client types after updating @woocommerce/data types 2022-04-25 15:17:28 +08:00
Chi-Hsuan Huang d94c1dc7bd Remove unnecessary wpDataselect & WCDataSelector types from react client 2022-04-25 14:17:28 +08:00
Ilyas Foo 1adbc1bdf8 Changelog 2022-04-25 11:34:25 +08:00
Ilyas Foo ce938857a0 Remove hook that calls for registering welcome page 2022-04-25 11:32:22 +08:00
barryhughes 664212b9df Fix test. 2022-04-22 14:45:20 -07:00
barryhughes d951b218f2 Ensure necessary hooks are initialized before triggering sync. 2022-04-22 14:03:38 -07:00
barryhughes a8b68785ca Change Approved Directory update routine (pin to 6.5, prev was 6.4). 2022-04-22 09:45:37 -07:00
Lourens Schep f379462885 Add changelog 2022-04-22 12:24:49 -03:00
Lourens Schep d5401cee3c Fix track format 2022-04-22 12:15:22 -03:00
Lourens Schep 6ab9a9ae2c Add task list slot fill support in the sectioned task list 2022-04-22 12:04:51 -03:00
louwie17 f5ec1856c4
Merge pull request #32726 from woocommerce/add/32161
Add tracks to task list reminder bar
2022-04-22 11:00:45 -03:00
Fernando Marichal 3601109ac1 Fix test text 2022-04-22 10:53:46 -03:00
Fernando ee5d38d49c
Merge pull request #32704 from woocommerce/fix/task-list-style-conflict
Fix setup task list style conflict
2022-04-22 10:34:50 -03:00
Fernando Marichal 88bcc8d3e6 Add changelog 2022-04-22 10:31:16 -03:00
Fernando Marichal 6fb0881d7b Add test 2022-04-22 10:09:32 -03:00
Fernando Marichal 015c48c6ab Add preview store button 2022-04-22 10:08:35 -03:00
vedanshujain ebd4b8a676 Add changelog. 2022-04-22 15:46:34 +05:30
vedanshujain 5d18e52d4f Remove temporary table hooks since they need to be referenced multiple times. 2022-04-22 15:45:47 +05:30
vedanshujain 57f66ffa7a Add test for read method in custom order table data store. 2022-04-22 15:45:47 +05:30
vedanshujain 6b23370edb Implement read method in custom order table datastore. 2022-04-22 15:45:47 +05:30
vedanshujain 2abac5a5a7 Merge branch 'cot/32663' into cot/meta_migrations 2022-04-22 15:44:45 +05:30
vedanshujain b060e1b1f0 Dont use `list` format for php compatibility. 2022-04-22 14:28:55 +05:30
vedanshujain fa77484d59 Enable test back. 2022-04-22 14:28:30 +05:30
vedanshujain 39283ddc88 Applied coding standards. 2022-04-22 14:24:56 +05:30
vedanshujain e71f949edb Add changelog. 2022-04-22 14:24:56 +05:30
vedanshujain e042218135 Applied coding standards. 2022-04-22 14:24:56 +05:30
vedanshujain 773508d638 Applied coding standards. 2022-04-22 14:24:56 +05:30
vedanshujain c3de418298 Add value clause for better testing. 2022-04-22 14:24:56 +05:30
vedanshujain 1348215cfe Fixups for duplicate meta entries. 2022-04-22 14:24:56 +05:30
vedanshujain cc512927a7 Add support for multi-value migrations. 2022-04-22 14:24:56 +05:30
vedanshujain 91ca235889 Refactor meta migrator to follow pattern in meta to custom migrator. 2022-04-22 14:24:56 +05:30
vedanshujain 594385690a Add tests to check for duplicated meta records. 2022-04-22 14:24:55 +05:30
vedanshujain 594d63f0fb Add test for migrations. 2022-04-22 14:24:55 +05:30
vedanshujain af2b7dd972 Add source table name to prevent ambigious column names. 2022-04-22 14:24:55 +05:30