Commit Graph

37729 Commits

Author SHA1 Message Date
roykho 697e9a0c2f
Add woocommerce.zip to gitignore 2020-12-14 09:14:21 -08:00
roykho ecbbf08203
Add select2 to Grunt minify process 2020-12-14 07:48:54 -08:00
roykho cce5cbe985
Remove packaged minified files 2020-12-14 07:41:45 -08:00
roykho f89355f821
Git ignore packaged min files 2020-12-14 07:32:54 -08:00
Ron Rennick 733157638b update package changelog 2020-12-14 10:54:29 -04:00
Ron Rennick ef61903822 add 12 hour delay to pulling new docker tags 2020-12-14 10:42:39 -04:00
Ido F 703d474e52 corrected data-types in phpdoc @param 2020-12-14 13:31:52 +02:00
Vedanshu Jain 4339aee35f
Merge pull request #27352 from juliquiron/fix/slow-wc-customer-get-operations
Added cache and filter for wc-customer get operations.
2020-12-14 09:43:04 +05:30
zhongruige 88630e2a32 Add delete issued refund test 2020-12-13 16:07:16 -07:00
zhongruige 46164b032d Add config variable for simple product price and update tests to utilize it 2020-12-12 15:46:13 -07:00
roykho 83f327026f
Fix error tooltip misaligned on tax country field closes #28260 2020-12-11 12:34:31 -08:00
zhongruige 9d95a21f48 Cleanup unused no-standalone-expect 2020-12-11 10:54:42 -07:00
zhongruige 88ddefbcb3 Dynamically pull the currency symbol instead of hard-coding it 2020-12-11 10:48:20 -07:00
zhongruige 4ca6114476 Swap out currency symbol 2020-12-11 09:47:03 -07:00
Nestor Soriano 3139bd1842 Change PHPUnit version to 6.5.14 (compatible with PHP 7.x), but
switch to the fork in Travis for PHP 8.
2020-12-11 16:47:24 +01:00
Nestor Soriano 8167e5f3ad Adjustments to composer files after merging from master 2020-12-11 11:22:48 +01:00
Nestor Soriano 1818406edd Merge branch 'master' into php8/use-custom-phpunit-7 2020-12-11 09:03:38 +01:00
Philipp Bammes 19d978ce1c
Invert “if” statement to reduce nesting 2020-12-11 08:23:22 +01:00
zhongruige 2caac87d03 Added new tests for the merchant order refund flow 2020-12-10 21:27:04 -07:00
Tam Mullen 1add2556d6
Merge pull request #28437 from woocommerce/add/e2e-merchant-orders-filter-orders
Added tests for Merchant / Orders / Filter Orders flow
2020-12-10 20:54:19 +00:00
Peter Fabian 38546b43d5
Merge pull request #28400 from szepeviktor/patch-3
Put Travis configuration in chronological order
2020-12-10 19:21:09 +01:00
Rodrigo Primo 2accebdd2e Retry e2e tests automatically in case of failure
This commit adds again the Travis function `travis_retry` (https://docs.travis-ci.com/user/common-build-problems/#travis_retry) to all the commands used to execute the E2E tests as they sometimes fail due to factors outside our control and they pass if we retry them manually. See for example this issue for an instance where often times the E2E tests fail, the issue describes a problem that happened in a local environment, but we see the same error happening on Travis as well: https://github.com/woocommerce/woocommerce/issues/27846. I actually just saw it and had to restart a Travis build job manually and that is what prompted me to create this commit. Having Travis retry the command automatically should save us some time when we review PRs as there is a chance the command will pass on a subsequent run and we won't have to retry it manually and wait for it to finish.

We have used this function in the past (see 67b5b270f3), but it got removed in 1658dd3962. But after some conversation about it a couple of weeks ago, we decided to use it again.
2020-12-10 14:44:06 -03:00
Nestor Soriano f0b834d1ec Move the download permissions adjustment process to a scheduled action.
Also, move all the new code from the 'WC_Product_Data_Store_CPT' class
to a new separate 'DownloadPermissionsAdjuster' class.
2020-12-10 15:40:38 +01:00
Rodrigo Primo 93dae948b2 Add placeholder text to country select field in the checkout page
This commit adds the 'Select a country / region...' text as a placeholder text displayed in the country select field indicating to the user that they need to select a country. This is only needed when the option ¨Default customer location" is set to "No location by default".
2020-12-10 11:12:39 -03:00
Rodrigo Primo 5554f9c6f9 Revert "Sets Select a country option element value attribute to default."
This reverts commit 9faee1d909 as it causes issues during checkout (see #27521).
2020-12-10 10:09:02 -03:00
Peter Fabian 60e8082398 Isle of Man will probably also stop being part of EU VAT area. 2020-12-10 09:59:26 +01:00
Peter Fabian 135294dfdd Removed GB from EU VAT zone. 2020-12-10 09:46:24 +01:00
Gary Cao e6a7f0f40a
Fix Unknown named parameter error on PHP 8 2020-12-10 15:21:34 +09:00
Néstor Soriano 15315d2468
Merge pull request #28499 from woocommerce/fix/26494
Remove deprecated PayPal Standard "Page style" setting
2020-12-09 12:32:37 +01:00
Nestor Soriano 8944792a69 Create additional download permissions on product save if needed
When a simple product with downloads gets converted into a variable
product all the existing download permissions for past orders become
invalid. This commit adds an extra verification procedure to the
product save code:

- Get all the existing download permissions for the product and all
  the children (variations)
- For each download permission for the parent product, if there's a
  variation that offers the same file for download (same file URL)
  AND an equivalent download permission doesn't exist (equivalent means
  same file URL, same order id and same user id), then create it.

Additionally, a new WC_Customer_Download_Data_Store::create_from_data
method is added.
2020-12-09 09:29:31 +01:00
Roy Ho 7f4ad80cbd
Merge pull request #28204 from jlavoie13/add/pass-email-object-to-template-parts
Pass email object to header and footer templates
2020-12-08 15:02:37 -08:00
zhongruige c07f31f22c
Merge branch 'master' into add/e2e-merchant-orders-filter-orders 2020-12-08 15:50:00 -07:00
zhongruige 1dfedf425c Code review feedback--setting the consts in the test itself 2020-12-08 15:09:23 -07:00
Roy Ho 593cd0ea5d
Merge pull request #27675 from woocommerce/fix/update-premium-support-link-href
Update href of premium support link
2020-12-08 13:46:44 -08:00
Roy Ho 8f37a6936f
Merge pull request #28014 from JoryHogeveen/feature/20-10-20-price-slider-init-trigger
Widget: Price Slider - trigger to re-initialize
2020-12-08 13:35:10 -08:00
Roy Ho 018dbc251d
Merge pull request #28386 from abhishek-pokhriyal/remove/bc-check-determine-locale
Remove function_exists check for determine_locale
2020-12-08 13:15:22 -08:00
Ron Rennick fc95c2bba1
Merge pull request #28464 from woocommerce/fix/28200
Add missing E2E package dependencies
2020-12-08 15:40:21 -04:00
jlavoie13 27f9f1304c phpcs fixes 2020-12-08 14:32:28 -05:00
jlavoie13 8821bf41c5 pass email object to header and footer templates 2020-12-08 14:32:28 -05:00
Christopher Allford 35e509402d
Merge pull request #28519 from woocommerce/add/released-4.8
Add 4.8.0 release content to master
2020-12-08 10:14:55 -08:00
Christopher Allford 03c612b473 Added 4.8.0 changelog and updated stable tag 2020-12-08 09:58:37 -08:00
Mike Jolley 6208fc3d27 Update WooCommerce Blocks package to 4.0.0 2020-12-08 15:18:54 +00:00
Claudio Sanches 1c65696535
Merge pull request #27850 from matt-h/webhook-schedule-when-processing
Make next webhook not return a date when the webhook is already running.
2020-12-07 19:20:02 -03:00
Claudio Sanches 09d98a6fe0
Merge pull request #28468 from woocommerce/fix/28417
Use single quotes inside MySQL query to avoid issues with ANSI_QUOTES
2020-12-07 19:08:38 -03:00
Ron Rennick a757ff2b53 update extension count to 3 2020-12-07 16:30:55 -04:00
Ron Rennick 80ded96120 merge master 2020-12-07 13:13:52 -04:00
Roy Ho aa89afcf95
Merge pull request #28332 from woocommerce/update/replace-jquery-click
Replace usages of depracted jQuery.fn.click() event shorthand
2020-12-07 06:03:56 -08:00
zhongruige ae1ebfd031 Code review feedback--moving statuses to config values 2020-12-05 20:30:42 -07:00
Rodrigo Primo 621d6a73f1
Merge pull request #28269 from ramonfincken/master
[TASK] documented introduction of wc_get_container function
2020-12-05 15:11:15 -03:00
Rodrigo Primo 23af5478ec Fix JS coding standards 2020-12-05 11:11:56 -03:00