Commit Graph

27806 Commits

Author SHA1 Message Date
Claudiu Lodromanean dc20237f40
Merge pull request #20426 from woocommerce/fix/20386
Made path /orders/refund_id return invalid order id msg instead of error.
2018-06-07 10:50:46 -07:00
Claudiu Lodromanean f958dce0b5
Merge pull request #20417 from mikeyarce/rtl-fix-price-filter-widget-label
Fix label for price filter for RTL sites
2018-06-07 10:37:14 -07:00
Mike Jolley 2cad2414b3 Remove manual wc_reduce_stock_levels calls 2018-06-07 18:01:38 +01:00
Mike Jolley 8261cffaa7 Remove bulk actions 2018-06-07 18:01:21 +01:00
Mike Jolley 2657db4a97 Pending should restore stock too 2018-06-07 17:42:58 +01:00
Mike Jolley e38eccf828 Check pending orders even when hold stock is disabled 2018-06-07 17:42:23 +01:00
Mike Jolley 70c9cff608 Increase/decrease stock handling 2018-06-07 17:41:36 +01:00
Claudiu Lodromanean c8480b68f1
Merge pull request #20338 from Spreeuw/patch-5
apply bulk actions oldest to newest
2018-06-07 09:34:38 -07:00
Khan M Rashedun-Naby f617a84b1f PHPDoc @throws Tag Added 2018-06-07 22:02:11 +06:00
Khan M Rashedun-Naby ec76e60e33 PHPDoc Fixed | Used Unused Variable | Else Removed 2018-06-07 21:52:28 +06:00
Khan M Rashedun-Naby c773b9cb4c Made use unused variable and removed else 2018-06-07 21:45:03 +06:00
Khan M Rashedun-Naby 4b14cbc727 Removed unnecessary parameter. Also removed from tests. 2018-06-07 21:25:13 +06:00
Rodrigo Primo cc4871e5ca Only try to upload screenshots if directory is not empty
This commit adds a check before the code that uploads screenshots of failed e2e tests to make it run only if running the Travis build job that executed the tests and if the screenshots/ directory is not empty. There is no need to always download Travis artifacts and try to upload to S3 if there is nothing to upload.
2018-06-07 11:50:36 -03:00
Mike Jolley d74db270b8 stopPropagation when payment method selected 2018-06-07 15:41:25 +01:00
Fulvio Notarstefano e68aa7c027 [#20404] Address code review feedback 2018-06-07 23:33:13 +09:00
Rodrigo Primo ba8e866bf1 Better explain why the screenshots/ directory is excluded from git 2018-06-07 11:32:54 -03:00
Brent Sessions c64a35300a Take screenshots of failed e2e tests (#20313)
This adds screenshots for broken e2e tests. The screenshots will also be uploaded to an Amazon S3 instance from Travis CI so they can be viewed. If run locally, there will be a screenshots directory created where they can be viewed

If there is a failed e2e test you'll see a block under `travis.sh after` in the build log in Travis CI that will give the URLs for the images.

* Adding screenshot capabilities to all tests

* trying screenshots on S3

* try to get a failed test

* finding the right path

* fixing yml

* only taking failed screenshots

* fixing yml

* moving paths to env

* fixing target

* try without artifact target

* fixing test

* setting back temporary changes

* fixing spacing

* unneeded change

* trying different uploader

* Force a failed test

* fixing test again

* fixing  unneeded change

* updating git ignore
2018-06-07 11:31:37 -03:00
Peter Fabian b5c420de99 Fixed milestone according to issue tag. 2018-06-07 15:36:27 +02:00
Peter Fabian 185675c69e Added unit test to cover the orders/refund_id. 2018-06-07 14:58:53 +02:00
Rodrigo Primo fc5aef8478 Add nonce to force update WC database URL
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:55:47 -03:00
Rodrigo Primo 467bd73ea9 phpcs fixes 2018-06-07 09:45:23 -03:00
Rodrigo Primo a200686005 Add nonce to update WC database URL
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:45:18 -03:00
Rodrigo Primo 860e3e6d93 phpcs fixes 2018-06-07 08:57:57 -03:00
Peter Fabian db9d2f2c30 Made path /orders/refund_id return invalid order id msg. 2018-06-07 13:26:29 +02:00
Mike Jolley 439fec579c
Merge pull request #19794 from woocommerce/fix/19717
Move notices to hooked in function
2018-06-07 12:12:10 +01:00
Mike Jolley de567c6a2e merge mistake 2018-06-07 11:26:19 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley 58c5ddc8d0 Remove test 2018-06-07 11:23:11 +01:00
Mike Jolley db9ab9cb8f
Merge pull request #20330 from woocommerce/update/19745
Eircode validation and formatting tweaks
2018-06-07 10:41:35 +01:00
Mike Jolley 38e3e3f570
Merge pull request #20425 from rnaby/070618-130531-wc-core-functions-wc_get_logger
Simplified and Early Returned | wc_get_logger refactored
2018-06-07 10:34:51 +01:00
Mike Jolley 493060dcb6
Merge pull request #20424 from kravco/master
Fix: order billing fields do overwrite value, even if provided
2018-06-07 10:34:04 +01:00
Mike Jolley aece2e0505
Merge pull request #19844 from woocommerce/update/13624
Payment method table reordering accessibility
2018-06-07 10:31:39 +01:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
John Russell bfde29d991 Pass product ID for customized backorder notifications (#20416)
Add product id to the backorder notificaiton in case of customized
notification based on product_id
2018-06-07 10:25:37 +01:00
Roshan Sameer c31b9acc8c If wp_doing_ajax is defined return it (#20421)
* If wp_doing_ajax is defined return it

* Simplify the function exits check
2018-06-07 10:21:22 +01:00
Mike Jolley 44404f2f7a
Merge pull request #20422 from rnaby/070618-115632-wc-core-functions
@access tag removed
2018-06-07 10:17:22 +01:00
Mike Jolley f671c23fe3
Merge pull request #20423 from rnaby/070618-123409-wc-product-data-store-cpt
Condition Checking Improved
2018-06-07 10:17:00 +01:00
Khan M Rashedun-Naby 76a9e19471 wc_get_logger refactored 2018-06-07 13:46:06 +06:00
Matej Kravjar 233ac4b313 order billing fields do not overwrite value, if provided
(overwriting introduced by 1fa36b5f15)
2018-06-07 09:02:12 +02:00
Khan M Rashedun-Naby 5442d30b6d Checking Improved 2018-06-07 12:35:58 +06:00
Khan M Rashedun-Naby 964435a34b @access tag removed 2018-06-07 12:31:35 +06:00
Mikey Arce ea9f8ad9c5 Fix label for price filter for RTL sites
Previously the numbers were fixed to go LTR which is the proper direction for RTL sites when dealing with numbers - but the `price` label was still RTL. This now makes it all LTR.
2018-06-06 14:15:02 -07:00
Mike Jolley 2bb466d53f
Merge pull request #20407 from rnaby/060618-173047-wc-auth-handle_auth_requests
handle_auth_requests PHPDoc and WPCS Fix
2018-06-06 12:55:20 +01:00
Khan M Rashedun-Naby 20c8468fe4 handle_auth_requests PHPDoc and WPCS Fix 2018-06-06 17:35:15 +06:00
TheDramatist 93e7419b17 Simplified wc_review_is_from_verified_owner (#20393)
* Simplified wc_review_is_from_verified_owner

* wc_review_is_from_verified_owner simplified
2018-06-06 12:16:43 +01:00
Mike Jolley 869415763c
Merge pull request #20396 from rnaby/060618-005642-wc-discounts-object-var-type
WC_Discounts | object Property Type PHPDoc Fix
2018-06-06 12:15:46 +01:00
Mike Jolley f9d9c395c7
Merge pull request #20397 from rnaby/060618-010003-wc-discounts-set_items_from_order
WC_Discounts|set_items_from_order Param Type Fix
2018-06-06 12:15:33 +01:00
Mike Jolley 833df18dff
Merge pull request #20398 from rnaby/060618-010246-wc-discounts-constructor
WC_Discounts | __construct PHPDoc and Param Fix
2018-06-06 12:15:19 +01:00
Mike Jolley 113d7ad781
Merge pull request #20400 from rnaby/060618-014013-wc-discounts-apply_coupon
WC_Discounts | apply_coupon Removed Unused Variable
2018-06-06 12:14:32 +01:00
Mike Jolley 88607e664d
Merge pull request #20401 from rnaby/060618-014612-wc-discounts-apply_coupon-phpdoc
WC_Discounts | apply_coupon PHPDoc @throws Fix
2018-06-06 12:13:54 +01:00