Commit Graph

33391 Commits

Author SHA1 Message Date
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
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
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
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
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
Claudio Sanches 0ac5b7620e Updated package.json to version 3.9.0 2019-12-11 01:41:01 -03:00
Claudio Sanches 2975b3a7b7 Rate limit feature 2019-12-11 01:38:19 -03:00
Claudio Sanches 589d8c4591 Updated WooCommerce::$version 2019-12-10 22:55:08 -03:00
Claudio Sanches c2adae7f80
Merge pull request #25210 from woocommerce/fix/update-changelog
Update changelog
2019-12-10 22:50:39 -03:00
Claudio Sanches 1ac4a55f27 Update changelog 2019-12-10 22:49:53 -03:00
Claudio Sanches f7632de06e
Merge pull request #25164 from om4james/webhook-delete-cache
Delete cached webhook data when a webhook is deleted
2019-12-10 22:45:42 -03:00
Claudio Sanches 069f246f79
Merge pull request #25209 from woocommerce/fix/25207
Include support for WordPress 5.0, 5.1 and 5.2 to #25208
2019-12-10 22:14:25 -03:00
Claudio Sanches 02ae29c8fc Fixed support to older versions of WordPress 2019-12-10 22:12:50 -03:00
Claudio Sanches 53a2cba318
Merge pull request #25208 from dsmithweb/fix-25207-broken-link
Update "account erasure request" links in Accounts&Privacy settings
2019-12-10 22:11:59 -03:00
dsmithweb 5a17c63cc9 Update links 2019-12-10 18:41:55 -06:00
Renovate Bot ffac1284ce
Update dependency chromedriver to v79 2019-12-10 23:46:49 +00:00
Claudio Sanches a88cb4b182
Merge pull request #25204 from woocommerce/update/templates
Updated email-addresses.php template version
2019-12-10 18:40:55 -03:00
Claudio Sanches 6152ac74fd Updated email-addresses.php template version 2019-12-10 18:40:07 -03:00
Claudio Sanches 192f534e2c
Merge pull request #25203 from woocommerce/update/3.9-beta-version
Updated version to 3.9.0-beta.1
2019-12-10 18:29:44 -03:00
Claudio Sanches 57e78d701b Updated version to 3.9.0-beta.1 2019-12-10 18:28:56 -03:00
Claudio Sanches 5b7e172737
Merge pull request #25202 from woocommerce/update/3.9-changelog
3.9 changelog
2019-12-10 18:28:15 -03:00
Claudio Sanches cb3b538b2f 3.9 changelog 2019-12-10 18:26:11 -03:00
Rodrigo Primo e7d9f73e74
Merge pull request #25201 from woocommerce/fix/edge-native-reveal-password
Hide Edge native "reveal password" feature
2019-12-10 16:39:10 -03:00
Claudio Sanches da407ab4e1 Hide Edge native "reveal password" feature 2019-12-10 16:08:49 -03:00
Claudio Sanches cc92cf99d9 Updated changelog 2019-12-10 16:07:05 -03:00
Claudio Sanches 523c72f265 Fix WordPress nightly unit tests (#25198)
* Remove images after uploaded in WC_Tests_Product_Data

* Remove attachment after test

* Fixed image_id
2019-12-10 13:57:52 -03:00