Commit Graph

34557 Commits

Author SHA1 Message Date
Christopher Allford 472dcfe562
Merge pull request #26245 from slavicd/master
Correct DocBlock in email template file
2020-05-11 19:56:09 -07:00
Christopher Allford 75d23712ff
Merge pull request #26272 from tolu-paystack/hide-ghana-postcode
Hide Postcode/Zip field on billing/shipping form when Ghana is selected
2020-05-11 19:55:48 -07:00
Christopher Allford c57a07a163
Merge pull request #26273 from tolu-paystack/add-ghana-regions
Add Ghanaian regions to populate the State field on checkout
2020-05-11 19:55:31 -07:00
Christopher Allford b4f6564cdd
Merge pull request #26132 from BrandynL/show-password
bugfix for show password icon and password hint
2020-05-11 19:54:39 -07:00
Christopher Allford 5fb20b5168
Merge pull request #26111 from AmeenJalali/issue_25996
Edit wrong hooked function, issue #25996
2020-05-11 19:53:22 -07:00
Christopher Allford 888a5c40cd
Merge pull request #26163 from abhishek-pokhriyal/fix/typo-though
Change "though" to "through"
2020-05-11 19:47:36 -07:00
Christopher Allford 7206365250
Merge pull request #25760 from helgatheviking/issues/25759-conditionally-disable-ajax-add-to-cart
Conditionally disable ajax add to cart
2020-05-11 19:46:50 -07:00
Christopher Allford 452e53d8af
Merge pull request #25630 from woocommerce/fix-25603
Replace {site_address} by {site_url} for consistency
2020-05-11 19:43:08 -07:00
Christopher Allford bf396aec14
Merge pull request #25598 from johncodeos-forks/master
Hide Germany's, Denmark's and Sweden's state field
2020-05-11 19:42:46 -07:00
Christopher Allford f76be96af3
Merge pull request #25517 from grey-rsi/duplicated-custom-fields-after-import
Fix duplicated custom fields after import products from .csv file
2020-05-11 19:41:50 -07:00
Christopher Allford 4639d4a914
Merge pull request #26361 from dominic-p/iss-25787
Pass $customer to woocommerce_match_rates hook.
2020-05-11 19:40:58 -07:00
Christopher Allford cb7f89a5ef
Merge pull request #26022 from grey-rsi/wc_attribute_label_filter
Always pass attribute name to a 'woocommerce_attribute_label' filter
2020-05-11 19:36:44 -07:00
Claudio Sanches 3ce6d4f04a
Fixed coding standards 2020-05-11 20:00:23 -03:00
Vedanshu Jain 31b648d479
Merge pull request #26358 from woocommerce/fix/26348
Clear only plugin cache if WC header are not present to load with WC headers.
2020-05-11 18:14:39 +05:30
Vedanshu Jain 53a6c0e3ba
Merge pull request #26025 from woocommerce/enhancement/orders
Add method to get base data from order object.
2020-05-11 17:55:32 +05:30
Ron Rennick e2af7e5d10
Merge pull request #26427 from woocommerce/docs/e2e-tests
update tests and e2e readme instructions, file locations
2020-05-11 09:16:38 -03:00
Matt Sherman 091335bfa1
Merge pull request #26429 from woocommerce/add/26381/categories-and-tags-search-tracks
Add tracking events on product categories and tags view and search
2020-05-08 14:32:41 -04:00
Vedanshu Jain 6d8ca7f4ef
Merge pull request #26056 from woocommerce/fix/fix_cart_unit_test
Fixes broken unit test
2020-05-08 23:52:01 +05:30
Matt Sherman c6fb4aefbc Add `wcadmin_categories_view`, `wcadmin_categories_seach`, `wcadmin_tags_view`, and `wcadmin_tags_search` Tracks events. 2020-05-08 14:08:33 -04:00
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
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
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
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
Christopher Allford d713d012d0 Merge branch 'master' into remove/jshint 2020-05-05 12:30:34 -07:00
vedanshujain a74f06f337 Add exception for tests/php for filename sniff because it conflicts with PSR4. 2020-05-05 19:22:21 +05:30
vedanshujain 27ad4a552e Rename file and class to resemble PSR4 like convention for consistency. 2020-05-05 19:19:37 +05:30
vedanshujain ae68e16070 Add back phpcs for legacy because we still want it tested.
There are lots of tests in legacy folder which we might update from time to time. Its still a good idea to keep phpcs for the folder.
2020-05-05 18:50:54 +05:30
Christopher Allford 7a81d940ca Added the Gruntfile to its own ESLint task 2020-05-04 20:58:58 -07:00
Christopher Allford 9283e33a1c Added ESLint back to the JS Grunt task
I fixed all the style violations *grumble grumble*
2020-05-04 20:52:28 -07:00
Christopher Allford 0d6675b490 Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
Claudio Sanches 744724b9f7
Merge pull request #26346 from woocommerce/renovate/docker-wordpress-5.x
Update wordpress Docker tag to v5.4.1
2020-05-04 22:48:51 -03:00
Claudio Sanches a15ef0ff16
Merge pull request #26354 from woocommerce/renovate/husky-4.x
Update dependency husky to v4.2.5
2020-05-04 22:26:45 -03:00
Christopher Allford 90b271882d Removed jshint in favor of exclusively using eslint
I've also removed eslint from the Grunt JS task so that builds will not fail due to non-compliant code present prior to the shift. Since eslint is ran during our pre-commit hooks, we can be sure that eventually code should become compliant.
2020-05-04 12:27:15 -07:00
Ron Rennick 97a6110ae4 combine puppeteer config files 2020-05-04 16:16:21 -03:00
Ron Rennick 4af4d29952 Simplify nodejs caching directive
- per https://docs.travis-ci.com/user/caching/
2020-05-04 11:31:14 -03:00
Dominic c38e059ce8 Pass $customer to woocommerce_match_rates hook.
This allows tax related plugins to get more data on the customer and
make better decisions on the correct tax rate to apply.

Fixes #25787
2020-05-01 13:49:55 -07:00