Commit Graph

35151 Commits

Author SHA1 Message Date
Matt Harvey 4eeec4705d Abstract fee calculation and expose as method to abstract Object class. 2019-12-18 20:58:39 -08:00
David Levin c6cd7331f9 update order details summary with items subtotal and start to add fees 2019-12-18 20:51:45 -08:00
Christopher Allford 16abc27272
Revert "Revert "Update Renovate bot configuration to update dev dependencies …" 2019-12-18 16:20:50 -08:00
Claudio Sanches f7bc61f818 Add @juliaamosova and @ObliviousHarmony to contributors 2019-12-18 20:52:43 -03:00
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
Shamali Sulakhe ec09daeadc Merge remote-tracking branch 'upstream/master' into issue-24266-solution 2019-12-16 15:11:07 +05:30
Shamali Sulakhe e5e9d440a4 Merge branch 'master' of https://github.com/shamalisulakhe/woocommerce into issue-24266-solution 2019-12-16 15:08:30 +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