Commit Graph

36335 Commits

Author SHA1 Message Date
jonathansadowski 929e85fd68
Merge pull request #27662 from atimmer/patch-1
Improve bool <-> string conversion functions docs
2020-09-14 14:06:04 -05:00
Christopher Allford e545bab9c9 Removed `nvm ci` because `@automattic/pupeteer-utils@0.0.1` is not in the NPM registry 2020-09-14 11:03:03 -07:00
Ron Rennick 0bf505ab12
Merge pull request #27645 from woocommerce/update/e2e-utils-for-package
prep e2e-utils package for publish
2020-09-14 14:40:19 -03:00
jonathansadowski 6d0839548a
Merge pull request #27644 from woocommerce/update/versions-readme-and-changelog-for-4.5.2
Update changelog, readme, and version numbers for 4.5.2
2020-09-14 12:03:12 -05:00
Christopher Allford a77a1cc77c Refreshed all lock files and removed "woocommerce" dependency from "e2e-environment" 2020-09-14 10:00:32 -07:00
Christopher Allford 9ee35583bd Added an NVM lock file and adjusted the engine in our package.json to conform 2020-09-14 09:59:50 -07:00
Jonathan Sadowski e228093032 Updates the changelog for 4.5.2 2020-09-14 11:51:09 -05:00
Anton Timmermans 723f14e44a
Improve bool <-> string conversion functions docs
These functions are polymorphic towards their input types to be more useful in more cases. Change the documentation to reflect this fact.
2020-09-13 13:01:14 +02:00
Rodrigo Primo 9bdafbeb18
Merge pull request #27219 from woocommerce/fix/filter-quantity-in-add_to_cart_handler_grouped
Filter quantity in add_to_cart_handler_grouped
2020-09-12 15:56:49 -03:00
Rodrigo Primo ce656ebec4
Merge pull request #27217 from manutheblacker/master
Adding states for Benin(BJ) country 🇧🇯
2020-09-12 15:55:05 -03:00
Rodrigo Primo d74780f824
Use codes and names from CLDR for Benin subdivisions
Source: https://github.com/unicode-org/cldr/blob/master/common/subdivisions/en.xml#L521

Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-12 15:27:48 -03:00
Rodrigo Primo c0a1e46d01
Merge pull request #27075 from passatgt/master
Rename Csongrád state to Csongrád-Csanád
2020-09-12 15:20:00 -03:00
Rodrigo Primo a24937556a
Merge pull request #27658 from woocommerce/update/4.6.0-dev
Prepare master for 4.6.0 development
2020-09-12 11:18:22 -03:00
Ron Rennick be8ba23801 merge master 2020-09-11 15:32:10 -03:00
Rodrigo Primo f345a1e0c8
Merge pull request #27615 from woocommerce/fix/26590
Fix bug when using tax classes with some non-ASCII characters
2020-09-11 14:48:10 -03:00
Ron Rennick cd80e67717 merge master 2020-09-11 14:35:27 -03:00
Rodrigo Primo d7b2207e75
Merge pull request #27610 from attitude/patch-1
Encapsulate scope of `c` variable
2020-09-11 14:27:06 -03:00
Rodrigo Primo fd25815a7c Prepare master for 4.6.0 development 2020-09-11 14:07:58 -03:00
Jon Campbell bb949ae474
simplifying filter usage
Switched to product id instead of product object
Moving the filter into the if condition instead of having a single use variable
2020-09-11 09:38:52 -07:00
Christopher Allford 2e7f1056e0 Replaced the environment dependency version resolution to use the Docker HTTP API
Since it's possible that the latest git tag isn't a Docker page we should get the latest version directly from Docker instead. This commit adds support for the `/v2/repositories/library/<image>/tags` endpoint and figures out the latest version from the response.
2020-09-10 14:26:44 -07:00
Christopher Allford 07bbf56ace Removed unnecessary `woocommerce` dependency from E2E package 2020-09-10 13:05:31 -07:00
Ron Rennick 238fe43a61 prep e2e-utils package for publish 2020-09-10 16:10:48 -03:00
Claudio Sanches b5d8d94bc8 Use reference in wc_asort_by_locale 2020-09-10 16:02:39 -03:00
Ron Rennick 0d3889a360
Merge pull request #27113 from woocommerce/add/e2e-feedback-blockers
Incorporate blocking issues feedback on initial e2e environment package
2020-09-10 15:56:09 -03:00
Claudio Sanches d440f21a95
Merge pull request #27636 from woocommerce/fix/27220
Remove duplicated entry for Cyprus
2020-09-10 15:39:40 -03:00
Ron Rennick 1c07d5ec5a restore looking up tags from git, add npm install to travis e2e script 2020-09-10 14:54:35 -03:00
jonathansadowski 2bcdbacc98
Merge pull request #27625 from woocommerce/revert-improved-filtering-for-variations
Revert improved filtering for variations
2020-09-10 12:42:15 -05:00
Ron Rennick bff1e799f4 use better test for creating ready page 2020-09-10 13:23:18 -03:00
Christopher Allford 226225e0da
Merge pull request #27633 from woocommerce/fix/27618
Allow zero as variation attribute option
2020-09-10 09:05:56 -07:00
Ron Rennick 88139f9603 update travis setup for e2e 2020-09-10 11:14:51 -03:00
Nestor Soriano 4411a394dc Reintroduce adjust_posts_count, and remove unnecessary comment.
We can't remove that method since it's public, but its body has
been changed so that it just returns the input unchanged.
2020-09-10 15:17:43 +02:00
Jon Campbell 642b5b958e
Update class-wc-emails.php
removing whitespace to be coding standards compliant.
2020-09-09 16:32:12 -07:00
Christopher Allford 14c46fa4c2 Merge branch 'master' into add/e2e-feedback-blockers 2020-09-09 14:47:51 -07:00
Christopher Allford d0e6110e93 Fixed a failing E2E test 2020-09-09 14:47:44 -07:00
Christopher Allford aabc8ccd6b Updated all of the package-lock files using Node v10 2020-09-09 14:47:35 -07:00
Rodrigo Primo 84f0b87ebc Remove duplicated entry for Cyprus
Cyprus was listed both in Europe and Asia in the list of continents. This meant that when users search for it, for example when creating a new shipping zone, it would be displayed twice.

This commit fixes this problem by removing Cyprus from Europe and leaving it in Asia. CLDR puts Cyprus in Western Asia (2dd06669d8/tools/java/org/unicode/cldr/util/data/UnMacroRegions.txt (L229)).

I checked and there are no other cases of countries added to more than one continent in i18n/continents.php.
2020-09-09 17:10:51 -03:00
Ron Rennick 25cbfd2452 run grunt directly in travis e2e 2020-09-09 17:00:06 -03:00
Jon Campbell 188f839e70
add no stock notification filter 2020-09-09 12:07:15 -07:00
Christopher Allford ae697f9fe2 Prevented zero from being considered empty when validating posted variation attributes 2020-09-09 11:29:31 -07:00
Christopher Allford 63e4dcf4a2 Created a transformer class to use in model repositories
Since models need to support both read & write transformations we can make dealing with this a bit easier in its own class now.
2020-09-09 10:00:30 -07:00
Ron Rennick a9c17d580b update webpack to latest 2020-09-09 13:18:00 -03:00
jonathansadowski d019e33c7e
Merge pull request #27630 from woocommerce/update/readme-changelog-version-numbers-for-4.5.1
Update changelog, readme, and version numbers for 4.5.1
2020-09-09 10:46:10 -05:00
Nestor Soriano 70a1cb2f1f Revert improved filtering for variations.
This commit reverts the functionality introduced in PR #26260
(later refined by #27175, #27190, #27508) in which filtering by
attribute using the layered nav widget was improved to handle the
cases of variations out of stock. The revert is a response to the
numerous problems reported by users in Woo 4.4 and 4.5

Not all the code has been reverted, only the code that resulted in
visible functionality changes. Thus, the code that generates
term relationships for variations is still in place to keep database
consistency and to keep the reverting changes to the minimum needed.
2020-09-09 17:36:26 +02:00
Jonathan Sadowski 9da304e983 Update version in class-woocommerce.php 2020-09-09 10:35:05 -05:00
Jonathan Sadowski 610d609d10 Remove extra linebreak 2020-09-09 10:33:26 -05:00
Jonathan Sadowski 7698f73ee9 Update version in package.json 2020-09-09 10:32:33 -05:00
Jonathan Sadowski ed14f8abfd Add changelog 4.5.0 back to readme.txt 2020-09-09 10:32:09 -05:00
Jonathan Sadowski 3dd8c84633 Update changelog, readme, and version numbers for 4.5.1 2020-09-09 09:53:26 -05:00
jonathansadowski d00083f1ec
Merge pull request #27628 from woocommerce/fix/27624
Check for state and postcode fields only if required
2020-09-09 09:41:57 -05:00
vedanshujain 6a2ea0e27a Add unit test for show_shipping for different countries. 2020-09-09 19:53:21 +05:30