Commit Graph

36771 Commits

Author SHA1 Message Date
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 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
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
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
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
Christopher Allford 3275c5abd1 Fixed broken code coverage 2020-11-12 14:46:39 -08:00
Christopher Allford a95b384f08 Corrected code coverage path 2020-11-12 14:30:55 -08:00
Christopher Allford 2516414eb6
Merge pull request #28229 from woocommerce/add/wc-pay-extensions-screen
Add WooCommerce Payments banner to extensions screen
2020-11-12 14:21:01 -08:00
Christopher Allford 30d2e278b9 Replaced the deprecated `WC_Admin_Note` class 2020-11-12 13:26:30 -08:00
Christopher Allford 7a26fc30dd Fixed failing E2E test 2020-11-12 12:52:53 -08:00
Christopher Allford 84c8bc4afa Corrected `composer.json` PHP minimums to 7.0 to ensure compatibility in Travis 2020-11-12 12:25:52 -08:00
vedanshujain 13f2dd6be9 Add unit tests towards issue #28100 2020-11-13 01:02:16 +05:30
vedanshujain f1742e2298 Exclude user table columns as well
This is to prevent overwriting of original column data by a meta data if meta_key name is same as a column.
2020-11-13 01:02:15 +05:30
Christopher Allford 1041c8d238 Updated WooCommerce Admin 2020-11-12 11:22:39 -08:00
Rodrigo Primo 7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Roy Ho decf1805de
Merge pull request #28114 from woocommerce/fix/issue-27972
Update SSR version to check against major versions only closes #27972
2020-11-12 06:34:58 -08:00
roykho 5597f74e81
Merge branch 'master' into fix/issue-27972 2020-11-12 06:21:52 -08:00
Roy Ho 8331759fa1
Merge pull request #28169 from woocommerce/fix/issue-27710
Hide add to cart button if all products in group are out of stock clo…
2020-11-12 05:59:14 -08:00
Rodrigo Primo a33c6ea746
Merge pull request #28162 from woocommerce/renovate/wordpress-monorepo
Update dependency @wordpress/eslint-plugin to v7.3.0
2020-11-12 09:14:45 -03:00
vedanshujain 04fe12b5fb Add proper params because otherwise this query will not set caches. 2020-11-12 15:10:16 +05:30
Christopher Allford 05ebdf9677 Adjusted Travis' PHPUnit to use the vendor binary instead of a global install 2020-11-11 23:42:14 -08:00
vedanshujain fdceac9866 Delete refund cache for parent order when its deleted. 2020-11-12 10:01:15 +05:30
Claudio Sanches e445e3c3cf
Merge pull request #28250 from woocommerce/fix/28103
Fixed placeholders and translators style WC_Form_Handler::add_to_cart_handler_variable
2020-11-11 20:25:01 -03:00
Claudio Sanches 6e2086e3eb Check if $product exists before using
And removed some PHP variables.
2020-11-11 19:55:59 -03:00
Claudio Sanches cb727736c0 Fixed placeholders and translators style 2020-11-11 19:47:03 -03:00
Claudio Sanches d77fc005d2
Merge pull request #28233 from woocommerce/fix/template-names
Load product category content with content-product-cat.php
2020-11-11 19:31:08 -03:00
Claudio Sanches 404bdbff48
Merge pull request #28242 from woocommerce/update/replace-usage-of-depracted-function
Replace call to deprecated woocommerce_reset_loop()
2020-11-11 19:30:02 -03:00
Roy Ho 5dd19658f5
Merge pull request #28069 from woocommerce/fix/issue-27504
Fix stock reducing incorrect amount when order item is deleted after …
2020-11-11 14:05:37 -08:00
Christopher Allford 84968cd1ff Removed Travis Composer downgrade 2020-11-11 13:53:53 -08:00
Christopher Allford b22268c754 Updated to Composer v2
This also updates the woocommerce/woocommerce-admin and woocommerce/woocommerce-blocks packages as their dependence on `composer/installers` precludes update otherwise
2020-11-11 13:45:51 -08:00
roykho 4ec270b93d Add unit tests for the fix 2020-11-11 15:28:06 -06:00
roykho 134786ada8 Fix stock reducing incorrect amount when order item is deleted after a refund closes #27504 2020-11-11 15:28:06 -06:00