Roy Ho
ad0d71dcff
Merge pull request #32795 from woocommerce/fix/standardize-lint-woocommerce-plugin
...
Standardize linting: plugins
2022-04-29 06:01:37 -07:00
Lourens Schep
b56e38c492
Add changelog
2022-04-29 09:52:50 -03:00
Lourens Schep
77765285e8
Update illustrations and copy of task list experiment 1, with minor css updates
2022-04-29 09:52:50 -03:00
Nestor Soriano
e7a4ff2daa
Add changelog file
2022-04-29 13:24:29 +02:00
Nestor Soriano
57b1bd2340
Improve the readability of classes in Database\Migrations\CustomOrderTable
...
- Add meaningful docblock comments for the classes
- Add type ints for parameters and return values in all mehtods
2022-04-29 10:41:17 +02:00
Nestor Soriano
d9fb2e3231
Remove 'WP' class name prefixes in Database\Migrations\CustomOrderTable
2022-04-29 10:15:04 +02:00
moon
9cf2993975
Fix error with the items type
2022-04-28 20:45:49 -07:00
moon
a441ff189b
Add stacks
2022-04-28 20:39:09 -07:00
moon
b03149a29c
Align the stacks button center
2022-04-28 20:39:08 -07:00
moon
b109eba8c7
Adjust styles and add initial stacks functionality
2022-04-28 20:38:31 -07:00
moon
de836d1f79
Add Learn More link
2022-04-28 20:38:31 -07:00
moon
14cff0a001
Allow JSX.Element in content
2022-04-28 20:38:31 -07:00
Chi-Hsuan Huang
60334e3c55
Merge pull request #32801 from woocommerce/add/32634-add-products-task
...
Add experimental add product for task list
2022-04-29 11:35:53 +08:00
Ilyas Foo
8b9870b1d0
Merge pull request #32697 from woocommerce/add/wc-payment-gateways-banner
...
Added feature for payment gateways banner
2022-04-29 10:57:59 +08:00
Ilyas Foo
959ba869c1
Merge pull request #32814 from woocommerce/fix/32797-wca-fatal
...
Fix WCA fatal with bail conditions for WCA execution paths
2022-04-29 10:50:38 +08:00
Chi-Hsuan Huang
345a2ed60c
Update experimental product stack layout style
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
0d9d463d46
Update experimental-products default surfaced product types
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
76777d2981
Refactor experimental-products functions
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
2542594652
Add changelog
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
6205c0208f
Update card name & check support product types
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
e6d3ed3c3c
Add loading sample product card
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
a4a62353fd
Add external_product.csv for experimental product task
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
2dd0ef0029
Add grouped_product.csv for experimental product task
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
48c89b2266
Add card view
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
6248683042
Add tests for experimental add product task
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
cbfc393c6a
Add use-create-product-by-type & use-product-types-list-items hooks
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
5f233898bf
Implement functionalities of experimental products
2022-04-29 10:46:54 +08:00
Ilyas Foo
cb731d465a
Merge remote-tracking branch 'origin/trunk' into add/wc-payment-gateways-banner
2022-04-29 10:15:21 +08:00
Moon
938cd88ff6
Merge pull request #32820 from woocommerce/fix/fix-ts-build-errors
...
Fix TS build errors in admin
2022-04-28 19:09:59 -07:00
Ilyas Foo
fc74c42fe0
Merge branch 'trunk' into add/wc-payment-gateways-banner
2022-04-29 09:11:20 +08:00
Jorge A. Torres
4c32881b65
Add changelog entry
2022-04-28 15:05:14 -07:00
moon
dc00aff77e
Run dev after clean command
2022-04-28 14:28:01 -07:00
moon
082f55bee1
Run clean before running build commands
2022-04-28 13:42:06 -07:00
Jorge A. Torres
3f87e28977
Make sure empty region lists are passed to the backend when editing a shipping zone
2022-04-28 12:52:12 -07:00
Josh Betz
870ea59738
Merge pull request #32046 from woocommerce/api/28508-search-including-sku
...
Enable searching for products by SKU
2022-04-28 13:50:42 -05:00
Nestor Soriano
98078fbc19
Refactor the WPPostToCOTMigrator class
...
- Rename to PostsToOrdersMigrationController (same for tests class)
- Rename process_next_migration_batch method to migrate_orders
- Rename process_single to migrate_order
- Remove batch and checkpoint related methods
(batch management is performed by DataSynchronizer class)
- Adjust unit tests
2022-04-28 17:16:19 +02:00
Nestor Soriano
3b98fb7eef
Actually sync orders from posts to custom orders table when needed.
...
This commit connects the logic of the DataSyncrhonizer class with
the actual posts to COT synchronization implemented in the
WPPostToCOTMigrator class, so orders are actually syncrhonized
using scheduled actions.
Additionally, a synchronization process is triggered whenever an order
is created or modified, using the woocommerce_after_order_object_save
hook.
2022-04-28 15:33:43 +02:00
Nestor Soriano
7a0892422d
Rename DataSynchronizer::start_synchronizing_pending_orders
...
It's now maybe_start_synchronizing_pending_orders. Also, the method
now contains all the logic needed to decide if a synchronization
needs to actually be started.
2022-04-28 15:31:17 +02:00
Nestor Soriano
ad5ec38d96
Fix: AUTO_FLIP_AUTHORITATIVE_TABLE_ROLES_OPTION logic was reversed
...
This constant contains the name of the setting that is used to
determine if the roles of the custom orders table and the posts table
(authoritative and backup) are reversed once synchronization of
orders between both tables finishes. The logic was mistakenly
implemented backwards.
Also, as part of the fix the constant is moved to the
CustomOrdersTableController class.
2022-04-28 15:25:55 +02:00
Fernando
5bda7ca396
Merge pull request #32739 from woocommerce/add/32156_preview-store-button
...
Add Preview store button to Home screen
2022-04-28 08:35:31 -03:00
Chi-Hsuan Huang
843a59c0c4
Merge pull request #32735 from woocommerce/update/woo-data-types
...
Update `@woocommerce/data` & admin client type definitions
2022-04-28 18:03:14 +08:00
Ilyas Foo
297e21038c
Lint
2022-04-28 17:29:39 +08:00
Ilyas Foo
83be522465
Update plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php
2022-04-28 17:25:22 +08:00
Peter Fabian
1fcea9e0da
Merge pull request #32776 from woocommerce/fix/download-file-warnings
...
Updating an existing downloadable file to a bad path should trigger an admin notice
2022-04-28 10:52:16 +02:00
Ilyas Foo
60e341ad17
Merge pull request #32800 from woocommerce/dev/32719-remove-wc-admin-set-up-additional-payment-types-note
...
Remove `wc-admin-set-up-additional-payment-types` inbox note
2022-04-28 16:05:04 +08:00
Vedanshu Jain
610af05393
Merge pull request #29688 from woocommerce/fix/tax_data_rounded_on_save
...
Remove rounding of taxes displayed in items meta table
2022-04-28 12:36:04 +05:30
Ilyas Foo
c66550da1f
Merge remote-tracking branch 'origin/trunk' into dev/32719-remove-wc-admin-set-up-additional-payment-types-note
2022-04-28 14:44:57 +08:00
Ilyas Foo
4dec2483fc
Added comment and remove old function
2022-04-28 14:37:19 +08:00
Ilyas Foo
89722dfafc
Remove deprecated warning and make use of safe define
2022-04-28 14:37:13 +08:00
Adrian Duffell
8a3ae1399b
Merge branch 'trunk' into add/wc-payment-gateways-banner
2022-04-28 14:29:17 +08:00
Ilyas Foo
bc7830b670
Changelog
2022-04-28 12:51:53 +08:00
Ilyas Foo
bb05a6fc85
Added bail codes for WCA execution paths
2022-04-28 12:19:17 +08:00
Ilyas Foo
ff4d735238
Merge remote-tracking branch 'origin/trunk' into dev/32575-add-generic-fallback-image-payments-task
2022-04-28 11:56:58 +08:00
Chi-Hsuan Huang
0389bc7cc3
Merge pull request #32779 from woocommerce/add/product-stack
...
Add experimental product stack component
2022-04-28 09:47:31 +08:00
Paul Sealock
f4fab80b18
changelog
2022-04-28 11:31:37 +12:00
Paul Sealock
b06b34dd31
beta tester fix scripts
2022-04-28 11:04:20 +12:00
Paul Sealock
4275eb002b
admin fix scripts
2022-04-28 11:04:20 +12:00
Paul Sealock
bfbad3a4dc
Fixup eslintrc.js
2022-04-28 11:04:12 +12:00
Paul Sealock
6100df9a04
Storybook: Move code to `tools/` ( #32729 )
2022-04-28 09:54:54 +12:00
Corey McKrill
ea504f09b5
phpcs cleanup
2022-04-27 14:33:34 -07:00
roykho
0feaf3a9de
Put exit clause on makepot script
2022-04-27 12:33:37 -07:00
Claudio Sanches
ca02a49bff
Merge pull request #32804 from woocommerce/fix/e2e-tests
...
Fix/e2e tests
2022-04-27 14:57:16 -03:00
barryhughes
6e5d4acc22
Revise testdox
2022-04-27 10:24:30 -07:00
barryhughes
16dbf4607e
Break test into smaller more atomic tests.
2022-04-27 10:21:09 -07:00
roykho
b2ad3aab61
Use the proper composer command for running scripts
2022-04-27 10:09:06 -07:00
roykho
cf783aca58
Move makepot to build-zip bash script
2022-04-27 09:45:51 -07:00
Jonathan Lane
31d4b8f7e7
Merge branch 'trunk' into fix/27902
2022-04-27 09:28:17 -07:00
roykho
216317c557
Test updating makepot script command
2022-04-27 09:27:36 -07:00
Vedanshu Jain
1c72457215
Merge pull request #32771 from woocommerce/fix/32754-inactive-downloads
...
Protect against inappropriate use of saved download links
2022-04-27 21:36:37 +05:30
roykho
2798add11d
Add changelog
2022-04-27 08:56:14 -07:00
roykho
cc1fef5bcb
Try different port for K6 tests
2022-04-27 08:38:45 -07:00
Corey McKrill
d2c7e665f4
Remove outdated code comment
2022-04-27 09:47:08 -05:00
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
Luigi
98a91cd132
move logic to utils file
2022-04-27 12:11:27 +02: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
Luigi
650fe593a1
add changelog
2022-04-26 11:23:44 +02:00
Luigi
d4c540c561
Add Mini Cart Block Tracking
2022-04-26 11:08:54 +02: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
Mostafa Soufi
6e871a1386
Add support select2 for log_file dropdown
2022-04-24 23:34:10 +03:00
Caleb Stauffer
03c710221f
fix variable name
2022-04-23 15:59:48 -04:00
Caleb Stauffer
c785c29cd1
confirm query set before evaluating condition
...
fixes #30646
2022-04-23 15:59:04 -04:00
Yordan Soares
d394572378
Use the price decimal separator to format product weight and dimensions
2022-04-22 20:55:19 -04:00
barryhughes
664212b9df
Fix test.
2022-04-22 14:45:20 -07:00