Commit Graph

28662 Commits

Author SHA1 Message Date
Claudio Sanches ac47cd6394 Test if coupon is invalid 2018-09-11 18:31:02 -03:00
Claudio Sanches bfdd758bd4 Improve coupons logic and throw errors for invalid coupons 2018-09-11 18:26:32 -03:00
Claudio Sanches 0d49421239 Fixed coding standards 2018-09-11 18:11:31 -03:00
Claudio Sanches d4b1089150 Fixed unit tests 2018-09-11 18:11:11 -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
Claudiu Lodromanean 6667b7413f
Merge pull request #21325 from woocommerce/fix/rest-api-order-notes-schema
[REST API] Fixed order notes schema
2018-09-11 13:12:39 -07:00
Claudio Sanches 2b7e5121f2 [REST API] Allow apply and remove coupons in orders endpoint
Closes #21119
2018-09-11 16:53:55 -03:00
Claudio Sanches ccd1e1ced6 Fixed coding standards 2018-09-11 16:53:41 -03:00
Claudio Sanches 0ab5dc3e5b [REST API] Updated Settings schema since now we allow batch update 2018-09-11 16:21:10 -03:00
Claudio Sanches 45c542aa8a [REST API] Fixed order notes schema 2018-09-11 15:53:13 -03:00
Claudiu Lodromanean 95c5250c17
Update readme.txt 2018-09-11 10:02:10 -07:00
Claudiu Lodromanean 1411567177
Merge pull request #21312 from woocommerce/fix/21295
Fix encoded special chars in layered nav "Any %s" string.
2018-09-11 10:01:36 -07:00
Claudiu Lodromanean 065d516871
Merge pull request #21301 from ediamin/fix/update_quick_edit_logic_to_show_hide_stock_qty_and_backorder_fields
Update quick edit logic to show/hide Stock qty and Backorders fields
2018-09-11 09:43:04 -07:00
Claudiu Lodromanean 9f79689b4e
Update readme.txt 2018-09-11 09:41:49 -07:00
Claudiu Lodromanean c60eb6a2f2
Merge pull request #21314 from woocommerce/add/20822
Add filter to control the restore refunded items chekbox default
2018-09-11 09:26:55 -07:00
Claudiu Lodromanean 7ea117d6d2
Update readme.txt 2018-09-11 09:26:47 -07:00
Claudiu Lodromanean ada946b424
Merge pull request #21231 from woocommerce/fix/jsstyle
Fix js linter errors
2018-09-11 09:24:19 -07:00
Claudiu Lodromanean a9b635efb1
Merge pull request #21322 from woocommerce/update/tracker
Tracker changes
2018-09-11 09:17:04 -07:00
Gerhard Potgieter 6ff90a1912 Cleaner code and correct apply_filters 2018-09-11 12:50:20 +02:00
Claudio Sanches e1255de717
Merge pull request #20111 from woocommerce/feature/rest-api-v3
[FEATURE BRANCH] REST API v3
2018-09-10 19:29:13 -03:00
Claudio Sanches 518d1f0a00 Updated unit tests 2018-09-10 19:26:37 -03:00
Claudio Sanches 61873627a7 Merge branch 'master' into feature/rest-api-v3 2018-09-10 19:16:22 -03:00
Claudiu Lodromanean 48bf960a74
Merge pull request #21245 from woocommerce/fix/woocommerce-sessions-schema
Change wp_woocommerce_sessions primary key
2018-09-10 12:20:45 -07:00
Claudiu Lodromanean ca9cda72e0
Update readme.txt 2018-09-10 12:20:37 -07:00
Claudiu Lodromanean fe1acc0e8e
Merge pull request #21311 from woocommerce/update/21308
Sort by latest instead of Sort by newness
2018-09-10 10:27:43 -07:00
Claudiu Lodromanean d7037e894a
Update readme.txt 2018-09-10 10:27:07 -07:00
Claudiu Lodromanean ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -07:00
Claudiu Lodromanean 75bac9f3c6
Merge pull request #21316 from woocommerce/fix/21120
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 09:47:31 -07:00
Claudiu Lodromanean ac24982e92
Merge pull request #21304 from woocommerce/fix/customer-list-query
Fix customer list query
2018-09-10 09:42:01 -07:00
Claudiu Lodromanean 6f8d3ecb89
Update readme.txt 2018-09-10 09:40:20 -07:00
Claudiu Lodromanean 752e5a8817
Update readme.txt 2018-09-10 09:03:25 -07:00
Claudiu Lodromanean f7028154a1
Merge pull request #21278 from woocommerce/fix/20989
Updated shipping class count and posts query to account for variations correctly.
2018-09-10 09:02:31 -07:00
Claudiu Lodromanean a3b15ab00f
Update readme.txt 2018-09-10 09:02:27 -07:00
Claudiu Lodromanean 4dbef1703a
Merge pull request #21189 from woocommerce/save-old-tests
Set up unit tests for v3 api and v2 api
2018-09-10 07:35:42 -07:00
Peter Fabian 17f9b601e9 Reverted more accurate counting of shipping class items as it could cause perf issues. 2018-09-10 16:23:06 +02:00
Peter Fabian 252670b616 Merge branch 'feature/rest-api-v3' into save-old-tests
# Conflicts:
#	tests/unit-tests/api/products.php
2018-09-10 16:07:35 +02:00
Peter Fabian f6ca4db90e Updated tests for settings endpoint to reflect changes in v3 REST API. 2018-09-10 15:53:41 +02:00
Peter Fabian ec4000232d Updated tests to reflect changes for variations in v3 REST API. 2018-09-10 15:49:07 +02:00
Gerhard Potgieter c572327ce9 Check if helper is connected to woocommerce.com 2018-09-10 15:47:46 +02:00
Peter Fabian b6f229238e Updated payment gateways tests for v3 REST API. 2018-09-10 15:42:46 +02:00
Gerhard Potgieter 1f2b028b0b Category counts 2018-09-10 15:35:44 +02:00
Gerhard Potgieter 58a2ae494d Review counts 2018-09-10 15:30:17 +02:00
Gerhard Potgieter f28002f257 Use wp_json_encode instead of esc_js. Hat tip @dtugend 2018-09-10 14:35:55 +02:00
Peter Fabian f68bef3e24 Update customers endpoint tests for v3 REST API. 2018-09-10 14:20:23 +02:00
Peter Fabian f80d628c56 Fixed omitted grandparent's prepare_objects_query for products endpoint. 2018-09-10 13:49:42 +02:00
Peter Fabian 1237e5ef7e Added enums to collection_params for stock_status. 2018-09-10 12:36:18 +02:00
Peter Fabian 0ddd8f4506 Fixed stock_status validation. 2018-09-10 12:32:01 +02:00
Gerhard Potgieter 16b2abe8cd Remove charset, WP will load site charset by default. We need to do esc_js first before wp_specialchars_decode to avoid esc_js to encode double quotes again. 2018-09-10 11:58:39 +02:00