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
Jeff Stieler
43b770ce1f
Fix orderby slug and include parameters.
2021-10-20 16:28:55 +05:30
Rodel
34eb9549dc
Added tests for simple product
2021-10-20 17:50:08 +08:00
dnwjn
2102148c4a
Add filter for refund restock note
...
This implements a filter that allows for editing the refund restock note.
2021-10-20 11:11:54 +02:00
Rodel
b415f103fb
Merge branch 'trunk' into add/api-test-refunds
2021-10-20 13:39:30 +08:00
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
louwie17
7a1a6cda06
Check if onboarding is defined before finding themes ( https://github.com/woocommerce/woocommerce-admin/pull/7818 )
2021-10-19 15:00:54 -03:00
Ron Rennick
37c7de4422
add phpdoc block with gist reference to woocommerce_package_rates filter
2021-10-19 13:15:43 -03:00
Rodel
caf0a818df
Added changelog entry
2021-10-19 20:35:18 +08:00
Rodel
515b073834
Added tests for Refunds API
2021-10-19 20:34:43 +08:00
Joshua T Flowers
1004dfddad
Add method to check for install status ( https://github.com/woocommerce/woocommerce-admin/pull/7808 )
...
* Add method to check for install status
* Add changelog entry
* Add PR number to changelog
2021-10-19 08:15:45 -04:00
Niels Lange
7b88cb09a1
Add troubleshooting section to running unit test section
2021-10-19 17:45:14 +07:00
Jeff Stieler
3e5e9e8eda
Add test case for API key admin ajax error visibility.
2021-10-19 12:33:20 +02:00
Jeff Stieler
4975a5ea21
Avoid reporting success when API key insertion fails.
2021-10-19 12:33:20 +02:00
Jeff Stieler
68f1b12797
Limit API key description field to 200 characters.
2021-10-19 12:33:20 +02:00
Jeff Stieler
7a68bc5ff7
Ensure that API key descriptions are truncated over the REST API.
2021-10-19 12:33:19 +02: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
louwie17
f16039684f
Tests for task list components ( https://github.com/woocommerce/woocommerce-admin/pull/7757 )
...
* Added first set of task-list tests
* Fix event prefix and add two extra task list tests
* Add test for task list item
* Update package to allow tests with slotfill to work
* Add tests for Task component
* Add tasks tests
* Revert package.json changes
* Update prefixEvent function and revert package.json changes
* Remove class additions to body tag
* Add missing styles to tasks container as well
2021-10-15 16:56:17 -03:00
Tam Mullen
1c63425ad6
Updated URLs in issue form templates
2021-10-15 20:13:12 +01: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
louwie17
d644e1f161
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7803 )
2021-10-15 09:19:19 -03:00