Commit Graph

35894 Commits

Author SHA1 Message Date
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
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
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
Andy Skelton b554eea43c
Whitespace 2020-08-04 10:47:59 -05:00
Claudio Sanches a8ac58add0
Merge pull request #27193 from masteradhoc/masteradhoc-i18n-locale-for-li-ch
Add i18n locale information for Liechtenstein, Switzerland & Austria
2020-08-04 11:00:47 -03:00
Claudio Sanches f5925d4465
Merge pull request #27196 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.8.6
2020-08-04 10:59:24 -03:00
Claudio Sanches d5943d6c6f
Merge pull request #27198 from woocommerce/renovate/grunt-1.x
Update dependency grunt to v1.2.1
2020-08-04 10:58:56 -03:00
vedanshujain 1ada7d8b26 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2020-08-04 18:22:41 +05:30
Néstor Soriano 259a17ea5f
Merge pull request #27207 from woocommerce/preparation/4.4-RC.1
Preparation for 4.4 RC.1 release
2020-08-04 11:57:52 +02:00
Nestor Soriano 7d9f86c8cd Add changelog for Admin 1.4.0-beta.3 2020-08-04 11:33:15 +02:00
Nestor Soriano 1279b2cc57 Bump version name in woocommerce.php to 4.5.0-dev 2020-08-04 11:33:02 +02:00
Nestor Soriano 56f8cda645 Add extra changelog entries for 4.4 RC 1 2020-08-04 11:02:30 +02:00