Commit Graph

687 Commits

Author SHA1 Message Date
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs 1663eafb68 Customer functions woocommerce to wc refactor 2013-11-25 13:52:53 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
Coen Jacobs b0e3802b5b Refactor cart functions in core 2013-11-25 13:44:32 +01:00
Coen Jacobs cb4e239655 Cart functions woocommerce to wc refactor 2013-11-25 13:23:39 +01:00
Coen Jacobs aa4d9d5914 Better order for admin settings tabs 2013-11-25 12:06:42 +01:00
James Koster cf64302063 woocommerce status dashboard widget #4042 2013-11-25 10:40:05 +00:00
Coen Jacobs 6377a2af6e esc_attr instead of esc_url for textarea placeholder
Closes #4195
2013-11-25 10:41:37 +01:00
Coen Jacobs effc108af4 Merge pull request #4192 from maxrice/http-x-forwarded-host
Allow forwarded hosts for forced SSL
2013-11-25 00:44:41 -08:00
Coen Jacobs 2f3ed733fb Merge pull request #4182 from thenbrent/is-purchasable-check
Check products are purchasable when restoring cart
2013-11-25 00:39:16 -08:00
Coen Jacobs 084ac253f9 Merge pull request #4181 from kloon/fix_order_item_meta_ajax
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-25 00:38:50 -08:00
Coen Jacobs 65a1ed1b98 Fixed typo as merged in #4190 2013-11-25 09:38:03 +01:00
Coen Jacobs 8978f75f36 Remove safety net for calling WC_Product directly #4194 2013-11-25 09:25:45 +01:00
Coen Jacobs 7b63c6ce49 Remove parameters from function as well #4194 2013-11-25 09:19:24 +01:00
Coen Jacobs 73215ba4e2 Remove 2.0 tax deprecated arguments #4194 2013-11-25 09:17:44 +01:00
Coen Jacobs 6acfff9879 Fixed field matching in setting up variations 2013-11-25 09:05:27 +01:00
Andrew Benbow 0f29761268 Bracing 2013-11-25 09:02:51 +01:00
Max Rice 72316d0b5f Allow forwarded hosts for forced SSL 2013-11-24 22:39:23 -05:00
Coen Jacobs 8054316fa6 Merge pull request #4185 from maxrice/rest-api-fixes-issue-4055
Various fixes for REST API
2013-11-24 12:58:25 -08:00
Coen Jacobs e9691eed7f Merge pull request #4184 from maxrice/api-order-status-update-issue-4161
Implement order status update endpoint
2013-11-24 12:58:15 -08:00
Andrew Benbow 2d03022b76 Brace all the things 2013-11-24 10:24:12 +00:00
Max Rice c00e2d0f8c Add total customers count to sales report
Part of #4055
2013-11-23 17:27:24 -05:00
Max Rice 017e7cee1d Add permissions for count endpoints 2013-11-23 17:11:16 -05:00
Max Rice 2af47c6699 Fix incorrect total results number for pagination headers 2013-11-23 16:37:28 -05:00
Max Rice 0be58b3390 Normalize response data types
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice 20fb7e771f Add total sales property to products response 2013-11-23 15:17:14 -05:00
Max Rice 3bc8fae631 Remove PUT/DELETE endpoints
Will be implemented in 2.2

Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice a0cb0cbb4e Remove schema link 2013-11-23 14:41:21 -05:00
Max Rice 3f07b8be77 Specify 2 decimal places for woocommerce_format_decimal()
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice 5bb8c9daef Fix permissions typo
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice 1ce5a71f3d Load admin profile class when editing a user 2013-11-23 13:41:10 -05:00
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
Gerhard bac3c81296 Fix ajax calls for adding and deleting order item meta from the backend. 2013-11-22 15:16:38 +02: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 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