Commit Graph

23041 Commits

Author SHA1 Message Date
Claudio Sanches f0dfff4a86 Sync with feature/discounts-class 2017-07-25 22:41:18 -03:00
Claudio Sanches 2573adedd5 Moved coupon validation logic to WC_Discounts 2017-07-25 22:36:41 -03:00
claudiulodro dfee2c0cbe Maybe integrate cart and total classes 2017-07-25 14:44:54 -07:00
Mike Jolley 889a3cfdd5 Merge pull request #16111 from woocommerce/fix/15986
Improve tracking page validation
2017-07-25 21:04:16 +01:00
Mike Jolley 15c4910014 Fix notices 2017-07-25 21:03:37 +01:00
Kathy Darling fe0c190894 Move settings init/save to load-$settings hook. Closes #16221 2017-07-25 14:43:26 -04:00
Claudiu Lodromanean a3ecdf338d Merge pull request #16239 from woocommerce/feature/discounts-class-totals-calc
WC_Totals class
2017-07-25 11:01:25 -07:00
claudiulodro ec6d11bd67 Just needs visibility support and cleanup 2017-07-25 10:01:24 -07:00
Mike Jolley ead381f500 Merge pull request #16243 from unfulvio/issue-16242
[#16242] Add context to woocommerce_backordered_item_meta_name
2017-07-25 17:34:36 +01:00
Mike Jolley b68adf748b Tests pass 2017-07-25 17:25:06 +01:00
claudiulodro 689c5e7006 Better code 2017-07-25 08:36:01 -07:00
Mike Jolley 4960bf0ca4 Update discount tests 2017-07-25 16:27:57 +01:00
Mike Jolley 474799889f Disable discounts tests until rewritten 2017-07-25 15:57:58 +01:00
Mike Jolley 40cb2c9cb0 phpcs 2017-07-25 15:24:00 +01:00
Mike Jolley 4c4f26ff41 Changes to allow shipping to be calculated from totals class
Moved some items from
https://github.com/woocommerce/woocommerce/pull/11889/files to support
this.
2017-07-25 15:11:32 +01:00
Mike Jolley e8e200195f fees pass 2017-07-25 14:05:49 +01:00
Fulvio Notarstefano 7781b2ea4d [#16242] Add context to woocommerce_backordered_item_meta_name 2017-07-25 11:54:03 +08:00
claudiulodro cdbead8961 Clean up and tests 2017-07-24 15:05:23 -07:00
Mike Jolley ee545e7793 Totals progress 2017-07-24 17:21:08 +01:00
Mike Jolley c9d500f4db Update ISSUE_TEMPLATE.md 2017-07-24 13:34:04 +01:00
Mike Jolley 0b9b178522 Update ISSUE_TEMPLATE.md 2017-07-24 13:32:45 +01:00
Mike Jolley b376b548b9 Update ISSUE_TEMPLATE.md 2017-07-24 13:25:23 +01:00
Mike Jolley a9339f60d3 Update ISSUE_TEMPLATE.md 2017-07-24 13:23:38 +01:00
Mike Jolley 504a216582 Check data is an array in set_variation method
Closes #16232
2017-07-24 10:43:34 +01:00
Mike Jolley 45a9826a80 Totals class and tests files 2017-07-23 12:05:11 +01:00
Claudio Sanches c5055ed2f7 Tidy up Scrutinizer, PHPUnit and Travis config 2017-07-21 14:25:27 -03:00
Mike Jolley 45258a7e02 Started adding totals class from https://github.com/woocommerce/woocommerce/pull/11889/files 2017-07-21 16:49:52 +01:00
Paul Robinson a82181f435 reset gitattributes file 2017-07-21 14:24:53 +01:00
Paul Robinson 7c01201e34 Add custom attributes into radio fields for woocommerce_form_field 2017-07-21 14:23:21 +01:00
Mike Jolley 83b60573fa Framework for discount class 2017-07-21 14:22:40 +01:00
Mike Jolley fd12c344f8 Ensure we have a http URL for file path replacements
Closes #16179
2017-07-21 11:11:17 +01:00
Mike Jolley e44450a40c Remove duplicate inherited method
Closes #16206
2017-07-21 10:39:24 +01:00
Claudio Sanches 50dbef7e8e Set phpunit.xml.dist file for tests in Scrutinizer 2017-07-21 00:28:49 -03:00
Claudio Sanches cb3e1de0be Fixed coding standards 2017-07-20 18:14:53 -03:00
Claudio Sanches dcbe09376f Enable WordPress standard on Scrutinizer 2017-07-20 18:05:36 -03:00
Claudio Sanches 814f1b228b Allow WP CodeSniffer on Scrutinizer and improved environment settings 2017-07-20 17:24:52 -03:00
Claudio Sanches 4251bd5614 Move code coverage to Scrutinizer 2017-07-20 16:50:12 -03:00
Mike Jolley 499519eaac WC_Discount class 2017-07-20 20:50:09 +01:00
Mike Jolley e5ec0e66e3 fixed discount 2017-07-20 20:33:27 +01:00
Claudio Sanches 383c7eb889 Fixed excluded paths for Code Climate 2017-07-20 15:48:56 -03:00
Claudio Sanches 611c744992 Merge pull request #16202 from woocommerce/fix/code-coverage
Enable external code coverage in Scrutinizer
2017-07-20 15:30:20 -03:00
Mike Jolley 1f00752b50 Merge pull request #16204 from woocommerce/update/phpunit-version
Updated PHPUnit version and removed PHPCS from Travis
2017-07-20 18:36:32 +01:00
Jaydeep Rami 46d3638089 Fix missing return statement (#16148)
* Fix missing return statement

* Fix missing return statement

* Fix missing return statement

* Fix missing return statement

* Fix missing return statement

* Fix missing return statement
2017-07-20 18:01:14 +01:00
Claudio Sanches 5a918b8f93 Not install project composer file on Travis 2017-07-20 13:47:02 -03:00
Claudio Sanches 498a5daa53 Removed PHPCS from Travis in favor of pre-commit hook 2017-07-20 13:34:34 -03:00
Mike Jolley 0e96bd8a93 Discount rows 2017-07-20 17:34:30 +01:00
Claudio Sanches 84be2dd6bb Fixed declaration of WC_Tests_CRUD_Data::onNotSuccessfulTest 2017-07-20 13:32:47 -03:00
Claudio Sanches c7ee52602a Updated PHPUnit version 2017-07-20 13:32:21 -03:00
Claudio Sanches a8e69c2e24 Enable external code coverage in Scrutinizer 2017-07-20 12:55:08 -03:00
Claudio Sanches 48cfff4ab1 Merge pull request #16199 from woocommerce/fix/16145
Unset variable prices on read.
2017-07-20 12:39:19 -03:00