Commit Graph

125 Commits

Author SHA1 Message Date
Aristeides Stathopoulos d430dabb37 Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines 2016-08-27 07:04:18 +03:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley ed01282340 Made data match schema 2016-08-26 15:20:44 +01:00
Mike Jolley 7cf75f5085 Remove use of deprecated functions 2016-08-22 16:57:54 +01:00
Mike Jolley 190cd0bf86 Remove direct access of item props in admin 2016-08-19 15:08:00 +01:00
Mike Jolley f3651a9881 Fix user agent calls 2016-08-12 12:53:09 +01:00
Mike Jolley 8d58febaf8 Merge branch 'master' into orders-crud-function-update
# Conflicts:
#	includes/class-wc-checkout.php
2016-08-09 14:03:06 +01:00
Mike Jolley 31803f4e51 Billing/shipping 2016-08-08 16:46:58 +01:00
Mike Jolley 7b0d9a3e61 IP and notes 2016-08-08 16:24:16 +01:00
Mike Jolley 6bf05396c2 date_paid 2016-08-05 16:14:30 +01:00
Mike Jolley b8bf05df11 get_user_agent 2016-08-05 16:10:45 +01:00
Mike Jolley 0a0330bac0 customer_user 2016-08-05 16:09:40 +01:00
Mike Jolley 007a767657 billing_phone 2016-08-05 16:09:04 +01:00
Mike Jolley 7685587b22 payment_method 2016-08-05 16:04:41 +01:00
Mike Jolley 693e5ece36 billing_company 2016-08-05 16:03:09 +01:00
Mike Jolley 8d3b4bc5a4 payment_method_title 2016-08-05 15:59:55 +01:00
Mike Jolley 1c18c2f44a billing_first_name 2016-08-05 15:58:44 +01:00
Mike Jolley 84c52370fa more getters 2016-08-05 15:57:40 +01:00
Mike Jolley 39b4831e95 get_id 2016-08-05 15:56:23 +01:00
Mike Jolley 9181c107a8 get_currency 2016-08-05 15:49:17 +01:00
Mike Jolley 1bc9da3e91 Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley 3d8258baea [2.6] [CLI] Explode tags and cat IDS to allow multiple comma values
Closes #11516
2016-07-25 13:20:47 +01:00
Mike Jolley 4f5896d908 [2.6] Only allow image MIME type upload via APIs 2016-07-21 16:20:13 +01:00
Claudio Sanches 2b6cbc7629 Sanitize image metadata 2016-07-19 14:24:11 -03:00
Claudio Sanches 4ed8d46867 [REST API] Make easy to update order line items #11450 2016-07-19 14:11:44 -03:00
Claudio Sanches 34a28d6841 [CLI] Allow filter the product variable types, closes #11240 2016-06-24 12:36:34 -03:00
Claudio Sanches 1e0077dc6e Use same translation string for errors 2016-06-20 17:43:09 -03:00
Mike Jolley b2ddd379e3 Use same translation string for errors 2016-06-20 10:54:23 +01:00
Claudio Sanches 05bf00657d Help debug remote image upload 2016-06-16 19:26:27 -03:00
Mike Jolley 78142a8ebb Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-checkout.php
#	includes/class-wc-coupon.php
#	includes/class-wc-customer.php
#	tests/unit-tests/cart/cart.php
#	tests/unit-tests/cart/functions.php
#	tests/unit-tests/coupon/coupon.php
#	woocommerce.php
2016-06-13 15:01:58 +01:00
Duoc Nguyen 36ccb0212e Correct docblock for method set_product_image_as_attachment 2016-06-09 16:50:58 +07:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley d4d6f3181c Best practice tweaks 2016-06-06 17:24:31 +01:00
Matej Kravjar a2c85987e0 [API] Fixed product create not honoring --porcelain argument 2016-05-19 19:34:37 +02:00
Mike Jolley ed08e51ddb Status updates via API are manual
Closes #10943
2016-05-19 11:50:19 +01:00
Claudio Sanches 3fc2c82aaf [API] Fixed variations backorders 2016-04-28 13:24:20 -03: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
Justin Shreve 3eacb992bc Address issues from Mike's Feedback:
* Rename individual use, free shipping, and exclude sale items to match their meta names closer.
* Sanitize emails when using set_email_restrictions
* Remove some unnecessary explict true checks
* Move ID into _data with the rest of the fields
* Fixed some spacing issues
2016-03-17 09:19:27 -07:00
Justin Shreve d738dec05d Coupon CRUD (WIP). 2016-03-17 09:19:27 -07:00
Claudio Sanches 4760108a03 Merge pull request #10504 from woothemes/SiR-DanieL-patch-1
[WC-CLI] Allow multidimensional arrays to be created properly
2016-03-08 13:07:50 -03:00
Nicola Mustone 417a97af78 allow multidimensional arrays to be created properly 2016-03-08 17:00:35 +01:00
Nicola Mustone c159f5c0c8 making easier to create variations 2016-03-08 16:49:30 +01:00
Nicola Mustone 4633982161 use a helper method to check values 2016-03-08 15:18:31 +01:00
Nicola Mustone a174f85381 checking 'yes' against boolean 2016-03-08 14:51:04 +01:00
Nicola Mustone 090e0bac64 use the correct order ID 2016-03-07 16:14:21 +01:00
Mike Jolley 5ddc0b1a9a [2.5] Fix CLI when setting a single category
Fixes #10409
2016-02-23 11:32:18 +00:00
Claudio Sanches b7b6254bf4 [CLI] Added docs about product reviews fields 2015-12-15 15:36:57 -02:00
Claudio Sanches bba6bdd6ea [CLI] Updated delete product description 2015-12-15 15:20:11 -02:00
Claudio Sanches 7d7be633a6 [CLI] Added docs about product category fields 2015-12-15 15:11:21 -02:00
Claudio Sanches 67773e2338 [CLI] Fixed order update description 2015-12-14 19:48:34 -02:00
Claudio Sanches ce360bc9b5 [CLI] Improved order delete command description 2015-12-14 19:34:13 -02:00
Claudio Sanches 9450151b16 [CLI] Fixed customer command descriptions and updated order delete description 2015-12-14 19:30:19 -02:00
Claudio Sanches e22724bf95 [CLI] Updated create order descriptions and removed order_number 2015-12-14 19:26:04 -02:00
Claudio Sanches 28d27bf2c0 [CLI] Updated some command descriptions 2015-12-14 18:55:20 -02:00
Claudio Sanches 9b5020efff [CLI] Added customer downloads fields docs 2015-12-14 18:32:04 -02:00
Claudio Sanches 2bc58f431a [CLI] Updated update coupons options description 2015-12-14 18:13:53 -02:00
Lee Willis adb4a7aa0b Avoid fatal error due to duplicate params 2015-11-27 22:49:01 +00:00
Mehdi Esmaeili 101c7f47e1 Better Documentation: Put throws tag 2015-11-17 16:21:42 +03:30
Claudio Sanches 9adb04d612 [CLI] Created command to update tax rate 2015-11-06 02:50:07 -02:00
Claudio Sanches 74d1492fe7 [CLI] Created command to get tax rate 2015-11-06 02:31:58 -02:00
Claudio Sanches 1b54117a8b [API] Created commands to delete tax rates and tax classes and fixed the list_class command name 2015-11-06 02:19:47 -02:00
Claudio Sanches 18cf62ed66 [API] Created commands to create tax rates and tax classes 2015-11-06 01:58:08 -02:00
Claudio Sanches 647a2e7498 [API] Created commands to list tax rates and tax classes 2015-11-06 01:37:57 -02:00
Claudio Sanches ef7046ea76 [CLI] Created initial tax command class 2015-11-06 00:23:46 -02:00
Mike Jolley 61e746730f wc_transaction_query function
Only uses transactions if enabled, or read uncommitted is supported
#9279
2015-11-04 14:11:40 +00:00
Claudio Sanches 58468d8821 [CLI] Fixed sanitization for product attributes 2015-11-03 17:11:54 -02:00
Jeff Stieler 95fe3d47c2 Use review comment meta for verification status in API calls and WP-CLI. 2015-10-20 22:03:29 -06:00
Claudio Sanches 3f0cb4763a [CLI] Stop round product prices 2015-10-06 11:16:03 -03:00
Akeda Bagus 7cbc94a50f Added tool subcommand.
Currenly only `clear_transients` is available. We'll add more in the
next release.
2015-10-01 15:46:04 +02:00
Akeda Bagus 0eea6a434c Better wording for report command.
The command is not managing report, only show reports.
2015-10-01 15:34:37 +02:00
Akeda Bagus 7157b64588 Allow orders to be filtered by customer_id. 2015-10-01 15:20:18 +02:00
Akeda Bagus df34fa9396 Implement cli command for customer' orders. 2015-10-01 15:20:05 +02:00
Akeda Bagus 0d91e1b6d3 Added more command help for `wp wc product`. 2015-10-01 15:18:54 +02:00
Akeda Bagus 274eede1f6 Initial works on WP-CLI support. 2015-10-01 09:34:03 +02:00