Commit Graph

33557 Commits

Author SHA1 Message Date
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Christopher Allford ee9dc110ed
Merge pull request #25263 from woocommerce/revert-25259-update-renovate
Revert "Update Renovate bot configuration to update dev dependencies …
2019-12-18 18:01:38 -05:00
Christopher Allford b16ab57cf1
Revert "Update Renovate bot configuration to update dev dependencies once per month" 2019-12-18 14:57:49 -08:00
Christopher Allford 181df5ad21
Merge pull request #25194 from rodrigoprimo/php-7.4-travis
Use PHP 7.4 instead of PHP 7.4snapshot in Travis
2019-12-18 17:47:45 -05:00
Christopher Allford b5c7fc631a
Merge pull request #25259 from woocommerce/update-renovate
Update Renovate bot configuration to update dev dependencies once per month
2019-12-18 16:46:26 -05:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Claudio Sanches 6d15638881
Merge pull request #25251 from woocommerce/fix/25250
Adjusted the checkout email validation regex to be more accurate
2019-12-18 12:33:06 -03:00
Claudio Sanches c2e7f0a35d
Merge pull request #25260 from woocommerce/add/wc-admin-version-check
Add WP version check before recommending WooCommerce Admin
2019-12-18 12:16:29 -03:00
Justin Shreve a5ee52a6c6 Add WP version check before recommending WooCommerce Admin 2019-12-18 09:29:21 -05:00
Rodrigo Primo 50279fa21e Update Renovate bot config to update dev dependencies once per month
Doing this to reduce the noise caused by Renovate bot creating several
PRs for packages that are updated frequently.
2019-12-18 11:09:58 -03:00
Rodrigo Primo 6b6a96c12e
Merge pull request #25256 from woocommerce/renovate/pin-dependencies
Pin dependency phpunit/phpunit to 7.5.18
2019-12-18 10:52:01 -03:00
Rodrigo Primo 6734662cbb Improve PHPCS configuration
This commit implements the following changes to PHPCS execution via its configuration file:

- Show progress while it is running
- Improves performance by checking up to 8 files simultaneously
- Display only the relevant bit of filepaths when showing error and warnings
2019-12-18 10:26:36 -03:00
Rodrigo Primo ceaab9fdc0 Bump WP min ver used by PHPCS to match WC current requirement 2019-12-18 10:18:53 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Rodrigo Primo a7d57a248e
Merge pull request #25234 from woocommerce/update-phpcs-sniff-names
Replace removed WordPress.Security.NonceVerification.NoNonceVerification
2019-12-18 08:50:38 -03:00
Christopher Allford ed7c891675 Adjusted the checkout email validation regex to be more accurate 2019-12-17 13:18:53 -08:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
Julia Amosova 1658dd3962 Make setup wizard test more stable 2019-12-15 22:55:39 +00:00
Julia Amosova f9a9fbc2c7 Pass jest exit code to npm 2019-12-15 22:34:35 +00:00
Julia Amosova fba9c249e7 Test with Twenty Nineteen theme 2019-12-15 20:39:33 +00:00
Julia Amosova 36fd3f56a1 Update WP version in Docker file from latest to 5.3 2019-12-15 20:03:30 +00:00
Julia Amosova 88fa2885fc Update jest version 2019-12-15 19:13:28 +00:00
Julia Amosova 4e134f8ec4 Testing Docker build on Travis 2019-12-15 17:54:33 +00:00
Julia Amosova 25a8664456 Add stopping container and deleting volumes 2019-12-15 17:11:46 +00:00
Julia Amosova c1b358929b Add page creation & check for Docker container status to run e2e tests 2019-12-15 16:44:40 +00:00
Julia Amosova 5645f5882a Add check for Docker container to be built on Travis when post is created 2019-12-15 16:04:06 +00:00
Julia Amosova 14afe36204 Add check for Docker container to be built on Travis 2019-12-15 15:32:26 +00:00
Julia Amosova 53dcdd77b3 Update Docker + Travis setup 2019-12-15 13:09:29 +00:00
Julia Amosova f020e4b3df Resolve conflict with master branch 2019-12-15 12:28:03 +00:00
Rodrigo Primo ae1717cd4f Fix PHPCS violations automatically using PHPCBF 2019-12-13 17:51:14 -03:00
Rodrigo Primo f06ad5d78a Replace removed WordPress.Security.NonceVerification.NoNonceVerification
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:

```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```

(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31))

This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Rodrigo Primo 9c4de8f5e7 Fix indentation 2019-12-13 16:48:17 -03:00
Rodrigo Primo d451b68488
Merge pull request #24929 from helgatheviking/feature/woocommerce_process_variation_object
Add woocommerce_admin_process_variation_object before $variation->save()
2019-12-13 16:46:22 -03:00
Rodrigo Primo 23ebeceb0e Fix PHPCS errors automatically using PHPCBF 2019-12-13 16:30:29 -03:00
Rodrigo Primo eefab9d672
Merge pull request #25093 from JoryHogeveen/patch-1
Before and after product list hooks
2019-12-13 16:28:45 -03:00
Rodrigo Primo 35053e418f
Merge pull request #24818 from roksprogar/master
fixed the jQuery data() caching issue
2019-12-13 14:33:09 -03:00
Rodrigo Primo 00c40dab1a
Add pay order product has enough stock filter (#25230)
* [#25021] Add filter when checking if product has enough stock while paying for order

* [#25021] Retain original < check, invert bool

* [#25021] Make filter more readable
2019-12-13 11:16:30 -03:00
Rodrigo Primo 0ffd7f10e9
Merge pull request #25216 from woocommerce/fix/25215
Centralize check for default themes
2019-12-13 10:06:26 -03:00
Rodrigo Primo e963d7cfab Fix minor imprecision in wc_is_wp_default_theme_active() documentation 2019-12-13 09:59:20 -03:00
Rodrigo Primo 4bd6156bbb Lock PHPUnit version to 7.x
This is necessary as WordPress unit tests currently don't work with
PHPUnit 8.x. We will be able to update the PHPUnit version when the
following WP ticket is resolved: https://core.trac.wordpress.org/ticket/46149
2019-12-13 09:44:32 -03:00
Rodrigo Primo 36016069e4
Merge pull request #25217 from woocommerce/renovate/grunt-stylelint-0.x
Update dependency grunt-stylelint to v0.13.0
2019-12-13 09:28:27 -03:00
Julia Amosova f76b6cab51
Merge pull request #24676 from woocommerce/new/front-end-checkout-e2e-test
Add new Puppeteer front-end e2e test: checkout page
2019-12-11 20:39:41 +00:00
Renovate Bot 9d97f9350e
Update dependency grunt-stylelint to v0.13.0 2019-12-11 19:12:37 +00:00
Rodrigo Primo 19ea00c6ce
Merge pull request #24764 from webdados/patch-1
Set image CSS on emails to be max-width: 100%
2019-12-11 15:12:09 -03:00
Peter Fabian 72925ef41c Centralize check for default themes.
This should make Storefront appear in the Setup Wizard again.
2019-12-11 18:35:04 +01:00
Julia Amosova cff1272b7e Add check for new setup wizard flow & fix ship to different address click 2019-12-11 17:15:37 +00:00
Julia Amosova 90ddb08765 Merge branch 'new/puppeteer-screenshot-tester' into new/front-end-checkout-e2e-test 2019-12-11 14:54:39 +00:00
Julia Amosova 29671dd9ec Resolving conflict with master branch 2019-12-11 14:53:07 +00:00
Rodrigo Primo 16868fe780
Merge pull request #25206 from woocommerce/renovate/chromedriver-79.x
Update dependency chromedriver to v79
2019-12-11 10:18:56 -03:00
Julia Amosova 900289c191 Update the way `ship to different address` checkbox is set 2019-12-11 12:27:41 +00:00