Commit Graph

40076 Commits

Author SHA1 Message Date
Joshua Flowers eacf4bb961 Bump WooCommerce Admin version to 2.7.0-rc.1 2021-09-21 17:52:34 -04:00
dependabot[bot] cbf27fd526
Bump tmpl from 1.0.4 to 1.0.5 in /tests/e2e/api
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 20:07:03 +00: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 299a6b5ca2 Use name instead of labels array 2021-09-20 17:43:53 -06: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
Greg c507ec535b Run label removal always 2021-09-20 14:30:10 -06:00
Greg c728b97603 Rename workflow 2021-09-20 13:05:45 -06:00
Greg 96fae311cb Use step instead of notify and rename step 2021-09-20 13:05:04 -06:00
Greg e3f1689e35 Add missing runs on 2021-09-20 11:18:40 -06:00
Greg f5ab77aa3e Remove label after run 2021-09-20 11:16:24 -06:00
Ron Rennick 772168519f initialize index permalinks before e2e tests 2021-09-20 13:51:11 -03:00
Greg 30bbedcb2f
Update .github/workflows/pr-smoke-test.yml
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-09-20 10:29:02 -06: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
Sandeep Rajakrishnan c144476128
Changed sizeof to count 2021-09-13 14:55:32 +05:30
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
Greg 4707f48769 Added workflow for running smoke tests on PR 2021-09-10 15:24:24 -06: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
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg 62453974dd Code review feedback 2021-09-09 11:01:13 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -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