Ron Rennick
1aad4dbd4d
update package-lock.json
2020-08-07 11:51:23 -03:00
Néstor Soriano
409ab39685
Merge pull request #27230 from yuliyan/patch-1
...
i18n: Decode HTML entities within countries and states names
2020-08-07 16:26:22 +02:00
Néstor Soriano
459dd3fbf2
Merge pull request #27251 from woocommerce/fix/27226
...
Added woocommerce_order_item_quantity filter to ReserveStock::reserve_stock_for_order
2020-08-07 16:11:43 +02:00
Ron Rennick
db76c8ac2d
merge package config with factories changes
2020-08-07 10:53:51 -03:00
Néstor Soriano
76cf1e4e93
Merge pull request #27140 from woocommerce/fix/23790
...
Always sanitize coupon code to prevent inconsistent between admins and shop owners
2020-08-07 12:42:02 +02:00
Néstor Soriano
a13a0d2187
Merge pull request #27179 from woocommerce/fix/26741
...
Release coupon holds when status it updated to cancelled regardless of recorded coupons
2020-08-07 11:27:45 +02:00
Néstor Soriano
49a9ab4437
Merge pull request #27248 from woocommerce/fix/api-textdomain
...
Changed textdomain since API is merged into core now.
2020-08-07 10:38:42 +02:00
Christopher Allford
154c812fc0
Renamed the `StringUtility` to `StringUtil` to make it easier to work with
2020-08-06 12:35:51 -07:00
Claudio Sanches
9eae43c0d4
Merge pull request #27240 from woocommerce/dependabot/npm_and_yarn/tests/e2e/factories/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19 in /tests/e2e/factories
2020-08-06 15:50:26 -03:00
Christopher Allford
025751dc47
Updated the woocommerce/woocommerce-sniffs package to include the new PHPCS rule
2020-08-06 11:31:30 -07:00
Claudio Sanches
2d2e40c484
Applied woocommerce_order_item_quantity to ReserveStock
2020-08-06 14:15:50 -03:00
vedanshujain
1966b0ba9a
Changed textdomain since API is merged into core now.
2020-08-06 18:18:18 +05:30
Vedanshu Jain
6ba8af16a6
Merge pull request #27100 from vedanshujain/merge/src
...
Merge REST API into core.
2020-08-06 17:44:12 +05:30
vedanshujain
cc96f6bbd1
Fix compatibility for WP 5.5
2020-08-06 14:34:03 +05:30
vedanshujain
2f76e52fa7
Skip test for < 5.3 as feature is not supported.
2020-08-06 14:34:02 +05:30
vedanshujain
1526771eaa
Load from Server class if available
2020-08-06 14:34:02 +05:30
vedanshujain
55a9687e6d
Make api included structure more linear.
2020-08-06 14:34:02 +05:30
vedanshujain
1d782f025e
Deprecate API Package class because its not a package anymore.
2020-08-06 14:34:02 +05:30
vedanshujain
cfe357cfb2
Fix UT to add predefined values to run tests in isolation.
2020-08-06 14:34:02 +05:30
vedanshujain
d5bf302994
Add API UT helpers to autoload so that individual tests can run in isolation.
2020-08-06 14:34:02 +05:30
vedanshujain
16473d54e9
Fixes for correct time of loading API
2020-08-06 14:34:02 +05:30
vedanshujain
4a4767ae93
Load API files.
2020-08-06 14:34:02 +05:30
vedanshujain
1c162956ad
Remove REST API package check as files are directly added.
2020-08-06 14:34:02 +05:30
vedanshujain
5b32ec3755
Remove REST API package because its added directly.
2020-08-06 14:34:02 +05:30
vedanshujain
222852dea6
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-08-06 14:06:29 +05:30
GREYS
feb291e2ee
Fix for issue #27108
2020-08-06 17:11:44 +09:00
Christopher Allford
ea92aedfcd
Added a sniff rule for checking the internal injection method
2020-08-06 00:54:29 -07:00
Christopher Allford
39376abfd2
Added a requirement that `container_init` methods be marked `final` when registering using reflection
2020-08-05 22:34:00 -07:00
Christopher Allford
ff6e30f1c1
Renamed `set_internal_dependencies` to `container_init`
2020-08-05 22:20:13 -07:00
Christopher Allford
cbbfed4989
Replaced the rest of the constructor injection references
2020-08-05 21:28:06 -07:00
dependabot[bot]
089df498d3
Bump lodash from 4.17.15 to 4.17.19 in /tests/e2e/factories
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 23:04:18 +00:00
Christopher Allford
43aef47682
Merge pull request #26948 from woocommerce/package/e2e-factories/product
...
Add Model Factories package
2020-08-05 16:03:35 -07:00
Christopher Allford
8e8698a3f6
Fixed test that used PHPUnit function from newer version
2020-08-05 15:43:08 -07:00
Christopher Allford
dda2f3b405
Pinned the dependencies that were not already pinned
2020-08-05 14:19:43 -07:00
Christopher Allford
678705cdd4
Merge branch 'master' into package/e2e-factories/product
2020-08-05 14:00:05 -07:00
Claudio Sanches
525db3aa21
Fixed incorrect package tags
2020-08-05 17:49:10 -03:00
Ron Rennick
0ca4ce27c5
update e2e readmes
2020-08-05 16:58:38 -03:00
Ron Rennick
7f04d800e9
keep browser reset at end of setup
2020-08-05 15:01:43 -03:00
Claudio Sanches
a54f0aae19
Ignore file comment and package tag in src
2020-08-05 14:39:28 -03:00
Claudio Sanches
3632714885
Removed package tag from src
2020-08-05 14:23:50 -03:00
Claudio Sanches
a50552af75
Use only WooCommerce as package name
2020-08-05 14:11:20 -03:00
Claudio Sanches
f4b336a0f3
Fixed incorrect package
2020-08-05 13:51:37 -03:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Claudio Sanches
2853c36026
Merge pull request #27227 from woocommerce/fix/class-package
...
Fixed class package tag
2020-08-05 12:43:37 -03:00
Tam Mullen
b7b1d68500
Merge pull request #27232 from woocommerce/fix/e2e-obw-product-types
...
Fix e2e OBW test to not untick physical products in product type list
2020-08-05 15:46:10 +01:00
Ron Rennick
7799c1bcf0
merge master
2020-08-05 10:33:16 -03:00
Tam Mullen
5a410c02a6
Fix e2e OBW test to not untick physical products in product type list
2020-08-05 12:49:42 +01:00
Yuliyan Slavchev
8ac3fa0bda
i18n: Decode HTML entities within countries and states names
2020-08-05 11:45:00 +03:00
Christopher Allford
d178c7ff01
Replaced constructor injection with method injection
...
Since we need to maintain backwards compatibility for class constructors we should settle on using method injection instead of constructor injection. I've replaced the `Definition` class we're using with one that doesn't support constructor arguments and added a check for auto_arg addition. Note that we don't check for method existence in the extended container. This is because reflection is unnecessarily expensive and we should avoid it if at all possible.
2020-08-04 20:37:28 -07:00
Claudio Sanches
7f233951a5
Fixed class package tag
2020-08-04 22:30:11 -03:00