Commit Graph

19678 Commits

Author SHA1 Message Date
Mike Jolley 071d389c73 Merge pull request #13595 from woocommerce/13527-wp-api
Included access_expires_gmt to customer downloads endpoint v2
2017-03-14 19:21:08 +00:00
Claudio Sanches 1b1fc109f7 Included access_expires_gmt to customer downloads endpoint v2 2017-03-14 16:04:22 -03:00
Mike Jolley 38148e9981 Merge pull request #13594 from woocommerce/13527-api
Fixed access_expires in legacy REST API
2017-03-14 18:52:59 +00:00
Claudio Sanches 137de9eea6 Fixed access_expires in legacy REST API 2017-03-14 15:40:36 -03:00
Mike Jolley e13badcdb3 Merge pull request #13584 from woocommerce/13527-update-downloads-dates
Apply WC_DateTime to WC_Customer_Downloads
2017-03-14 12:11:28 +00:00
Claudio Sanches f1c08f1a8e Updated downloads view on admin 2017-03-13 20:54:43 -03:00
Claudio Sanches c4134586cd FUpdate how save download dates 2017-03-13 20:54:33 -03:00
Claudio Sanches aaeab5b81e Use WWC_DateTime for access_granted 2017-03-13 20:36:04 -03:00
Claudio Sanches 792fe08f1d Updated WC_Customer_Downloads to use WC_DateeTime 2017-03-13 20:29:55 -03:00
Claudio Sanches d973ac5a8d Merge pull request #13580 from woocommerce/product-date-methods-13524
Product date methods
2017-03-13 20:11:22 -03:00
Mike Jolley 02c826ba5e Correctly handle null values 2017-03-13 22:14:20 +00:00
Mike Jolley 9bee678819 API updates 2017-03-13 21:36:31 +00:00
Mike Jolley d195aa6117 Fix unit tests 2017-03-13 20:35:04 +00:00
Mike Jolley dd1b8e35dc API endpoints 2017-03-13 20:26:52 +00:00
Mike Jolley 1bac579df7 Date getters and setters 2017-03-13 19:52:44 +00:00
Mike Jolley e5c753e757 Merge pull request #13557 from woocommerce/fix-13526-admin
Keep date compatibility in WC_Ajax::get_customer_details()
2017-03-13 16:05:17 +00:00
Mike Jolley d2bd1a422c Merge pull request #13555 from woocommerce/fix-13526-rest-api
Update date usage in REST API v1 and v2
2017-03-13 16:04:38 +00:00
Mike Jolley 0098595339 Merge pull request #13554 from woocommerce/fix-13526-legacy-api
Fix dates in customer legacy endpoints
2017-03-13 15:59:02 +00:00
Mike Jolley bee1d6f915 Merge pull request #13551 from woocommerce/orders-api-data
Revert order of items on Orders and Refunds endpoints
2017-03-13 15:58:13 +00:00
Claudio Sanches 98d26521d1 Keep date compatibility in WC_Ajax::get_customer_details() 2017-03-10 20:13:56 -03:00
Claudio Sanches 5b798332d2 Updated customer REST API unit tests 2017-03-10 19:51:33 -03:00
Claudio Sanches 3fbb8415d6 Change to single quotes 2017-03-10 19:14:28 -03:00
Claudio Sanches 8cefbd7c08 Added and fixed date properties for customers v2 endpoint 2017-03-10 19:10:41 -03:00
Claudio Sanches 7fb4340747 Updated dates for customers in REST API v1 2017-03-10 19:00:36 -03:00
Claudio Sanches c6fa88bde8 Both $server-format_datetime() variables are false by default 2017-03-10 18:15:05 -03:00
Claudio Sanches c353241599 Fixed dates in customer legacy endpoints 2017-03-10 18:10:03 -03:00
Claudio Sanches b36fea1ce5 [REST API] Use the same order as schema for refunds response 2017-03-10 17:26:36 -03:00
Claudio Sanches 65ed14635e Change bback $item to $data 2017-03-10 17:22:38 -03:00
Claudio Sanches 4ea40d997b [REST API] Improved order of items in Orders endpoint schema 2017-03-10 17:20:27 -03:00
Claudio Sanches cf1ae98011 Merge pull request #13549 from woocommerce/order-date-functions
Order date functions
2017-03-10 16:40:40 -03:00
Mike Jolley aac2e6a39c Refund schema 2017-03-10 19:30:07 +00:00
Mike Jolley e6752932dd Sort 2017-03-10 19:05:32 +00:00
Mike Jolley 2c59a6a86f Fix test 2017-03-10 18:59:55 +00:00
Mike Jolley 61484ed711 Update API endpoints 2017-03-10 18:54:59 +00:00
Mike Jolley 53962f1143 Other date_date call replacements 2017-03-10 16:43:05 +00:00
Mike Jolley 8ab839a030 Replace template usage of dates 2017-03-10 16:35:47 +00:00
Mike Jolley 84a1f0f92b wc_rest_prepare_date_response handling for WC_DateTime 2017-03-10 16:30:32 +00:00
Mike Jolley 8e169ede98 Legacy handling 2017-03-10 16:30:06 +00:00
Mike Jolley 339b1b7aab Set dates based on UTC 2017-03-10 16:29:52 +00:00
Mike Jolley 804573028d wc_format_datetime function 2017-03-10 16:29:42 +00:00
Mike Jolley 05e6c506ce Email dates 2017-03-10 16:29:15 +00:00
Mike Jolley 69cc8f5150 API dates 2017-03-10 16:28:50 +00:00
Mike Jolley 6ec06ef0db Update tests 2017-03-10 14:52:41 +00:00
Mike Jolley c2339e1983 Data store read 2017-03-10 14:48:18 +00:00
Mike Jolley bdc302a9fb Data store write 2017-03-10 14:44:00 +00:00
Mike Jolley 89fab41440 date_{paid|completed} getters and setters. 2017-03-10 14:25:40 +00:00
Mike Jolley 320cf818a5 Merge pull request #13539 from woocommerce/uses-gmdate-customer-last-update
Use GMT/UTC+0 when update customer last_update
2017-03-10 12:24:02 +00:00
Mike Jolley c162415fac Merge pull request #13538 from woocommerce/customers-created-modified-date
Apply WC_DateTime to WC_Customer
2017-03-10 10:48:46 +00:00
Claudio Sanches dbbe4617ee Do not force integer since will be saved as string by WordPress 2017-03-10 01:58:57 -03:00
Claudio Sanches 948963f5c7 Uses GMT/UTC+0 when update customer lastt_update 2017-03-10 01:57:53 -03:00