Commit Graph

36871 Commits

Author SHA1 Message Date
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
jonathansadowski cc2407fb33
Merge pull request #28371 from woocommerce/update/2021-onsale-badge
Twenty Twenty-One Compat: Adjust Sale Badge
2020-11-23 15:15:46 -06:00
Darren Ethier 8ffa39b78f
bump wc-blocks package to 3.8.1 2020-11-23 16:09:57 -05:00
vedanshujain 528e7b7d91 More style fixes 2020-11-24 00:40:01 +05:30
vedanshujain 08ec8d2547 Style fixes for cart page for 2021 theme. 2020-11-24 00:39:54 +05:30
Jonathan Sadowski 6240b41215 Update badge to have dynamic width 2020-11-23 10:41:01 -06:00
Jonathan Sadowski 313b2bd073 Update styling for homepage category 2020-11-23 00:24:11 -06:00
Jonathan Sadowski b92c528540 2021 Compat: Update the style of the "sale" badge 2020-11-22 22:44:56 -06: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
Rodrigo Primo aa2565b4d7 Start adjusting the product categories widget in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 31914b52d7 Adjust font-weight of the section titles in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 673b50b4fd Fix the layout of banner in the home page for the 2021 theme 2020-11-19 18:15:10 -03: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
Jonathan Sadowski 192611980a Improve content-area padding at smaller viewports 2020-11-18 13:39:38 -06:00
Jonathan Sadowski bf92437b23 Improve margin beneath short description 2020-11-18 13:25:53 -06: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
Jonathan Sadowski a05e55d119 Improve the readability of cart confirmation 2020-11-17 09:48:42 -06:00
Jonathan Sadowski 07d8855488 Fix related products alignment at lower breakpoints 2020-11-17 09:37:56 -06:00
Adam Heckler 97eea98a23
Return default date/time formats if blank
Fixes #28319
2020-11-17 10:21:20 -05:00
Jonathan Sadowski 655166b6da Adjust margin on price, related product h2, and variations table 2020-11-17 09:04:25 -06: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
Jonathan Sadowski 0f85f1d754 Fix save payment method checkbox in checkout 2020-11-16 09:23:56 -06:00
Jonathan Sadowski 67b3d1c5fb Fix stretched product admin images 2020-11-14 10:27:42 -05: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
Jonathan Sadowski 58e4b01f06 Apply related products fix to all products 2020-11-13 15:22:22 -05:00
Christopher Allford c2eb62fd3b Locked Composer at 2.0.6 2020-11-13 12:05:28 -08:00
Jonathan Sadowski 996736bf97 Display block overlay on checkout 2020-11-13 14:59:11 -05:00
Jonathan Sadowski 45515928c6 Darkmode support on checkout payment box 2020-11-13 14:53:19 -05: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