Commit Graph

28248 Commits

Author SHA1 Message Date
Mike Jolley 987a24afdc Timeout param 2019-01-23 15:16:40 +00:00
Florian Ludwig 1d76102395 Adds error event trigger for erroneous fragment retrieval (timeout or server error) 2018-08-14 12:53:04 +02:00
Florian Ludwig 6f03a5fe72 Adds timeout to cart fragment ajax call 2018-08-14 12:24:33 +02:00
Peter Fabian 4dce6ec050
Merge pull request #21011 from woocommerce/fix/21010
Allow usage of orderby sorting via GET params when using the shortcode.
2018-08-14 09:54:11 +02:00
Gerhard Potgieter cbc6c013dd Revert checkout.js file change 2018-08-14 08:05:22 +02:00
Claudiu Lodromanean 28f4185899
Merge pull request #21038 from woocommerce/fix/21002
Update customer's ip address on successful payment.
2018-08-13 11:32:09 -07:00
Peter Fabian ca08beaa42 Changed explicit check to implicit. 2018-08-13 19:44:33 +02:00
Peter Fabian 96b9ebae14
Merge pull request #21007 from woocommerce/fix/21000
jquery-blockui dependency for wc-add-to-cart and wc-add-to-cart-variation scripts.
2018-08-13 19:36:00 +02:00
Peter Fabian 84e008337c Update customer's ip address on successful payment. 2018-08-13 14:37:21 +02:00
Claudio Sanches def2c4ccd1
Merge pull request #21019 from woocommerce/fix/20224-c
Unslashed the SKU for variation.
2018-08-10 17:25:06 -03:00
Peter Fabian e8956953ba Updated test. 2018-08-09 12:22:26 +02:00
Peter Fabian 1c2f51ee86 Unslashed the SKU for variation. 2018-08-09 12:13:23 +02:00
Claudiu Lodromanean 11911aa2ea
Merge pull request #20870 from woocommerce/add/export-products-based-on-category
Add category filter to product export functionality.
2018-08-08 08:51:58 -07:00
Gerhard Potgieter 1f4e86bd83 Allow exporting of variations for a parent product when a category is selected since variations are not tied to a category. 2018-08-08 14:45:57 +02:00
Gerhard Potgieter a250b0044f Add support for order as well to the shortcode 2018-08-08 13:44:47 +02:00
Gerhard Potgieter 87cfc646f4
Fix PHPCS errors (#21009) 2018-08-08 11:19:36 +02:00
Gerhard Potgieter 2596796de3 Allow usage of orderby sorting via GET params when using the shortcode. 2018-08-08 11:05:27 +02:00
Gerhard Potgieter 7db8940d2d
Merge pull request #20982 from shabnam611/fix/20943
Fix for issue 20943: Removed unnecessary php tag [point 2] and removed a return false stat…
2018-08-08 10:51:31 +02:00
Shabnam 722c21066f changed version to 3.5.0 and adjusted the curly brace 2018-08-08 13:27:54 +06:00
Gerhard Potgieter 90cc41c895 Make jquery-blockui dependencies for wc-add-to-cart and wc-add-to-cart-variation since it uses the block function but has not dependency on the woocommerce script. 2018-08-08 08:56:49 +02:00
Gerhard Potgieter 136f7689eb Update unit test for product exporter category to be array. 2018-08-07 17:44:27 +02:00
Gerhard Potgieter b9a28b7ec2 Allow for multiple category selections when exporting. 2018-08-07 16:58:39 +02:00
Gerhard Potgieter 70e9b747e8
Merge pull request #20832 from rnaby/180718-010448-class-wc-checkout
HashTable Implemented
2018-08-07 12:26:08 +02:00
Rodrigo Primo 7922e68022
Merge pull request #20953 from woocommerce/fix/20927
Hide "Stock status" field for grouped products
2018-08-07 06:58:36 -03:00
Gerhard Potgieter 15f037aad4
Merge pull request #20881 from woocommerce/fix/20880
Check if $product is an instance of WC_Product before using its methods
2018-08-07 10:42:27 +02:00
Claudiu Lodromanean df0564d57e
Merge pull request #20992 from woocommerce/fix/20951
Unify scroll to notices for all browsers
2018-08-06 12:19:12 -07:00
Peter Fabian caa978cf2d Use jQuery for scrolling to element for all browsers to avoid special cases. 2018-08-06 19:56:09 +02:00
Claudiu Lodromanean 97fcc50c30
Merge pull request #20972 from Dedi-Data/patch-1
Update IR.php
2018-08-04 08:01:58 -07:00
Claudiu Lodromanean d32a675c25
Merge pull request #20931 from woocommerce/fix/download-log-data-store
Fix: orderby and order parameters in WC_Customer_Download_Log_Data_Store::get_download_logs()
2018-08-04 07:57:17 -07:00
Shabnam 4affbff47e removed unnecessary php tag [point 2] and removed a return false statement[point 3] 2018-08-04 19:51:25 +06:00
Farhad Sakhaei 452286f401
Update IR.php
Correct translation for North Khorasan
2018-08-03 16:32:21 +04:30
Claudiu Lodromanean 9d2fcb1968
Merge pull request #20957 from woocommerce/fix/queue-coding-standards
Queue Coding Standards & fix incorrect variable being passed
2018-08-02 08:09:16 -07:00
Gerhard Potgieter 19401ea7d0 Fix PHPCS errors on WC_Action_Queue and make sure to pass on correct variable in schedule_cront function. 2018-08-01 20:11:08 +02:00
Gerhard Potgieter 883a5f90eb Fix PHPCS errors in WC_Queue class 2018-08-01 20:07:14 +02:00
Claudiu Lodromanean 71f67b0f2b
Merge pull request #20030 from thenbrent/issue_18003
Prototype using Action Scheduler Event Queue for Async Webhook Delivery
2018-08-01 09:57:56 -07:00
Rodrigo Primo 1274c61a7c Hide "Stock status" field for grouped products
In the product admin page, the field "Stock status" should be hidden for grouped products as stock is controlled individually for each of the child products and setting a stock status in the parent product has no effect.

Fixes #20927
2018-08-01 10:30:21 -03:00
Rodrigo Primo 4f41f99cd2 phpcs fixes 2018-08-01 10:27:22 -03:00
Rodrigo Primo deb48c7c7a Merge branch 'master' of github.com:woocommerce/woocommerce 2018-07-31 16:12:22 -03:00
Rodrigo Primo 3f82ecee8c Remove unnecessary uses of @codingStandardsIgnoreLine 2018-07-31 16:10:51 -03:00
Claudiu Lodromanean 3a6f14f380
Merge pull request #20905 from woocommerce/fix/20904
Fixes an issue with the 'woocommerce_grant_product_download_access' hook
2018-07-31 11:31:05 -07:00
Brent Shepherd ab78e65af9 Update WC_Queue_Interface::get_next()
To more closely align return value with other date APIs in WC, namely
WC_Data. Includes changing return value to:

1. a WC_DateTime instead of a timestamp when a scheduled occurrence is found
2. null instead of false, similar to the default of WC_Data::set_date_prop()
2018-07-31 12:29:15 +10:00
Brent Shepherd d9158a8c0e Add WC_Queue and WC()->queue() wrapper for accessing it
To take care of instantiating a canonical job queue for use across
all of WooCommerce, and by 3rd party code.

Also use this new API for enqueuing webhooks instead of raw Action
Scheduler APIs.
2018-07-31 12:21:07 +10:00
Brent Shepherd 0611ff7665 Add WC_Action_Queue
As a wrapper for Action Scheduler. This implements the WC_Queue_Interface
so it can be used as WC core's job queue. Implementing WC_Queue_Interface
also means this class has more generic and appropriate job queue nomenclature
than Action Scheduler itself. For exsample, it provides a method for
non-delayed jobs, i.e. WC_Queue_Interface::add(), unlike Action Scheduler,
which requires scheduling a job for now(), which while fairly simple, is not
intuitive or immediately obvious to new comers.

This makes it both more clear and convenient to use Action Scheduler
as a simple job queue instead of just a queue for delayed jobs.
2018-07-31 12:21:04 +10:00
Brent Shepherd 8e4466c9c8 Add WC_Queue_Interface
To provide an agreed set of public methods that need to be defined
for any class wanting to act as WooCommerce's queue handler.

The require APIs support both delay jobs, by providing APIs to
schedule an action/job/event for some time in the future, and a
non-delayed job API, to add an event to the queue to run as soon
as possible.
2018-07-31 12:20:30 +10:00
Rodrigo Primo b09bb3eee9 Fix: orderby and order parameters in WC_Customer_Download_Log_Data_Store::get_download_logs()
This commit fixes a bug in WC_Customer_Download_Log_Data_Store::get_download_logs() that made impossible to change the order in which the query returned the results. This method accepts the arguments order_by and order, but it was ignoring them and always using the default values ('download_log_id' and 'ASC' respectively).

It also introduces a very basic unit test to cover the method main functionality and to make sure that the parameters order and orderby are not ignored anymore.

It seems that the modified method was inspired in WC_Customer_Download_Data_Store::get_downloads() before the same bug was fixed in #18620.
2018-07-30 16:40:21 -03:00
Claudiu Lodromanean dc191b58a4
Merge pull request #20916 from woocommerce/fix/20906
Do not use array_merge for appending to tax classes
2018-07-30 11:46:13 -07:00
Claudiu Lodromanean 28f1aed9b0
Merge pull request #20913 from shoheitanaka/patch-15
If email @local include non alphabet
2018-07-30 11:43:10 -07:00
Shohei Tanaka d77990edde
Update it again
Thank you for the concrete method.
2018-07-29 09:17:39 +09:00
Claudiu Lodromanean 075cbd156e
Merge pull request #20915 from stromhalm/master
Merging plugin's tax_queries on REST endpoint, fixes #20914
2018-07-27 06:52:17 -07:00
Shohei Tanaka f4db4ecad7
Update it
Do you mean it?
2018-07-27 19:12:17 +09:00