Commit Graph

20265 Commits

Author SHA1 Message Date
Claudio Sanches 39ed5c00cf [REST API] Fixed refunded_by context in order refunds 2017-03-23 02:27:32 -03:00
Claudio Sanches 5a85e6a6f8 [REST API] Handle variation image as object and not array 2017-03-23 00:38:52 -03:00
Mike Jolley c0218188a0 Update unit tests 2017-03-23 00:11:21 +00:00
Mike Jolley ba07d53768 Remove guesswork from timezone handling so offsets work correctly regardless of DST 2017-03-23 00:11:15 +00:00
Mike Jolley 7e462b9cca Data store date handling 2017-03-23 00:10:29 +00:00
Mike Jolley 8efb45312d Merge pull request #13726 from woocommerce/rest-api-product-review-gmt
[REST API] Fixed timezone date and included GMT date to product reviews
2017-03-22 21:51:34 +00:00
Mike Jolley 7afb1bb427 Merge pull request #13727 from woocommerce/rest-api-webhooks-gmt
[REST API] Fixed dates and included GMT dates in webhook endpoints for v2
2017-03-22 21:50:56 +00:00
Mike Jolley 21b1a83624 Merge pull request #13725 from woocommerce/rest-api-product-images-dates
[REST API] Include GMT dates for images in schema
2017-03-22 21:44:32 +00:00
Mike Jolley 9673b592f3 Merge pull request #13724 from woocommerce/dates-categories-images
[REST API] Added timezone and GMT dates in category image
2017-03-22 21:44:09 +00:00
Claudio Sanches c074c9d57b [REST API] Fixed date and included GMT dates to webhooks 2017-03-22 18:36:15 -03:00
Claudio Sanches 7f8c4b18e1 [REST API] Fixed date and included GMT date for webhook deliveries 2017-03-22 18:34:10 -03:00
Claudio Sanches 73f7a39d09 [REST API] Fixed timezone date and included GMT date to product reviews 2017-03-22 18:28:57 -03:00
Claudio Sanches 0f5e6373e4 [REST API] Include GMT dates for images in schema 2017-03-22 18:23:41 -03:00
Claudio Sanches dbd2409e03 [REST API] Added timezone and GMT dates in category image 2017-03-22 18:17:53 -03:00
refael iliaguyev d8cd0a7550 prevent flipping of color input in rtl 2017-03-22 22:12:07 +02:00
Mike Jolley 72be782e2a Merge pull request #13719 from rodrigoprimo/remove-unused-phpdoc
Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product()
2017-03-22 19:16:39 +00:00
Mike Jolley 31784f23e3 Merge pull request #13720 from rodrigoprimo/remove-unused-variable
Remove unused global variable from WC_Order_Item_Product::get_item_downloads()
2017-03-22 19:16:25 +00:00
Rodrigo Primo b47a7b52df Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product() 2017-03-22 16:04:49 -03:00
Mike Jolley 56d55517cc Merge pull request #13698 from woocommerce/remove-factory-cache
Remove factory cache
2017-03-22 19:02:53 +00:00
Mike Jolley b1e76fa68e Merge pull request #13718 from rellect/correct-hours-minutes-rtl
RTL - Correct hour:minute input alignment in order details
2017-03-22 19:02:29 +00:00
Rodrigo Primo ce9ecefa98 Remove unused global variable from WC_Order_Item_Product::get_item_downloads() 2017-03-22 16:00:11 -03:00
refael iliaguyev baef6f3907 correct hours:minutes inputs in rtl 2017-03-22 20:17:35 +02:00
Mike Jolley 9e81eb9418 Merge pull request #13717 from thenbrent/increase_order_item_type_length
Restore prior order item length
2017-03-22 17:19:49 +00:00
Brent Shepherd 16cc914714 Restore prior order item length
To maintain backward compatibility with custom order item types,
like 'order_item_pending_switch' used by Subscriptions.
2017-03-22 10:11:46 -07:00
Mike Jolley a876862bfb Merge pull request #13693 from woocommerce/orders-refunds-fix-schema
Include missing api_refund item to order refunds schema
2017-03-22 15:21:37 +00:00
Mike Jolley b55f59e975 Merge pull request #13694 from woocommerce/fix-missing-settings-schema
Include missing payment gateways and shippingmethods settings schema
2017-03-22 15:21:27 +00:00
Mike Jolley 64905a4d5e Merge pull request #13692 from woocommerce/order-notes-dates
Include date_created_gmt in order notes endpoint
2017-03-22 15:21:19 +00:00
Claudio Sanches 40a86c28eb Merge pull request #13707 from woocommerce/fix-13699
Abort gallery script when there are no images
2017-03-22 10:56:49 -03:00
Claudio Sanches 7f7fbcbb5d Improve order notes schema 2017-03-22 10:53:59 -03:00
Claudio Sanches 8184757e8a Improved descrition of items in schema 2017-03-22 10:51:52 -03:00
Claudio Sanches 1480257768 Merge pull request #13704 from woocommerce/fix-13700
Allow `data-coupon` through kses
2017-03-22 10:47:01 -03:00
Claudio Sanches 7485b418d7 Improve api_refund description 2017-03-22 10:39:23 -03:00
Mike Jolley 47f363a463 data-src on all gallery images
#13710
2017-03-22 13:26:00 +00:00
Mike Jolley e2f1449553 Set data-src
Closes #13710
2017-03-22 12:51:27 +00:00
Mike Jolley 75c55c0442 Revert "Tests"
This reverts commit a070a7f6d6.
2017-03-22 12:37:13 +00:00
Mike Jolley a070a7f6d6 Tests 2017-03-22 12:36:30 +00:00
Mike Jolley 3b35d95c6a Use gmdate and GMT in data stores so times are not changed 2017-03-22 12:01:38 +00:00
Mike Jolley 3297d706fa Merge pull request #13697 from DavidAnderson684/patch-3
Remove redundant / awkward empty password check
2017-03-22 11:12:26 +00:00
Mike Jolley 9ff603681b Abort gallery script when there are no images
Fixes #13699
2017-03-22 11:08:37 +00:00
Mike Jolley 15bbac6b5c Allow `data-coupon` though kses
Fixes #13700
2017-03-22 10:53:18 +00:00
Mike Jolley 414e2b9501 Shared cache for order items 2017-03-21 23:50:05 +00:00
Mike Jolley 91f109c33d Cache order item data 2017-03-21 23:38:04 +00:00
Mike Jolley 2763abb605 Cache order items 2017-03-21 23:37:47 +00:00
Mike Jolley c4c8edee5f Remove order and product factory cache 2017-03-21 23:37:38 +00:00
David Anderson 57ab34f13e Remove redundant / awkward empty password check
WooCommerce here checks that the password is not empty. This check is redundant, because it is already performed by wp_authenticate_email_password() (which is invoked, eventually, by the call in WC to wp_signon() ). Moreover, it is harmful, because it prevents extension of the login form. For example, in my use case, I have added a code to be scanned by a smartphone app as an alternative to the password. When the code is scanned, a password is required.

This extra/redundant check for an empty password on the WooCommerce form prevents my already-working-on-the-standard-wp-login-form code from working here, and there's no way to work around it that isn't hacky/ugly (e.g. direct manipulation of $_POST).
2017-03-21 23:21:43 +00:00
Claudiu Lodromanean 2cb861b298 Use latest wc-e2e-page-objects version 2017-03-21 14:46:37 -07:00
Mike Jolley 795e6871c0 Merge pull request #13691 from woocommerce/fix-address-labels
Improve address labels to help translations
2017-03-21 21:28:16 +00:00
Justin Shreve d11e7a93ca Merge pull request #13695 from woocommerce/fix-undefined-error-payments-endpoint
Fixed undefined variables in payment methods endpoint
2017-03-21 14:12:57 -07:00
Justin Shreve 8392c793a7 Merge pull request #13690 from woocommerce/sleep-wakeup-data
Sleep and Wakeup for WC_Data
2017-03-21 14:12:01 -07:00
Justin Shreve f4add2839b Merge pull request #13688 from alarocca130/master
Fix: post_meta function for payment token meta
2017-03-21 13:55:54 -07:00