Commit Graph

38248 Commits

Author SHA1 Message Date
Nestor Soriano 24973ec5eb Don't check validity of coupons already present in the order
(REST API endpoint to update order taxes)
2021-03-29 12:55:56 +02:00
Nestor Soriano e0dad77e49 Fix logic for including the "payments" task in onboarding wizard
The logic should be "if woo payments is installed and the country
is US then remove the payments task" but the check was mistakenly
being set to "or" so the task was removed whenever the country was US.
2021-03-29 11:25:39 +02:00
James Allan ea41379b7b Update the persistant cart after it's loaded on log in 2021-03-29 15:28:34 +10:00
𝓑𝓪𝓻𝓻𝔂 𝓗𝓾𝓰𝓱𝓮𝓼 f0c164d2d4 Do not copy fields from the billing address to the shipping address. | #28759 2021-03-26 17:08:37 -07:00
roykho 4cf6625f0c
Prevent saved changes message when leaving page closes #29359 2021-03-26 15:09:43 -07:00
Roy Ho f7e38bd1f1
Merge pull request #29497 from woocommerce/fix/29323
Make select2 dropdown text visible in dark mode closes #29323
2021-03-26 14:31:10 -07:00
Ron Rennick 18c500c24f add contributor feedback label action 2021-03-26 16:33:44 -03:00
Beau Lebens 4508236bfe
Merge pull request #29505 from woocommerce/work-with-us
Adding hiring links to the main README
2021-03-26 12:57:30 -06:00
Ron Rennick 214ca384ea add stalebot action with dry run enabled 2021-03-26 14:29:53 -03:00
Jacob Arriola 76744da6f9
Use sprintf, no printf when setting the variable 2021-03-26 08:55:24 -07:00
Ron Rennick fd77beb9af use require instead of import for faker 2021-03-26 11:23:28 -03:00
Aaron Douglas ec3ce9caeb
Adding hiring links to the main README
Follows similar changes made to the mobile repos now that we have our own hiring page.
2021-03-26 08:24:19 -05:00
Ron Rennick 4f6c0ee13e use require in core test 2021-03-25 15:28:21 -03:00
Veljko 5b3bc1665d Updated core-tests-root file 2021-03-25 18:12:54 +01:00
Claudio Sanches 50e036f934
Merge pull request #23188 from LuigiPulcini/master
Add $item to wc_downloadable_file_permission
2021-03-25 12:19:08 -03:00
Claudio Sanches a2abf955cd
Merge pull request #29496 from woocommerce/fix/29325
Fix alignment issues with lost password form closes #29325
2021-03-25 12:11:25 -03:00
Veljko afd39e5866 Added core tests root and updated test 2021-03-25 15:59:00 +01:00
roykho 80ef3f039a
Make select2 dropdown text visible in dark mode closes #29323 2021-03-25 07:48:40 -07:00
roykho 43323d3cc6
Fix alignment issues with lost password form closes #29325 2021-03-25 07:30:48 -07:00
Nestor Soriano b5e13bd771 Add support for "postcodes" and "cities" (arrays) fields to the
REST API endpoints for creating and updating taxes.
2021-03-25 14:56:40 +01:00
Nestor Soriano cd82c48a73 Fix: WC_REST_Taxes_V1_Controller::create_or_update_tax erroring when
no core fields were included in the request (e.g. only postcodes
or cities were specified)
2021-03-25 14:56:40 +01:00
Nestor Soriano 8ec8daf65a Add a do_rest_request method to WC_REST_Unit_Test_Case. 2021-03-25 14:56:34 +01:00
Veljko 29ed6bd6e7 Fix test to check for settings checkbox 2021-03-25 13:50:13 +01:00
Veljko d6cc48c2e3 Fix spaces in code 2021-03-25 13:22:30 +01:00
Veljko c13aa0f694 Added new e2e test checkout new account 2021-03-25 13:17:42 +01:00
Veljko 3feaba9a47 Update test to match with data state 2021-03-25 12:14:49 +01:00
Veljko e1a3be4945 Added new e2e test opening analytics 2021-03-25 10:21:32 +01:00
Nestor Soriano 4c07ab6ae6 WC_REST_Taxes_V1_Controller::get_items: add 'priority' to the schema for 'orderby' 2021-03-25 09:41:10 +01:00
Nestor Soriano c1427fc5ee Improvements in WC_REST_Taxes_V1_Controller::get_items :
- Use wpdb->prepare to compose the queries.
- Actually make use of the 'order' parameter.
2021-03-25 09:38:23 +01:00
Nestor Soriano 0baa2d6314 Fix code sniffer errors in WC_REST_Taxes_V1_Controller 2021-03-25 09:36:21 +01:00
Néstor Soriano 47aa9d7e97
Merge pull request #29480 from woocommerce/fix/28914
Remove duplicate notices from cart during ajax updates closes #28914
2021-03-25 09:20:14 +01:00
Barry Hughes 49e96300cd
Merge pull request #29485 from woocommerce/fix/28700
Adjust alignment issues for Twenty Twenty One theme closes #28700
2021-03-24 16:00:45 -07:00
Mauricio Urrego 112d1d6661 Retrigger checks. 2021-03-24 23:58:23 +01:00
Claudio Sanches dd57663274
Merge pull request #29371 from woocommerce/add/trigger-code-reference-update
Update code reference after release build is done
2021-03-24 18:39:02 -03:00
Ron Rennick 8efbd3cbf5 Merge branch 'trunk' into fix/29277-release 2021-03-24 17:53:27 -03:00
roykho 0b9f208ea7
Adjust alignment issues for Twenty Twenty One theme closes #28700 2021-03-24 13:39:58 -07:00
Greg 94cd20f16e
Merge pull request #29313 from woocommerce/update/e2e-api-product-delete
delete vs trash product in e2e api
2021-03-24 14:25:12 -06:00
Ron Rennick 7529914a98 Merge branch 'trunk' into fix/29277-release 2021-03-24 16:15:03 -03:00
Ron Rennick 6efa5b7ba4
Merge pull request #29399 from woocommerce/fix/29277
Update E2E readme files for release
2021-03-24 16:09:34 -03:00
roykho ad77c37b41
Typo on the variable 2021-03-24 10:07:35 -07:00
roykho 9118349520
Remove duplicate notices from cart during ajax updates closes #28914 2021-03-24 09:59:20 -07:00
Nestor Soriano 2b8cac7cf2 Fix the REST API entry point to add coupons to an order.
- Check input (no 'id', has 'code') and throw an error if needed
  before removing the existing coupons, so an invalid input
  won't cause the loss of these existing coupons.
- Also, check that the coupon is actually valid as part of the
  input check.
- Cache the coupon objects that are created during the input check,
  and apply them directly.
- Don't check if 'coupon_lines' is an array and contains arrays,
  that's already done by the REST API engine by looking at the schema.
- Adjust unit tests.
2021-03-24 15:19:34 +01:00
Roy Ho 40506dfcc5
Merge pull request #29469 from zZeepo/fix/closing-option-tag
Correctly close <option>-tag in admin products/orders list table
2021-03-23 19:00:37 -07:00
Timo Boyer 3e5d7418d9 Remove double space before concat operator 2021-03-23 23:29:30 +01:00
Timo Boyer f31bc26b61 Correctly close <option>-tag in admin products/orders list table 2021-03-23 21:23:46 +01:00
Roy Ho 7fb346c5d1
Merge pull request #29447 from luizbills/patch-1
Add missing sectionend in email settings
2021-03-23 09:48:11 -07:00
jonathansadowski 2e60d47a01
Merge pull request #29181 from woocommerce/fix/27233
Use AJAX for Page Configuration
2021-03-23 11:46:00 -05:00
Luiz "Bills 3e48ca7c35
fix coding standard 2021-03-23 13:25:20 -03:00
Néstor Soriano df78a5cba6
Merge pull request #27751 from mahmoudsaeed/fix-rest-tax
Fix taxes endpoint not returning multiple postcodes/cities
2021-03-23 17:04:09 +01:00
Roy Ho 2f2c07ead6
Merge pull request #29452 from Kudratullah/trunk
Fixed return type of $type in docblock
2021-03-23 08:30:56 -07:00