Commit Graph

33876 Commits

Author SHA1 Message Date
Claudio Sanches 22bbfe7511 3.9.0-beta.2 2019-12-18 20:37:05 -03:00
Claudio Sanches 6e1e55d41e Updated changelog 2019-12-18 20:36:00 -03:00
Claudio Sanches 8eca3529ab
Merge pull request #25264 from woocommerce/renovate/woocommerce-woocommerce-rest-api-1.x
Update dependency woocommerce/woocommerce-rest-api to v1.0.5
2019-12-18 20:31:11 -03:00
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
Rohan V 83c88e47a5
Add fix to increase column size for existing installations 2019-12-18 13:24:18 +05:30
Rohan V 2541786ef5
Increase field size for new installation 2019-12-18 12:49:32 +05:30
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
vedanshujain ad2f76275a Applied coding standards 2019-12-17 19:13:19 +05:30
vedanshujain ff2a8a58f2 Commented out flaky test 2019-12-17 19:13:19 +05:30
vedanshujain ba2d825800 Use DB timestamp to ensure consistency between servers. 2019-12-17 19:13:19 +05:30
vedanshujain 9b7343d23b Applied coding standards 2019-12-17 19:13:19 +05:30
vedanshujain 47ba1d49da Cascade to return null to prevent notice when array is empty.
Another situation where this change is required when there are two coupons in an order but only one coupon has limit. In this case array will be present but one of the coupon will not have a corresponding record which will throw a notice.
2019-12-17 19:13:19 +05:30
vedanshujain 53bfcea110 Use same filter for stocks and coupon for consistency. 2019-12-17 19:13:19 +05:30
vedanshujain 72545c44b7 Add support for `_held_for_checkout` records to improve performance.
This will also improve transactional stability and avoid race conditions by providing a way to lock usage counts.
2019-12-17 19:13:19 +05:30
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