Commit Graph

34872 Commits

Author SHA1 Message Date
Matt Sherman 540558b9f6
Merge pull request #26417 from woocommerce/add/26381/product-view-and-search-tracks
Add tracking events on products view and search.
2020-05-08 13:49:20 -04:00
Claudio Sanches 73b71023ca Fixed cart get total unit test 2020-05-08 23:17:59 +05:30
yasiendwieb ad3a9e8bf3 fix issue in tax calculation at cart test case 2020-05-08 23:17:59 +05:30
Ron Rennick 72ff998033 remove npm e2e-CI script command 2020-05-08 14:29:02 -03:00
Claudio Sanches 8b4e207f59
Merge pull request #26415 from jasonandmonte/patch-1
Fix variable name typo in class-wc-admin-addons.php file
2020-05-08 13:38:43 -03:00
Kathy Darling 9c5e07e5ba clear floats for upsells and related products. Closes #26334. 2020-05-08 10:07:41 -06:00
Matt Sherman da1dd76a68 Only log `products_search` event if search query is non-empty 2020-05-08 11:20:28 -04:00
Claudio Sanches 30e75d8859
Merge pull request #26426 from woocommerce/update/gitignore-swp
Ignore *.swp files
2020-05-08 11:24:56 -03:00
Ron Rennick 4f908c452d update tests and e2e readme instructions, file locations 2020-05-08 11:24:43 -03:00
Matt Sherman 14122aae5c Ignore *.swp files 2020-05-08 09:51:12 -04:00
Vedanshu Jain 276ab00d86
Merge pull request #26044 from woocommerce/add/menu-order-count-filter
Added new filter for modification of order processing count in menu
2020-05-08 18:13:55 +05:30
Matt Sherman b1a32f4144 Add `wcadmin_products_search` Tracks event. 2020-05-07 21:24:17 -04:00
Jason 8ae5b4d5a6
Update class-wc-admin-addons.php
Fix variable name typo. `$parameters`
2020-05-07 16:19:31 -07:00
Matt Sherman df97b1f74e Add `wcadmin_products_view` Tracks event 2020-05-07 18:39:19 -04:00
Claudio Sanches 224559e73f
Updated since tag and removed global variable 2020-05-07 18:57:53 -03:00
Timmy Crawford 94bf2eb518 Updates per feedback. 2020-05-07 13:32:45 -07:00
Barry Hughes 2fdf4b6a0c
Pass the result of _n() through sprintf() to ensure placeholders are replaced with values 2020-05-07 13:32:05 -07:00
Claudio Sanches f5e67af29a Allow use .error and .success classes with .woocommerce-message 2020-05-07 16:12:48 -03:00
Claudio Sanches 7ee559004b Change notice class to error 2020-05-07 16:05:45 -03:00
Timmy Crawford 2420b8013d Add tracking event on order search. 2020-05-07 12:05:11 -07:00
Ron Rennick d64ebb4ef9
Merge pull request #26109 from woocommerce/add/e2e-env-component
Add/e2e env component
2020-05-07 15:57:07 -03:00
Claudio Sanches 32d2b79e78 Introduced script to generate a zip package 2020-05-07 13:29:59 -03:00
Peter Fabian 626bf9a3b3 Renamed the file to produce correct filename. 2020-05-07 14:16:07 +02:00
Peter Fabian 611d5aac82 Added packages to list of contributors. 2020-05-07 11:43:18 +02:00
Claudio Sanches 16ec0007cf Set "Options -Indexes" for redirect download method
Stop the .htaccess to get removed and stop directory listing
2020-05-06 23:42:33 -03:00
Claudio Sanches dcabbcb964 Open file in binary mode 2020-05-06 23:25:33 -03:00
Claudio Sanches 39633855f3 Only fetch the uploads info and do not attempt to create the uploads directory 2020-05-06 23:21:31 -03:00
Claudio Sanches 7634f54235 Use "Options -Indexes" for redirect download method 2020-05-06 23:20:56 -03:00
Claudio Sanches 16027eb33e Updated the notice 2020-05-06 21:50:01 -03:00
Claudio Sanches 8fecbcf9bf Make safe 2020-05-06 21:49:20 -03:00
Claudio Sanches 191bc7f134 Check if uploads/woocommerce_uploads is protected 2020-05-06 21:41:04 -03:00
Claudio Sanches 8e21f10b3d
Update since tags 2020-05-06 14:07:46 -03:00
Ron Rennick 0f2fb4f8d5 fix merge conflicts 2020-05-06 14:05:00 -03:00
Ron Rennick 0e2e91371a update for review items 2020-05-06 13:29:13 -03:00
Joshua T Flowers 43ab840e1a
Add a put method to the WC_Helper_API (#26262)
* Merge wc api authorization headers with given headers

* Add put method to WC_Helper_API

* Add unit test coverage around WC_Helper_API request methods

* Add tests for WC_Helper_API url method
2020-05-06 19:25:23 +03:00
Claudio Sanches 906d4daae6
Merge pull request #26375 from woocommerce/remove/jshint
Remove JSHint since we're using ESLint in commit hooks
2020-05-06 12:56:02 -03:00
Claudio Sanches 85d7cdbbb4 Allow schedule coupons via CRUD 2020-05-05 16:35:10 -03:00
Christopher Allford d713d012d0 Merge branch 'master' into remove/jshint 2020-05-05 12:30:34 -07:00
Jonathan Sadowski 2db4da7055 Update variation_attributes to filter out any attributes, as they must be specified 2020-05-05 14:16:37 -05:00
Jonathan Sadowski a0a8cf7ab3 Add test to ensure that a notice is displayed when an any attribute is omitted 2020-05-05 14:16:01 -05:00
Claudio Sanches f3dc64679d Set an error ID for each WP_Error entry 2020-05-05 15:56:16 -03:00
Jonathan Sadowski 53c905f493 Reset request vars in any attribute test 2020-05-05 13:32:15 -05:00
Jonathan Sadowski c0a72c9185 Reset notices at the start of each test 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 3f47608228 Test adding a variation with 'any' attributes 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 790c8ae8ae Update the test to make sure there are no error notices 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 3f70f70f3a Switch to assertCount for count assertions in test 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 3d0bfd8ee2 Add test to check for notice when invalid attribute is provided for a variant 2020-05-05 13:32:14 -05:00
Jonathan Sadowski f8066a8141 Swap order of array_merge so that posted attributes do not get clobbered 2020-05-05 13:32:14 -05:00
Jonathan Sadowski 0c2b97ead2 Load variation attributes when adding to cart by variation id 2020-05-05 13:32:14 -05:00
Jonathan Sadowski 31bdce3725 Fix typo in test_add_variation_with_url test (use British spelling of colour) 2020-05-05 13:32:14 -05:00