Commit Graph

40306 Commits

Author SHA1 Message Date
Tom Cafferkey 3047603e2b Updated has_block_template to have type casting, added a block comment to the filter and updated filter prefix to use woocommerce_ 2021-10-29 13:02:23 +01:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00
Peter Fabian bc25115549
Merge pull request #31034 from woocommerce/tweak/readme-verbiage
Spotfix a few typos
2021-10-28 14:38:37 +02:00
Néstor Soriano 2d405cc8c1
Merge pull request #30901 from woocommerce/fix/30594-api-key-description-length
Fix Description Length Preventing REST API Key Creation
2021-10-27 11:10:24 +02:00
Néstor Soriano 59ab939282
Merge pull request #30935 from EvanHerman/trunk
Update locale-info.php
2021-10-27 09:57:44 +02:00
Néstor Soriano 33715a6d96
Merge pull request #30950 from woocommerce/add/enhance-unit-test-documentation
Add troubleshooting section to running unit test section
2021-10-27 09:22:58 +02:00
Nestor Soriano 14ebad52a6
Add "Troubleshooting" to the ToC in the unit tests README. 2021-10-27 09:20:33 +02:00
Barry Hughes 03903d36a6
Spotfix a few typos 2021-10-26 13:04:44 -07:00
Greg 5b6e764516
Merge pull request #31006 from woocommerce/add/api-test-crud-products
Add API tests for creating, retrieving, updating, and deleting products
2021-10-26 10:27:23 -06:00
Rodel ec6f839ee2 Added tests for batch update products 2021-10-26 18:14:57 +08:00
Rodel 817db0aa14 Minor doc update 2021-10-26 18:14:36 +08:00
Rodel 751dc5da1f Data file for products CRUD tests 2021-10-26 16:27:20 +08:00
Rodel 054183cb5a Renamed data file for product-list tests 2021-10-26 15:40:00 +08:00
Rodel 04d6e7acdb Minor test suite name change 2021-10-25 20:03:46 +08:00
Rodel 9104089b01 Split products tests 2021-10-25 20:02:17 +08:00
And Finally 717317142a Restored support for price suffix in in-app marketplace product card, allowing prices per month. This was added in https://github.com/woocommerce/woocommerce/pull/30840, but was accidentally omitted when we fixed conflicts. 2021-10-25 12:55:05 +01:00
Rodel f44f62c385 Merge branch 'trunk' into add/api-test-crud-products 2021-10-25 18:02:46 +08:00
Greg 8dac5b9a9d Added cleanup for product tags, attributes, and categories 2021-10-22 15:35:29 -06:00
Greg 3579e151e1 Run API tests first 2021-10-21 16:07:34 -06:00
Greg 7f904a7d91
Merge pull request #30982 from woocommerce/add/api-test-refunds
Add Core API tests for Refunds API
2021-10-21 11:29:44 -06:00
Barry Hughes c6bdff0d59
Merge pull request #30957 from drjamesj/fix/30400_double_negative_refund_values
Fixes #30400 by multiplying refund values by -1
2021-10-21 09:43:24 -07:00
Greg fd7251a780 Add in secrets 2021-10-21 10:28:52 -06:00
Greg 1373848fd8 Run API tests on PR with e2e tests 2021-10-21 09:55:48 -06:00
Evan Herman 4353eaa73e Update locale-info.php
Revert changes in 9d06c74339?branch=9d06c74339c2ae190b40acc7f0aef38a53140e94&diff=unified#diff-122b62121f7a3deb664f05d12fb2af1c40cf819712b5f2db935017ce4a4c45cbR11
2021-10-21 10:52:01 -04:00
Rodel ea69de368c Added changelog entry 2021-10-21 16:59:43 +08:00
Rodel e6a009e598 Corrected changelog format 2021-10-21 16:58:58 +08:00
Rodel c08358ff48 Corrected Changelog entry 2021-10-21 16:58:48 +08:00
Rodel f5cec2b920 Added changelog entry 2021-10-21 16:58:29 +08:00
Rodel a309b4af2c Added test for variable product 2021-10-21 16:33:09 +08:00
Rodel 8c6252996d Added test for virtual product 2021-10-21 15:00:58 +08:00
Rodel cdebd25895 Corrected changelog format 2021-10-21 14:21:47 +08:00
Rodel 91e570b89b Corrected Changelog entry 2021-10-21 14:09:27 +08:00
Rodel 919f41fed3 Remove unneccessary import 2021-10-21 14:08:47 +08:00
James eb579c814c Fixes #30400 by multiplying refund values by -1 2021-10-20 18:13:06 +02:00
Tom Cafferkey b4526429cb Update has_block_template function to use a filter 2021-10-20 15:44:16 +01:00
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 889022597d Merge branch 'fix/30594-api-key-description-length' of github.com:woocommerce/woocommerce into fix/30594-api-key-description-length 2021-10-20 08:38:03 -04: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
Niels Lange ebd37e462f Move additional information out of the source code block 2021-10-20 18:24:23 +07:00