Commit Graph

9724 Commits

Author SHA1 Message Date
claudiosmweb 820ba2cf42 Excluded tests and tmp directory when create new .pot files 2014-10-29 17:45:29 -02:00
Mike Jolley d05500637c Telangana state 2014-10-29 11:54:36 +00:00
Mike Jolley ab562615ce [2.2] Remove strtolower and capitalize status names
Fixes #6624
2014-10-29 11:15:00 +00:00
Mike Jolley 69ca69ce52 Split up the product widget methods 2014-10-29 11:07:06 +00:00
Mike Jolley 9be06dd9e5 Merge pull request #6635 from tivnet/patch-2
Avoid notices if file does not exist
2014-10-29 10:37:28 +00:00
Mike Jolley 3d1285c8c4 Allow some limited html in text attributes
Fixes #6620. @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
Mike Jolley bcaf0e0779 Merge pull request #6641 from coenjacobs/filter-empty-rate-code
Allow to filter empty tax rate code
2014-10-29 10:04:34 +00:00
claudiosmweb a5ad428faf [2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622 2014-10-28 18:37:53 -02:00
Barry Kooij 5405581ce4 Unit Tests: add method test_add_discount_duplicate. 2014-10-28 12:25:50 +01:00
Coen Jacobs 7ea0d586c9 Allow to filter empty tax rate code 2014-10-28 12:24:09 +01:00
Barry Kooij b76fc7c68a Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-28 11:53:44 +01:00
Barry Kooij 4a6b880a41 Unit Tests: updated product class doc. 2014-10-28 11:53:36 +01:00
Barry Kooij db4eb9a2c6 Unit Tests: Only check for error notices as methods add success notices. 2014-10-28 11:53:22 +01:00
Barry Kooij 1bfab57e29 Unit Tests: Added test_add_discount method. 2014-10-28 11:52:44 +01:00
Barry Kooij e2df8e9b87 Coupon helper. 2014-10-28 11:51:46 +01:00
Barry Kooij 6312683eec Small codestyle fix to add_discount method. 2014-10-28 11:51:33 +01:00
Mike Jolley f4556fe710 [2.2] Fixed nonce check in form handler 2014-10-28 09:40:50 +00:00
Gregory Karpinsky 5460e0fed0 Avoid notices if file does not exist
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php, 
my-theme/woocommerce/single-product\bundled-item-image.php, 
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.

2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
Mike Jolley d53d61dc03 Split setup_environment() 2014-10-27 15:00:14 +00:00
Mike Jolley b9eb83403e Split prevent_caching() method 2014-10-27 15:00:14 +00:00
Mike Jolley d5ca220eb4 Merge pull request #6630 from vachan/patch-1
Added Address Format for India
2014-10-27 14:09:04 +00:00
Mike Jolley b55812a8db Parse_file_path can just do replacements 2014-10-27 13:38:29 +00:00
James Koster fd81658cba storefront prompt. closes #6351 2014-10-27 13:38:04 +00:00
Vachan Kudmule 755d065107 Added Address Format for India
In India the Postcode is at the city level, thus updated the file in accordance with the Indian Standard of Address Formatting.
@line#382: Hyphenated Postcode to the City Name & State then Country.
REF: 
1) I am an Indian Citizen myself
2) http://en.wikipedia.org/wiki/Address_(geography)#India
3) http://www.addressdoctor.com/en/countries-data/address-formats.html#fbid=Bv4FMyXjoPh
4) http://www.bitboost.com/ref/international-address-formats/india/
2014-10-27 18:12:51 +05:30
Barry Kooij 1d4800ee98 Unit Tests: test_coupons_enabled, test_ship_to_billing_address_only, test_needs_shipping_address 2014-10-27 13:30:50 +01:00
Barry Kooij aec79a9222 Merge branch 'master' of github.com:woothemes/woocommerce
Conflicts:
	tests/unit-tests/cart.php
2014-10-27 13:30:27 +01:00
Barry Kooij 26073e5668 Unit Tests: test_coupons_enabled, test_ship_to_billing_address_only, test_needs_shipping_address 2014-10-27 13:29:03 +01:00
Mike Jolley 04dcc6a3f2 Tweak download_product() method 2014-10-27 12:25:05 +00:00
Mike Jolley 8a310f96d8 Split download_headers() method 2014-10-27 11:01:27 +00:00
Mike Jolley abd81e6685 Split check_current_user_can_download() method 2014-10-27 11:01:27 +00:00
claudiosmweb da4e7026a2 Fixed coding standards 2014-10-24 20:33:30 -02:00
Barry Kooij 75484c6d43 Unit Tests: split cart check methods. 2014-10-25 00:27:14 +02:00
Barry Kooij 1a3d15ad4c Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-25 00:20:13 +02:00
Barry Kooij 4fd09d9c11 Unit Tests: skip this test for now. 2014-10-25 00:20:05 +02:00
claudiosmweb dfde3f0028 Prevents adding trashed products in the cart 2014-10-24 20:12:55 -02:00
Mike Jolley cac813c1de Attempt to improve check_current_user_can_download() 2014-10-24 23:08:50 +01:00
Mike Jolley 63c923394c Additional download handler tweaks 2014-10-24 22:50:23 +01:00
Barry Kooij 8a104ee642 Unit Tests: Added test_get_total and test_get_total_ex_tax methods. 2014-10-24 22:34:10 +02:00
Barry Kooij fdfabc89f9 Unit Tests: added test_check_cart_item_validity method 2014-10-24 21:26:38 +02:00
Barry Kooij e5d418305d Unit Tests: Added assertIsWPError to WC unit test framework 2014-10-24 21:26:26 +02:00
Barry Kooij 6960138876 Unit Tests: force delete on cleanup 2014-10-24 21:14:19 +02:00
Barry Kooij a4bb50aaa5 Unit Tests: added test_get_remove_url 2014-10-24 20:56:56 +02:00
Barry Kooij 80dc739ef0 Add return statement to check_cart_items 2014-10-24 20:56:06 +02:00
Barry Kooij 4b510dc7d6 Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-24 20:37:06 +02:00
Barry Kooij 4eb50a198b Unit Tests: added test_add_to_cart_sold_individually method 2014-10-24 20:36:07 +02:00
Barry Kooij aa85f8dcb1 Unit Tests: add extra checks to add_to_cart tests. 2014-10-24 20:35:49 +02:00
Mike Jolley c3023d4c8c WC_Download_Handler - Split download and download_product into multiple methods 2014-10-24 18:21:21 +01:00
Mike Jolley 3aaa397361 WC_Download_Handler - readfile_chunked refactor 2014-10-24 18:21:21 +01:00
Barry Kooij 1ffa095ef1 Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-24 17:04:30 +02:00
Barry Kooij ef3c2e02f0 Unit Tests: cart todo's 2014-10-24 17:04:21 +02:00