Commit Graph

1584 Commits

Author SHA1 Message Date
Mike Jolley 5feed3e0cc Merge branch 'master' into update/add-ext-object-cache-to-system-status 2018-02-19 14:39:31 +00:00
Mike Jolley 68238938e4 Adds back get_item so you can get a single Webhook
Closes #19015
2018-02-19 11:56:57 +00:00
Mike Jolley d841cf3f27 Conditionally add messages in customiser 2018-02-14 17:25:52 +00:00
Mike Jolley 7ae0f6c274 Hide status button when disabled via filter 2018-02-14 17:00:43 +00:00
Mike Jolley 66e65cf7bf Disable image regen if photon is being used. 2018-02-14 11:38:18 +00:00
Gerhard Potgieter 1961076bf7 Update tools message for image reneneration. 2018-02-14 10:38:59 +02:00
Mike Jolley 52853e9c23 typo 2018-02-13 13:59:54 +00:00
Mike Jolley e39b6950a8 Notice when regeneration is happening 2018-02-13 12:02:24 +00:00
Mike Jolley 3c7262112e Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling 2018-02-13 11:18:43 +00:00
Gerhard Potgieter 794272a732 Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes. 2018-02-13 09:55:50 +02:00
Mike Jolley bdd4898946 Set status after order is created/updated. 2018-02-12 11:56:48 +00:00
Claudio Sanches 9c39dd34cc Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget 2018-02-02 14:46:51 -02:00
Claudio Sanches 0755038e8d
Merge pull request #18505 from liquidweb/feature/post-system-status-tool-hook
Add a hook after executing a REST system status tool
2018-02-02 14:19:03 -02:00
Mike Jolley a370a4c12a
Merge pull request #18693 from woocommerce/fix/18692
Webhooks API error checking
2018-01-31 14:53:49 +00:00
Rodrigo Primo 211ec9b896 phpcs fixes 2018-01-31 11:22:33 -02:00
Mike Jolley b230d6be4c Error checking 2018-01-31 10:40:06 +00:00
Gerhard Potgieter a0b89fdda3 PHPCS fixes 2018-01-31 08:07:27 +02:00
Gerhard Potgieter 6a7f00ce89 Fix grammer 2018-01-31 08:06:51 +02:00
Claudio Sanches e6597cd351 Fixed coding standards 2018-01-30 15:05:25 -02:00
Claudio Sanches 05a80e2d4f [REST API] Fixed typos on products schema 2018-01-30 15:03:01 -02:00
Rodrigo Primo 2feacfb47a Display whether or not external object cache is enabled
This commit adds a new line to the section "WordPress environment" of the system status page to indicate whether or not WP external object cache is enabled.
2018-01-29 15:56:01 -02:00
Rodrigo Primo a15ecc1601 Automatically fix coding standard violations using phpcbf 2018-01-29 15:53:54 -02:00
Claudio Sanches 47883d89ab Coding standards 2018-01-25 14:04:11 -02:00
Claudio Sanches e8b8e87cae [REST API] Refund line items are read-only
Closes #18573
2018-01-25 14:02:31 -02:00
Steve Grunwell 4d6a0ecb82 Merge branch 'master' into feature/post-system-status-tool-hook 2018-01-18 21:54:47 +00:00
Steve Grunwell 90c1a310f1 For consistency with the other endpoints, rename the 'woocommerce_rest_system_status_tool_executed' hook to 'woocommerce_rest_insert_system_status_tool'.
Reference: https://github.com/woocommerce/woocommerce/pull/18505#pullrequestreview-89828432
2018-01-18 16:59:47 +00:00
Steve Grunwell cc91fba4f8 *WHITESPACE ONLY* Clean up whitespace in the WC_REST_System_Status_Tools_Controller file, according to WordPress coding standards 2018-01-17 22:33:58 +00:00
Steve Grunwell ff0e200ae5 Introduce the woocommerce_rest_system_status_tool_executed action, which fires after one of the WooCommerce REST system status tools is executed. 2018-01-17 21:48:23 +00:00
Mike Jolley 270f4c3608 Update text and clear cart meta data. 2018-01-15 17:04:50 +00:00
Claudio Sanches 9ed1681f39 [REST API] Handle unicode in variation attributes
Closes #18288
2018-01-11 13:11:36 -02:00
Mike Jolley ee6794fb0c Orders should be created for users who exist on the site only. 2018-01-10 12:32:58 +00:00
Mike Jolley 2c915ba961 Allow quantities less than 1, but not 0. 2018-01-05 12:48:24 +00:00
Mike Jolley effbf87e22 API should generate or set file ID when setting downloads. Closes #18330 2018-01-03 11:02:38 +00:00
lipemat c4cb7d146a support --date_created and --date_created_gmt via wp-cli wc product_review create 2017-12-20 09:54:42 -05:00
Mike Jolley e2f0126936 Filter passed images before processing. 2017-12-12 17:08:01 +00:00
Diego Zanella 218aebd329 Legacy API - Use "edit" context when setting product prices
Ensured that the "edit" context is used when checking if the product is on sale, like it's done when fetching product's regular and sale prices. This prevents price filters from running and, potentially, altering the prices set via the API.

* Ref. https://github.com/woocommerce/woocommerce/issues/17125
* Ref. 6e5cdc60e8
2017-12-11 17:08:53 +00:00
Mike Jolley 1bf47c2a81 API: Use KSES for purchase_note like admin 2017-12-08 11:47:27 +00:00
Claudiu Lodromanean 1a2a332f54
Merge pull request #17939 from woocommerce/feature/17734
Apply Webhooks CRUD into REST API
2017-12-01 10:07:21 -08:00
Claudio Sanches d5f871ad7e [REST API] Fixed errors while creating and updating webhooks 2017-12-01 11:57:29 -02:00
Claudio Sanches 5cda80330d Webhooks secret not mandatory in REST API 2017-12-01 11:48:38 -02:00
Claudio Sanches 46cfe9e3b6 Fixed docblocks 2017-12-01 11:47:45 -02:00
Claudio Sanches 270c0a200e Merge branch 'master' into feature/webhook-crud 2017-11-30 16:55:28 -02:00
Claudio Sanches 4d9203b841 Soft deprecated webhook deliveries REST API endpoints 2017-11-30 16:20:20 -02:00
Claudio Sanches 5e2628c06b REST API v2 webhooks CRUD implementation 2017-11-29 18:08:08 -02:00
Claudio Sanches bc86192120 REST API v1 webhooks CRUD implementation 2017-11-29 17:44:09 -02:00
Claudio Sanches c0a7f0eef0 Fixed category images schema in REST API v1 2017-11-29 10:42:06 -02:00
Claudio Sanches a70d0109c0 Initial webhooks implementation on REST API v1 2017-11-29 10:23:19 -02:00
Gerhard Potgieter 5f534e7388 Change product categories image object schema from name to title to bring docs in line with the actual output. 2017-11-29 11:06:41 +02:00
Claudio Sanches 3011058757 Applied Webhook CRUD into legacy REST API v3 2017-11-28 18:11:53 -02:00
Claudio Sanches de18b383d0 Applied Webhook CRUD into legacy REST API v2 2017-11-28 18:08:46 -02:00