Mike Jolley
27ac2e1577
phpcs
2019-02-22 13:33:41 +00:00
Mike Jolley
d07d1cf0b0
If taxes are enabled, make the refund box readonly
2019-02-22 13:30:49 +00:00
Mike Jolley
0c2bc16bc1
Improved ratio and size matching code to prevent false positives
2019-02-22 12:10:54 +00:00
Mike Jolley
d31fbb5bf3
Helper to get full size dimensions
2019-02-22 12:10:28 +00:00
Mike Jolley
4a383fa832
When resizing, avoid extra checks via our filter
2019-02-22 12:10:16 +00:00
Mike Jolley
21f98555dc
Image downsize without filters
2019-02-22 12:09:59 +00:00
Konstantin Kovshenin
86d8065f3b
Remove debug code
2019-02-22 12:11:54 +03:00
Konstantin Kovshenin
25a72cc5f3
Add missing HTML template that renders the product data panel content
2019-02-22 12:03:58 +03:00
Konstantin Kovshenin
559409bccb
Remove hard-coded JSON test data
2019-02-22 11:55:56 +03:00
Konstantin Kovshenin
901d41bdfa
Marketplace suggestions in Edit Product screen
...
Adds a new tab to Woo's product data metabox and renders the
appropriate containers for JS to inject some Marketplace
suggestions.
2019-02-22 11:52:17 +03:00
haszari
4af4ce5783
allow suggestions on orders list + move logic into suggestions class
2019-02-22 10:55:37 +03:00
haszari
07a1ac7868
(temporary) add hard-coded fake orders-list suggestion data
2019-02-22 10:55:19 +03:00
haszari
3fcdc65283
style orders list suggestions + remove debug code
2019-02-22 20:55:03 +13:00
haszari
4e42021578
render suggestions containers (& unstyled suggestions) in orders list
2019-02-22 16:13:37 +13:00
haszari
24bbb9267e
allow suggestions on orders list + move logic into suggestions class
2019-02-22 16:11:34 +13:00
haszari
124e1a7b4a
(temporary) add hard-coded fake orders-list suggestion data
2019-02-22 16:06:18 +13:00
Jeff Stieler
04a1b7d79d
Track when product categories are created. ( #22790 )
...
* Track when product categories are created.
* Product category tracking: rename page property and include parent category ID.
* Fix PHPCS issues with product category tracking event.
2019-02-21 18:38:50 -07:00
Jeff Stieler
88fdbae5da
Track when a product is published. ( #22788 )
2019-02-21 18:34:06 -07:00
haszari
37578aa5d4
Merge branch master into feature/marketplace-suggestions
...
# Conflicts:
#assets/css/admin.scss
2019-02-22 14:17:20 +13:00
haszari
79e7699ccd
JS code-style fixes
2019-02-22 12:54:51 +13:00
haszari
163af89ab3
MIA suggestions data should be cached as a real array, not text
2019-02-22 12:34:43 +13:00
haszari
62d4b5e395
Improve clarity and logic for disabling suggestions:
...
- Use a filter rather than option
- Use return-early style in function for clarity
- Ensure user has 'install_plugins' capability
2019-02-22 12:31:02 +13:00
Jeff Stieler
e41b0985f3
Track Subscriptions connection actions ( #22805 )
...
* Track when the Helper connection process is started.
* Track when the Helper connection process is cancelled.
* Track when the Helper connection process has completed successfully.
* Track when the Helper has been disconnected.
* Track when the Helper refreshes subscriptions.
2019-02-21 16:28:15 -07:00
Paul Sealock
24c324ae4a
remove phpcs ignore
2019-02-22 12:24:31 +13:00
Paul Sealock
158cf33ded
add sanitize_text_field
2019-02-22 12:23:37 +13:00
haszari
48946b3cc6
Cache local woo plugins info rather than slugs-only subset:
...
- cache woo_plugins object for more general use
- streamline get_local_woo_plugin_slugs using pluck
2019-02-22 12:17:38 +13:00
haszari
20c039d946
removed redundant `get_plugin_slug`
2019-02-22 12:04:22 +13:00
haszari
9a07c70cfc
only enqueue marketplace suggestions styles if they are enabled
2019-02-22 12:02:17 +13:00
haszari
cda28ceb3a
hide empty-state suggestions for mobile too – focus on desktop for v1
2019-02-22 11:57:19 +13:00
Paul Sealock
3f8b3bc1fd
_woocommerce_tracks_anon_id to customere data store
2019-02-22 11:49:14 +13:00
Paul Sealock
851a2557f6
Tracks: Add a PHP client
2019-02-22 11:48:17 +13:00
Jeff Stieler
5c414507f9
Add Tracks events for product import start and finish. ( #22787 )
...
* Add Tracks events for product import start and finish.
* Move tracks event firing code into classes grouped by category/kind.
* Fix PHPCS warnings/errors with product and importer event tracking.
* Include products count in base Tracks data. (#22791 )
* Add extensions page view tracking. (#22803 )
* Add extensions page view tracking.
* Add tracking for extension searches. (#22804 )
2019-02-21 15:45:43 -07:00
haszari
9ed6f591d3
use updated tracks API wcSettings.recordEvent => wcTracks.recordEvent
2019-02-22 11:38:55 +13:00
Claudio Sanches
9ca8f97de3
Merge pull request #22792 from woocommerce/fix/product_edit-name
...
Fixt product_edit to match the event in the spreadsheet
2019-02-21 19:37:15 -03:00
Claudio Sanches
8f2efbfef3
Merge pull request #22808 from woocommerce/renovate/mocha-6.x
...
Update dependency mocha to v6.0.1
2019-02-21 19:29:53 -03:00
haszari
a7dd094b3a
frontload suggestion data as script data, remove ajax request
2019-02-22 11:23:09 +13:00
Paul Sealock
7ada5210a5
Merge pull request #22746 from woocommerce/add/w-js
...
Tracks: enqueue w.js
2019-02-22 10:12:24 +13:00
Paul Sealock
49f601cc75
Tracks: Add a PHP client
2019-02-22 10:11:39 +13:00
Renovate Bot
d30221b256
Update dependency mocha to v6.0.1
2019-02-21 20:15:06 +00:00
Mike Jolley
e982e4027a
unused variables
2019-02-21 17:37:16 +00:00
Mike Jolley
78ebe9496f
Move caching
2019-02-21 17:35:41 +00:00
Mike Jolley
a4ac312854
Correct docblock
2019-02-21 17:15:37 +00:00
Mike Jolley
d7c2aaaadb
Avoid get post
2019-02-21 17:15:24 +00:00
Mike Jolley
54c1ef8615
Avoid trying to resize small images
2019-02-21 16:58:40 +00:00
Mike Jolley
287d65ab65
Add caching to get image size
2019-02-21 16:58:28 +00:00
Mike Jolley
e830bd739a
Use taxable address when adding/removing coupons
2019-02-21 16:23:20 +00:00
Gerhard
0f771bf4fe
Remove old hooks for woocommerce_theme_background_installer and woocommerce_plugin_background_installer. There are no scheduled events for these anymore and the Wizard has it's own theme/plugin installer that uses the shutdown hook instead of cron.
2019-02-21 12:50:12 +02:00
haszari
f2deef861e
prefix AJAX actions to reduce chance of collision
2019-02-21 15:56:26 +13:00
haszari
b4a36dc620
document all js methods
2019-02-21 15:51:41 +13:00
haszari
950b873583
only display suggestions for Englishish locales
2019-02-21 15:20:16 +13:00