Commit Graph

1752 Commits

Author SHA1 Message Date
Claudiu Lodromanean 7049cd28e9
Merge pull request #22057 from leewillis77/status-report-plugin-fix
"Active plugins" fix for status report
2018-11-28 11:09:26 -08:00
Lee Willis 6f24d5b283 Coding standard fix 2018-11-27 12:05:10 +00:00
Lee Willis 0079312e1c Remove erroneous "break" 2018-11-27 11:20:27 +00:00
Claudio Sanches 6a21ec401c Fixed coding standards 2018-11-21 16:12:35 -02:00
Claudio Sanches fa8ec35006 Fixed REST API authentication when using 3rd party auth methods
Closes #21789
2018-11-21 16:10:36 -02:00
Claudiu Lodromanean 0f72b5b6b1
Merge pull request #21923 from woocommerce/add/db-upgrade-tools
Update database tools option
2018-11-15 10:02:14 -08:00
Claudiu Lodromanean 9fab802ff3
Merge pull request #21706 from nishitlangaliya/issue-21657
fix: Various 'Table does not exist' in WooCommerce status
2018-11-15 09:12:51 -08:00
Gerhard 6a2b511731 Change wording to update instead of upgrade. 2018-11-15 12:10:17 +02:00
Gerhard 051fb5be36 Add a Upgrade database option to the tools tab. If clicked it will do a forced DB upgrade. 2018-11-15 12:03:12 +02:00
Claudio Sanches 8c908b178e Fixed permission check on customers endpoint for legacy REST API 2018-11-02 10:21:08 -07:00
Claudio Sanches fff05e9434 Included sanitization for product's description on legacy REST API 2018-11-02 10:20:55 -07:00
Claudiu Lodromanean f973d0bed2
Merge pull request #21745 from woocommerce/fix/21697
Make easy to register new REST API versions into webhooks
2018-10-31 08:51:24 -07:00
Claudiu Lodromanean 73c8c99607
Merge pull request #21740 from woocommerce/revert/17895
Revert PR #17895
2018-10-31 08:50:51 -07:00
Claudiu Lodromanean aa8caacf9c
Merge pull request #21675 from woocommerce/fix/21660
Removed non-existing WC_Product_Simple->set_date_created_gmt method
2018-10-30 10:47:02 -07:00
nishitlangaliya e7b9056c58 fix: global table included along with multisite tables 2018-10-30 20:50:09 +05:30
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Rodrigo Primo 86650d9fb8 Revert "Update WC API v1 and v2 to use post_author instead of _customer_user"
This reverts commit fdfe95b07e.
2018-10-29 11:14:24 -03:00
nishitlangaliya e275bf2b1d fix: Various 'Table does not exist' in WooCommerce status 2018-10-27 11:20:21 -08:00
Claudio Sanches 2be69a90a6 Reduce number of duplicated strings 2018-10-26 20:08:24 -03:00
Claudio Sanches 47a6c32d5c Remove duplicated string in reviews endpoint 2018-10-26 19:31:03 -03:00
Claudiu Lodromanean f311ad0d12
Merge pull request #21608 from woocommerce/use-crud-instead-of-has-post-thumbnail
Use $product->get_image_id() instead of has_post_thumbnail()
2018-10-25 11:51:11 -07:00
Claudio Sanches 53fa49b13a Removed non-existing WC_Product_Simple->set_date_created_gmt method
Closes #21660
2018-10-25 13:12:40 -03:00
Claudiu Lodromanean 6ebdffd615
Merge pull request #21617 from itowhid06/master
[REST API] pass missing $filter as parameter in legacy get_order_refund endpoints
2018-10-22 09:40:26 -07:00
Towhidul Islam b68cef2062 [REST API] pass missing $filter as parameter in get_order_refund 2018-10-19 20:41:20 +06:00
Claudio Sanches bd37853923 Improved review and reviewer_email 2018-10-18 18:53:16 -03:00
Claudio Sanches f3fdcd2ec0 Fixed order or collection params 2018-10-18 18:17:15 -03:00
Claudio Sanches 17a80c863e [REST API] Fixed product reviews schema and content 2018-10-18 18:13:21 -03:00
Claudio Sanches d987fb95b9 [REST API] Register data endpoints 2018-10-18 16:04:54 -03:00
Rodrigo Primo 9b094fc74d Use $product->get_image_id() instead of has_post_thumbnail()
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032 and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Claudiu Lodromanean 8c6b7032c6
Merge pull request #21596 from woocommerce/fix/rest-api-v3-producs-schema
[REST API] Fixed schema stock_status on products endpoints
2018-10-17 08:25:12 -07:00
Claudiu Lodromanean 5ca9600a23
Merge pull request #21595 from woocommerce/fix/rest-api-v3-trashed-orders
[REST API] Ability to query orders from trash bin
2018-10-17 08:24:06 -07:00
Claudiu Lodromanean 6f32369144
Merge pull request #21594 from woocommerce/fix/rest-api-v3-order-refunds-schema
[REST API] Fixed schema for refunded_payment in order refunds endpoint
2018-10-17 08:11:16 -07:00
Claudio Sanches 2bcd4598f8 Fixed coding standards 2018-10-16 21:15:03 -03:00
Claudio Sanches a9b36a4e23 [REST API] Fixed schema stock_status on products endpoints 2018-10-16 21:12:49 -03:00
Claudio Sanches c6daf8287d [REST API] Ability to query orders from trash bin 2018-10-16 20:19:34 -03:00
Claudio Sanches 98c8bb3eda [REST API] Fixed schema for refunded_payment in order refunds endpoint 2018-10-16 19:20:53 -03:00
Claudio Sanches 0f1f91f90a [REST API] Fixed duplicated entry in orders notes schema 2018-10-16 19:07:58 -03:00
Claudiu Lodromanean 84ec31d3cc
Merge pull request #21588 from woocommerce/fix/21587
[REST API] Product downloads - Check if file ID is not empty and exists
2018-10-16 10:09:52 -07:00
Claudio Sanches 63390c181d [REST API] Fixed schema for product's downloads
Download ID are generated with wp_generate_uuid4() for while now.
Also we allow users to manipulate it.
2018-10-16 13:19:41 -03:00
Claudio Sanches 00c1a9016a Check if file ID is not empty and exists
Closes #21587
2018-10-16 13:01:51 -03:00
Alex Kirk 3e7cf4be21
Fix typo revivew 2018-10-15 15:54:19 +02:00
Claudiu Lodromanean 2008b8e2b2
Merge pull request #21384 from woocommerce/fix/rest-api-order-statuses
[REST API] Updated order statuses slugs
2018-09-24 11:28:56 -07:00
Claudio Sanches 4ce8544478 [REST API] Fixed reports results 2018-09-18 12:14:17 -03:00
Claudio Sanches bd7a73696a [REST API] Updated order statuses slugs
All REST API does not include "wc-" prefix, removing here makes easy to
work with all endpoint without care about any prefix.
2018-09-18 11:27:26 -03:00
Claudio Sanches 48a0045373 [REST API] Fixed endpoints registered in /reports 2018-09-18 11:23:35 -03:00
Claudiu Lodromanean 7b1344e567
Merge pull request #21327 from woocommerce/feature/21119
[REST API] Allow apply and remove coupons in orders endpoint
2018-09-12 08:04:00 -07:00
Claudio Sanches bfdd758bd4 Improve coupons logic and throw errors for invalid coupons 2018-09-11 18:26:32 -03:00
Claudio Sanches 8d9da1cb94 Created method to apply and remove coupons 2018-09-11 18:10:58 -03:00
Claudio Sanches fda3f6890c Fixed allow to remove coupons when using line item ID. 2018-09-11 17:18:59 -03:00
Claudiu Lodromanean 92c5c4e54e
Merge pull request #21326 from woocommerce/fix/rest-api-settings-schema
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 13:16:36 -07:00