Commit Graph

31338 Commits

Author SHA1 Message Date
Mike Jolley 30129f00ff Fix issue in tests by disabling strict mode 2019-04-15 12:10:22 +01:00
Mike Jolley d0c6c54989 Moved link/create code to data store with new unit test
This code was not testable within ajax code, so moved to the data stores.
2019-04-15 11:59:57 +01:00
Gerhard 134f9c9c8e Fix PHPCS 2019-04-15 12:13:02 +02:00
Ralf 66540f1b5d Moved accessibility labels for checkout after woocommerce_checkout_fields filter 2019-04-15 12:09:33 +02:00
Mike Jolley 14ed29b6f3
Merge pull request #23271 from jenkoian/minor-things
Minor fixes for things noticed when running tests locally.
2019-04-15 10:40:16 +01:00
Mike Jolley 49edcf7253
Merge pull request #23298 from woocommerce/renovate/stylelint-10.x
Update dependency stylelint to v10
2019-04-15 10:10:09 +01:00
Jeff Stieler 13e40cdee7 Remove total revenue from Tracks events.
Query to calculate is far too expensive and doesn’t seem to ever get cached with large datasets.
2019-04-15 09:37:34 +02:00
Renovate Bot fb4eb76ff5
Update dependency stylelint to v10 2019-04-13 13:04:35 +00:00
David Jensen 23bda4503e Add comment 2019-04-12 14:49:17 -07:00
David Jensen ac6da3cb55 Unit test strip HTML from product title when building PayPal request URL 2019-04-12 14:44:38 -07:00
David Jensen 9b58e68e85 Remove html tags from product name in request to PayPal 2019-04-12 12:36:30 -07:00
Mike Jolley 4e8342be38 Check get_plugin_data exists 2019-04-12 15:34:52 +01:00
Mike Jolley 4ea3049372
Merge pull request #23285 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.1.3
2019-04-12 10:54:38 +01:00
Renovate Bot ebc7f4d191
Update dependency mocha to v6.1.3 2019-04-12 00:18:29 +00:00
Manos Psychogyiopoulos d4f8435106 Prime post caches before looping through variations
Should help when the AJAX variations threshold is set higher.
2019-04-11 10:59:34 +03:00
Marco Chiesi 92c356021c
Added missing parameter comments 2019-04-11 01:12:27 +02:00
Marco Chiesi 2a784a3003
Added missing doc comments (coding standards) 2019-04-11 01:03:48 +02:00
Marco Chiesi cba442283c
Fixed wrong tests for Italian postcodes 2019-04-11 00:33:30 +02:00
Ian Jenkins dd67ee2e28 Minor fixes for things noticed when running tests locally.
Was using a directory other than /tmp for temp dir and it was failing,
this was the changes I had to make.
2019-04-10 23:01:44 +01:00
Ian Jenkins fa3637c4f1 Bug - Fix for network orders widget when WooCommerce is network active.
Network orders makes most sense when WooCommerce is installed as a
network wide plugin. This change fixes the widget when it is network
active.
2019-04-10 22:58:51 +01:00
Marco Chiesi e2dd7504d0
Added validation for Italian postcodes 2019-04-10 23:44:50 +02:00
Gerhard 96906d9efa PHPCS Fixes 2019-04-10 14:53:03 +02:00
Mike Jolley d3e2d725e7 prevent test showing content 2019-04-10 13:50:42 +01:00
Mike Jolley fe385c9f74 fix query by adding alias 2019-04-10 13:48:03 +01:00
Gerhard 8716c7451c PHPCS fixes 2019-04-10 14:29:40 +02:00
Mike Jolley 2e24cc7b0c Switch to subquery for sale product query 2019-04-10 12:43:22 +01:00
Mike Jolley dfcc5e16e5 update wording 2019-04-10 11:51:41 +01:00
Mike Jolley 945ff7958f
Merge pull request #23101 from woocommerce/update/23090
Add table ENGINE to system status report
2019-04-10 11:32:51 +01:00
Mike Jolley deaaa5d1d8 Remove two old moved-feature notices 2019-04-10 11:23:35 +01:00
Mike Jolley 91084f3e28 Add todo for legacy shipping notice 2019-04-10 11:23:04 +01:00
Manos Psychogyiopoulos 2fbb7bda5c Check coding stds 2019-04-10 13:02:52 +03:00
Manos Psychogyiopoulos c1b7c55768 Add exclude param tests 2019-04-10 12:47:31 +03:00
Manos Psychogyiopoulos a9f86ef202 Add include param tests 2019-04-10 12:47:19 +03:00
Manos Psychogyiopoulos e6f25b04d8 Add limit param tests 2019-04-10 12:47:06 +03:00
Timmy Crawford 750fda3b1b
Merge pull request #23258 from woocommerce/fix/manage-suggestions-target-url
fix target url of 'Manage Suggestions', settings are now in 'Advanced'
2019-04-09 17:34:07 -07:00
haszari 7ede25add7 use admin_url to generate manage suggestions url (support multisite etc) 2019-04-10 12:16:49 +12:00
haszari cd9101bb58 fix target url of 'Manage Suggestions', settings are now in 'Advanced' 2019-04-10 12:02:09 +12:00
Timmy Crawford 8d193dea80
Merge pull request #23256 from woocommerce/fix/empty-state-displayed-tracks
reinstate `displayed` event for suggestions not displayed in metabox
2019-04-09 15:38:11 -07:00
haszari 164eca6270 reinstate `displayed` event for suggestions not displayed in metabox:
- add func defining which suggestions contexts are hidden/revealable
- reinstate tracks event when rendering suggestion (for non-hidden
suggestions)
- add check in (context-sensitive) tab click handler to abort if
that context has already fired displayed events
2019-04-10 09:40:06 +12:00
Timmy Crawford de0faa8bf3
Merge pull request #23254 from woocommerce/move/tracks-suggestions-settings
[3.6] Move suggestions/tracks settings to new Advanced | WooCommerce.com page.
2019-04-09 12:11:00 -07:00
Timmy Crawford 8bccfcca1a more phpcs fixes. 2019-04-09 11:34:34 -07:00
Timmy Crawford 81c679181c PHPCS fixes. 2019-04-09 10:18:47 -07:00
Timmy Crawford 7d1a023cf4
Merge pull request #23253 from woocommerce/fix/edit-product-marketplace-suggestion-tracking
[3.6] Only track product page marketplace suggestions when visible.
2019-04-09 09:53:03 -07:00
Timmy Crawford f2b55bf060 Move suggestions/tracks settings to new Advanced | WooCommerce.com page. 2019-04-09 09:38:26 -07:00
Jeff Stieler 742b3d6b66 Only track product page marketplace suggestions when visible. 2019-04-09 10:23:02 -06:00
Mike Jolley c2952647bc
Merge pull request #23226 from woocommerce/renovate/config-3.x
Update dependency config to v3.1.0
2019-04-09 16:19:20 +01:00
Mike Jolley 1fd46a9350
Merge pull request #23225 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.1.2
2019-04-09 16:18:49 +01:00
Timmy Crawford 0061a21cea
Merge pull request #23242 from woocommerce/add/manage-suggestions-tracks-events
add tracks event for clicks on Manage suggestions link(s)
2019-04-09 07:55:07 -07:00
Mike Jolley 91e21644cf Style descriptions after select2 boxes 2019-04-09 15:02:05 +01:00
Mike Jolley cb27b40c67 Search for 'number' anywhere in cell, not just the end 2019-04-09 14:37:46 +01:00