Commit Graph

37295 Commits

Author SHA1 Message Date
Nestor Soriano afe7bdc6b3 Add a test for the added functionality of LegacyProxy. 2021-01-12 10:16:00 +01:00
Nestor Soriano 10eb9f832e Remove one of the duplicate handlers for 'adjust_download_permissions' 2021-01-12 10:15:53 +01:00
jonathansadowski 9dac51f129
Merge pull request #28790 from woocommerce/fix/issue-28727
Adjust dismiss link of store notice banner closes #28727
2021-01-11 16:21:18 -06:00
jonathansadowski 7669de8fbc
Merge pull request #28787 from woocommerce/fix/ci-wp-versions-update-after-wp56
Bump WP versions in Travis after WP 5.6 release.
2021-01-11 14:28:50 -06:00
roykho e0a722a642
Adjust dismiss link of store notice banner closes #28727 2021-01-11 12:24:49 -08:00
Peter Fabian 381f290302 Bump WP versions in Travis after WP 5.6 release. 2021-01-11 18:34:54 +01:00
Veljko V 8b85a73977 Fix white spaces issue 2021-01-11 16:40:40 +01:00
Veljko V 2e8b6cb0f1 Update test to include lower case method 2021-01-11 16:31:47 +01:00
Roy Ho d8b0a8558e
Merge pull request #28586 from idofri/phpdoc
Corrected data-types in phpdoc @param
2021-01-11 06:52:11 -08:00
Aminul Islam 255b03ea04
Update states.php
Removed duplicate entry for "RS". See Line: 1506
2021-01-11 11:54:58 +06:00
Ido F 4be88bea4b corrected token-id data-type 2021-01-10 16:40:24 +02:00
Veljko 2cf971486e Update code to be more concise 2021-01-09 18:49:59 +01:00
Kevin Ruscoe 91ea67d94c Clean array to make the list a little easier to understand 2021-01-09 15:11:25 +00:00
Kevin Ruscoe 0f7de7e7bf Add 'product_variation' to the list of restored post types 2021-01-09 15:08:51 +00:00
Kevin Ruscoe dd934afc2e Add product to the list of post types that should revert their status upon being restored. 2021-01-09 14:49:29 +00:00
Ron Rennick 20a6e3b2ed merge master 2021-01-08 15:55:59 -04:00
Roy Ho 9ebf70bf8d
Merge pull request #28646 from tivnet/patch-7
abstract_wc_order:add_product() - removed `throws`
2021-01-08 10:24:37 -08:00
Roy Ho e0be4b0f5c
Merge pull request #28681 from tanvirulhaque/master
Fix: Attributes on Edit Product page - "Select all" not working after "Select none" used
2021-01-08 10:09:27 -08:00
Roy Ho d4849c598c
Merge pull request #28692 from woocommerce/fix/28582
Add protective check to make sure WC()->session is initialized before  loading the data store.
2021-01-08 07:55:35 -08:00
Ron Rennick d23e4377ab
Merge pull request #28596 from woocommerce/try/wc-scripts
Add E2E shorthand script
2021-01-08 10:49:05 -04:00
Ron Rennick 5f7b71c543 update readme and package change log 2021-01-08 15:04:47 +01:00
Ron Rennick 96ab0d8d7f include package.json updates 2021-01-08 15:04:47 +01:00
Ron Rennick a7014d5496 introduce wc-e2e shorthand script 2021-01-08 15:03:12 +01:00
Ron Rennick 597ec5f9c3 WIP 2021-01-08 15:03:12 +01:00
Nestor Soriano 9d892f0678 Add a section about testing in PHP 8 in tests/README 2021-01-08 09:04:42 +01:00
Ilyas Foo 7f76d91b07 Delete transient before action to prevent race condition 2021-01-08 16:03:38 +08:00
Veljko 8111c4f410 Improve test case and components 2021-01-07 23:39:12 +01:00
Roy Ho 7ec422aad6
Merge pull request #28740 from sorensd/master
Updated the state name 'OR' in 'IN' Array
2021-01-07 08:24:22 -08:00
raicem f0166fcc56 Fix indentation errors as per WordPress code style guides 2021-01-07 15:14:38 +03:00
Vedanshu Jain e74bc15103
Merge pull request #28745 from woocommerce/fix/28741
Revert order and product controllers to use WP Post queries directly.
2021-01-07 17:37:25 +05:30
vedanshujain f8bcf6271d Revert order and product controllers to use WP Post queries directly.
This commit revert some of the changes added in #27735 because wc_get_products and wc_get_orders is not fully compitable with API controller queries. Since we are close to release 4.9, its better to revert and fix them properly then rush a fix. This undones some the performance improvements we acheived in 27735, in favor of more stability, hopefully we will be able to restore this soon.
2021-01-07 16:47:54 +05:30
Soren Singh Dary fbedeeac44
Updated states.php
Updated state name Orissa to Odisha, refer: https://en.wikipedia.org/wiki/Odisha#Etymology
2021-01-07 05:07:29 +05:30
Rodrigo Primo 007f3ec8aa
Merge pull request #28706 from paulochang/patch-1
Remove post code from Guatemala
2021-01-06 17:58:23 -03:00
Soren Singh Dary b7f863dc02
Updated the state name of 'OR' from India
Updated the state name of Odisha (previously Orissa) 'IN' array. Cite: https://en.wikipedia.org/wiki/Odisha#Etymology
2021-01-07 01:02:31 +05:30
Ron Rennick 6d402c96c8
Merge pull request #28017 from woocommerce/fix/25643
Fix E2E variable product test
2021-01-06 14:39:19 -04:00
Ron Rennick 7959ba3d16
Merge pull request #28045 from woocommerce/fix/28012
add support for custom E2E container name
2021-01-06 13:52:42 -04:00
Veljko V 79904279fa Update components and test to be more concise 2021-01-06 17:08:29 +01:00
Peter Fabian 7640c7f1bd
Merge pull request #28731 from woocommerce/fix/28729
Restore stock_status in V3 response.
2021-01-06 14:25:09 +01:00
vedanshujain 27b22d3aaa Move the logic to set stock_status from V2 to V3. 2021-01-06 17:55:56 +05:30
Vedanshu Jain e989b7cb03
Merge pull request #28728 from woocommerce/update/wc-admin-1.8.3
Bump wc-admin to 1.8.3
2021-01-06 16:30:25 +05:30
vedanshujain 1c774a0494 Create composer.lock with composer 2.0. 2021-01-06 16:28:32 +05:30
vedanshujain b0cc43a188 More for individual fields in responses for V2 and V3 products and orders endpoints. 2021-01-06 16:04:56 +05:30
vedanshujain e546c237b7 Add tests for checking all fields are returned even requested individually. 2021-01-06 15:12:55 +05:30
vedanshujain 2ae6c5b543 Also fetch dependencies for fields which are computed from other fields. 2021-01-06 15:09:50 +05:30
vedanshujain 1fdc24daa9 Add unit test for verifying that all expected fields are present. 2021-01-06 14:19:26 +05:30
vedanshujain 0d43aecebd Also fetch in_stock when stock_status requested in V2.
When called from V3, controller calls V2s get_product_data method, where stock_status was did not existed and was renamed. In V3 controller, we compute it based on V2 in_stock field.
2021-01-06 14:14:59 +05:30
Joel Thiessen 509d45abb3 Bump wc-admin to 1.8.3 2021-01-05 16:23:21 -08:00
Veljko V d3169dcf43 Remove unnecessary code 2021-01-05 22:24:03 +01:00
Roy Ho c6f6d04c2e
Merge pull request #28558 from tyrann0us/patch-2
Invert “if” statement to reduce nesting
2021-01-05 12:02:01 -08:00
jonathansadowski 1e267980e8
Merge pull request #28723 from woocommerce/feature/issue-27208
Feature/issue 27208
2021-01-05 14:00:55 -06:00