Commit Graph

1872 Commits

Author SHA1 Message Date
Akeda Bagus d51e843190
Move WCCOM Site related files to `/wccom-site` directory.
Also use queue when installing products so API can respond immediately.
2019-07-11 16:01:53 +07:00
Akeda Bagus 0f2e22de9a
Add docblock in controller class. 2019-07-11 15:59:10 +07:00
Akeda Bagus a41b66c602
Rename helper to wccom-site. 2019-07-11 15:59:10 +07:00
Akeda Bagus 7adc256344
Move subscription check as part of installation steps. 2019-07-11 15:58:03 +07:00
Akeda Bagus 4cf69e350e
Rename filename for helper REST API controller. 2019-07-11 15:55:16 +07:00
Akeda Bagus d088aea85d
Initial work of adding product install API on top of helper. 2019-07-11 15:55:11 +07:00
Mike Jolley 03e60ebb7c Delete REST API classes 2019-06-19 11:48:12 +01:00
Claudio Sanches 8ea6c7c80e
Merge pull request #23651 from woocommerce/update/register-rest-routes
Set register_rest_route override to TRUE in Blocks REST API
2019-05-22 20:49:15 -03:00
Rodrigo Primo ae50379f7e
Merge pull request #23325 from woocommerce/fix/rest-api-purge-invalid-orders
[REST API] Stop orders being created if invalid data is sent
2019-05-21 16:36:04 -03:00
Mike Jolley 6c3e1bbd01 Set register_rest_route override to TRUE 2019-05-08 11:27:26 +01:00
Peter Fabian a601151ed0 Fixed use of available_updates variable. 2019-05-03 10:34:59 +02:00
Mike Jolley 0962b447f6
Merge pull request #23482 from woocommerce/fix/23473
Fix attribute matching in `get_attribute_taxonomy_name`
2019-04-24 15:40:13 +01:00
Mike Jolley 76f0c015dd Fix attribute matching in get_attribute_taxonomy_name 2019-04-24 12:05:44 +01:00
Claudio Sanches 02863a2b00 Merge branch 'fix/23407' of https://github.com/strelkovk/woocommerce into fix/23407-2 2019-04-23 16:20:36 -03:00
Claudio Sanches eeb6f5d15c Revert changes on includes/api/class-wc-rest-product-categories-controller.php 2019-04-23 16:19:41 -03:00
Claudio Sanches 0fdf47294a Fixed use of get_term_meta in REST API endpoints
Part of #23408
2019-04-23 12:48:03 -03:00
strelkov 63d6ded7aa Fix for get categories endpoint
to get proper display mode, image and order

issue
https://github.com/woocommerce/woocommerce/issues/23407
2019-04-20 11:37:23 +02:00
Mike Jolley f0c30406a3 is_request_to_rest_api check wc endpoints only 2019-04-18 14:23:12 +01:00
Mike Jolley 442ce26591
Merge pull request #23270 from jenkoian/fix-network-orders-widget
Bug - Fix for network orders widget when WooCommerce is network active.
2019-04-18 11:20:06 +01:00
Mike Jolley 111684ef32 Correctly handle images in v3 api 2019-04-17 13:18:33 +01:00
Claudio Sanches 0f9ff3d70b [REST API] Stops order creating if returns any error
Prevents orders of been created if a WC_Data_Exception or a WC_REST_Exception was throwed.
2019-04-17 00:36:20 -03:00
Mike Jolley d959758abe
Merge pull request #23311 from woocommerce/replace-deprecated-function
Replace call to deprecated function delete_woocommerce_term_meta()
2019-04-16 14:57:05 +01:00
Mike Jolley 7efe831e72
Merge pull request #23308 from webdados/patch-2
Stop using update_woocommerce_term_meta on class-wc-rest-product-categories-controller.php
2019-04-16 14:55:52 +01:00
Gerhard 86ec50f359 Update all *_woocommerce_term_meta calls to *_term_meta calls 2019-04-16 12:14:51 +02:00
Rodrigo Primo a18c44d76e Replace call to deprecated function delete_woocommerce_term_meta()
This commit replaces a call to deprecated function `delete_woocommerce_term_meta()` with its replacement `delete_term_meta()`. `delete_woocommerce_term_meta()` was deprecated by 32ae0192e5 and all calls removed, but PR #22553 that was created about the same time added a new call to this function.
2019-04-15 15:33:27 -03:00
Marco Almeida 1a251c82ad
Stop using update_woocommerce_term_meta
Stop using the update_woocommerce_term_meta helper function as it has been deprecated on 3.6.0
2019-04-15 17:54:19 +01:00
Mike Jolley 4e8342be38 Check get_plugin_data exists 2019-04-12 15:34:52 +01:00
Ian Jenkins fa3637c4f1 Bug - Fix for network orders widget when WooCommerce is network active.
Network orders makes most sense when WooCommerce is installed as a
network wide plugin. This change fixes the widget when it is network
active.
2019-04-10 22:58:51 +01:00
Mike Jolley 945ff7958f
Merge pull request #23101 from woocommerce/update/23090
Add table ENGINE to system status report
2019-04-10 11:32:51 +01:00
Mike Jolley 8aeff9bb2f Adds future status to list of allowed statuses 2019-03-25 15:19:48 +00:00
Mike Jolley c5defa6a1e Add engine to system status 2019-03-21 14:39:33 +00:00
Claudio Sanches a425e92672 Removed legacy "Orders index" tool 2019-03-15 11:34:32 +00:00
Mike Jolley 09d92875fa
Merge pull request #23010 from woocommerce/update/lookup-tables
Update stock reports to use lookup tables
2019-03-13 15:01:07 +00:00
Mike Jolley 955e91c5ef Use internal docblock comment 2019-03-13 14:24:11 +00:00
Mike Jolley e6c60dd6c2 Show notice when regeneration is taking place with link to AS 2019-03-13 12:25:20 +00:00
Timmy Crawford f7b58862f0 Fix phpcs issues. 2019-03-12 17:10:48 -07:00
Timmy Crawford 6c22bfb96a REST API: Add Private REST API docblock and response headers. 2019-03-12 16:26:10 -07:00
Mike Jolley 20d7603dd6 Merge branch 'fix/21034' 2019-03-12 13:47:08 +00:00
Mike Jolley 0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Mike Jolley fbda3a91d8 Merge feature/add-tracks into master 2019-03-11 15:15:50 +00:00
Mike Jolley e55bb84e8b
Merge pull request #22718 from woocommerce/experiment/product-sorting-index
Performance: product sorting lookup table
2019-03-11 13:27:10 +00:00
Mike Jolley 15ca2144d3
Merge pull request #22773 from woocommerce/performance/delete-empty-meta
Performance: delete empty meta
2019-03-08 10:22:31 +00:00
Mike Jolley e7c8db0796
Merge pull request #22887 from woocommerce/update/22882-additional-system-status-values
Additional System Status Options
2019-03-08 10:15:45 +00:00
Mike Jolley a3c2dcd8f2 Update from master 2019-03-08 09:50:56 +00:00
Mike Jolley 91aa1b92e5 Tool to regen lookup tables 2019-03-07 13:40:12 +00:00
Mike Jolley 434c9b5815 Improve transient 2019-03-07 11:47:19 +00:00
Mike Jolley 236d9827ee fix transient 2019-03-07 11:33:23 +00:00
Mike Jolley bb7aa99d4b Add transients to post tests 2019-03-07 11:21:42 +00:00
Mike Jolley 89a4eba859 update from 22951 2019-03-07 10:58:14 +00:00
Kelly Dwan b360643582 Add average rating to the products API response 2019-03-06 17:32:31 -05:00