Commit Graph

7130 Commits

Author SHA1 Message Date
Mike Jolley b2dafc3b33 Merge pull request #10631 from mattallan/matt/webhook-async-filter-param
Add $arg param to the `woocommerce_deliver_webhook_async` filter
2016-04-01 10:54:37 +01:00
Mike Jolley 082a3bc2c9 Change system status nav markup 2016-04-01 10:53:30 +01:00
matttallan fc503bb863 Add $arg param to the woocommerce_deliver_webhook_async filter 2016-04-01 17:05:24 +10:00
Matt Isenhower 7561f772d9 Make wc_get_product() return false if the specified post is not a product 2016-03-31 17:51:01 -07:00
Claudio Sanches 1021bfb754 Simplified the way how check terms permissions 2016-03-31 16:57:55 -03:00
Claudio Sanches 5091b36d41 Align variables 2016-03-31 16:34:16 -03:00
Claudio Sanches ab449a6a62 Improved coupons endpoint using the new Coupon Data fields 2016-03-31 16:32:12 -03:00
Claudio Sanches c890961f76 Fixed contexts on abstract terms controller 2016-03-31 16:17:39 -03:00
Claudio Sanches bf64942b28 Align variables 2016-03-31 16:14:18 -03:00
Claudio Sanches 8df7723895 Fixed permissions error messages 2016-03-31 16:03:59 -03:00
Claudio Sanches bb029747b7 Changed $namespace from public to protected in posts controller 2016-03-31 15:28:17 -03:00
Claudio Sanches 92da79ce76 Changed $namespace from public to protected 2016-03-31 15:25:31 -03:00
Mike Jolley bfadb22c7c Added notice when no methods exist 2016-03-31 18:54:33 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley c9196a6377 Move help tip to core functions 2016-03-31 15:30:42 +01:00
Mike Jolley c757fd9940 Merge branch 'shipping-zone-modals'
# Conflicts:
#	assets/css/admin.css
#	assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Claudio Sanches 77da7ccc2b [2.5] [API] Fixed stock management for product variations, closes #10602 2016-03-31 10:03:12 -03:00
Claudio Sanches 00a1a9c3da Fixed backorders and stock status 2016-03-31 09:56:22 -03:00
Mike Jolley c9dfbab9a2 Simplify - strip dashes from zip
Fixes #10604
2016-03-31 12:27:34 +01:00
Mike Jolley e2139a5c5e Clear prices transient for variable products after scheduled sale. 2016-03-31 12:03:03 +01:00
Mike Jolley d2ed9c0b0b More specific paypal URLs and avoid constant when forcing TLS
[2.5] too if the other one goes in.
2016-03-31 10:12:31 +01:00
Claudio Sanches b8dd156891 Added endpoint to list and get product reviews 2016-03-30 20:50:06 -03:00
Claudio Sanches 7b508307f0 Fixed links for webhooks deliveries and order notes 2016-03-30 20:42:06 -03:00
Claudio Sanches 7dcfcc9dfc Allow filter orders by product 2016-03-30 20:26:51 -03:00
Claudio Sanches bb7e5ecfb6 Allow filter products by taxonomies and sku 2016-03-30 20:05:12 -03:00
Claudio Sanches 5d99b8b336 Register dp filter for orders and allow filter orders by customer id 2016-03-30 19:11:56 -03:00
Claudio Sanches 9619c041cd Allow filter coupons by code 2016-03-30 18:42:51 -03:00
Claudio Sanches 1722f95a95 Allow filter customers by role or email 2016-03-30 18:33:37 -03:00
Claudio Sanches f78a2ec68b Added endpoint to list customer downloads 2016-03-30 18:12:34 -03:00
Claudio Sanches f76f0d8472 Check permissions in customers/me endpoint 2016-03-30 17:39:20 -03:00
Claudio Sanches 0cd16b3cc0 Fixed file description 2016-03-30 17:34:36 -03:00
Claudio Sanches fda9defef8 Fixed textdomains 2016-03-30 14:56:31 -03:00
Claudio Sanches 7676e85640 Fixed vendor wp rest functions file name 2016-03-30 14:55:43 -03:00
Claudio Sanches 8e9e9526ac Fixed date params 2016-03-30 14:53:46 -03:00
Claudio Sanches f574a149d1 Attributes permissions 2016-03-30 14:49:22 -03:00
Claudio Sanches 82a6a5f18e Settings and reports permissions 2016-03-30 14:33:33 -03:00
Claudio Sanches 0fce9c5243 New product terms permissions 2016-03-30 14:17:40 -03:00
JeroenSormani b77445787e Fix few typos and small docblock changes 2016-03-30 18:23:44 +02:00
Mike Jolley f4791be088 Merge branch 'pr/10432' 2016-03-30 17:10:01 +01:00
Mike Jolley f0d3162c1a Fixed wrong types 2016-03-30 17:09:54 +01:00
Claudio Sanches 768492c02c Fixed customer permissions 2016-03-30 11:54:49 -03:00
Claudio Sanches dedfe41c37 User permissions 2016-03-30 11:53:14 -03:00
Claudio Sanches 7afcc8482e Improved permissions for order notes and webhook deliveries 2016-03-30 11:43:01 -03:00
Claudio Sanches f4012b7f1f Reviewed post permissions 2016-03-30 11:17:16 -03:00
Mike Jolley 84d3fe2d82 wc_format_localized_decimal on dimensions 2016-03-30 13:19:01 +01:00
Mike Jolley cb27af14c4 Status page geoip database 2016-03-30 13:11:26 +01:00
Mike Jolley dbfba48411 Disable API fallback for geolocating customers
Causes server slowdown due to external calls. Should be off by default.
Closes #10615
2016-03-30 13:02:21 +01:00
Mike Jolley d18e1eb115 woocommerce_geolocation_local_database_path filter 2016-03-30 12:58:50 +01:00
Mike Jolley c82e177fd3 Fix coupon total replacement
Fixes #10618
2016-03-30 12:56:53 +01:00
Mike Jolley bcd90ea1fb Fix error is default address values
Fixes #10606
2016-03-30 12:55:29 +01:00
Mike Jolley 975f9d8c2d Remove nonce on cancel order URL
Nonces are invalid if the user ID changes during checkout e.g. through
registration. Cancel links are invalid.

cc @claudiosmweb

Fixes #10605
2016-03-30 12:45:25 +01:00
Mike Jolley 3a5feddbf5 [2.5] Set captions 2016-03-30 11:15:34 +01:00
Claudio Sanches 124a4291b0 Created new method to save product taxonomy terms 2016-03-29 22:06:05 -03:00
Claudio Sanches dc6b4e95c8 Added method to show product taxonomy terms 2016-03-29 21:57:05 -03:00
Claudio Sanches f675d49a54 Return product default attributes 2016-03-29 21:46:35 -03:00
Claudio Sanches 5bf8c808fc Added methods to create and edit products 2016-03-29 21:22:10 -03:00
Claudio Sanches a16b32825f Fixed rest functions names 2016-03-29 19:54:37 -03:00
Claudio Sanches 4a625fc2f2 New rest functions file name 2016-03-29 19:52:24 -03:00
Claudio Sanches ae2b3eb3fc Check if coupon code is empty 2016-03-29 19:11:49 -03:00
Claudio Sanches a0290a6c65 Stop check again if coupon have code when creating 2016-03-29 19:09:55 -03:00
Claudio Sanches d781e10d63 Coding standards 2016-03-29 17:24:32 -03:00
Claudio Sanches 8219cee256 Added methods to list and get products 2016-03-29 17:20:15 -03:00
Mike Jolley 687d4be0bf Case 2016-03-29 19:51:09 +01:00
Claudio Sanches cb2b9b3e50 Products schema 2016-03-29 15:48:08 -03:00
Mike Jolley 975c360ae3 Tweak icons and blank slate text 2016-03-29 19:37:02 +01:00
Mike Jolley 17958835a9 Merge pull request #10603 from toddlahman/master
Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
2016-03-29 14:52:55 +01:00
Mike Jolley ae36ff71fa For PayPal requests, set CURL ssl version
@claudiosmweb another for 2.5 consideration
2016-03-29 14:28:15 +01:00
Mike Jolley dc635771e8 System status: Output CURL version
@claudiosmweb Might be good for 2.5 too
2016-03-29 14:27:37 +01:00
Claudio Sanches 9b9d40d7e9 Create order refunds 2016-03-28 17:33:13 -03:00
Claudio Sanches 90bdabcf41 Added methods to list and get order refunds 2016-03-28 16:41:17 -03:00
Claudio Sanches 0569ad3ca7 Refunds schema and improve delete and query 2016-03-28 16:21:02 -03:00
Claudio Sanches 6629395797 Fixed description for orders schema 2016-03-28 16:17:11 -03:00
Claudio Sanches 2cd2b54c29 Fixed order delete 2016-03-28 16:10:05 -03:00
Claudio Sanches 9738ee04c2 Update orders 2016-03-28 16:04:24 -03:00
Claudio Sanches 242b362020 Fixed file names 2016-03-28 09:25:50 -03:00
Claudio Sanches 90458a8de5 Allow create orders 2016-03-28 09:22:54 -03:00
Claudio Sanches 194b40ecb9 Created exception class 2016-03-28 09:22:44 -03:00
toddlahman fb66dd2c80 Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
If the size of the woocommerce_sessions table is 3.2 GB before the
Clear all sessions button is clicked, then it will delete all rows, but
leave the table size 3.2. Truncating/emptying the table resets the size
of the table, and deletes all rows.
2016-03-24 21:24:36 -07:00
Claudio Sanches 855ff7e6fe Check if customer exists and improved address and meta data 2016-03-24 18:04:27 -03:00
Claudio Sanches c4c7ef6da9 Added method to add metadata 2016-03-24 17:55:51 -03:00
Claudio Sanches 8bc11ddebd Save payment and currency when creating orders 2016-03-24 17:43:14 -03:00
Claudio Sanches 1bbbbf70f5 Added initial methods to create an order 2016-03-24 17:25:10 -03:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley bea3c66777 Change arrow entity
@jameskoster
2016-03-24 14:27:32 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Claudio Sanches ab90f54880 Better name for required field notices filter #10597 2016-03-24 09:06:17 -03:00
Mike Jolley 74c1b88663 Merge pull request #10586 from franticpsyx/api_cli_order_item_args_filter
[WC 2.5/2.6] Add order line item args filter to wc api/cli set_line_item method
2016-03-24 11:35:56 +00:00
Mike Jolley 7a3d72d098 Merge pull request #10597 from vasikgreif/patch-2
Add filter for required fields error message
2016-03-24 11:26:56 +00:00
Mike Jolley af0b38dcea Fix results when no orders match search term
Fixes #10599
2016-03-24 11:21:30 +00:00
Mike Jolley 795cb6d763 Add class for bacs heading 2016-03-24 10:47:08 +00:00
Claudio Sanches 91dd99e472 Added methods to list and get orders 2016-03-23 19:19:08 -03:00
Mike Jolley ca5a46a2f9 Allow bulk deletion of refunds 2016-03-23 16:32:12 +00:00
Mike Jolley 3205975a24 Fix manual addition of shipping to orders 2016-03-23 15:16:09 +00:00
Mike Jolley dd68a57fff Merge pull request #10592 from woothemes/item-box-tweaks
Order Item Meta Box Tweaks
2016-03-23 15:03:24 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00
vasikgreif 565e259851 Add filter for required fields error message
Add the ability to change required fields error message, as discussed here: https://github.com/woothemes/woocommerce/pull/10591
2016-03-23 14:00:51 +01:00
Claudio Sanches efe4b76559 New order schema 2016-03-23 09:46:34 -03:00
Claudio Sanches 7c84066ad7 Initial order schema 2016-03-23 08:30:58 -03:00
Mike Jolley 534cd2a384 Use discount rounding mode when getting discounted price.
#10573 @claudiosmweb
2016-03-23 11:27:36 +00:00
Mike Jolley 6126e248b6 Merge pull request #10595 from woothemes/fix/wc-payment-tokens-older-php
Fix WC_Payment_Tokens for older versions of php
2016-03-23 10:44:54 +00:00
Mike Jolley 6a1cc6a472 Fix "Can't use method return value in write context" errors 2016-03-23 10:13:51 +00:00
Joey Kudish bde619c4d6 Fix for older versions of php
Older versions of php cannot check `empty()` with a non-variable. Fixes
fatal introduced in 1d35fd6d73
2016-03-22 17:36:24 -07:00
Claudio Sanches 3a0bf6c9b8 Added method to delete order notes 2016-03-22 15:49:41 -03:00
Claudio Sanches 935a784061 Fixed header location when creating attribute terms 2016-03-22 15:34:27 -03:00
Claudio Sanches 5d5f995011 Allow create order notes 2016-03-22 15:31:27 -03:00
Claudio Sanches 3fc4effed4 Added collection params for order notes 2016-03-22 15:17:35 -03:00
Claudio Sanches 2617642d5d Added methods to list and get order notes 2016-03-22 15:13:33 -03:00
Claudio Sanches 7a7856ab7e Order notes schema 2016-03-22 14:53:46 -03:00
Mike Jolley f73149feaf Tweak variation display and reenable bulk editing 2016-03-22 17:13:39 +00:00
Mike Jolley f1b3d0f708 Further layout tweaks 2016-03-22 14:54:02 +00:00
Mike Jolley 8d76396eaf Merge pull request #10588 from justinshreve/payment-tokens-wc-data
Convert WC_Payment_Tokens to use the new WC_Data
2016-03-22 14:14:29 +00:00
Mike Jolley 2b3083ae2f Merge pull request #10579 from justinshreve/add-meta-data-keys
Fix array key/meta id logic in WC_Data's meta handling
2016-03-22 14:14:07 +00:00
Mike Jolley 5862785522 Restyle items panel 2016-03-21 18:35:00 +00:00
Justin Shreve 1d35fd6d73 Convert WC_Payment_Tokens (and CC/eCheck tokens) to use the new WC_Data and meta handling code. 2016-03-21 11:06:17 -07:00
Mike Jolley 7be2b129b6 Removed bulk actions from order items panel
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.

Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Manos Psychogyiopoulos 00b9887936 add order line item args filter to wc api/cli set_line_item method 2016-03-21 14:39:51 +02:00
James Koster cbb8fa9c66 Move and style the product price in oEmbeds for better display on handheld devices. closes #10584 2016-03-21 10:07:30 +00:00
Jeff Stieler 16b65ea8c3 Fire action before order line items are rendered. 2016-03-18 15:25:31 -06:00
Justin Shreve 705213d4f5 Move meta_id into the _meta_data array instead of trying to use them as array keys.
This is so we can just use PHP's keys, instead of trying to add new meta and guess an avaible key.
2016-03-18 12:24:35 -07:00
Claudio Sanches 312105b350 Improved basic authentication 2016-03-18 10:18:44 -03:00
Claudio Sanches f2728446ca Improved returned values from authentication 2016-03-18 09:50:54 -03:00
Claudio Sanches 8a45c94425 Use perid for all responses 2016-03-18 08:51:48 -03:00
Claudio Sanches 98f4f21104 Pass correct unauthorized headers for basic auth 2016-03-18 08:47:57 -03:00
Claudio Sanches a0b0489014 Handle oauth1.0a authentication on REST API 2016-03-18 08:37:31 -03:00
Claudio Sanches ed2d72fc0d Verify API Key permissions 2016-03-18 07:24:59 -03:00
Claudio Sanches eb5db423cc Handle basic authentication on REST API 2016-03-18 06:53:09 -03:00
Mike Jolley c25ef5e55a Adjust OR logic
#10568
2016-03-17 17:54:09 +00:00
Mike Jolley 12e23bb143 Adjust related query nesting
Fixes #10568
2016-03-17 16:02:33 +00:00
Mike Jolley 021a242e06 PDT charset conversion 2016-03-17 15:53:13 +00:00
Mike Jolley 5307f13da7 WC_data abstract compat 2016-03-17 15:22:39 +00:00
Mike Jolley 6765967be8 Add data and tostring handling to WC_Data 2016-03-17 15:22:29 +00:00
Mike Jolley 9ce1a21271 Merge pull request #10557 from justinshreve/crud
New WC_Data class with meta methods for CRUD
2016-03-17 13:49:20 +00:00
Claudio Sanches 631c814448 [API] Allow save image ID when saving product variations, closes #10570 2016-03-16 15:05:14 -03:00
Mike Jolley fa30a38c58 Merge pull request #10471 from brazabr/master
Implement shipping packages filters to allow multiple origins
2016-03-16 12:53:09 +00:00
Mike Jolley 34767ebe0c Bump min recommended requirements to 5.6 2016-03-16 12:42:57 +00:00
Mike Jolley 874d2e3e0a Check cookie is a string 2016-03-16 10:04:53 +00:00
Thiago Benvenuto 1847b0fab5 Adjusted since version 2016-03-15 20:31:39 -03:00
Thiago Benvenuto 180a09f52c Added docblock to filter
Removed duplicated filter

Renamed filter after shipping costs are calculated
2016-03-15 20:31:39 -03:00
Thiago Benvenuto 30a06d85df Fixed identation mistake 2016-03-15 20:31:39 -03:00
Thiago Benvenuto 7832039bb7 Implemented packages filter for marketplace 2016-03-15 20:31:39 -03:00
Justin Shreve a51e164fd7 Set versions to 2.6 2016-03-15 15:44:04 -07:00
Claudio Sanches 708c872107 Fixed webhook deliveries schema 2016-03-15 19:40:54 -03:00
Claudio Sanches 0ab93eebeb Crated methods to list and get webhook deliveries 2016-03-15 19:38:48 -03:00
Claudio Sanches bd3b5e986e Added default context for tax classes 2016-03-15 19:38:38 -03:00
Justin Shreve 9aff45e154 Feedback 2016-03-15 15:11:07 -07:00
Claudio Sanches 56a4df6eb5 Webhook deliveries schema 2016-03-15 19:02:13 -03:00
Claudio Sanches ebc397df31 Allow query webhooks by status 2016-03-15 18:19:34 -03:00