Commit Graph

38446 Commits

Author SHA1 Message Date
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
rodel 1d91947953 simplified steps and functions 2021-03-23 09:56:39 -07: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
rodel 867122574d cleaned off todo comments 2021-03-23 09:19:21 -07:00
rodel 945d9a6a20 Added steps and verifications for tax classes 2021-03-23 09:17:47 -07: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
rodel a24479d596 wip: setup taxes through API 2021-03-23 08:09:58 -07:00
Luiz "Bills df4b584a82
delele empty space 2021-03-23 12:06:10 -03:00
Néstor Soriano 886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Veljko dcee9ce109 Created test data folder and moved csv file 2021-03-23 14:09:31 +01:00
rodel 4f861c9b7a wip: relocated product setup function 2021-03-23 05:00:56 -07:00
rodel 56bd958dde wip: optimized steps 2021-03-23 04:57:29 -07:00
rodel 6f67a3a5b3 wip: fixed variable product initialization 2021-03-22 21:19:05 -07:00
Roy Ho 2086303ddb
Delete .eslintcache 2021-03-22 14:22:35 -07:00
roykho c79fd6b7bf
Add excludes feature to exclude certain pages 2021-03-22 13:36:55 -07:00
roykho e5380ac966
Add new function to handle single page search closes #27233 2021-03-22 13:20:16 -07:00
Néstor Soriano 04962799a8
Merge pull request #29459 from woocommerce/fix/29387
Revert replacing wp_redirect with wp_safe_redirect in WC_Checkout::process_order_payment
2021-03-22 16:40:38 +01:00
Nestor Soriano 0cdb1f74c1 Revert replacing wp_redirect with wp_safe_redirect
Following a code snippet suggestion the wp_redirect in
WC_Checkout::process_order_payment was replaced with wp_safe_redirect,
but this had unitended side effects. From issue #29387:

You've changed wp_redirect to wp_safe_redirect in
WC_Checkout::process_order_payment. If a 3rd-party-plugin executes a
"non-AJAX-processing-order", wp_safe_redirect will be executed.
But your default PayPal interface will redirect to an URL that is
not allowed in wp_validate_redirect because your default PayPal Gateway
does not add the required PayPal URLs with the hook
"allowed_redirect_hosts". As a result, it could happen that a customer
is not redirected to PayPal but to wp-admin
(https://developer.wordpress.org/reference/functions/wp_safe_redirect/).
2021-03-22 16:11:11 +01:00
rodel 2e667ae317 wip: setup products via API instead of UI 2021-03-22 07:41:41 -07:00
Vedanshu Jain 46d032d561
Merge pull request #29438 from woocommerce/fix/issue-29430
Update SSR db version tooltip to accurately describe the versioning c…
2021-03-22 18:34:23 +05:30
roykho 96463b7172
Update verbiage based on feedback 2021-03-22 05:42:34 -07:00