Commit Graph

31153 Commits

Author SHA1 Message Date
Mike Jolley b09a5f8003 Update Emogrifier 2019-03-26 14:24:21 +00:00
Mike Jolley 5901c8ed6c Merge branch 'update/prevent-fatal-errors-when-extending-rest-api' of https://github.com/woocommerce/woocommerce into update/prevent-fatal-errors-when-extending-rest-api 2019-03-26 14:06:27 +00:00
Mike Jolley c79e3ad8f1 Detect all rest endpoints, not just wc/ 2019-03-26 14:06:22 +00:00
Mike Jolley bdc009cfbf Update refund reason to make it clear refunding is manual 2019-03-26 12:46:27 +00:00
Mike Jolley 3a8c3b3813 Update download URL in helper 2019-03-26 11:36:41 +00:00
Mike Jolley 2b8f8e38d1 wc_create_new_customer_username function 2019-03-26 11:09:37 +00:00
Mike Jolley 94466460ad Tests 2019-03-26 11:09:30 +00:00
Timmy Crawford 0e19ca304d
Merge pull request #23110 from woocommerce/fix/improve-suggestions-tracks-attributes
send additional properties with Marketplace Suggestions tracks events
2019-03-25 19:52:55 -07:00
haszari 6294dd14e2 send empty string instead of "undefined" for optional suggestions props 2019-03-26 09:59:28 +13:00
Mike Jolley 8aeff9bb2f Adds future status to list of allowed statuses 2019-03-25 15:19:48 +00:00
Mike Jolley 58651e8a2a When moving data for lookup tables, avoid orderby 2019-03-25 14:23:36 +00:00
Mike Jolley 174ca94b79 WC_Ajax::add_variation - force variable product type 2019-03-25 11:56:48 +00:00
Mike Jolley 1b1040b91a Update screenshots and optimise file sizes
Closes #23056
2019-03-25 11:16:55 +00:00
Mike Jolley 0a44c124be Change completed email wording to "We have finished processing your order" 2019-03-25 10:53:57 +00:00
Mike Jolley cba936997f
Merge pull request #23119 from woocommerce/renovate/grunt-1.x
Update dependency grunt to v1.0.4
2019-03-25 09:57:46 +00:00
Timmy Crawford 288460ff63
Merge pull request #23080 from woocommerce/fix/woo-blocks-stable-error
Blocks: Prevent duplicate class loading for blocks feature plugin
2019-03-22 13:48:46 -07:00
Renovate Bot c0d7a98f5b
Update dependency grunt to v1.0.4 2019-03-22 18:53:08 +00:00
Kelly Dwan b5c48993c8 Use the released RC2 version 2019-03-22 10:58:02 -04:00
Kelly Dwan 8c109f7925 Shortcut out if we see the feature plugin, v1.4 or below 2019-03-22 10:48:06 -04:00
Mike Jolley e42d40d702
Merge pull request #23105 from woocommerce/renovate/grunt-contrib-uglify-4.x
Update dependency grunt-contrib-uglify to v4.0.1
2019-03-22 10:08:44 +00:00
haszari cc78cf040f send additional properties with suggestions tracks events:
- send the context/area
- details about what's promoted (product or otherwise)
- target url
2019-03-22 15:42:30 +13:00
Renovate Bot d65355a115
Update dependency grunt-contrib-uglify to v4.0.1 2019-03-21 18:57:42 +00:00
Rodrigo Primo 6001b0177e Only install Chrome and Nginx in the build job that uses it
This commit changes Travis configuration to only install Chrome and Nginx in the e2e tests build job, which is the only one that requires those packages. This change should save a little bit of time in the Travis build as before Travis was installing Chrome and Nginx in all the jobs.
2019-03-21 15:44:02 -03:00
Rodrigo Primo d2c294af95 Merge branch 'master' into update/prevent-fatal-errors-when-extending-rest-api 2019-03-21 15:31:29 -03:00
Rodrigo Primo b3fdbe1891 Merge branch 'master' into update/23090 2019-03-21 15:30:40 -03:00
Rodrigo Primo 38437e8f50
Merge pull request #23104 from rodrigoprimo/fix/phpcs-in-travis
Fix PHPCS in the Travis builds
2019-03-21 15:29:22 -03:00
Rodrigo Primo 61a096d871 Fix PHPCS in the Travis builds
PR https://github.com/woocommerce/woocommerce/pull/23082 made some changes to the Travis configuration and one of those changes broke the PHPCS when running inside Travis with the following error:

```
ERROR: Referenced sniff "WooCommerce-Core" does not exist
```

For example: https://travis-ci.org/woocommerce/woocommerce/jobs/509471213#L659

This problem went unnoticed during the PR review as no PHP file was modified in it and thus there was no file for PHPCS to check.

This commit fixes the error above by installing the Composer package `woocommerce/woocommerce-sniffs` which is the package that provides `WooCommerce-Core` sniffs and which installs `wp-coding-standards/wpcs` as one of its requirements. I couldn't find an easy way to make this work installing `woocommerce/woocommerce-sniffs` globally so that is why this commit also removes the `global` parameter when calling composer.
2019-03-21 15:23:42 -03:00
Mike Jolley 8ad8a4efa5 Deprecation functions should not output errors during REST requests. 2019-03-21 16:26:33 +00:00
Mike Jolley 3ff2c2f053 If someone tries to load WC_REST class to early, throw notice and include rest api classes 2019-03-21 15:38:29 +00:00
Mike Jolley aecb0fd4fc
Merge pull request #23082 from woocommerce/update/travis-config
Refactor Travis Config
2019-03-21 14:42:37 +00:00
Mike Jolley c5defa6a1e Add engine to system status 2019-03-21 14:39:33 +00:00
Mike Jolley 44291f3215
Merge pull request #23068 from woocommerce/renovate/grunt-contrib-jshint-2.x
Update dependency grunt-contrib-jshint to v2.1.0
2019-03-21 14:15:53 +00:00
Mike Jolley 2665cfae7a
Merge pull request #23073 from woocommerce/renovate/eslint-5.x
Update dependency eslint to v5.15.3
2019-03-21 13:43:20 +00:00
Mike Jolley 308d08f97e Run grunt tasks
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Rodrigo Primo b283a89847 Bump stable tag 2019-03-20 10:13:00 -03:00
Rodrigo Primo 952ed0c126 3.5.7 changelog 2019-03-20 10:10:11 -03:00
Mike Jolley 7c42ac0a29 Also remove hardcoding of attributes on frontend state fields 2019-03-19 16:59:22 +00:00
Mike Jolley f2ca110a46 Add default text using .text() 2019-03-19 16:59:16 +00:00
Mike Jolley 5bb58cc14b Add props via jquery, not direct 2019-03-19 16:59:08 +00:00
Gerhard 589f561c5e Restore cache 2019-03-19 15:46:24 +02:00
Gerhard e9e64dc30a Use vendor bin folder for calling phpunit 2019-03-19 15:41:43 +02:00
Gerhard 441c79ee41 Fix syntax error in shell script 2019-03-19 15:31:49 +02:00
Gerhard 0a1eb076ea Add PHPUnit call fallback for 5.2 specifically 2019-03-19 15:23:36 +02:00
Gerhard 506b1cec55 Restore Codecoverage to PHP 7.1 2019-03-19 15:17:11 +02:00
Gerhard 608579e987 Also update the include matrix with right version info for codecoverage 2019-03-19 15:05:14 +02:00
Gerhard 323935a1e8 Remove cache as it might cause issues with Scrutinizer 2019-03-19 14:57:19 +02:00
Gerhard 0824423752 Run Codecoverage using PHP 7.3 2019-03-19 14:48:45 +02:00
Gerhard a59969ca53 Do not try to run composer on PHP 5.2 and default to phpunit command instead of specifying path, travis will first try and look for in the composer dirs. 2019-03-19 14:30:54 +02:00
Gerhard cb6b43528a Add 5.3 to PHP versions 2019-03-19 14:20:28 +02:00
Gerhard 978b94c44f Move back to precise 2019-03-19 14:09:53 +02:00