Commit Graph

31730 Commits

Author SHA1 Message Date
Mike Jolley 7a61883c30 Update composer file to include packages 2019-06-21 13:40:34 +01:00
Mike Jolley 950f31a9e0 Remove abstract rest class that is in the package 2019-06-21 13:40:10 +01:00
Mike Jolley 5a092f9beb Remove block library dependency 2019-06-21 12:23:47 +01:00
Mike Jolley 8b41b03f2e Remove blocks files 2019-06-21 12:23:41 +01:00
Mike Jolley e2df2c3986 Remove blocks from build file 2019-06-21 12:23:32 +01:00
Mike Jolley 145cf3b770 Remove rest includes and controllers init 2019-06-19 11:56:51 +01:00
Mike Jolley ce3a6cbbf8 Remove old include 2019-06-19 11:54:55 +01:00
Mike Jolley 78f9ea59ed Moved auth and exception classes to main includes directory - these are shared between legacy and new API. The package may replace these in the future. 2019-06-19 11:52:50 +01:00
Mike Jolley 7451659b24 Delete REST API abstract classes 2019-06-19 11:49:28 +01:00
Mike Jolley 03e60ebb7c Delete REST API classes 2019-06-19 11:48:12 +01:00
Mike Jolley 6ca9dac7d7 Remove REST API autoloader 2019-06-19 11:44:57 +01:00
Mike Jolley 9a07e92eba Remove parent construct call since init() is used. 2019-06-19 11:31:04 +01:00
Mike Jolley 038bac16f5 Update paths to legacy API and implement init method. 2019-06-19 11:29:49 +01:00
Mike Jolley 00a8ef5d4d Move legacy API files from /api/ to /legacy/api 2019-06-19 11:23:47 +01:00
Mike Jolley 3776599fcd Add prebuild step to NPM packages.json to install composer.
Just a helper; if you run npm build it will ensure NPM and composer are both installed.
2019-06-19 11:17:24 +01:00
Mike Jolley ed68104077 Ignore `/packages` directory. This will be where external packages live. 2019-06-19 11:16:30 +01:00
Albert Juhé Lluveras 9e641e08dd
Merge pull request #23953 from woocommerce/fix/tracks-pixel-fixed
Set Tracks image position to fixed
2019-06-19 10:41:39 +02:00
Claudio Sanches 4061f870a2
Merge pull request #23720 from parmarhardip/FIX-23589
fix- 23589 I have fixed pricing issue.
2019-06-18 16:04:45 -03:00
Claudio Sanches e18481e795
Merge pull request #23824 from woocommerce/fix/23799
Update Emogrifier library
2019-06-18 16:03:40 -03:00
Claudio Sanches e849a5e044
Merge pull request #23877 from jdeeburke/fix/apply-coupon-fatal
Fix fatal error when applying a virtual coupon to an order placed by a guest
2019-06-18 16:00:39 -03:00
Claudio Sanches a36dcf8aae
Merge pull request #23849 from woocommerce/fix/wc-tracker-reviews
Tracker: fix review count
2019-06-18 15:52:25 -03:00
Claudio Sanches 96787d62f9
Merge pull request #23828 from Jon007/patch-1
Avoid outputting a rating of zero when product has comments without a review rating.
2019-06-18 15:51:55 -03:00
Claudio Sanches bf01eccfcd
Merge pull request #23840 from unfulvio/23839-do-not-throw-notice-rest-api-includes
[#23839] Do not throw autoloader notice if following notice instructions
2019-06-18 15:51:22 -03:00
Albert Juhé Lluveras 26c2d49586 Set Tracks image position to fixed 2019-06-18 13:05:30 +02:00
Claudio Sanches aaf789ad64
Merge pull request #23920 from woocommerce/fix/codex-links
Updated outdated codex URLs
2019-06-13 14:50:49 -03:00
Claudio Sanches ff7439d65f
Merge pull request #23928 from woocommerce/try/fix-wp-version-for-php-52-53
Fix WP version to 5.1.1, last one that supports PHP < 5.6.
2019-06-13 12:44:28 -03:00
Peter Fabian c4b48eb64e Fix WP version to 5.1.1, last one that supports PHP < 5.6. 2019-06-13 15:43:59 +02:00
Claudio Sanches 3ce6acec74 Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
Jared Burke 332c94c13a Fix fatal error when applying a virtual coupon to an order placed by a guest 2019-06-06 15:37:08 -05:00
Dan Wyman 3edd30757b Tracker: apply coding standards. 2019-06-06 13:23:11 -07:00
Claudio Sanches 9eca72849d
Merge pull request #23873 from woocommerce/renovate/lint-staged-8.x
Update dependency lint-staged to v8.2.0
2019-06-06 10:08:30 -03:00
Claudio Sanches 473b15233d
Merge pull request #23871 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.4.0
2019-06-06 10:07:50 -03:00
Renovate Bot 6f7ca779f2
Update dependency lint-staged to v8.2.0 2019-06-06 08:41:45 +00:00
Fulvio Notarstefano aba51d4c76 [#23839] Use false arg in class_exists() 2019-06-06 09:56:30 +08:00
Renovate Bot a7a6581fd1
Update dependency husky to v2.4.0 2019-06-05 17:58:55 +00:00
Claudio Sanches e2a842e47d
Merge pull request #23862 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.6.0
2019-06-03 20:12:23 -03:00
Renovate Bot 562e0f0e94
Update dependency autoprefixer to v9.6.0 2019-06-03 18:44:50 +00:00
Ajay Ghaghretiya c9bcce3a31 #23850 Fixed the coupon usage limit issue when apply coupon from admin panel (#23851)
* fix the coupon usage limit issue

* fix the if condition for the usage limit

* fixed coding standard

* fix the if conditions for coupon usage limit per user
2019-06-03 10:47:32 -03:00
Claudio Sanches 15fa45af69 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-06-02 18:32:56 -03:00
Claudio Sanches b43e6cd583 Fixed npm packages 2019-06-02 18:32:42 -03:00
Dan Wyman 7355fadfdd Tracker: fix review count.
Fixes #23848
2019-05-30 12:45:47 -07:00
Rodrigo Primo 3ea8162cff
Merge pull request #23838 from woocommerce/feature/23829
Introduced woocommerce_search_products_post_statuses filter
2019-05-29 14:48:46 -03:00
Fulvio Notarstefano ab1ba58128 [#23839] Do not throw an autoloader notice if following the notice recommendation 2019-05-29 12:47:26 +08:00
Claudio Sanches b5da70c74a Introduced woocommerce_search_products_post_statuses filter 2019-05-28 21:05:26 -03:00
Claudio Sanches 2e90e9ab65
Merge pull request #23743 from Sisanu/issue-23717-enhancement-hook
Implement the info & extra actions new filter for Product gallery
2019-05-28 18:22:33 -03:00
Claudio Sanches 2fdf6de827
Merge pull request #23764 from jorgept/patch-1
Update class-wc-countries.php
2019-05-28 18:19:41 -03:00
Claudio Sanches c28af404ad
Merge pull request #23814 from woocommerce/add/x-sendfile-file-filter
Add filters to file paths passed to the different xsendfile like backends
2019-05-28 17:41:49 -03:00
Jonathan Moore 5d6574a00a
rating optional = generate_product_data incorrect
If rating is not mandatory on comments, generate_product_data() produces incorrect output.
For example items with comments but no reviews are output with rating of zero which is getting flagged in google webmasters tools under the heading "Rating is missing required best and/or worst values".

The output google is objecting to is eg:
"aggregateRating":{"@type":"AggregateRating","ratingValue":"0","reviewCount":1}}

postmeta in this case is:
_wc_average_rating 0
_wc_rating_count 0.0
_wc_review_count 1

product lookup table is reporting
rating_count 0
average_rating 0.00

the meta is correct and reflected in the product object, it is the test that is wrong since
if $product->get_review_count() 
may be true even if there are no ratings.

This is solved by substituting get_rating_count() which has the correct number of ratings.
2019-05-28 07:38:07 +01:00
Rodrigo Primo 31affff196 3.6.4 changelog 2019-05-27 16:35:39 -03:00
Rodrigo Primo 3d12ec4ae2 Remove extra comma to prevent issues with older versions of IE
This commit simply removes an extra comma that was added in
52fced8d7a to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:

```
Running "jshint:all" (jshint) task

   assets/js/admin/meta-boxes-order.js
    413 |                    user_email : user_email,
                                                    ^ Extra comma. (it breaks older versions of IE)
```

We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00