Commit Graph

1378 Commits

Author SHA1 Message Date
Mike Jolley 8b4ce8460a Merge pull request #13757 from woocommerce/fix/rest-api/shipping-zones-methods-schema
[REST API] Properly handle required items of shipping zone methods
2017-03-24 10:39:23 +00:00
Mike Jolley 9af295d618 Merge pull request #13753 from woocommerce/fix/rest-api-shipping-zones-schema
[REST API] Fixed shipping zones schema
2017-03-24 10:38:51 +00:00
Mike Jolley a9f3f9b82c Merge pull request #13758 from woocommerce/fix/rest-api-system-status-schema
[REST API] System status schema fixes
2017-03-24 10:34:11 +00:00
Mike Jolley af8e892f97 Merge pull request #13759 from woocommerce/fix/rest-api-settings-links
[REST API] Fixed links of settings endpoint
2017-03-24 10:33:16 +00:00
Mike Jolley 803786ceeb Merge pull request #13755 from woocommerce/fix/shipping-zone-locations-schema
[REST API] Fixed shipping zone locations schema
2017-03-24 10:27:52 +00:00
Mike Jolley 285a49b7e0 Merge pull request #13747 from woocommerce/fix/rest-api-settings-schema
[REST API] Fixed settings schema.
2017-03-24 10:26:59 +00:00
Claudio Sanches 7381b008e0 [REST API] Fixed links for settings endpoint
Do not allow embed and updated the key to reflect the items from the endpoint response
2017-03-24 01:56:50 -03:00
Claudio Sanches 00b9f636a8 Fixed description of items in system status schema 2017-03-24 00:48:41 -03:00
Claudio Sanches bfbd45cf85 [REST API] System status schema items are all view context only 2017-03-24 00:43:46 -03:00
Claudio Sanches 5cc246b5cb [REST API] All items from system status endpoint should be readonly 2017-03-24 00:41:39 -03:00
Claudio Sanches 3ca1d946d9 [REST API] Properly handle required items of shipping zone methods 2017-03-23 22:19:16 -03:00
Claudio Sanches 7a671ab8a5 [REST API] Fixed shipping zone locations schema
This also fix improper sanitization and validation of the items.
2017-03-23 21:44:46 -03:00
Claudio Sanches 8f3f313eff Fixed coding standards 2017-03-23 20:56:02 -03:00
Claudio Sanches 85494e5d86 [REST API] Fixed shipping zones schema
"name" is only required while creating a new zone.
"order" do request to define "required" and is already sanitized by
"integer" type.
2017-03-23 20:51:21 -03:00
Claudio Sanches b1023c23c6 Fixed setting options endpoint tests 2017-03-23 20:45:22 -03:00
Claudio Sanches c24882f5d2 Apply change on rest_base to WC_REST_Setting_Options_Controller methods 2017-03-23 20:05:19 -03:00
Claudio Sanches fb80482d73 Fixed rest_base 2017-03-23 19:56:56 -03:00
Claudio Sanches 0a7076744e [REST API] Fixed settings/options rest_base 2017-03-23 19:52:35 -03:00
Claudio Sanches 39e1fd9fc3 Merge pull request #13745 from woocommerce/fix/rest-api-name-convention
[REST API] Fixed file name convention
2017-03-23 19:50:51 -03:00
Claudio Sanches 94cb95c000 Merge pull request #13746 from woocommerce/fix/rest-api-shipping-methods-schema
[REST API] All items in shipping_methods endpoint are readonly
2017-03-23 19:50:39 -03:00
Claudio Sanches e33235ebf3 [REST API] Fixed settings schema.
Included context and readonly for all items.

And removed sanitize_callback used only in write context
2017-03-23 18:15:30 -03:00
Claudio Sanches f65cbdbfa4 [REST API] All items in shipping_methods endpoint are readonly 2017-03-23 17:59:50 -03:00
Claudio Sanches 44319e20f7 [REST API] Fixed file name convention 2017-03-23 17:48:37 -03:00
Claudio Sanches b8faa2197c [REST API] Fixed default_attributes in legacy REST API 2017-03-23 17:23:12 -03:00
Claudio Sanches 8371882002 [REST API] Fixed a minor bug that prevents saving default_attributes 2017-03-23 17:19:07 -03:00
Mike Jolley 8a9e55ed33 Merge pull request #13730 from woocommerce/rest-api-fix-variations-image-object
[REST API] Handle variation image as object and not array
2017-03-23 11:05:17 +00:00
Mike Jolley b334af4544 Merge pull request #13732 from woocommerce/rest-api-fix-context
[REST API] Fixed context from items in schema
2017-03-23 11:04:50 +00:00
Claudio Sanches 6bc29aa77f [REST API] Removed deprecated download_type from products v2 2017-03-23 02:32:47 -03:00
Claudio Sanches 1072bea460 [REST API] Fixed variations context for products v2 2017-03-23 02:29:06 -03:00
Claudio Sanches 7dfd62ecfc [REST API] Fixed download_type context for products v1 2017-03-23 02:28:21 -03:00
Claudio Sanches 39ed5c00cf [REST API] Fixed refunded_by context in order refunds 2017-03-23 02:27:32 -03:00
Claudio Sanches 5a85e6a6f8 [REST API] Handle variation image as object and not array 2017-03-23 00:38:52 -03:00
Mike Jolley 8efb45312d Merge pull request #13726 from woocommerce/rest-api-product-review-gmt
[REST API] Fixed timezone date and included GMT date to product reviews
2017-03-22 21:51:34 +00:00
Mike Jolley 7afb1bb427 Merge pull request #13727 from woocommerce/rest-api-webhooks-gmt
[REST API] Fixed dates and included GMT dates in webhook endpoints for v2
2017-03-22 21:50:56 +00:00
Mike Jolley 21b1a83624 Merge pull request #13725 from woocommerce/rest-api-product-images-dates
[REST API] Include GMT dates for images in schema
2017-03-22 21:44:32 +00:00
Claudio Sanches c074c9d57b [REST API] Fixed date and included GMT dates to webhooks 2017-03-22 18:36:15 -03:00
Claudio Sanches 7f8c4b18e1 [REST API] Fixed date and included GMT date for webhook deliveries 2017-03-22 18:34:10 -03:00
Claudio Sanches 73f7a39d09 [REST API] Fixed timezone date and included GMT date to product reviews 2017-03-22 18:28:57 -03:00
Claudio Sanches 0f5e6373e4 [REST API] Include GMT dates for images in schema 2017-03-22 18:23:41 -03:00
Claudio Sanches dbd2409e03 [REST API] Added timezone and GMT dates in category image 2017-03-22 18:17:53 -03:00
Mike Jolley a876862bfb Merge pull request #13693 from woocommerce/orders-refunds-fix-schema
Include missing api_refund item to order refunds schema
2017-03-22 15:21:37 +00:00
Mike Jolley b55f59e975 Merge pull request #13694 from woocommerce/fix-missing-settings-schema
Include missing payment gateways and shippingmethods settings schema
2017-03-22 15:21:27 +00:00
Mike Jolley 64905a4d5e Merge pull request #13692 from woocommerce/order-notes-dates
Include date_created_gmt in order notes endpoint
2017-03-22 15:21:19 +00:00
Claudio Sanches 7f7fbcbb5d Improve order notes schema 2017-03-22 10:53:59 -03:00
Claudio Sanches 8184757e8a Improved descrition of items in schema 2017-03-22 10:51:52 -03:00
Claudio Sanches 7485b418d7 Improve api_refund description 2017-03-22 10:39:23 -03:00
Mike Jolley 795e6871c0 Merge pull request #13691 from woocommerce/fix-address-labels
Improve address labels to help translations
2017-03-21 21:28:16 +00:00
Claudio Sanches be8ec903b5 Include missing payment gateways and shippingmethods settings schema 2017-03-21 17:47:28 -03:00
Claudio Sanches d2e1565f97 Fixed undefined variables in payment methods endpoint 2017-03-21 17:34:16 -03:00
Claudio Sanches 3b1da48c8d Fixed type 2017-03-21 17:07:01 -03:00