Max Rice
61fb0f760a
Update authentication to use new API key meta names
...
Part of #4055
2013-11-19 03:03:39 -05:00
Max Rice
f542ce87a1
Add key management UX
...
Part of #4055
2013-11-19 03:02:28 -05:00
Max Rice
001ce0fc3e
Add option to enable/disable API
...
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice
dcdca4d4d2
Remove API settings tab
...
Part of #4055
2013-11-19 03:01:14 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Max Rice
c1854b26b9
Implement GET /reports/sales endpoint
...
Part of #4055
2013-11-15 00:21:19 -05:00
Max Rice
5ab8e085ad
Update /coupons/code endpoint
...
Part of #4055
2013-11-14 13:56:05 -05:00
Max Rice
ec55e43c24
Update API index response
...
Part of #4055
2013-11-14 13:55:45 -05:00
Max Rice
709f0da16f
Improve response filters
...
Part of #4055
2013-11-14 12:48:20 -05:00
Max Rice
451bc07339
Tweak GET /order response
...
Part of #4055
2013-11-14 12:42:42 -05:00
Max Rice
674ea42012
Implement GET endpoint for products and reviews
...
Part of #4055
2013-11-14 12:40:35 -05:00
Max Rice
00c65b9cc3
Add site timezone to API index
2013-11-10 19:30:59 -05:00
Max Rice
a13a95e452
Update API resource classes
...
Change method naming to snake_case and implement initial
`current_user_can()` permission checks
2013-11-10 19:29:36 -05:00
Max Rice
9c7791e3d8
urldecode parameters before passing to resource methods
2013-11-10 18:29:37 -05:00
Max Rice
1f5db98046
Add date created filtering to /customers endpoint
2013-11-10 18:28:58 -05:00
Max Rice
a909140cb1
Fix typo
2013-11-10 14:01:12 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00
Max Rice
6c3eb169db
Define and use WC_API::VERSION constant for endpoint versioning
2013-11-06 01:56:38 -05:00
Max Rice
0a6b268024
Update core WC_API class to use new WC_API_Server class
2013-11-06 01:56:11 -05:00
Max Rice
c3fa52b0b5
Update API classes to use new WC_API_Server class
2013-11-06 01:54:19 -05:00
Max Rice
ed6de29bfc
Add new WC_API_Server class
...
Based on WP_JSON_Server, this class add response handling based on
endpoint suffixes (.json or .xml) or the ACCEPT header. It also removes
some unneeded functionality and renames filters so as to not conflict
with users who may have WP-API installed already. Finally, instead of
no authentication required by default, authentication is always
required unless specifically disabled via filters.
2013-11-06 01:53:07 -05:00
Max Rice
8637da63c0
Add REST API XML request/response handler stub
2013-11-06 01:49:51 -05:00
Max Rice
165d0e65ea
Add REST API JSON request/response handler
2013-11-06 01:49:37 -05:00
Max Rice
58c57eb6f1
Add REST API request/response interface
2013-11-06 01:49:08 -05:00
Max Rice
1625930482
Remove WP-API library
2013-11-06 01:24:06 -05:00
Max Rice
30300bb2a0
Add get_woocommerce_api_url() method
2013-11-06 01:23:19 -05:00
Max Rice
e219585974
Add initial versions of REST API resource classes
2013-11-04 01:36:31 -05:00
Max Rice
27163ceec0
REST API base class tweaks
2013-11-04 01:36:16 -05:00
Max Rice
25407c284e
Trash posts by default instead of permanently deleting
2013-11-04 01:34:53 -05:00
Max Rice
2bb83bb1d8
Make WC_Comments::exclude_order_comments static
...
The WC_Comments class is an orphaned global so there's no way for other
code to access it in order to remove the `comment_clauses` filter. This
changes the add_filter and associated method to static so other code
can properly remove the filter for querying order notes
2013-11-04 01:34:21 -05:00
Max Rice
7caffcd8f2
Add REST API base class
2013-11-03 20:06:36 -05:00
Max Rice
45fa450760
Add REST API authentication class
2013-11-03 20:06:28 -05:00
Max Rice
1d113b3e39
Add REST API endpoints/methods to WC API class
2013-11-03 19:29:45 -05:00
Max Rice
4cc1847a66
Remove unused WP_JSON_Posts class
2013-11-03 19:26:29 -05:00
Max Rice
4daaf22304
Add REST API settings stub
2013-11-03 18:55:34 -05:00
Max Rice
a4a8b5e5c0
Add required global functions for WP_JSON_Server class
2013-11-03 18:54:56 -05:00
Max Rice
65f48e8456
Modify WP_JSON_Server to allow authentication
2013-11-03 18:53:35 -05:00
Max Rice
a0ddef247d
Fix strict standards warning
2013-11-02 18:12:50 -04:00
Max Rice
f6ea020e8d
Add WP JSON API Library
2013-11-02 01:16:45 -04:00
Mike Jolley
5faf171a48
Merge pull request #4030 from bernardpeh/woocommerce-dev
...
polish up attributes section confusing tips.
2013-11-01 08:47:04 -07:00
Mike Jolley
ab94de75d6
Merge pull request #4038 from emzo/widget-product-categories-orderby
...
Changed label of orderby setting in product category widget.
2013-11-01 07:02:38 -07:00
Mike Jolley
e9c130145a
Merge pull request #4031 from helgatheviking/sync/add-child-to-action
...
pass $children variable (variations) to the woocommerce_variable_product...
2013-11-01 07:01:28 -07:00
Emyr Thomas
ba3282c737
Changed label of orderby setting in product category widget.
2013-10-31 21:42:31 +00:00
Mike Jolley
19fcf30a66
Option to limit reviews to purchasers. Closes #4021
2013-10-31 17:37:36 +00:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
Mike Jolley
447b9d8b4f
Unlike the suggestion in #3965 , the HTML email preview should preview the layout only (selected colours etc). Content is irrelevant.
...
Closes #3965
2013-10-31 15:07:43 +00:00
Kathy Darling
b444b42275
pass $children variable (variations) to the woocommerce_variable_product_sync hook
2013-10-31 09:17:00 +01:00