Commit Graph

17306 Commits

Author SHA1 Message Date
Claudio Sanches 2b7e725928 Tests for wc_get_coupon_code_by_id() 2016-08-24 14:17:58 -03:00
Mike Jolley 0667c1cde1 Remove option based tools 2016-08-24 17:35:13 +01:00
Mike Jolley 49283e5576 uninstall_data replaced with constant. 2016-08-24 17:34:13 +01:00
Mike Jolley 84487d0f4b Shipping debug mode moved to shipping settings 2016-08-24 16:55:34 +01:00
Mike Jolley 2dc3e5252f Made WC_TEMPLATE_DEBUG_MODE a constant only 2016-08-24 16:46:07 +01:00
Mike Jolley 26c4b3ce13 Delete if qty = 0 2016-08-24 16:09:39 +01:00
Mike Jolley a8dc46cfdf Default line item data 2016-08-24 16:06:35 +01:00
Mike Jolley 938361535f Exception handling 2016-08-24 16:02:19 +01:00
Mike Jolley cde78abed3 Working on catching errors 2016-08-24 15:26:35 +01:00
Mike Jolley d9798f7226 Set reading to prevent exceptions during DB load 2016-08-24 14:37:19 +01:00
Mike Jolley 7e30e8dda3 Set defaults and handle order reads without exceptions 2016-08-24 12:34:19 +01:00
Mike Jolley 53f01b52a8 Bring back WC_Data_Exception 2016-08-24 10:46:29 +01:00
Mike Jolley 7b599205f8 Revert "Remove exception class include"
This reverts commit e0fcc9357b.
2016-08-24 10:21:02 +01:00
Mike Jolley c839944d46 Revert "Remove exception class"
This reverts commit 7c271e5dc5.
2016-08-24 10:20:58 +01:00
Claudio Sanches c8726cc42b Fixed method return value in write context
cc @justinshreve
2016-08-24 01:50:12 -03:00
Claudio Sanches 3633960165 Removed dead global variables 2016-08-23 20:02:38 -03:00
Claudio Sanches 00b2e43250 DRY 2016-08-23 20:00:30 -03:00
Claudio Sanches 4513e33031 Introduces the wc_get_coupon_code_by_id() function 2016-08-23 19:52:14 -03:00
Claudio Sanches 5e069a4f4e Merge pull request #11756 from woothemes/update/coupon-api-crud
Update Coupon API to use CRUD
2016-08-23 19:51:27 -03:00
Justin Shreve 77088a4a22 Coupon ID will also be an integer, so we can switch the prepare statement to expect that 2016-08-23 13:55:21 -07:00
Mike Jolley b727acd96e Implement get and set prop methods 2016-08-23 18:48:48 +01:00
Mike Jolley e08e5a816d 2d array handling 2016-08-23 15:49:34 +01:00
Mike Jolley 2636d04ba6 Setters 2016-08-23 15:25:50 +01:00
Mike Jolley b1bd1c2227 Fee 2016-08-23 15:02:57 +01:00
Mike Jolley 3e3e35d50d Add set prop/get prop helper, error handler, and validation to item product class 2016-08-23 14:58:44 +01:00
Mike Jolley e0fcc9357b Remove exception class include 2016-08-23 13:43:48 +01:00
Mike Jolley 7c271e5dc5 Remove exception class 2016-08-23 13:43:35 +01:00
Mike Jolley 74c96e305b Error method 2016-08-23 13:43:26 +01:00
Mike Jolley 42ce6443e8 Remove backslash 2016-08-23 11:15:41 +01:00
Mike Jolley aa5fee3372 Merge pull request #11752 from corsonr/issue_11751
Fix issue 11751
2016-08-23 10:35:21 +01:00
Mike Jolley cdc9fae5a3 Merge pull request #11750 from nishitlangaliya/master
Fixed Issue #11630
2016-08-23 10:34:53 +01:00
corsonr f430c23cdc fix issue 11751 2016-08-23 11:16:38 +02:00
Multidots 41d079f086 Fixes add reply-to to admin emails ref #11630 2016-08-23 13:09:27 +05:30
Multidots c7fc7cce07 Merge branch 'master' of https://github.com/nishitlangaliya/woocommerce 2016-08-23 12:41:22 +05:30
Claudio Sanches 2407a880f7 Updated the default colors for emails to match the Woo Style Guide
Closes #11748

cc @jameskoster
2016-08-22 20:59:56 -03:00
Justin Shreve a243829db6 Convert Coupon Controller to use CRUD operations 2016-08-22 15:06:21 -07:00
Justin Shreve 7da590e422 Coupon Tests:
* Move tests for legacy endpoints to a legacy test folder.
* Create a test class to test the WC-API coupons endpoint.
2016-08-22 13:50:32 -07:00
Claudio Sanches 7c636ff781 Merge pull request #11747 from woothemes/oauth1-headers
Allow oAuth1.0a authentication using headers
2016-08-22 17:42:06 -03:00
Claudio Sanches eb55096a32 Allow oAuth1.0a authentication using headers 2016-08-22 17:39:41 -03:00
Claudio Sanches 7a0c5bc19b REST API expect meta data ID as an integer value
cc @mikejolley
2016-08-22 16:59:03 -03:00
Claudio Sanches 38e1be71eb ID first for all elements in the REST API
cc @mikejolley
2016-08-22 16:58:34 -03:00
Claudio Sanches 0da91bb7d7 Merge pull request #11746 from woothemes/crud-meta-id
Swaps meta_id for id across crud and api
2016-08-22 16:43:57 -03:00
Mike Jolley f34f1aa635 Simplify prepare_line_items logic 2016-08-22 19:58:30 +01:00
Mike Jolley 39f4a1cdca Swaps meta_id for id across crud and api 2016-08-22 19:37:34 +01:00
Claudio Sanches c8757a1fda Merge branch 'master' of github.com:woothemes/woocommerce 2016-08-22 14:44:09 -03:00
Claudio Sanches e72320d33c Include WooCommerce docs in the apigen menu 2016-08-22 14:43:57 -03:00
Mike Jolley 169780d31b woocommerce-message--success
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions

Closes #11722
2016-08-22 18:41:38 +01:00
Mike Jolley 2cea613566 Fix shipping meta save
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley a8e47992a6 Put back add_product for convenience. Fix unit tests. 2016-08-22 18:00:52 +01:00
Mike Jolley 3d696266d2 Set_address 2016-08-22 17:03:59 +01:00