Commit Graph

36166 Commits

Author SHA1 Message Date
Mike Jolley 95b72e56f5 Progress adding unit tests from core + wc-admin 2019-06-07 16:32:42 +01:00
Renovate Bot 2b1d5959c8
Update dependency stylelint to v10.1.0 2019-06-07 14:36:31 +00:00
Claudio Sanches 47c370809e Prevents taxes columns from being removed when the order is no longer editable 2019-06-07 10:07:32 -03:00
Peter Fabian 930fd983cb Merge branch 'add/new-edit-order-tracks' of https://github.com/woocommerce/woocommerce into add/new-edit-order-tracks 2019-06-07 14:59:11 +02:00
Peter Fabian 34c6933586 Added more params to the tracks. 2019-06-07 14:58:55 +02:00
Jeff Stieler 05fd441145 Add payment method to order status change tracking. 2019-06-07 12:52:22 +02:00
Jeff Stieler 1bd9a7d9a7 Use a consistent tracks event naming scheme. 2019-06-07 12:31:42 +02:00
Jeff Stieler e251557550 Track when users click “add order” from an order edit screen. 2019-06-07 12:21:04 +02:00
Ionut Calara 26dfe11493 Update find matching variation method inner query
Fix variation query to prevent the order by being ignored in some mysql
and mariadb versions. The order by has been moved outside and a left
join was added.
2019-06-07 13:05:01 +03:00
Peter Fabian 083c616f18 Added tracks to record when order note is added in edit order screen. 2019-06-07 12:04:38 +02:00
Peter Fabian b880159dbe Added tracks to record when products, fees, taxes or shipping are added to order in edit order screen. 2019-06-07 11:39:03 +02:00
Jeff Stieler 02785bc14c Track adding coupons to orders on edit screen. 2019-06-07 11:31:53 +02:00
Jeff Stieler 02a7654532 Fix eslint errors/warnings. 2019-06-07 11:25:39 +02:00
Jeff Stieler 6c90d9da57 Track order actions. 2019-06-07 10:55:33 +02:00
Claudio Sanches c0a9b57d72 Shows city as an optional field for Singapore 2019-06-06 20:13:55 -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
Mike Jolley de1c378054 Add more instructions on composer 2019-06-06 17:39:14 +01:00
Mike Jolley 9e5ab0ce93 Removing ignored files 2019-06-06 17:37:01 +01:00
Mike Jolley f68e5d1080 Add tests 2019-06-06 17:34:11 +01:00
Jeff Stieler 05ad6b260f Track interaction with the order refund UI. 2019-06-06 18:18:46 +02:00
Peter Fabian b22c788081 Added tracks for Recalculate button and edit/remove/save line items. 2019-06-06 18:14:21 +02:00
Jeff Stieler f9d064e778 Track changes to order creation date. 2019-06-06 17:09:50 +02:00
Mike Jolley ccf3a939ed Delete responses 2019-06-06 15:31:04 +01:00
Jeff Stieler a22c1dabf3 Track when billing or shipping address edit buttons are clicked. 2019-06-06 16:12:09 +02:00
Mike Jolley e865ca1b71 Fix leaderboard endpoint 2019-06-06 15:10:51 +01:00
Mike Jolley f4da7e1826 Add currency_symbol to order response 2019-06-06 14:38:13 +01: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
Mike Jolley 6cbe095fc6 Endpoints should overwrite 2019-06-06 14:08:22 +01: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
Mike Jolley 60a5a8a0ff Update readme file 2019-06-06 12:31:43 +01:00
Jeff Stieler 9776cbc2d8 Track order tax column deletion. 2019-06-06 13:18:29 +02:00
Mike Jolley 1aee7b5644 Add post_type_counts to status API 2019-06-06 11:52:27 +01:00
Mike Jolley 51d8cefcf8 WP_REST_Request 2019-06-06 11:44:59 +01: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
Risto Niinemets dbc9719d76 Use order raw address instead of formatted for filter 2019-06-04 08:13:40 +03: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
Jonathan Moore 9e8debd7ba
Avoid attempting to cache expired sessions
get_session() attempts to cache a session even if it is already expired.
The code used passes negative expiry seconds to wp_cache_add if the session expired in the past:
wp_cache_add( $this->get_cache_prefix() . $customer_id, $value, WC_SESSION_CACHE_GROUP, $this->_session_expiration - time() );

Depending on the caching layers used this will give errors in the logs such as:
ERR invalid expire time in setex in /var/www/html/wp-content/plugins/redis-cache/includes/predis/src/Client.php:370
as reported on: https://wordpress.org/support/topic/error-when-trying-to-get-a-get-a-cache-not-available/
2019-06-03 22:11:46 +01: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
Risto Niinemets de1dfbb1b4 Allow filtering formatted shipping address 2019-06-03 09:18:36 +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
Claudio Sanches 3a47453d68 Improve regex 2019-06-01 11:52:15 -03:00
Dan Wyman 7355fadfdd Tracker: fix review count.
Fixes #23848
2019-05-30 12:45:47 -07:00
Mike Jolley 13b18a4211 Update all other namespaces 2019-05-30 18:23:39 +01:00
Mike Jolley d630418f26 Fix class calls due to namespaces 2019-05-30 17:23:10 +01:00
Mike Jolley 47bfc21c97 Leaderboards 2019-05-30 16:10:49 +01:00