Commit Graph

38629 Commits

Author SHA1 Message Date
Claudio Sanches 886abe282d Allows set downloadable permissions to any downloadable product in any order 2021-05-13 13:50:04 -03:00
Greg 63fe943ef9
Merge pull request #29819 from woocommerce/fix/27873
Add order support to API package
2021-05-13 08:07:55 -06:00
Ron Rennick 7806ea2b5d
update remove stale on comment (#29882)
* remove the stale label when feedback is provided

* remove labels in separate steps
2021-05-13 14:25:14 +02:00
Vedanshu Jain 90b50f11f3
Merge pull request #29843 from woocommerce/add/wc-pay-ad-banner
Add support for WooCommerce Payments ad banner on extensions screen's "Featured" section
2021-05-13 16:56:55 +05:30
jonathansadowski 692ddaf4f2
Merge pull request #29318 from woocommerce/fix/rounding
Make rounding more accurate when prices are entered more than 2dp
2021-05-12 17:43:29 -05:00
Roy Ho 4d6559e957
Merge pull request #29877 from woocommerce/tracker_sql_query
Move Tracker to use direct sql queries
2021-05-12 14:53:49 -07:00
Dan Wyman 721fee7064 Add periods to comments. 2021-05-12 14:23:07 -07:00
Claudio Sanches fa8d316e7b
Merge pull request #29885 from woocommerce/update/node-version-v12
Bump node version to align with v12 used in .nvmrc
2021-05-12 18:12:03 -03:00
And Finally 7202f19631 Added support for `geoblacklist` in `output_promotion_block`. 2021-05-12 17:54:20 +01:00
And Finally 6bb1ec73a4 Reverted renaming of `geowhitelist` and `geoblacklist`, in case they are still present in other endpoints. 2021-05-12 17:48:37 +01:00
Leif Singer e086c82b68 Bump node version to align with v12 used in .nvmrc 2021-05-12 11:06:13 +02:00
And Finally de331ad893 Addressing feedback. Removed `!important` from `.addons-button-expandable` rule. Renamed `geowhitelist` and `geoblacklist` to `geo_allow_list` and `geo_block_list`. 2021-05-12 09:41:31 +01:00
Néstor Soriano d2da61ac53
Merge pull request #28132 from TimBHowe/update/fix-28111 2021-05-12 08:42:34 +02:00
Menaka S e20223f63e Make the restored function private 2021-05-12 06:48:36 +05:30
Menaka S ffd6bd4163 Make the new function private 2021-05-12 06:43:36 +05:30
Dan Wyman d13ce85b66 Set default value for variable 2021-05-12 06:40:53 +05:30
Menaka S 5dfac89d80 Add function to get order details by gateway 2021-05-12 06:40:53 +05:30
Menaka S 20b39bedac Restore direct SQL queries and functions from WC 5.0 2021-05-12 06:40:53 +05:30
Claudio Sanches c520505dbe
Merge pull request #29809 from kapilpaul/fix/coding-style-in-class-wc-email
fix: coding style in class-wc-email.php
2021-05-11 18:02:39 -03:00
jonathansadowski f8340f80cb
Merge pull request #29878 from woocommerce/update/contributors-remove-dependabot
Remove dependabot from contributors script
2021-05-11 14:16:10 -05:00
Claudio Sanches 67821771e3
Merge pull request #29880 from woocommerce/update/5.3-release
Update changelog and readme for 5.3 release, and bump version in package.json
2021-05-11 14:14:27 -03:00
Jonathan Sadowski 514530d2e2 Update changelog and readme for 5.3 release, and bump version in package.json 2021-05-11 11:39:46 -05:00
Claudio Sanches af809c70cb
Merge pull request #28335 from OlegApanovich/fix/28008
Fix filter woocommerce_shipping_rate_cost backwards compatibility
2021-05-11 13:34:19 -03:00
Claudio Sanches c389af7f77
Merge pull request #29477 from jjchrisdiehl/ve_locale
Adding Venezuelan states
2021-05-11 13:29:27 -03:00
Claudio Sanches 7c417716df
Update i18n/states.php 2021-05-11 13:27:59 -03:00
Claudio Sanches c90681375c
Update i18n/states.php 2021-05-11 13:27:20 -03:00
Claudio Sanches 4e89b08df9 Remove dependabot from contributors script 2021-05-11 12:52:24 -03:00
Claudio Sanches bdfeeaf1fd
Merge pull request #29862 from woocommerce/dependabot/npm_and_yarn/tests/e2e/utils/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
2021-05-11 12:46:15 -03:00
dependabot[bot] d73c948c67
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 15:45:21 +00:00
Claudio Sanches f48b96077d
Merge pull request #29863 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
2021-05-11 12:44:26 -03:00
Claudio Sanches a81d0358ef
Merge pull request #29864 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
2021-05-11 12:41:44 -03:00
Christopher Allford fd624f77c8
Merge pull request #29044 from woocommerce/fix/issue-28284
Fix/issue 28284
2021-05-10 11:38:20 -07:00
Ron Rennick 1ba0e6d382
update stale to Stale in feedback label CI (#29871) 2021-05-10 17:19:06 +02:00
Ron Rennick 7237051b67
three small e2e fixes found through smoke testing (#29834)
- remove merchant login for beforeAll in cart & checkout coupon tests. Test objects created with the rest API.
- eliminate error when merchant logout is called when merchant is not logged in
- eliminate rest API error when deleting an object that no longer exists
2021-05-10 17:16:31 +02:00
Roy Ho f9441dcc00
Merge pull request #29778 from woocommerce/add/29608
Product attributes lookup table creation and filling
2021-05-10 07:41:39 -07:00
Ron Rennick c7afe437d7
small E2E coding fixes (#29816) 2021-05-10 16:27:01 +02:00
Ron Rennick afa1ba573d
remove local container from smoke test (#29828) 2021-05-10 15:49:32 +02:00
Ron Rennick bcebdad06d
remove the stale label when feedback is provided (#29829) 2021-05-10 15:08:46 +02:00
Nestor Soriano eb2e67d17d
Make the debug tools page entries for attribute filtering hidden by default.
To show the entries the following needs to be run:

wc_get_container()
->get(\Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore::class)
->show_feature();
2021-05-10 11:32:39 +02:00
dependabot[bot] ce9fce8d0d
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:27 +00:00
dependabot[bot] e25581c29b
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:23 +00:00
jonathansadowski e1bc077ae3
Merge pull request #29861 from woocommerce/update/bump-woocommerce-admin-2.2.6
Update woocommerce-admin to latest version 2.2.6
2021-05-07 17:42:27 -05:00
Jonathan Sadowski 6a6ea2e292 Update woocommerce-admin to latest version 2.2.6 2021-05-07 17:13:30 -05:00
vedanshujain ed7c81127c Add rounding it test since we changed it in code. 2021-05-07 15:53:52 +05:30
vedanshujain f53e9dde44 Use edit context to get unformatted price. 2021-05-07 14:59:14 +05:30
vedanshujain b487e363ce Restore formatting but without rounding for backward compat. 2021-05-07 14:58:52 +05:30
vedanshujain 18411d2b3b Add code comments for confusing changes. 2021-05-07 14:30:45 +05:30
vedanshujain 6c2f30132d Add clear cart call to prevent side effects from tests. 2021-05-07 14:30:45 +05:30
vedanshujain 833193b7f7 Round tax amount appropriately before displaying.
We have special method to round taxes which may round up or round down depending upon settings. This method should be used instead of default rounding in formatting funtions.
2021-05-07 14:30:45 +05:30
vedanshujain a0d6cea139 Round shipping and fees tax seperately since they are entered excl taxes.
We round up or round down depending upon if prices are entered inclusive or exclusive taxes, however since shipping and fees are always entered exclusive of taxes, they should always be rounded down.
2021-05-07 14:30:44 +05:30