Commit Graph

1410 Commits

Author SHA1 Message Date
Mike Jolley f8781b9552 Decrease paypal request timeout so failed requests to not take too long
Closes #14546
2017-04-20 15:45:52 +01:00
Claudio Sanches 60b3e3c123 [REST API] Fixed v1 order shipping taxes
Fixes #14518
2017-04-20 00:37:27 -03:00
Mike Jolley be96e8c8a1 Merge pull request #14506 from woocommerce/fix/14496
Prevent nonce check outside admin when calculating for reports
2017-04-19 15:05:31 +01:00
Claudio Sanches f318ce935c [REST API] Fixed ignored parameters when changing status
Prevent override saved data when updating order status.

Fixes #14359
2017-04-18 21:15:24 -03:00
Claudio Sanches 2da71bd7fb Prevent nonce check outside admin when calculating for reports
Fix all REST API reports endpoints.

Fixes #14496
2017-04-18 20:33:25 -03:00
Claudio Sanches 81dcd6e79e Fixed docblocks in REST API v1 for #14416 2017-04-18 13:40:10 -03:00
Tim Elsass 02de1cc60b Fixing grammar error in msg fixes #14319 2017-04-12 17:03:39 -04:00
Mike Jolley d81493cc52 Merge pull request #14229 from woocommerce/fix/14184
[REST API] Fixed line_items meta type to array on legacy REST API
2017-04-11 10:32:17 +01:00
Claudio Sanches 4a5a93f629 Merge pull request #14107 from woocommerce/fix/rest-api-legacy-v3-variations
[REST API] Fixed missing $variations variable in legacy v3
2017-04-10 20:19:43 -03:00
Claudio Sanches 5c92f9141b [REST API] Fixed line_items meta type to array on legacy REST API
Closes #14184
2017-04-10 19:57:35 -03:00
Mike Jolley 7d5efe4b78 Add product visibility terms to system status report to help debug
Closes #14147
2017-04-10 15:51:14 +01:00
Mike Jolley 84c96046f0 Check objects are not false/null 2017-04-07 16:01:51 +01:00
Claudio Sanches 8de0bb0a46 [REST API] Fixed missing $variations variable in legacy v3 2017-04-07 10:31:28 -03:00
Claudio Sanches fc9ba64e50 Properly format variation description in REST API v2 2017-04-06 13:02:51 -03:00
Claudio Sanches f3156fb5f4 Merge pull request #13981 from woocommerce/fix/13936
[REST API] Fixed attributes while trying to save variations
2017-04-06 11:38:23 -03:00
Mike Jolley eea6867ac9 Allow variation image to be unset
@claudiosanches is this correct way?

Fixes #14008
2017-04-06 10:41:09 +01:00
Claudio Sanches 4bb2c070ae Merge pull request #13900 from woocommerce/fix/rest-api-remove-extra-taxes-params
[REST API] Removed extra taxes params.
2017-04-05 21:18:09 -03:00
Claudio Sanches 87199d0627 [REST API] Fixed attributes while trying to save variations
Closes #13936
2017-04-05 17:03:05 -03:00
Claudio Sanches 67274e8c2c Make sure that ID exists 2017-04-05 14:23:50 -03:00
Mike Jolley 811d59feec Fallback to home URL if no shop page is set for system status security check.
Fixes #13921
2017-04-05 10:03:41 +01:00
Claudio Sanches c88941a424 Removed extra taxes params.
Search, include and exclude are not handled by the REST API.
2017-04-04 14:54:01 -03:00
Mike Jolley 31cd2dcb90 Merge pull request #13853 from woocommerce/crud-security-hardening
CRUD security/hardening
2017-04-03 11:09:38 +01:00
Mike Jolley da86e02331 Merge pull request #13872 from woocommerce/fix/missing-rest-api-v2-webhooks-settings
Include missing REST API v2 from webhooks options.
2017-04-03 09:51:31 +01:00
Claudio Sanches 984edf07d2 Missing period 2017-04-02 03:27:58 -03:00
Claudio Sanches 5b51b915f6 Fixed a typo 2017-04-02 03:24:52 -03:00
Claudio Sanches 4922e17876 Include missing REST API v2 from webhooks options. 2017-04-02 03:07:09 -03:00
Mike Jolley 14802a0307 Remove double unserialization 2017-03-31 12:10:20 +01:00
Claudio Sanches be8036869e [REST API] Ignore 0 category while querying products 2017-03-30 13:43:59 -03:00
Claudio Sanches afccb22f58 [REST API] Fixed all products v1 query parameters 2017-03-28 14:44:11 -03:00
Claudio Sanches 54c353d67f [REST API] Fixed taxonomies query arguments.
Fixed the follow error:

PHP Warning: explode() expects parameter 2 to be string, array given in
includes/api/v1/class-wc-rest-products-controller.php on line 156

Error caused since terms are sanitized by wp_parse_id_list() that
already creates an array.

Closes #13790
2017-03-28 14:34:41 -03:00
Mike Jolley ca8fafdd36 Hide enabled/description 2017-03-24 13:27:47 +00:00
Mike Jolley 53a7d54253 Update settings once 2017-03-24 13:22:09 +00:00
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