Commit Graph

1767 Commits

Author SHA1 Message Date
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
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
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
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
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
Lee Willis 6f24d5b283 Coding standard fix 2018-11-27 12:05:10 +00:00
Lee Willis 0079312e1c Remove erroneous "break" 2018-11-27 11:20:27 +00:00
Ron Rennick 45370d3e61 fix `0` value attribute permalink calculation, property population in REST api 2018-11-23 11:13:25 -04:00
Claudio Sanches 6a21ec401c Fixed coding standards 2018-11-21 16:12:35 -02:00
Claudio Sanches fa8ec35006 Fixed REST API authentication when using 3rd party auth methods
Closes #21789
2018-11-21 16:10:36 -02:00
Claudiu Lodromanean 0f72b5b6b1
Merge pull request #21923 from woocommerce/add/db-upgrade-tools
Update database tools option
2018-11-15 10:02:14 -08:00
Claudiu Lodromanean 9fab802ff3
Merge pull request #21706 from nishitlangaliya/issue-21657
fix: Various 'Table does not exist' in WooCommerce status
2018-11-15 09:12:51 -08:00
Gerhard 6a2b511731 Change wording to update instead of upgrade. 2018-11-15 12:10:17 +02:00
Gerhard 051fb5be36 Add a Upgrade database option to the tools tab. If clicked it will do a forced DB upgrade. 2018-11-15 12:03:12 +02:00
Claudio Sanches 8c908b178e Fixed permission check on customers endpoint for legacy REST API 2018-11-02 10:21:08 -07:00
Claudio Sanches fff05e9434 Included sanitization for product's description on legacy REST API 2018-11-02 10:20:55 -07:00
Claudiu Lodromanean f973d0bed2
Merge pull request #21745 from woocommerce/fix/21697
Make easy to register new REST API versions into webhooks
2018-10-31 08:51:24 -07:00
Claudiu Lodromanean 73c8c99607
Merge pull request #21740 from woocommerce/revert/17895
Revert PR #17895
2018-10-31 08:50:51 -07:00
Claudiu Lodromanean aa8caacf9c
Merge pull request #21675 from woocommerce/fix/21660
Removed non-existing WC_Product_Simple->set_date_created_gmt method
2018-10-30 10:47:02 -07:00
nishitlangaliya e7b9056c58 fix: global table included along with multisite tables 2018-10-30 20:50:09 +05:30
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Rodrigo Primo 86650d9fb8 Revert "Update WC API v1 and v2 to use post_author instead of _customer_user"
This reverts commit fdfe95b07e.
2018-10-29 11:14:24 -03:00
nishitlangaliya e275bf2b1d fix: Various 'Table does not exist' in WooCommerce status 2018-10-27 11:20:21 -08:00
Claudio Sanches 2be69a90a6 Reduce number of duplicated strings 2018-10-26 20:08:24 -03:00
Claudio Sanches 47a6c32d5c Remove duplicated string in reviews endpoint 2018-10-26 19:31:03 -03:00
Claudiu Lodromanean f311ad0d12
Merge pull request #21608 from woocommerce/use-crud-instead-of-has-post-thumbnail
Use $product->get_image_id() instead of has_post_thumbnail()
2018-10-25 11:51:11 -07:00
Claudio Sanches 53fa49b13a Removed non-existing WC_Product_Simple->set_date_created_gmt method
Closes #21660
2018-10-25 13:12:40 -03:00
Claudiu Lodromanean 6ebdffd615
Merge pull request #21617 from itowhid06/master
[REST API] pass missing $filter as parameter in legacy get_order_refund endpoints
2018-10-22 09:40:26 -07:00
Towhidul Islam b68cef2062 [REST API] pass missing $filter as parameter in get_order_refund 2018-10-19 20:41:20 +06:00
Claudio Sanches bd37853923 Improved review and reviewer_email 2018-10-18 18:53:16 -03:00
Claudio Sanches f3fdcd2ec0 Fixed order or collection params 2018-10-18 18:17:15 -03:00
Claudio Sanches 17a80c863e [REST API] Fixed product reviews schema and content 2018-10-18 18:13:21 -03:00
Claudio Sanches d987fb95b9 [REST API] Register data endpoints 2018-10-18 16:04:54 -03:00
Rodrigo Primo 9b094fc74d Use $product->get_image_id() instead of has_post_thumbnail()
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032 and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Claudiu Lodromanean 8c6b7032c6
Merge pull request #21596 from woocommerce/fix/rest-api-v3-producs-schema
[REST API] Fixed schema stock_status on products endpoints
2018-10-17 08:25:12 -07:00
Claudiu Lodromanean 5ca9600a23
Merge pull request #21595 from woocommerce/fix/rest-api-v3-trashed-orders
[REST API] Ability to query orders from trash bin
2018-10-17 08:24:06 -07:00
Claudiu Lodromanean 6f32369144
Merge pull request #21594 from woocommerce/fix/rest-api-v3-order-refunds-schema
[REST API] Fixed schema for refunded_payment in order refunds endpoint
2018-10-17 08:11:16 -07:00
Claudio Sanches 2bcd4598f8 Fixed coding standards 2018-10-16 21:15:03 -03:00
Claudio Sanches a9b36a4e23 [REST API] Fixed schema stock_status on products endpoints 2018-10-16 21:12:49 -03:00
Claudio Sanches c6daf8287d [REST API] Ability to query orders from trash bin 2018-10-16 20:19:34 -03:00