Commit Graph

27715 Commits

Author SHA1 Message Date
Mike Jolley e15a4f63a0 Update defaults so account creation is disabled until setup by admin 2018-04-26 11:50:15 +01:00
Mike Jolley 091d5326f2 Update abstract class and privacy code 2018-04-26 11:29:51 +01:00
Mike Jolley 41605a23eb
Merge pull request #19849 from woocommerce/update/abstract-privacy-class
Abstract out privacy class so that extensions can easily re-use it
2018-04-26 10:56:12 +01:00
Khan M Rashedun-Naby c235d05446 process_order_payment method redundant else removed. 2018-04-26 10:24:31 +06:00
Khan M Rashedun-Naby dfcec0ce39 process_order_without_payment method redundant else removed 2018-04-26 10:18:47 +06:00
Khan M Rashedun-Naby e1fea55cb6 get_value method refactored 2018-04-26 09:40:58 +06:00
Khan M Rashedun-Naby 6714d47e8d Some more clean up 2018-04-26 09:11:36 +06:00
Khan M Rashedun-Naby d7458493c6 get_checkout_fields method refactored 2018-04-26 09:03:51 +06:00
Khan M Rashedun-Naby 98a13a0fc2 Rewritten the logic and cleaned the code. 2018-04-25 22:54:17 +06:00
Khan M Rashedun-Naby c174316bf8 Removed redundant else statement and inverted the early return 2018-04-25 22:21:21 +06:00
Mike Jolley a04c54a896
Merge pull request #19851 from woocommerce/fix-e2e-tests-before3.4
Fix the US currency name and attribute check for creating variable product
2018-04-25 12:03:54 +01:00
Mike Jolley 2f6d2b857b
Merge pull request #19833 from rnaby/240418-091920-wc-admin-log-table-list
Inverted the condition based returns.
2018-04-25 12:00:34 +01:00
Mike Jolley 6694d64ef6
Merge pull request #19845 from woocommerce/feature/19840
Trigger GeoLite2 database download after update
2018-04-25 11:59:46 +01:00
Mike Jolley 7a8d23ce41
Merge pull request #19852 from rnaby/250418-143213-wc_product_has_unique_sku
Removed redundant else
2018-04-25 11:59:10 +01:00
Peter Fabian 7ffc5a4b51 Made JS to look for closest form-row paragraph instead of parent.
As the input/select are now wrapped in span, going to parent brakes the form in some workflows.
2018-04-25 12:46:38 +02:00
Khan M Rashedun-Naby f1c359859b Removed redundant else 2018-04-25 14:35:30 +06:00
Peter Fabian 76d9cc7b19 Fix the US currency name and attribute check for creating variable product. 2018-04-25 10:00:10 +02:00
Boro Sitnikovski 92cd1ec0d8 Abstract out privacy class so that extensions can easily re-use it 2018-04-25 02:13:59 +01:00
Boro Sitnikovski e891e3ed7d Support payment_method_in when selecting orders 2018-04-25 01:40:29 +01:00
Claudio Sanches d496e28d08 Trigger GeoLite2 database download after update
Closes #19840
2018-04-24 15:32:27 -03:00
Mike Jolley 30a8785ff4 Add up/down buttons 2018-04-24 19:26:17 +01:00
Mike Jolley 6fcbf2f908 Styling 2018-04-24 19:26:07 +01:00
Mike Jolley 7be62795db Add wp-util script and strings for localisation 2018-04-24 19:26:00 +01:00
Mike Jolley 6e90ff3ac3 JS handling for move up/down buttons 2018-04-24 19:25:45 +01:00
Mike Jolley aeb9d3fe65 wc_selected handles escaping 2018-04-24 19:25:20 +01:00
Claudio Sanches 574c829096 Introduced function to check if geolocation is enabled 2018-04-24 15:22:12 -03:00
Claudiu Lodromanean a07135ce9e
Merge pull request #19839 from woocommerce/fix/jquery-ui-404s
Add missing jquery UI images
2018-04-24 10:54:12 -07:00
Mike Jolley c8005a8c00 Wording updates 2018-04-24 16:47:55 +01:00
Claudio Sanches 5e28b6b88e
Merge pull request #19841 from woocommerce/update/remove-geolite
Removes freegeoip service
2018-04-24 12:08:14 -03:00
Mike Jolley f9c3ed14e4 Fix transient clearing 2018-04-24 15:44:30 +01:00
Mike Jolley d6a6356d53 After activating a subscription, caches for updates must be purged 2018-04-24 15:43:52 +01:00
Mike Jolley 6d9bacb982 Removes freegeoip service 2018-04-24 14:32:21 +01:00
Mike Jolley 3f50c60ccf Add missing jquery UI images 2018-04-24 13:58:32 +01:00
Mike Jolley da9c99a12f
Merge pull request #19837 from woocommerce/update/obw-tracker-request
Delay tracking request
2018-04-24 13:23:31 +01:00
Gerhard Potgieter 07dcf77f6f Deffer first tracker send to a cron instead of direct calling it. 2018-04-24 14:16:41 +02:00
Mike Jolley 04ae123c5b
Merge pull request #19826 from woocommerce/fix/19793
Float the dismiss button instead of absolute-position it.
2018-04-24 12:51:08 +01:00
Mike Jolley cb9dab21d6
Merge pull request #19822 from woocommerce/fix/19790-positive-page-id
Do not load unsupported theme functionality when shop page -1
2018-04-24 12:29:22 +01:00
Gerhard Potgieter fc43bd2410 Delay tracking request by 10 seconds to allow for page load to complete first. 2018-04-24 12:42:06 +02:00
Gerhard Potgieter 56c539681b Yoda, you must! 2018-04-24 07:18:09 +02:00
Khan M Rashedun-Naby 845097f42a Inverted the condition based returns. 2018-04-24 09:21:33 +06:00
Mike Jolley 0f71eb15bf
Merge pull request #19712 from woocommerce/update/wc-tracker
Tracker Changes
2018-04-23 19:28:14 +01:00
Mike Jolley 03281b8651
Merge pull request #19824 from woocommerce/fix/tests-setup
Test setup methods should call parent setup method
2018-04-23 19:12:03 +01:00
Mike Jolley 6718063330
Merge pull request #19829 from woocommerce/improve/geolite-database-paths
Use trailingslashit() instead of DIRECTORY_SEPARATOR
2018-04-23 19:08:24 +01:00
Claudio Sanches 9ac00e1986 Use trailingslashit() instead of DIRECTORY_SEPARATOR
This will avoid any double `/` and should work on Windows too.
2018-04-23 14:19:42 -03:00
Claudio Sanches 9d99ca4c47
Merge pull request #19812 from shivapoudel/fix/19742
Fix - Notice while downloding GeoIP DB on Windows
2018-04-23 14:17:37 -03:00
Shiva Poudel 0c5d6dd285 Tweak - Use of trailingslashit instead 2018-04-23 22:07:14 +05:45
Peter Fabian 694cfa979b Float the dismiss button instead of absolute-position it.
To prevent overlaps with conten/text of the message.
2018-04-23 15:42:42 +02:00
Rodrigo Primo dcc309d16b Add call to parent::setUp() and remove cleanup code
parent::setUp() should be called inside test setup methods to make sure database changes are automatically reverted after each test is executed. This way it is not necessary to manually remove inserted data.
2018-04-23 10:34:15 -03:00
Rodrigo Primo 4a8f34f2ee Test setup methods should call parent setup method
This commits adds a call to `parent::setUp()` inside WC_Tests_Product_CSV_Importer::setUp(). This is necessary to make sure transactions are used on database calls and thus tests don't have to worry about cleaning inserted data.

I found this issue while debugging https://github.com/woocommerce/woocommerce-product-tables-feature-plugin/issues/81. Turns out this test was failing because WC_Tests_Product_CSV_Importer::test_import() was leaving one post in the database due to a bug in the custom product tables plugin.
2018-04-23 10:34:03 -03:00
Rodrigo Primo c7c82a2335 PHPCS fixes 2018-04-23 10:33:52 -03:00