Commit Graph

39496 Commits

Author SHA1 Message Date
roykho bce05c811a
Revert "Tweak download filepaths"
This reverts commit 90e187b899.
2021-09-23 18:51:41 -07:00
roykho d54cd10bb4
Revert "Enable redirect method to also handle absolute filepaths."
This reverts commit 36022c29eb.
2021-09-23 18:51:10 -07:00
Barry Hughes df26e72ddf
Merge pull request #30800 from woocommerce/update/woocommerce-admin-2.7.1-rc.1
Bump WooCommerce Admin version to 2.7.1-rc.1
2021-09-23 16:40:40 -07:00
Joshua Flowers 2c2244aba8 Bump WooCommerce Admin version to 2.7.1-rc.1 2021-09-23 18:18:30 -04:00
Greg 943a213b49
Merge pull request #30780 from woocommerce/fix/actests-no-return
Fix for missing return in API core tests
2021-09-23 13:47:12 -06:00
Greg b6db14ff62
Merge pull request #30793 from woocommerce/e2e/bump-admin-tests 2021-09-23 11:27:21 -06:00
Ron Rennick 41753206d2 update e2e for WC Admin 2.7.0 2021-09-23 13:49:22 -03:00
Ron Rennick c15bf28b22
Merge pull request #30684 from woocommerce/add/api-test-script-scheduled-run
Run API tests with regular run and add script
2021-09-23 10:36:21 -03:00
Roy Ho 783b962bf6
Merge pull request #30774 from woocommerce/fix/30772
Enable redirect method to also handle absolute filepaths.
2021-09-23 14:19:48 +01:00
Greg cb0bab37be Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into fix/actests-no-return 2021-09-22 15:40:44 -06:00
Greg f8cef29f59 Fix for missing return 2021-09-22 14:15:40 -06:00
vedanshujain 36022c29eb Enable redirect method to also handle absolute filepaths.
Earlier redirect was only able to handle absolute paths.
2021-09-22 18:15:31 +05:30
Vedanshu Jain 50e8815fa2
Merge pull request #30770 from woocommerce/tweak/composer2-rebuild
Rebuild with Composer2
2021-09-22 18:14:13 +05:30
Vedanshu Jain 3ef6ad977a
Merge pull request #30739 from woocommerce/fix/add-item
Fix undefined variable notice when adding a product that doesn't exis…
2021-09-22 15:16:44 +05:30
Vedanshu Jain 5cdf979961
Merge pull request #30692 from woocommerce/fix/30231
Use proper location for taxes when adding products via admin
2021-09-22 15:14:13 +05:30
barryhughes bcbf1e6baf Rebuild with Composer2 2021-09-21 17:32:35 -07:00
jonathansadowski 71b26452d5
Merge pull request #30760 from woocommerce/5.7-update
Update versions and changelog
2021-09-21 17:03:19 -05:00
roykho 214a17e7cc
Update versions and changelog 2021-09-21 15:01:22 -07:00
Barry Hughes 302b1ae731
Merge pull request #30757 from woocommerce/bump/wca-2.7.0-rc.1
Bump WooCommerce Admin version to 2.7.0-rc.1
2021-09-21 14:59:16 -07:00
Joshua Flowers eacf4bb961 Bump WooCommerce Admin version to 2.7.0-rc.1 2021-09-21 17:52:34 -04:00
Roy Ho ebe5f02866
Merge pull request #30753 from woocommerce/update/wc-admin.2.6.4
Bump woocomemrce-admin version to 2.6.4
2021-09-21 21:06:12 +01:00
jonathansadowski bbe3c05937
Merge pull request #30752 from woocommerce/filepaths
Tweak download filepaths
2021-09-21 14:54:39 -05:00
Moon 286a9710f1 Bump woocomemrce-admin version to 2.6.4 2021-09-21 12:49:26 -07:00
roykho 90e187b899
Tweak download filepaths 2021-09-21 12:36:52 -07:00
jonathansadowski f7f8a8d61c
Merge pull request #30745 from woocommerce/fix/usage_of_db_information_schema
Replace usage of "information_schema.tables" with "SHOW TABLES LIKE"
2021-09-21 11:34:24 -05:00
Nestor Soriano d254f2703c
Add a unit test for WC_Abstract_Order->add_product
The test verifies that if an order is passed in arguments, that order
is passed in turn to wc_get_price_excluding_tax.
2021-09-21 16:40:36 +02:00
Nestor Soriano d743c157b3
Replace usage of "information_schema.tables"
This db table is used to check if the product attributes lookup table
exists, but that makes WooCommerce uninstallable in WP.COM without
a patch. This commit replaces that usage with a "SHOW TABLES LIKE"
statement, which is also consistent with other parts of the code.
2021-09-21 10:01:58 +02:00
Greg 54d134eb07
Merge pull request #30741 from woocommerce/e2e/init-permalinks
initialize index permalinks before e2e tests
2021-09-20 14:59:19 -06:00
Ron Rennick 772168519f initialize index permalinks before e2e tests 2021-09-20 13:51:11 -03:00
roykho 09fff8831a
Fix undefined variable notice when adding a product that doesn't exists in order 2021-09-20 07:06:41 -07:00
Barry Hughes cc94edd8ea
Merge pull request #30711 from woocommerce/update/woocommerce-blocks-5.9.0
Update WooCommerce blocks to 5.9.0
2021-09-17 10:03:57 -07:00
barryhughes 45a424eaf9 Resolve conflicts (WooCommerce Blocks bump to 5.9.0). 2021-09-17 09:31:37 -07:00
jonathansadowski 7ae951f432
Merge pull request #30726 from woocommerce/fix/30719-composer-lock
Update lock file per AS 3.3 update. #30719
2021-09-16 10:25:10 -05:00
barryhughes 311a4c1088 Update lock file per AS 3.3 update. #30719 2021-09-16 08:02:26 -07:00
Vedanshu Jain 8e13cece0e
Merge pull request #30719 from woocommerce/add/30718-as-30
Action Scheduler 3.3.0.
2021-09-16 13:40:34 +05:30
barryhughes 13ef8ca130 Action Scheduler 3.3.0. 2021-09-15 14:23:14 -07:00
Barry Hughes 6a07bea567
Merge pull request #30706 from woocommerce/fix/30625-marketplace-categories-dropdown
Fix in-app marketplace category dropdown menu on iOS
2021-09-15 10:44:29 -07:00
Roy Ho 931b4a0f36
Merge pull request #30712 from woocommerce/update/wc-admin.2.6.2
Bump woocommerce-admin version to 2.6.2
2021-09-15 18:39:54 +01:00
Néstor Soriano 69203f2924
Merge pull request #30650 from woocommerce/fix/29890
Add individual item remove notices for shipping and fees closes #29890
2021-09-15 17:05:52 +02:00
Moon 2682d72e0f Bump WCA version to 2.6.2 2021-09-14 11:19:28 -07:00
Barry Hughes 0e9771a26e
Merge pull request #30705 from woocommerce/fix/29963
Introduce the 'woocommerce_quantity_input_min/step_admin' filters.
2021-09-13 14:29:54 -07:00
And Finally 77528d9dd6 Addressing https://github.com/woocommerce/woocommerce/issues/30625 caused by iOS's behaviour around taps and hover, https://humanwhocodes.com/blog/2012/07/05/ios-has-a-hover-problem/. Adding `no-touch` class to body if we're not on a touch device. Adjusted CSS to take this class into account. 2021-09-13 14:29:32 +01:00
Nestor Soriano 39b24c1ffb
Add the 'woocommerce_quantity_input_min/step_admin' filters.
These filters allow changing the minimum value and change step for the
quantity editors in the order details page of the admin area,
in the context of order line edition and refund line edition.
2021-09-13 12:38:15 +02:00
Nestor Soriano 98a2391747
Add unit test for 'wc_get_price_excluding_tax'.
The test verifies that when an order is passed as an argument,
the order customer is passed to 'WC_Tax::get_rates'.
2021-09-13 10:16:18 +02:00
Ron Rennick a6e4cf2023
Merge pull request #30688 from woocommerce/add/release-slack-channel
Use slack channel for release testing
2021-09-10 12:23:02 -03:00
Barry Hughes fb4162f92f
Merge pull request #30690 from woocommerce/fix/28996
Fix select2 dropdown alignment offset closes #28996
2021-09-10 05:32:53 -07:00
Nestor Soriano 319b95b6f1
Modify "wc_get_price_excluding_tax" to use order location for rates
The order is optional and must be passed as an "order" key in "$args".
If present, the order customer will be passed to "WC_Tax::get_rates"
in order to calculate the taxes to substract (provided that
"$product->is_taxable() && wc_prices_include_tax()")

Also "WC_Abstract_Order->add_product" and "WC_AJAX::maybe_add_order_item"
are modified to pass the order being processed so that ultimately
"wc_get_price_excluding_tax" uses it.

This prevents the base tax location to be wrongly used instead of the
customer location when the "woocommerce_adjust_non_base_location_prices"
hook is set to return false.
2021-09-10 11:45:01 +02:00
roykho 41f63bd487
Fix select2 dropdown alignment offset closes #28996 2021-09-09 15:12:26 -07:00
Greg 323a316bd3 Add release slack channel 2021-09-09 14:26:28 -06:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00