Commit Graph

39804 Commits

Author SHA1 Message Date
Barry Hughes fa0464930c
Merge pull request #30960 from woocommerce/fix/27103-rate-limiter
Store WC_Rate_Limit Entries in a Custom Table
2021-10-20 07:10:20 -07:00
Peter Fabian 75dbec00fd
Merge pull request #30987 from woocommerce/fix/27793
add phpdoc block with gist reference to woocommerce_package_rates filter
2021-10-20 15:43:18 +02:00
Jeff Stieler 5aee007892 Clear rate limit cleanup job on uninstall. 2021-10-20 08:27:00 -04:00
Jeff Stieler 5d182ee71a Put cleanup hook attachment in an init method. 2021-10-20 08:26:59 -04:00
Jeff Stieler befa2b0a95 Add test case for options migration. 2021-10-20 08:26:58 -04:00
Jeff Stieler a255f4b18e Use substr instead of str_replace. 2021-10-20 08:26:56 -04:00
Jeff Stieler 6715fb5a9b Save 2 seconds on test execution by reducing sleep() time. 2021-10-20 08:26:55 -04:00
Jeff Stieler 20614cfdcb Add rate limiter test case for cache misses. 2021-10-20 08:26:52 -04:00
Jeff Stieler f218571fec Add daily cleanup of expired rate limits. 2021-10-20 08:26:51 -04:00
Jeff Stieler a8b4f83c9c Cache rate limit values. 2021-10-20 08:26:49 -04:00
Jeff Stieler 070dc4fcd1 Migrate rate limit options on DB update. 2021-10-20 08:26:47 -04:00
Jeff Stieler 39d3de1d41 Use a new table for storing rate limits. 2021-10-20 08:26:45 -04:00
Vedanshu Jain 8d312150fe
Merge pull request #30873 from woocommerce/fix/30354-products-endpoint-orderby
Fix Products Endpoint orderby parameter - slug and include
2021-10-20 17:08:38 +05:30
Jeff Stieler 43b770ce1f Fix orderby slug and include parameters. 2021-10-20 16:28:55 +05:30
Greg c99af9f33e
Merge pull request #30979 from woocommerce/add/api-test-coupons-2
Added tests for coupons api
2021-10-19 15:51:07 -06:00
Ron Rennick 37c7de4422 add phpdoc block with gist reference to woocommerce_package_rates filter 2021-10-19 13:15:43 -03:00
Néstor Soriano 75c341494c
Merge pull request #30958 from woocommerce/fix/28072
Warn users of shipping rates to test for existence of meta_data correctly.
2021-10-19 12:32:24 +02:00
Peter Fabian 7a6c320fcc
Make the message more clear. 2021-10-19 11:45:42 +02:00
Peter Fabian 4ea28030f2
Warn users of shipping rates to test for existence of meta_data correctly.
As per the info in the issue itself, using `isset()` gives incorrect result all the time, so warn developers about the problem.
2021-10-19 11:45:42 +02:00
Rodel b3410791e5 Added changelog entry 2021-10-19 15:20:39 +08:00
Rodel ce3bb3dc4c Added tests for coupons api 2021-10-19 15:09:48 +08:00
Christopher Allford 3611d46437
Merge pull request #30945 from woocommerce/monorepo
Change WooCommerce Repository Into Monorepo
2021-10-18 15:16:26 -07:00
Paul Sealock ffa595ac40 add working directory path to build workflow 2021-10-19 10:46:11 +13:00
roykho 27127ea1fc Fix directory path for CI workflow 2021-10-19 10:35:47 +13:00
roykho d82b422f37 Add default directory to unit tests 2021-10-19 10:35:46 +13:00
roykho 2193082c01 Add default working directory 2021-10-19 10:35:46 +13:00
roykho 0b3a8a0557 Move phpunit.xml into plugins/woocommerce structure 2021-10-19 10:35:46 +13:00
roykho e01ac7f1fb Add default path to work with 2021-10-19 10:35:46 +13:00
roykho 309468ff19 Add more paths for more steps 2021-10-19 10:35:46 +13:00
roykho 54e922a07b Update workflow code coverage path 2021-10-19 10:35:46 +13:00
Paul Sealock 926685448e JS formatting files 2021-10-19 10:35:46 +13:00
Paul Sealock a837deea64 Add wp-env 2021-10-19 10:35:46 +13:00
Paul Sealock ef015f740f git mv a few folders 2021-10-19 10:35:45 +13:00
jonathansadowski 37205ff4e0
Merge pull request #30931 from woocommerce/fix/missing-wc-ajax-callbacks
Remove defunct AJAX event names.
2021-10-15 13:11:55 -05:00
Ron Rennick 7486c0540a
Merge pull request #30942 from woocommerce/fix/update-api-tests-package-lock
Update package lock files for API core tests to use Jest 25 instead of 27
2021-10-15 11:36:33 -03:00
Peter Fabian 56b3c26780
Merge pull request #30934 from lukecav/trunk
Update readme.txt related to WooCommerce Payments.
2021-10-15 12:36:09 +02:00
Peter Fabian 60496c4b45
Merge pull request #30947 from woocommerce/preparation/5.9-beta
Release preparation: 5.9-beta.1
2021-10-15 11:28:04 +02:00
Peter Fabian 1b354328ff
Merge pull request #30928 from woocommerce/fix/30431
Fix return type documentation.
2021-10-15 10:52:29 +02:00
Peter Fabian 7c1134b061
Merge pull request #30930 from woocommerce/update/blocks-to-6.1.0
Update WooCommerce Blocks to 6.1.0
2021-10-15 10:46:35 +02:00
Peter Fabian 8c50b848d0
Merge branch 'trunk' into update/blocks-to-6.1.0 2021-10-15 10:30:50 +02:00
Peter Fabian cc1ced426f Merging WC Admin bump from trunk to resolve composer conflict. 2021-10-15 10:28:59 +02:00
Peter Fabian 91bba72e58
Merge pull request #30951 from woocommerce/update/woocommerce-admin-2.8.0-rc.1
Bump WooCommerce Admin version to 2.8.0-rc.2
2021-10-15 10:19:54 +02:00
Peter Fabian 19dea4df17
Merge branch 'trunk' into update/woocommerce-admin-2.8.0-rc.1 2021-10-15 09:59:28 +02:00
Nestor Soriano 93ebea27d0
Add changelog entries for Admin and Blocks 2021-10-15 09:57:25 +02:00
Nestor Soriano 366559a169
Add changelog/readme entries for Woo 5.9 (Woo core only) 2021-10-15 09:43:08 +02:00
Néstor Soriano d5b874a7fe
Merge pull request #30900 from woocommerce/update/marketplace-featured-page
Revamp Featured page in WooCommerce Marketplace
2021-10-15 09:22:19 +02:00
Matt Sherman 3b6df40cd9 Bump WooCommerce Admin version to 2.8.0-rc.2 2021-10-14 20:54:02 -04:00
Greg ac17d600f4 Use err response status 2021-10-14 17:17:50 -06:00
Greg 684706f857 Revert telemtry test changes 2021-10-14 17:03:41 -06:00
Greg cccf81edf7 Update telemetry test 2021-10-14 16:11:59 -06:00