Commit Graph

31118 Commits

Author SHA1 Message Date
Rodrigo Primo f9cdab66eb
Merge pull request #22889 from woocommerce/fix/22817
Hide 'other' payment method from invoice
2019-03-13 12:01:56 -03:00
Mike Jolley 09d92875fa
Merge pull request #23010 from woocommerce/update/lookup-tables
Update stock reports to use lookup tables
2019-03-13 15:01:07 +00:00
Mike Jolley 95cfdf0d49
Merge pull request #23012 from woocommerce/update/lookup-table-notices
Update/lookup table notices
2019-03-13 15:00:57 +00:00
Mike Jolley 0ca5cb022b
Merge pull request #23015 from woocommerce/update/data-stores-lookup
Update/data stores lookup
2019-03-13 15:00:46 +00:00
Mike Jolley 16ff51ded3 Use lookup table ID 2019-03-13 15:00:12 +00:00
Mike Jolley 4b077a22e8 Remove customer name 2019-03-13 14:40:37 +00:00
Mike Jolley a44cba5923 Update subject 2019-03-13 14:38:04 +00:00
Mike Jolley efc46344fc Bump template version 2019-03-13 14:35:51 +00:00
Mike Jolley df02507c47 Fix double escape 2019-03-13 14:35:16 +00:00
Mike Jolley b88d7109e7
Merge pull request #22966 from woocommerce/add/product-list-suggestions-hiatus-after-multi-dismiss
put products list suggestions on hiatus (month) after multiple dismissals
2019-03-13 14:32:23 +00:00
Mike Jolley 1dfb38c0a9
Merge pull request #23014 from woocommerce/update/add-caching-tracks-blog-details
Add transient caching to tracks blog data collection.
2019-03-13 14:28:10 +00:00
Mike Jolley 39e5de3324
Merge pull request #23007 from woocommerce/add/wc-blocks-v1/docblock-updates
REST API: Add Private REST API docblock and response headers.
2019-03-13 14:26:13 +00:00
Mike Jolley 955e91c5ef Use internal docblock comment 2019-03-13 14:24:11 +00:00
Ron Rennick 51afb3589b update version in action scheduler plugin header 2019-03-13 11:01:11 -03:00
Mike Jolley 4b2f7aedd4 Trigger sync after updating meta 2019-03-13 13:53:58 +00:00
Mike Jolley 0002463c61 child_has_stock_status use lookup 2019-03-13 13:48:38 +00:00
Ron Rennick 74789834fe update action scheduler to version 2.2.1 2019-03-13 10:45:39 -03:00
Mike Jolley d17dc119bc SKU lookup 2019-03-13 13:30:49 +00:00
Mike Jolley df0c432de2 update_product_stock should sync lookup table 2019-03-13 13:30:31 +00:00
Mike Jolley f6d9e7796f is_existing_sku use lookup 2019-03-13 13:25:55 +00:00
Gerhard e86fbf62cc Add transient caching to the blog_details values tracks collects. 2019-03-13 15:12:07 +02:00
Peter Fabian 2b8d2cf3dd PHPCS on test file. 2019-03-13 13:30:59 +01:00
Mike Jolley e6c60dd6c2 Show notice when regeneration is taking place with link to AS 2019-03-13 12:25:20 +00:00
Rodrigo Primo 5d14d30b8c Remove outdated comment
Commit
be05eea5da (diff-133db5662c51f5686d87611121a05a3bL88)
changed how ajax events are stored and now an associative array is not used anymore for both private and non private events. Instead two different arrays are now used one for each type of event.
2019-03-13 09:21:29 -03:00
Rodrigo Primo ab89222cfa Fix typo
Typo added in be05eea5da (diff-133db5662c51f5686d87611121a05a3bR45)
2019-03-13 09:10:53 -03:00
Peter Fabian 0aa9a09d18 Enforced attribute order to make result unambiguous. 2019-03-13 12:36:46 +01:00
Mike Jolley 2c14a8ddfb
Merge pull request #23006 from woocommerce/fix/phpcs-error
Fix error introduced by commit be05eea5da
2019-03-13 10:59:17 +00:00
Mike Jolley b4cfef95a2 Stop calling notice file 2019-03-13 10:40:38 +00:00
Mike Jolley 54fac746b3 Remove unused notice file 2019-03-13 10:40:11 +00:00
Mike Jolley 6f4eeef2fe Move deprecated notices to bottom of class and add deprecated tag 2019-03-13 10:37:30 +00:00
Mike Jolley ef352c2b48 Outofstock lookup 2019-03-13 10:10:24 +00:00
Mike Jolley b4aa0c3915 use found rows 2019-03-13 10:06:49 +00:00
Mike Jolley f5bd3be2c2 most stocked lookup table 2019-03-13 09:59:14 +00:00
Timmy Crawford ebb41738f0
Merge pull request #23008 from woocommerce/revert-22967-try/prioritise-extension-targeted-suggestions
Revert "prioritise targeted suggestions in products list:"
2019-03-12 19:15:48 -07:00
Rua Haszard 56ebaad549
Revert "prioritise targeted suggestions in products list:" 2019-03-13 14:50:06 +13:00
Timmy Crawford f7b58862f0 Fix phpcs issues. 2019-03-12 17:10:48 -07:00
Timmy Crawford 6c22bfb96a REST API: Add Private REST API docblock and response headers. 2019-03-12 16:26:10 -07:00
Rodrigo Primo a41e29e05f Fix error introduced by commit be05eea5da
Commit be05eea5da (diff-133db5662c51f5686d87611121a05a3bR1420) fixed all the PHPCS violations in includes/class-wc-ajax.php, but it unintentionally changed that the logic of WC_Ajax::json_search_products(). This commit reverts the changes to the old logic while keeping the PHPCS fixes.

Before the modification mentioned above, `$_GET['term']` would be used only if `$term` was empty. After this modification, `$_GET['term']` is used whenever it is set and `$term` (the parameter passed to the method) stopped being used. This commit restores the original logic in that what is passed in the first parameter as `$term` is used by default, and `$_GET['term']` is only used if `$term` is empty.
2019-03-12 20:23:28 -03:00
Mike Jolley ac21a4bc33 phpcs 2019-03-12 22:26:53 +00:00
Mike Jolley 3b98d2de8d Switch low stock report to lookup table
Baseline page load time down from 60s to 0.7s
2019-03-12 22:26:46 +00:00
Mike Jolley a6a035ec92 Fix low stock query to ref correct lookup table column 2019-03-12 22:16:42 +00:00
Rodrigo Primo 73fbed3411
Merge pull request #23004 from woocommerce/fix/legact-date-update
Check updated props for date variables
2019-03-12 16:42:58 -03:00
Mike Jolley c52eac2871 check updated props for variables 2019-03-12 19:22:30 +00:00
Rodrigo Primo f1e9e54c45 22997 2019-03-12 15:15:43 -03:00
Rodrigo Primo 47135c6a68
Merge pull request #22997 from woocommerce/fix/22992
Add stock to search results manually
2019-03-12 15:12:43 -03:00
Peter Fabian 918ea3c5aa Added test for attribute_summary. 2019-03-12 18:40:04 +01:00
Mike Jolley 203dba5a1f After logging in, migrate session data 2019-03-12 16:36:15 +00:00
Mike Jolley 5b1814016b Add stock with different function 2019-03-12 14:48:05 +00:00
Rodrigo Primo c4d6f3dac3 Replace deprecated WPCS rule
This commit replaces all the instances where the WPCS rule `WordPress.VIP.SlowDBQuery` was used with `WordPress.DB.SlowDBQuery`. `WordPress.VIP.SlowDBQuery` was deprecated in WPCS 2.0 and `WordPress.DB.SlowDBQuery` was added as a replacement (see 5f27d8e3a4/CHANGELOG.md (L130)).
2019-03-12 11:24:09 -03:00
Mike Jolley 8e7f18f004 Readme update 2019-03-12 13:50:44 +00:00