Commit Graph

32363 Commits

Author SHA1 Message Date
Marco Almeida 3b7be608e4
Display Status > Log timestamp with the Y-m-d H:i:s format
Display WooCommerce > Statis > Log timestamp, when using WC_Log_Handler_DB, with the Y-m-d H:i:s format instead of the WordPress global date and time format options, because we need more detail on the shown timestamps and that might not be compatible with what we want for our global options.
2019-06-13 10:58:41 +01:00
Gerhard b784de2268 Bump WooCommerce-Sniffs minimum version 2019-06-13 11:47:22 +02:00
Gerhard a2953da9ad Bump minimum PHP version to 5.6, update travis to remove 5.2 and 5.3 tests. 2019-06-13 11:28:18 +02:00
Claudio Sanches 3ce6acec74 Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
Claudio Sanches 5624af43a7 Updated docs about increasing memory allocated to php 2019-06-12 19:04:24 -03:00
Gerhard 84b6fa144f Update description for automatic username generation to reflect how it actually works. 2019-06-12 12:13:41 +02:00
Gerhard 3894d156e6 Explicitly check 0 value attributes when looking up variations. 2019-06-12 11:27:27 +02:00
Renovate Bot 45fd1e4985
Update dependency husky to v2.4.1 2019-06-11 22:28:48 +00:00
justlevine efb8b9af57
Added missing quote
Quote missing between `placeholder` and `data-input-classes` attributes.
2019-06-11 20:47:22 +03:00
Renovate Bot 34b2022789
Update dependency chromedriver to v75 2019-06-10 16:09:06 +00:00
rmalviya 5bf8adf2dd Send boolean as expected, not string
Originally checkout.js:336 expected string but changed to boolean
with 4ad370985. Send boolean for `reload` in json and fix #23888.
2019-06-08 20:12:44 +05:30
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
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
Jeff Stieler a22c1dabf3 Track when billing or shipping address edit buttons are clicked. 2019-06-06 16:12:09 +02: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
Jeff Stieler 9776cbc2d8 Track order tax column deletion. 2019-06-06 13:18:29 +02: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
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