Commit Graph

39486 Commits

Author SHA1 Message Date
Ron Rennick 32e3919604 Merge branch 'trunk' into fix/30371 2021-09-22 11:29:08 -03:00
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
Ron Rennick 1d0af61357 update create order test to use OrderEdit 2021-09-15 23:00:12 -03:00
barryhughes 13ef8ca130 Action Scheduler 3.3.0. 2021-09-15 14:23:14 -07:00
Ron Rennick 21470315fa instantiate AdminEdit object 2021-09-15 14:49:41 -03: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 d2a94ba5d9 update utils readme to include general utils 2021-09-10 15:56:16 -03:00
Ron Rennick 20cb447204 delete coupons instead of trashing them 2021-09-10 15:30:28 -03: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
Barry Hughes 3ce7d627f2
Merge pull request #30640 from woocommerce/fix/30264
Add additional context to have browse all products open in new tab cl…
2021-09-08 12:05:10 -07:00
Greg 2efdcda7d3
Merge pull request #30658 from woocommerce/e2e/release-packages 2021-09-08 12:07:42 -06:00
Ron Rennick be4915bef5
Merge pull request #30559 from woocommerce/add/api-core-tests
Added API testing package
2021-09-08 11:35:28 -03:00
Ron Rennick 94b7254e40 release package updates 2021-09-08 11:01:02 -03:00
Greg 3e2c04a97c Minor tweaks and fixed a bug 2021-09-07 19:02:58 -06:00
Greg aaad21bb8b Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/api-core-tests 2021-09-07 17:17:43 -06:00
Greg 83155f5275 Remove todo line 2021-09-07 16:21:52 -06:00
Greg 095a74347a Code review feedback 2021-09-07 16:20:44 -06:00