Commit Graph

6344 Commits

Author SHA1 Message Date
Max Rice 38be2ee7a4 Perform core authentication at 0 priority
Makes it easier for plugins to override the core API authentication

Part of #4055
2013-11-23 13:28:26 -05:00
Max Rice a4b3860376 Add action for plugins to load other API resources
Part of #4055
2013-11-23 13:27:47 -05:00
Max Rice deac0be31b Implement order status update endpoint
Closes #4161
2013-11-23 12:59:21 -05:00
thenbrent 1ce5500b06 Add WC_Cart::get_cart_for_session() 2013-11-22 15:30:24 -08:00
thenbrent bb14495064 Check products are purchasable when restoring cart
If WC_Product::is_purchasable() is only called when adding a product to the cart,
it's possible to purchase products that aren't purchasable (but were when they were
added to the cart).
2013-11-22 15:14:08 -08:00
James Koster e2a56a92c5 status_table #4042 2013-11-22 17:21:18 +00:00
James Koster 48a6b2b6d8 debug report #4042 2013-11-22 17:20:25 +00:00
James Koster e9473e3aea tax rates table #4042 2013-11-22 17:18:04 +00:00
James Koster 517c4396a3 chosen #4042 2013-11-22 17:14:04 +00:00
James Koster d33af19913 reports #4042 2013-11-22 17:09:05 +00:00
James Koster 38ae710996 order items #4042 2013-11-22 16:54:11 +00:00
James Koster 5acbe6c5b3 order totals #4042 2013-11-22 16:52:36 +00:00
James Koster b2aee0c400 order notes #4042 2013-11-22 16:40:37 +00:00
James Koster a4c707342e order totals #4042 2013-11-22 16:38:16 +00:00
Gerhard bac3c81296 Fix ajax calls for adding and deleting order item meta from the backend. 2013-11-22 15:16:38 +02:00
Coen Jacobs 8485c76023 Merge pull request #4177 from maxrice/rest-api-xml-issue-4165
API: Add XML generation
2013-11-22 00:48:10 -08:00
Max Rice d7c77d1ab7 API: Add XML generation
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.

Part of #4165
2013-11-22 03:41:32 -05:00
Coen Jacobs f8ef3444b0 Fixed undefined esc_atr function error 2013-11-21 14:28:09 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard de77ec07ea esc_url() all the things. 2013-11-20 19:54:01 +01:00
Mike Jolley 12bac47f85 Ancestor check 2013-11-20 17:36:07 +00:00
Mike Jolley 3acfc07684 Fix user search and sanitize search strings 2013-11-20 17:30:49 +00:00
Mike Jolley 43807a0488 Accessing currency wrong 2013-11-20 17:25:48 +00:00
Mike Jolley cc40557077 filter for cart fragment #4132 2013-11-20 16:31:28 +00:00
Mike Jolley 0dc0b9cbb0 Indenting fail. 2013-11-20 16:13:53 +00:00
Mike Jolley 7cb88db630 Merge pull request #4143 from mihaigrigori/master
Show order currency
2013-11-20 08:12:21 -08:00
Mike Jolley 03bda02144 Merge pull request #4147 from BFTrick/optimize-images
Optimizing Images
2013-11-20 06:35:26 -08:00
Mike Jolley b3480fc60e Merge pull request #4148 from scottbasgaard/master
Use remove_ordering_args() to remove order query filters instead of remo...
2013-11-20 06:35:03 -08:00
Mike Jolley 453942252e Merge pull request #4151 from toddlahman/master
wc_ delimiter to identify start of uniquid
2013-11-20 06:34:40 -08:00
Mike Jolley 4a06538125 Merge pull request #4153 from kloon/tweak_formatted_price_filter
Add formatted_woocommerce_price filter.
2013-11-20 06:33:53 -08:00
Mike Jolley 65c465f451 Merge pull request #4150 from kloon/fix_api_timezone_fatal_error
Fix api timezone fatal error
2013-11-20 06:32:39 -08:00
Gerhard 970ae40004 Remove function and use global woocommerce_timezone_string function instead 2013-11-20 16:16:04 +02:00
Coen Jacobs c0ba1be754 WooCommerce 2.1 requires WordPress 3.8 2013-11-20 11:58:33 +01:00
Gerhard 475e9abe83 Add formatted_woocommerce_price filter. 2013-11-20 10:40:29 +02:00
toddlahman 0c07663b26 wc_ delimiter to identify start of uniquid 2013-11-20 00:03:49 -08:00
Gerhard 4afff14de1 Remove unused variable from function 2013-11-20 07:57:48 +02:00
Gerhard df5929093d REST API - Fix fatal error due to missing get_timezone function 2013-11-20 07:55:28 +02:00
Scott Basgaard 9409907ffa Use remove_ordering_args() to remove order query filters instead of remove_product_query(). Most likely was a merge issue. Fixes #4142 2013-11-19 22:38:00 +01:00
Patrick Rauland 3fc598ff77 optimizing images 2013-11-19 12:59:01 -06:00
Mike Jolley 922406b67b Merge pull request #4145 from scottbasgaard/master
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this...
2013-11-19 09:06:31 -08:00
Mike Jolley fdfdb1eb44 Merge pull request #4146 from toddlahman/master
Methods called statically set to static
2013-11-19 09:05:53 -08:00
toddlahman 10273973d8 Methods called statically set to static 2013-11-19 08:26:18 -08:00
Coen Jacobs 6f1f946d02 Merge pull request #4144 from kloon/fix_api_user_profile_warning
Fix warning in new rest api key generation
2013-11-19 08:20:31 -08:00
Mike Jolley 459db7ec63 2.1 welcome screen Closes #4043 2013-11-19 16:18:47 +00:00
Scott Basgaard f3b2854638 woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead. 2013-11-19 14:44:28 +01:00
Gerhard bb43d086c9 Fix warning in new rest api key generation 2013-11-19 15:18:25 +02:00
mihaigrigori fac0bf69eb Show order currency
- method to return the order currency
- allow 'currency' parameter for 'woocommerce_price'
2013-11-19 15:13:11 +02:00
Mike Jolley f660644657 Merge pull request #4141 from scottbasgaard/master
woocommerce_get_refreshed_fragments() is no longer. Update where it was ...
2013-11-19 04:53:53 -08:00
Scott Basgaard bee41fb7e5 woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method. 2013-11-19 13:33:26 +01:00
James Koster 9812551ad6 remove message.png #4042 2013-11-19 11:45:21 +00:00