Commit Graph

1802 Commits

Author SHA1 Message Date
Peter Fabian 224ea5d8af
Merge pull request #22776 from woocommerce/fix/orders-statuses-param-description
[REST API] Better description for order's status collection param
2019-03-04 14:14:04 +01:00
Claudio Sanches e131ba5358 Updated per feedback 2019-03-01 20:01:03 -03:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
Claudio Sanches 8c18367e57 [REST API] Better description for order's status collection param 2019-02-19 14:17:16 -03:00
Mike Jolley 07eadfeb72
Merge pull request #22760 from woocommerce/performance/webhook-loading
Performance: webhook loading
2019-02-19 09:58:06 +00:00
Mike Jolley 15bcef85e9
Merge pull request #21090 from woocommerce/fix/20937-v0.1
Added test if request is a REST API request so that cart is not loaded.
2019-02-19 09:54:48 +00:00
Peter Fabian d405c28bb7 Added back check for empty REQUEST_URI to authentication function, as it's still needed, the value is used further down. 2019-02-18 22:53:58 +01:00
Peter Fabian ba12cf723c Renamed filter and reused the function in auth code. 2019-02-18 18:54:56 +01:00
Mike Jolley 4fd2a9f77e Update from master 2019-02-18 15:04:58 +00:00
Mike Jolley 71d3121872 Performance: Support pagination to avoid double queries to search webhooks 2019-02-18 14:58:32 +00:00
Peter Fabian 6e24b85c6b Put back status parameter after extra processing.
This allows correct further processing of $request, e.g. for next/previous links, etc.
2019-02-14 17:03:53 +01:00
Mike Jolley 00b48febac Merge branch 'update/versioned-transients-alt' 2019-02-06 13:18:50 +00:00
Mike Jolley ea0e8155eb
Merge pull request #22553 from woocommerce/fix/22449
use `name` for POST/PUT category image name for consistency
2019-01-31 13:46:33 +00:00
Mike Jolley f7f2b99211
Merge pull request #22551 from princeahmed/master
Fix test get request
2019-01-31 13:11:03 +00:00
Mike Jolley 133d108bd8
Merge pull request #22269 from Prospress/fix/22247
convert user creation GMT datestamp to local datetime in API
2019-01-31 12:56:40 +00:00
Ron Rennick 60a6895eee php sniff fixes for class-wc-rest-product-categories-controller.php 2019-01-25 09:53:37 -04:00
Ron Rennick e73eabf679 use `name` for POST/PUT category image name for consistency in api V3 2019-01-24 15:38:45 -04:00
Prince Ahmed 78e4ef5f38
Fix test get request
During test Remote GET Request,
in the error checking area used $post_response instead of using $get_response.
2019-01-24 21:59:09 +06:00
Mike Jolley 00a93ae8f0
Merge pull request #22112 from Prospress/fix/22101
Introduce wc_attribute_taxonomy_slug()
2019-01-23 21:57:07 +00:00
Ron Rennick a6b1c45740 phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2019-01-23 11:13:25 -04:00
Ron Rennick 8709351994 update function name to `wc_attribute_taxonomy_slug` 2019-01-23 11:11:27 -04:00
Ron Rennick b868b484f7 fix merge conflicts 2019-01-23 10:53:42 -04:00
Refael Iliaguyev 8f0f22c11b Fix ssl check in case shop page does not exists. 2019-01-23 16:08:13 +02:00
Ron Rennick 8e12f9607d use WP standard datetime format for installs where timezone_string setting is not set 2019-01-22 15:47:56 -04:00
Mike Jolley 6367d19615 phpcs 2019-01-21 08:11:40 -08:00
Mike Jolley 944ece0fad
Merge pull request #22414 from woocommerce/update/22406
Add a fallback to cURL version check in system status
2019-01-21 15:00:35 +00:00
Mike Jolley e91f3b88f5
Merge pull request #22448 from woocommerce/fix/21580
Multisite - Load customer data for logged in users regardless of being member of sub-site
2019-01-21 14:21:21 +00:00
Mike Jolley c5da2dbcde Remove unrelated transient
wc_count_comments is completely unrelated to products. This can be moved to the transient cleanup tool, because code already exists to clear this cache when needed in WC_Comments.
2019-01-21 12:59:39 +00:00
Rodrigo Primo 29ff0b9b88 fix phpcs errors 2019-01-17 14:55:24 -02:00
Claudiu Lodromanean 3dee72eddc
Merge pull request #22452 from woocommerce/fix/21700
[REST API] Variations endpoint - Removed extra inherited filters from product endpoint
2019-01-16 09:41:40 -08:00
Claudio Sanches fbcbd55bf7 [REST API] Removed extra inherited filters from product endpoint
Closes #21700
2019-01-14 17:15:23 -02:00
Mike Jolley 4f4d7e6c9c API - Rather than error, add users to blog like the checkout does 2019-01-14 16:31:52 +00:00
Gerhard dc0f8fb696 PHPCS fixes 2019-01-14 09:41:24 +02:00
Gerhard 9d3053ce9a Check if WooCommerce is active on blog before running WooCommerce queries for the MS widget. 2019-01-14 09:40:04 +02:00
Gerhard 11b9f49d18 Add a fallback to cURL version check in system status so it still shows if cURL is installed when the version function is disabled by the host. 2019-01-11 10:38:21 +02:00
Ron Rennick 7657783409 use DateTime function instead of implicit toString 2019-01-10 16:21:43 -04:00
Mike Jolley 9644241cef update from master 2019-01-08 14:51:05 +00:00
Claudiu Lodromanean 99da8f4aa4
Merge pull request #22026 from Prospress/fix/21743
fix `0` value attribute permalink, property in REST api
2019-01-04 09:35:34 -08:00
Ron Rennick d1d2c89ca9 convert user creation GMT datestamp to local datetime in API 2018-12-19 13:20:15 -04:00
Gerhard 4daafd28e4 v2 API should also use wc_get_webhook_statuses for the enum in the schema status 2018-12-14 08:08:56 +02:00
Ron Rennick aba43ae6de phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2018-12-13 16:04:53 -04:00
Gerhard ac9b588147 Remove status check from schema, do checks when updating. Define status schema enum using the wc_get_webhook_statuses method. 2018-12-13 13:05:50 +02:00
Gerhard 1ac267992d Add new wc_is_webhook_valid_status and use that for the schema check in the API. 2018-12-12 10:21:59 +02:00
Justin Shreve 379f257e3d Load the correct class for settings options 2018-12-04 11:20:34 -05:00
Ron Rennick c1ad273a03 replace all remaining str_replace( 'pa_', ... with wc_attribute_taxonomy_name_raw(...) 2018-12-03 11:32:33 -04:00
Ron Rennick dc0aeb0553 phpcs sniff fixes, `wc_attribute_taxonomy_name_raw()` for class-wc-rest-products-v2-controller.php 2018-12-03 11:32:19 -04:00
claudiulodro 5d0d275bec Remove duplicate sanitizing 2018-11-30 08:49:43 -08:00
claudiulodro 2bccd4899a Revise to make code cleaner 2018-11-30 08:49:43 -08:00
claudiulodro d1533261f5 Extra sanitizing around payment_method_title 2018-11-30 08:49:43 -08:00
Claudiu Lodromanean 7049cd28e9
Merge pull request #22057 from leewillis77/status-report-plugin-fix
"Active plugins" fix for status report
2018-11-28 11:09:26 -08:00