Commit Graph

35238 Commits

Author SHA1 Message Date
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
Claudio Sanches 040944fda6 Updated notice 2020-05-04 22:20:03 -03:00
Claudio Sanches fdea6de347 Check for user meta data first 2020-05-04 22:12:24 -03:00
Claudio Sanches 54625f9712 Fixed check 2020-05-04 22:11:56 -03:00
Claudio Sanches 15f71015e6 Improved method naming 2020-05-04 22:11:02 -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
Leon Francis Shelhamer fe3de4f02c Change conditional to wc_shipping_enabled
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-05-02 18:12:16 -04:00
Leon Francis Shelhamer 7f5dd5c997 Use function to handle plurals
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-05-02 18:11:35 -04: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
vedanshujain 62ef169940 Simplified logic for better readability. 2020-05-02 00:31:54 +05:30
vedanshujain f4e169f21e Moved test specific logic from bootstrap to test file 2020-05-02 00:31:54 +05:30
vedanshujain 28fd8850fa Deleted accidently added file 2020-05-01 23:16:32 +05:30
vedanshujain 13dfb8180f Add unit test and a sample Woo plugin file 2020-05-01 22:47:08 +05:30
Ron Rennick 71fb49dc06 restore latest default.json from master 2020-05-01 13:28:59 -03:00
vedanshujain e97fd683c6 Add extra comments 2020-05-01 21:19:25 +05:30
vedanshujain 57e2e82961 Clear plugin cache if WC header are not present to load with WC headers.
WC headers are added in filter `extra_plugin_headers`, however, in case when WooCommerce is activated/updated, `get_plugins` will be called and cache will be set before this filter can be cached.

Also, `get_plugins` call is expensive even with update cache present, so we should clear it very conservatively.
2020-05-01 21:14:21 +05:30
Ron Rennick 78e777f25f restore travis e2e setup script 2020-05-01 10:18:21 -03:00
Renovate Bot 4e557af6ea
Update dependency husky to v4.2.5 2020-05-01 02:28:59 +00:00
Ron Rennick 6726f6423d merge travis config files 2020-04-30 19:58:37 -03:00
Christopher Allford c0ecb79ba2
Merge pull request #26345 from woocommerce/refactor/phpunit-suite
Restructure PHPUnit Suite
2020-04-30 13:51:16 -07:00
Renovate Bot ad29fa955b
Update wordpress Docker tag to v5.4.1 2020-04-30 19:44:45 +00:00
Ron Rennick 7fbbbf6608 update travis config 2020-04-30 16:43:36 -03:00
Christopher Allford 857b2231f7 Added a phpcs exclusion to legacy unit tests 2020-04-30 12:43:22 -07:00
Christopher Allford 98b6b973e8 Updated the tests readme to explain the purpose of our two test directories 2020-04-30 10:09:42 -07:00
Ron Rennick 0de3718770 change component name to e2e-environment 2020-04-30 14:01:42 -03:00
Ron Rennick 105cea27c5 fix merge conflicts 2020-04-30 13:34:29 -03:00
xristos3490 cb9dc9ed44 Add param doc comment 2020-04-30 11:34:01 +03:00
xristos3490 09b55f7390 fix CS on docblock 2020-04-30 11:04:40 +03:00
Claudio Sanches 8c24b46eb1
Merge pull request #26339 from woocommerce/fix/js-textdomain-regex
Fix WooCommerce Admin textdomain replacement in build script.
2020-04-29 19:24:12 -03:00
Jeff Stieler 674dbbacac Stop looking for commas and start looking for double quotes. 2020-04-29 15:58:59 -06:00
Claudio Sanches 3a987b3367 Fixed coding standards 2020-04-29 18:23:57 -03:00
Claudio Sanches 986c68c221 Fixed user cap required to view the order count indicator 2020-04-29 18:19:25 -03:00
Peter Fabian c5479af526
Merge pull request #26324 from woocommerce/renovate/woocommerce-woocommerce-admin-1.x
Update dependency woocommerce/woocommerce-admin to v1.1.1
2020-04-29 20:09:11 +02:00
Renovate Bot 276c293edc
Update dependency woocommerce/woocommerce-admin to v1.1.1 2020-04-29 18:04:08 +00:00
Peter Fabian 5e0f48741b
Merge pull request #26335 from woocommerce/renovate/woocommerce-action-scheduler-3.x
Update dependency woocommerce/action-scheduler to v3.1.5
2020-04-29 20:02:15 +02:00
Renovate Bot 70ad0d0954
Update dependency woocommerce/action-scheduler to v3.1.5 2020-04-29 16:50:56 +00:00
Claudio Sanches 9b626d6131 Updated build package name 2020-04-29 13:36:25 -03:00
Claudio Sanches c5eb5545ea Updated build package name 2020-04-29 13:35:11 -03:00
tolu-paystack 516d6f9372 added 2 new Ghanaian regions 2020-04-29 16:44:15 +01:00
tolu-paystack e4d6d0545f adjusted to meet coding standards 2020-04-29 15:55:43 +01:00
Ron Rennick b4fcfd93c2 rename test:e2e.json, remove redundant files 2020-04-29 11:22:11 -03:00
Claudio Sanches b62457dd01 Validate page template 2020-04-29 17:53:04 +05:30
Vedanshu Jain 3dd2cb1a66
Merge pull request #26247 from woocommerce/fix/wccom-helper-plugins-cache
Reset cache before retrieving plugin list on WooCommerce.com Subscriptions tab
2020-04-29 16:27:21 +05:30
Leon Francis Shelhamer 3a585c4e23 Conditionally change my account dashboard desc
Conditionally change my account dashboard description to reflect whether or not shipping has been disabled in WooCommerce > Settings > General > General options.

Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-04-28 21:37:55 -04:00