Commit Graph

36799 Commits

Author SHA1 Message Date
Claudio Sanches 918750fffb Validate variation ID while adding products to the cart 2020-11-24 19:32:58 -03:00
Christopher Allford 4741a09f86 Merge pull request #28388 from woocommerce/update/tested-up-to-tag
Bump "Tested up to" tag to WP 5.6
2020-11-24 11:52:03 -08:00
Rodrigo Primo 66a830e5e2
Bump "Tested up to" tag to WP 5.6 2020-11-24 09:13:37 -03:00
Claudio Sanches 1547372f62
Merge pull request #28377 from woocommerce/fix/28254
Map all possible taxonomy templates
2020-11-23 21:40:48 -03:00
Claudio Sanches 76c0a2ce8e
Merge pull request #28378 from woocommerce/fix/28256
Display *-product_<cat|tag>.php template overrides in Status page
2020-11-23 21:19:01 -03:00
Claudio Sanches 5d26b71d5f
Merge pull request #28379 from woocommerce/revert-28233-fix/template-names
Revert "Load product category content with content-product-cat.php"
2020-11-23 21:18:02 -03:00
Claudio Sanches cba0cc4799
Revert "Load product category content with content-product-cat.php" 2020-11-23 20:52:27 -03:00
Claudio Sanches e8b2a9adab Display *-product_<cat|tag> template overrides in Status page 2020-11-23 20:12:38 -03:00
Claudio Sanches 4418e79d0a Map all possible taxonomy templates 2020-11-23 19:29:30 -03:00
Roy Ho 36108a2c83
Merge pull request #28322 from aheckler/patch-1
Return default date and time formats if options are empty
2020-11-23 13:52:00 -08:00
Néstor Soriano e7584104a1
Merge pull request #28147 from woocommerce/use-mozart-to-renamespace-dependencies
Use Mozart instead of a script to renamespace packages
2020-11-20 09:16:25 +01:00
Ron Rennick a5a109ccbe
Merge pull request #28217 from woocommerce/fix/27786
remove old setup wizard test
2020-11-19 13:56:33 -04:00
Nestor Soriano 16bd67688f Remove "pushd" and "popd" from build-lib.sh
These are bash specific commands and will fail since the script is
actually run as a sh script. Instead, the "-d" option of composer
is now used.
2020-11-19 09:25:48 +01:00
Claudio Sanches 492792476c
Merge pull request #28281 from woocommerce/fix/28232
Keep WC_Checkout::process_checkout() backwards compatible
2020-11-18 23:20:46 -03:00
Christopher Allford 591491dd4c Fixed the broken vendor autoloads 2020-11-18 15:38:05 -08:00
Christopher Allford e9dfe64f9f Replaced the local repository with root autoload definitions
Since Composer can't recursively use repositories, we can't actually use a local package to deal with this. We're going to keep the local package to separate the dependencies but we need to add autoload keys in the root package's `composer.json`
2020-11-18 15:31:54 -08:00
Christopher Allford c9f413d297 Created dummy `woocommerce/woocommerce-lib` package to contain dependencies
In order to avoid problems posed by potentially including the unconverted dependencies in the root autoloader, this package will hold all dependencies that require conflict avoidance.
2020-11-18 13:54:20 -08:00
Rodrigo Primo a88b370c0f
Merge pull request #28287 from woocommerce/remove-broken-js-code
Remove jQuery code that does nothing
2020-11-18 15:44:38 -03:00
Peter Fabian 3c9d92be8c
Merge pull request #28270 from woocommerce/remove-dockerfile
Remove Dockerfile as it is not used anymore
2020-11-18 13:38:25 +01:00
Nestor Soriano 846a7fb3d1 Declare PHP version as 7.2 in composer.json for Mozart.
This way it won't throw errors when building in 7.0 or 7.1
(required for CI). Still, an error will be thrown when manually
running move-vendor-packages.sh in 7.0 or 7.1.
2020-11-18 09:39:46 +01:00
Nestor Soriano f296b36667 Get Mozart package from original source instead of our fork.
Since the pull requests with required functionality have been accepted
and merged, we can now use the original repository instead of
Woo's fork.
2020-11-18 09:14:17 +01:00
Nestor Soriano 556ea1ecfa Merge branch 'master' into use-mozart-to-renamespace-dependencies 2020-11-18 09:05:11 +01:00
Rodrigo Primo 246710fce8 Merge branch 'master' into fix/28232 2020-11-17 14:47:33 -03:00
Rodrigo Primo 5c8491c862 Remove jQuery code that does nothing
This commit replaces a block of jQuery code that I believe does nothing. I found it while starting the work to make our JS code compatible with jQuery 3 as it uses jQuery.fn.keyup() which has been deprecated.

As far as I can understand, this block of code is supposed to change the focus to the coupon description when the user hits the tab key while the focus is on the title field. It doesn't work because the keyup event is not fired for the tab key. The current behavior is that when the user hits the tab key, the focus changes to the "Generate coupon code" button, and if the tab key is pressed another time, the focus changes to the description text field. Which seems fine to me and that is why I'm suggesting we remove this code instead of fixing it.

I believe it was added in this c15b8e817c commit six years ago and unfortunatelly the commit doesn't provide much information on why it was added.
2020-11-17 14:39:55 -03:00
Rodrigo Primo 581f57b8f4
Merge pull request #28148 from rodrigoprimo/update/travis-git-depth
Change git cloning depth to 1 to make the Travis builds slightly faster
2020-11-17 14:36:29 -03:00
Adam Heckler b0580f0eb4
More code standards fixes 2020-11-17 12:31:17 -05:00
Adam Heckler c3487785d5
Code standards fixes 2020-11-17 10:54:53 -05:00
Adam Heckler 97eea98a23
Return default date/time formats if blank
Fixes #28319
2020-11-17 10:21:20 -05:00
Rodrigo Primo 0e319f3293
Merge pull request #28151 from woocommerce/add/requires-php-support
Add requires_php support
2020-11-17 10:39:12 -03:00
Rodrigo Primo e1856b961d Merge branch 'master' into update/travis-git-depth 2020-11-17 10:27:26 -03:00
Christopher Allford ac9f83d772
Merge pull request #28295 from woocommerce/revert-25988-patch-1
Revert "Added support for file in checkout ajax."
2020-11-16 09:44:40 -08:00
Christopher Allford ea888a4a21
Revert "Added support for file in checkout ajax." 2020-11-16 09:04:15 -08:00
Christopher Allford 52354c95cd
Merge pull request #28277 from woocommerce/add/prepare-4.9
Prepared branch for 4.9
2020-11-16 08:42:29 -08:00
Vedanshu Jain ae163eb28b
Merge pull request #27734 from woocommerce/enhancement/optimize-wc-order
Optimize function `wc_get_orders` by priming caches beforehand
2020-11-14 12:37:44 +05:30
Claudio Sanches f8f1417d72 Fixed function name 2020-11-13 17:57:29 -03:00
Claudio Sanches b506627528 Keep WC_Checkout::process_checkout() backwards compatible 2020-11-13 17:49:27 -03:00
Christopher Allford c2eb62fd3b Locked Composer at 2.0.6 2020-11-13 12:05:28 -08:00
Renatho De Carli Rosa c2b066edcb Fix requires_php check 2020-11-13 16:47:26 -03:00
Renatho De Carli Rosa 5cbcdcd92c Add requires_php support
With this check, we're able to avoid updates when the PHP version
is not supported
2020-11-13 16:47:26 -03:00
Rodrigo Primo 4240f9924a
Merge pull request #28048 from woocommerce/fix/27807
Remove dynamic build dependencies
2020-11-13 15:34:35 -03:00
Rodrigo Primo a637a42574
Merge pull request #28115 from woocommerce/update/node-12
bump node to version 12
2020-11-13 15:32:05 -03:00
Claudio Sanches 02860e4336
Merge pull request #28271 from woocommerce/remove-unused-config-files
Removes Code Climate and Scrutinizer config files
2020-11-13 14:45:55 -03:00
Christopher Allford c491bd45aa Updated lock file 2020-11-13 09:43:01 -08:00
Christopher Allford bb38673dad Prepared branch for 4.9 2020-11-13 09:38:22 -08:00
Rodrigo Primo d9448435a0 Remove Scrutinizer badge from README.md
We are not using Scrutinizer anymore
2020-11-13 12:18:40 -03:00
Rodrigo Primo c08f461513 Removes Code Climate and Scrutinizer config files
We are not using these services anymore, so this commit removes the configuration files for both Code Climate and Scrutinizer.
2020-11-13 11:47:12 -03:00
Rodrigo Primo 838194e3d7 Remove Dockerfile as it is not used anymore
This file was added in the past to help set up the old E2E testing infrastructure (see #25105), but the new E2E setup doesn't use it (see https://github.com/woocommerce/woocommerce/pull/28173#issuecomment-725617312).
2020-11-13 10:19:22 -03:00
Claudio Sanches 744053ac66
Merge pull request #28199 from woocommerce/renovate/richardsimko-github-tag-action-1.x
Update richardsimko/github-tag-action action to v1.0.5
2020-11-13 10:16:41 -03:00
Vedanshu Jain 13f429e80d
Merge pull request #28102 from woocommerce/fix/28100
Exclude user table columns as well while setting metadata props
2020-11-13 13:50:02 +05:30
Christopher Allford 03f65478f2
Merge pull request #28249 from woocommerce/add/composer-2
Update Composer to v2 (includes woocommerce-blocks 3.8.0 and woocommerce-admin 1.7.0)
2020-11-12 21:16:51 -08:00