Commit Graph

36592 Commits

Author SHA1 Message Date
Claudio Sanches 153ce009de Fixed helper header 2020-09-17 16:50:17 -03:00
Claudio Sanches 7fae819928 Fixed package tag 2020-09-17 14:34:36 -03:00
Rodrigo Primo 6e4c2ac475
Merge pull request #27676 from woocommerce/update/woocommerce-blocks-3.4.0
Update WooCommerce Blocks package to 3.4.0
2020-09-17 14:32:12 -03:00
Christopher Allford 6c230ca7b3 Centralized the CRUD actions into a single kind of repository that can be easily used in every adapter case 2020-09-17 09:43:43 -07:00
Claudio Sanches 3377c60c5e
Merge pull request #27433 from woocommerce/fix/remove-relative-include-paths
Change relative include paths to absolute include paths
2020-09-17 13:15:40 -03:00
Claudio Sanches f4e9fcc1a4 Fixed missing include 2020-09-17 13:12:57 -03:00
Claudio Sanches 9eaa103bd0
Merge pull request #27613 from woocommerce/update/external-issues-template
Tweaks in the external issues template
2020-09-17 12:08:25 -03:00
Claudio Sanches 84a828f813 Added Action Scheduler to about text 2020-09-17 12:07:20 -03:00
Claudio Sanches 70c7adfeb7 Fixed usage of package tag in REST API and templates 2020-09-17 11:56:08 -03:00
Claudio Sanches ed1a59b39b
Merge pull request #27416 from woocommerce/fix/27415
Fixed country list sorting
2020-09-17 10:35:43 -03:00
Konstantin Kovshenin a100ed67b2 Fix race conditions in WC_Install
In an environment with persistent object caching, concurrent calls
to delete_option() + add_option() can result in the option value
leaking out of the alloptions cache key, and into its own cache
item under the options group, while deleting the value from the
database.

This causes future function calls to add_option() to fail, since
the value already exists in cache (under the wrong key). It also
causes calls to delete_option() to fail, since the value is not
in the database.

This commit forces update_option() instead of the delete + add
combination, as well as removes multiple unnecessary calls to
update the woocommerce_db_version from admin notes and notices.
2020-09-17 11:59:50 +03:00
Christopher Allford 3a7c96b7cd Revised the base tsconfig to match Gutenberg more closely 2020-09-16 15:14:53 -07:00
Christopher Allford 011974ec09 Merge branch 'master' into packages/factories-to-api-refactor 2020-09-16 11:51:49 -07:00
Christopher Allford f5e130c190
Merge pull request #27667 from woocommerce/fix/standardize-nvm-usage
Standardize usage of NVM
2020-09-16 11:40:48 -07:00
Peter Fabian b8670162a7 Added environment type var to WC tracker. 2020-09-16 13:44:36 +02:00
Christopher Allford 38afb8c2ff Merge branch 'master' into packages/factories-to-api-refactor 2020-09-15 14:49:22 -07:00
Ron Rennick 87ea5dbffc add eslint, babel config functions 2020-09-15 14:08:19 -03:00
Darren Ethier aeeee93e4b
update woo-blocks to 3.4.0 2020-09-15 09:39:41 -04:00
Ron Rennick 7c509d8ddb use tabs for indentation 2020-09-15 10:10:59 -03:00
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
Grzegorz Rola 75d9a8942c Fixed cart weight return type. 2020-09-14 11:32:05 +02: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