Timur Gogolev
7cbdd71af6
Revert get_featured method
2021-10-14 23:13:35 +03:00
Timur Gogolev
05d774cdb5
Fix after merge with trunk
2021-10-14 23:10:45 +03:00
Timur Gogolev
89a19c2544
Merge remote-tracking branch 'origin/trunk' into update/marketplace-featured-page
2021-10-14 23:07:21 +03:00
Ron Rennick
990f7055c4
Merge pull request #30913 from lanej0/fix/quote-string-for-docker-compatibility
...
Quote WORDPRESS_TITLE value
2021-10-14 14:25:05 -03:00
jonathansadowski
aec78d9236
Merge pull request #30415 from woocommerce/add/wctracker-mobile-data
...
Add mobile data to WCTracker
2021-10-14 11:03:29 -05:00
Josh Betz
42a6e85e0e
Update tests to use new endpoint
2021-10-14 09:48:56 -05:00
Josh Betz
45ac35b97b
Add docblock for get_telemetry_controllers
2021-10-14 09:48:56 -05:00
Josh Betz
e7eba52ba5
Change endpoint to wc-telemetry/tracker
...
Since this endpoint isn't a publicly documented endpoint, we'll keep it
out of the wc/v3 namespace. Instead we're introducing a new wc-telemetry
namespace. The name of the endpoint then is updating to tracker.
The wc-telemetry endpoint is unversioned for consistency with
wc-analytics and because it's not publicly documented.
2021-10-14 09:48:55 -05:00
Josh Betz
eceb3f0df4
Fix the docblock copy pasta
2021-10-14 09:48:55 -05:00
Josh Betz
185313fe75
Fix the permission check for telemetry data
...
Any logged in user should be able to post telemetry data
2021-10-14 09:48:55 -05:00
Josh Betz
56a82a0b9d
lint
2021-10-14 09:48:55 -05:00
Josh Betz
7920bbe1c0
Additional invalid tests cases
...
Use it.each to run the same test with various invalid test data
2021-10-14 09:48:55 -05:00
Josh Betz
dc5e8af63e
Add e2e tests for telemetry endpoint
...
* Verify that missing parameters will result in errors
* Verify that passing correct parameters will result in 200
2021-10-14 09:48:54 -05:00
Josh Betz
8175045305
Add argument validation on telemetry endpoint
...
Properly validate the platform and version parameters in the request
body for telemetry requests.
2021-10-14 09:48:54 -05:00
Josh Betz
55dd00852a
Fix function name
...
We were calling this function with a different name
2021-10-14 09:48:54 -05:00
Josh Betz
3434550083
Use gmdate instead of date per coding standards
...
gmdate always returns a GMT date, so is not suspectible to runtime
timezone changes
2021-10-14 09:48:54 -05:00
Josh Betz
f252f71b8d
Convert to POST endpoint
...
We're only writing data now, so it's more natural for this to be a POST
endpoint. We'll send the data in the request body instead of as query
parameters.
2021-10-14 09:48:54 -05:00
Josh Betz
95a94b9309
Convert to /telemetry endpoint
...
Instead of overloading the application startup endpoint with recording
telemetry data, we'll start with a dedicated telemetry endpoint. This
should be easier to reason about and the additional overhead of a
separate endpoint is minimal.
2021-10-14 09:48:54 -05:00
Josh Betz
25bef4b55b
Add mobile data to WCTracker
...
Adds an endpoint to consolidate the data that is needed every time the
app is opened instead of relying on multiple endpoints.
This is also a good place to include some basic mobile data usage in
WCTracker. We track each platform independently, so we can see which
versions of the apps are used on a given site.
2021-10-14 09:48:53 -05:00
Néstor Soriano
30df9f4a01
Merge pull request #30840 from woocommerce/add/reviews-into-marketplace-product-card
...
Add ratings, reviews and icons into Marketplace's Product Cards
2021-10-14 16:14:55 +02:00
Vedanshu Jain
839760a29f
Merge pull request #30876 from helgatheviking/issues/30811-shipping-metabox
...
Add woocommerce_product_options_shipping_product_data hook to metabox
2021-10-14 18:40:44 +05:30
And Finally
079cc2bb4b
Merge branch 'update/marketplace-featured-page' of https://github.com/woocommerce/woocommerce into update/marketplace-featured-page
2021-10-14 12:34:24 +01:00
And Finally
c337da21f1
Added bottom margin of paragraph in `.addons-buttons-banner-details`, to improve rendering of promotional banner on featured page.
2021-10-14 12:34:06 +01:00
Timur Gogolev
5b28b29dbd
Merge remote-tracking branch 'origin/trunk' into add/reviews-into-marketplace-product-card
2021-10-14 14:18:59 +03:00
And Finally
c430820adc
Merge branch 'trunk' into update/marketplace-featured-page
2021-10-14 12:09:26 +01:00
And Finally
124dc35e42
Correcting escaping of `$mapped->price`, using `wp_kses`.
2021-10-14 10:56:22 +01:00
And Finally
22b67783d0
Addressing feedback. Using cheaper escaping methods.
2021-10-14 10:43:51 +01:00
And Finally
85fa25ad92
Restored and annotated deprecated functions for backwards compatibility.
2021-10-14 10:27:06 +01:00
Timur Gogolev
f54d7b0991
Apply PHPCS suggestions
2021-10-14 11:44:58 +03:00
Néstor Soriano
4850dc86fe
Merge pull request #30882 from woocommerce/update/wccom-11343
...
Reduce Storefront banner width & track links
2021-10-14 10:30:00 +02:00
Remi Corson
9aa7fd9dd7
Merge branch 'trunk' into update/wccom-11343
2021-10-14 08:38:05 +02:00
Remi Corson
5f1fb2fc23
Update content-hash in composer.lock
2021-10-14 08:34:55 +02:00
Jon Lane
1570c3cb36
Update changelog
2021-10-13 16:56:14 -07:00
Ron Rennick
7f2751d075
Merge pull request #30660 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/axios-0.21.2
...
Bump axios from 0.19.2 to 0.21.2 in /tests/e2e/api
2021-10-13 16:48:59 -03:00
Ron Rennick
d8e89ff1b3
Merge pull request #30755 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/tmpl-1.0.5
...
Bump tmpl from 1.0.4 to 1.0.5 in /tests/e2e/api
2021-10-13 16:22:09 -03:00
And Finally
3fbec9fc5c
Restored more styles for `.addons-wcs-banner-block` used for WCPay and WCShip banners.
...
Restored `install_woocommerce_services_addon` and `install_woocommerce_payments_addon` methods, needed to install plugins from WCPay and WCShip banners.
2021-10-13 19:07:36 +01:00
And Finally
c66d6f6095
Restored `output_search_promotion_block` and some of the CSS for `.addons-wcs-banner-block`.
2021-10-13 18:56:38 +01:00
And Finally
26affe1e8a
Added condition to prevent showing `Sorry, could not find anything` message on featured page. This should only be shown when a search term has been submitted.
2021-10-13 18:39:57 +01:00
And Finally
e12efaacde
Reverting changes to CircleCi config in 618eca7c6a
and cc0b78f8ec
. These were attempts to unstick PHPUnit tests.
2021-10-13 18:27:17 +01:00
And Finally
10a4556eb1
Merge branch 'trunk' into update/marketplace-featured-page
...
# Conflicts:
# includes/admin/class-wc-admin-addons.php
# includes/admin/views/html-admin-page-addons.php
2021-10-13 18:23:11 +01:00
Claudio Sanches
a1989d117b
Merge pull request #30938 from woocommerce/add/wccom-11309
...
In-App Marketplace Category Banners
2021-10-13 13:59:45 -03:00
And Finally
2fd16822c7
Updated content-hash to try and fix phpunit failure. https://github.com/woocommerce/woocommerce/pull/30840\#issuecomment-942422984 .
2021-10-13 17:46:17 +01:00
And Finally
d21faf4854
Update includes/admin/class-wc-admin-addons.php
...
Adding `$parameter_string` to end of URL for featured endpoint.
2021-10-13 17:37:59 +01:00
And Finally
f6225ba8e1
Update includes/admin/class-wc-admin-addons.php
...
Returning country in request to featured 2.0 endpoint.
2021-10-13 17:37:37 +01:00
Timur Gogolev
618eca7c6a
Try remove vendor folder from cache
2021-10-13 17:35:20 +01:00
Timur Gogolev
cc0b78f8ec
Test: clean up before running tests
2021-10-13 17:35:20 +01:00
Timur Gogolev
a09becd8f8
Revert debug code
2021-10-13 17:35:20 +01:00
Timur Gogolev
9271855161
Use currency code from WCCOM instead of symbol
2021-10-13 17:35:20 +01:00
Timur Gogolev
5cef87be7d
Use 3-column groups for screens more than 960px
2021-10-13 17:35:20 +01:00
Timur Gogolev
2f1835feec
Adjust group's title+description+see more block
2021-10-13 17:35:19 +01:00