Commit Graph

27588 Commits

Author SHA1 Message Date
Steve Grunwell 74a3f1d6d8 Sort the results of WC_Install::get_tables()
Since custom tables can be registered within WooCommerce via the 'woocommerce_install_get_tables' filter, it's helpful to ensure that `WC_Install::get_tables()` automatically sorts the table names alphabetically.

This helps avoid false failures when testing a plugin that uses a custom table against the WooCommerce core test suite, as queries like `WC_Tests_Install::test_get_tables()` assumes that tables will be returned in alphabetical order.
2018-05-11 16:18:49 +00:00
Claudiu Lodromanean 5258e00bad
Merge pull request #20040 from woocommerce/fix/20036
Slideup during init to prevent jump on RTL sites
2018-05-11 08:35:32 -07:00
Mike Jolley b0b135dfb0
Merge pull request #20035 from woocommerce/add/phpunit-speedtrap
Add phpunit-speedtrap
2018-05-11 15:19:04 +01:00
Mike Jolley cf1bd6b5cd
Merge pull request #20037 from woocommerce/fix/steps
Add default empty step class to html-csv-import-steps.php
2018-05-11 15:17:06 +01:00
Mike Jolley e6ddc65c2a Wrap cell in ' rather than prepend 2018-05-11 12:16:02 +01:00
Mike Jolley 83edda2b1f min 2018-05-11 11:57:30 +01:00
Mike Jolley 9cb0d3c884 Slideup during init to prevent jump on RTL sites 2018-05-11 11:55:22 +01:00
claudiulodro 2ee7c62499 Add default empty step class to html-csv-import-steps.php 2018-05-10 11:59:17 -07:00
Rodrigo Primo 5cd7326881 Add phpunit-speedtrap
phpunit-speedtrap (https://github.com/johnkary/phpunit-speedtrap) includes a report of slow-running unit tests to the PHPUnit output and it will help identify WC core tests that need to be changed to run faster.
2018-05-10 10:39:26 -03:00
Mike Jolley 217fe4bd69
Update Feature_request.md 2018-05-09 20:54:38 +01:00
claudiulodro 4e046f2afe Recompile for RC1 2018-05-09 11:01:54 -07:00
Claudiu Lodromanean 89e86fc59d
Merge pull request #19990 from woocommerce/update/34readme
Rolling 3.4 readme
2018-05-09 10:58:28 -07:00
Claudiu Lodromanean 2dc1de8347
Update readme.txt 2018-05-09 10:10:40 -07:00
Claudiu Lodromanean 2dc1e042c9
Merge pull request #20024 from woocommerce/update/20022
Context for getting shipping methods for shipping zone.
2018-05-09 10:10:27 -07:00
Claudiu Lodromanean 7a6b0d8cf5
Merge pull request #19934 from woocommerce/fix/19819
Add protocol to URLs for thumbnails in cart.
2018-05-09 10:09:17 -07:00
Mike Jolley 1ff5520512 Pass through JSON context when getting zones for JSON responses and scripts 2018-05-09 17:41:33 +01:00
Claudiu Lodromanean 45bbdeff6a
Update readme.txt 2018-05-09 09:09:19 -07:00
Claudiu Lodromanean 6f2c807f1c
Merge pull request #19984 from woocommerce/fix/19640
Basic range download handling for Force download.
2018-05-09 09:08:15 -07:00
Mike Jolley 14cbf7b0f0 Pass scheme without hyphen 2018-05-09 17:06:34 +01:00
Grzegorz Rola 5c9085de03 Context for getting shipping methods for shipping zone. 2018-05-09 16:35:49 +02:00
Peter Fabian e31420234a Skip download remainig check if doing ranged request.
This allows to finish listening/waching the file on iOS device if the remaining download count goes from 1 to 0.
2018-05-09 16:34:58 +02:00
Claudiu Lodromanean 88478673e6
Update readme.txt 2018-05-09 07:22:48 -07:00
Claudiu Lodromanean ec02a133a3
Merge pull request #20021 from woocommerce/fix/19967
Switch stock status when manage stock gets changed and qty is sufficient.
2018-05-09 07:21:59 -07:00
Peter Fabian 2b9a5a6330 Removed test to reflect changes in track download method. 2018-05-09 15:54:38 +02:00
Claudiu Lodromanean 706e9d4810
Update readme.txt 2018-05-09 06:54:12 -07:00
Claudiu Lodromanean f88a0d011d
Merge pull request #20020 from woocommerce/fix/20014
Prevent infinite loops when grouped products group each other
2018-05-09 06:53:29 -07:00
Peter Fabian e5dfa71e23 Moved check for download log to WC_Download_Handler. 2018-05-09 15:52:02 +02:00
Mike Jolley 2f259e33df
Merge pull request #20019 from woocommerce/fix/19985
ScrollIntoView excplicitly asked to scroll to center vertically.
2018-05-09 14:20:39 +01:00
Mike Jolley 2a90dcbc36 Prevent infinite loops when grouped products group each other 2018-05-09 14:05:05 +01:00
Peter Fabian fcad799606 ScrollIntoView excplicitly asked to scroll to center vertically.
Even though this should be the default, Firefox defaults to top.
2018-05-09 14:40:21 +02:00
Peter Fabian b920fb5786 Fixed bugs introduced by refactoring. 2018-05-09 14:29:52 +02:00
Mike Jolley cd7c3829ca
Update CONTRIBUTING.md 2018-05-09 12:20:46 +01:00
Peter Fabian 7c30b1fac5 Fixed PHPCS problems in test file. 2018-05-09 12:45:17 +02:00
Mike Jolley ce17349792
Update CONTRIBUTING.md 2018-05-09 11:40:21 +01:00
Peter Fabian 4da0f1f793 Added test for range download logging. 2018-05-09 12:04:38 +02:00
Mike Jolley cb7edbfd46
Merge pull request #20010 from woocommerce/fix/20008
Rename variable to prevent name collision
2018-05-09 10:43:34 +01:00
Peter Fabian 10fdae02bb Updated documentation according to WP CS. 2018-05-09 11:40:02 +02:00
Peter Fabian 3faf49b4aa Sanitize HTTP_RANGE input. 2018-05-09 11:13:36 +02:00
Peter Fabian 424213bc17 Applied the filter inside the function.
Added optional scheme parameter and @since docstring according to the code review.
2018-05-09 09:42:28 +02:00
Mike Jolley 9497826f79
Create Enhancement.md 2018-05-08 23:27:40 +01:00
Mike Jolley 0cc502948e
Rename Custom.md to Support.md 2018-05-08 23:24:37 +01:00
Mike Jolley 23582076b2 Update issue templates 2018-05-08 23:23:58 +01:00
claudiulodro 2bd5feb51d Rename variable to prevent name collision 2018-05-08 14:14:32 -07:00
Claudiu Lodromanean bc59be04fa
Merge pull request #20009 from woocommerce/update/wc-orders-query-tests
Add test to check WC_Order_Query when using the 'customer' parameter
2018-05-08 13:57:54 -07:00
Claudiu Lodromanean fc1474f304
Merge pull request #20007 from woocommerce/update/add-more-stock-functions-tests
Add more unit tests to improve includes/wc-stock-functions.php test coverage
2018-05-08 13:56:20 -07:00
Rodrigo Primo 42e801db0c Add test to check WC_Order_Query when using the 'customer' parameter 2018-05-08 17:24:16 -03:00
Rodrigo Primo 3e8cd3f837 Remove unnecessary tests cleanup code
Tests don't need to manually remove data that they create. WP test framework does that automatically after each test is executed.
2018-05-08 16:00:00 -03:00
Rodrigo Primo 47f6104580 Add more unit tests to improve test coverage of functions in includes/wc-stock-functions.php 2018-05-08 15:58:03 -03:00
Rodrigo Primo 41f5985087 Fix PHPCS violations automatically using phpcbf 2018-05-08 15:48:55 -03:00
Claudiu Lodromanean 47fe7219aa
Update readme.txt 2018-05-08 11:48:33 -07:00