Commit Graph

37329 Commits

Author SHA1 Message Date
Rodrigo Primo 05cc0882e5 Replace deprecated jQuery code in includes/emails/class-wc-email.php
This commit replaces a call to the now deprecated jQuery.fn.toggle(handler, handler...) (https://api.jquery.com/toggle-event/) with a jQuery.click(). The deprecated call was used in the page where admins can edit e-mail templates (example: wp-admin/admin.php?page=wc-settings&tab=email&section=wc_email_customer_on_hold_order) to show or hide the contents of the template and at the same time change the label of the button. We are now using jQuery.click() with a if statement inside to decide which label to use.
2020-10-22 09:28:06 -03:00
Ron Rennick c1c0762eae remove unused babel config for e2e tests 2020-10-21 16:34:59 -03:00
Ron Rennick 9d47a1c072 simplify e2e-environment exports 2020-10-21 16:17:10 -03:00
Ron Rennick e91a09f302 remove remaining webalias fragments 2020-10-21 15:47:09 -03:00
Claudio Sanches 3f61afe533
Merge pull request #28046 from woocommerce/update/master-branch-after-4-6-1-release
Update master branch after the release of WC 4.6.1
2020-10-21 15:33:45 -03:00
Rodrigo Primo 9910ff94b9 Bump the stable tag to 4.6.1 2020-10-21 15:28:54 -03:00
Rodrigo Primo 48e8171ba5 Add 4.6.1 changes to changelog.txt 2020-10-21 15:28:26 -03:00
Ron Rennick 5e2e01e7b8 add Nightly message to log, bump Travis 2020-10-21 13:25:23 -03:00
Ron Rennick 7ebfdbeb0e add support for custom container initialization script 2020-10-21 10:53:48 -03:00
Claudio Sanches 600d48967f
Merge pull request #28038 from woocommerce/fix/minor-error-in-prefix-vendor-namespaces
Fix error in the sed commands used to prefix namespaces
2020-10-21 10:13:16 -03:00
Claudio Sanches 81ce4e23bf
Merge pull request #28036 from Luminus/patch-1
Fix CLDR recommendations link
2020-10-21 10:02:47 -03:00
Claudio Sanches d78d752336
Apply suggestions from code review 2020-10-21 10:01:53 -03:00
Peter Fabian 8bc2b77e45
Merge pull request #28037 from woocommerce/fix/add-Ron-to-contributors
Added Ron to the list of contributors
2020-10-21 14:50:13 +02:00
Peter Fabian bb896eb1b4
Added Ron to the list of contributors 2020-10-21 14:29:57 +02:00
Rodrigo Primo 9f22f10861 Fix error in the sed commands used to prefix namespaces
This commit fixes a minor error in the sed commands used to prefix
namespaces in the vendor folder. Due to an extra space sed was
considering `.bak` an extra parameter. If we use `-i.bak` instead (without the
space), sed creates a backup file which is the desired behavior.

With this change we won't be getting the errors below when running
`composer install` or `composer update`:

```
Generating autoload files
> sh ./bin/prefix-vendor-namespaces.sh
Prefixing the appropriate vendor namespaces with Automattic\WooCommerce\Vendor
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
(...)
```

Since sed was working without creating a backup file, I wonder if we
really need to create one. I tested and `sed -i -E -e
"s/\"(League\\\\\\\Container)/\"Automattic\\\\\\\WooCommerce\\\\\\\Vendor\\\\\\\\\1/g"
vendor/league/container/composer.json` works well in Linux. If it also
works on Mac, maybe we can use it and remove the code that deletes the
.bak files?
2020-10-21 09:26:30 -03:00
Luminus Olumide Alabi 49a21bc9bd
Update countries.php
Fix CLDR recommendations link
2020-10-21 13:11:00 +01:00
Rodrigo Primo 9355e632e8 Remove WP nightly from the list of Travis jobs that can fail
In #27977, we added the Travis build job that runs using WP nightly to
the list of jobs that can fail due to a problem in WP itself. Now this
problem was fixed, the build job is passing and we can remove it from
this list.
2020-10-21 09:03:43 -03:00
James Allan b1a2fa01a6 Check the cart exists before emptying it after PayPal response 2020-10-21 10:32:37 +10:00
Claudio Sanches a02f1a483f
Merge pull request #28010 from woocommerce/fix/28007
Update minified jQuery TipTip file
2020-10-20 20:15:47 -03:00
Ron Rennick 7a5cad3f99 variation test works to last uncommented step 2020-10-20 19:43:07 -03:00
Ron Rennick bf410cc44e use checkbox object for checking/unchecking 2020-10-20 17:21:34 -03:00
Claudio Sanches 3a4641dfb9
Merge pull request #28022 from woocommerce/update/contributors
Added royho to contributors list
2020-10-20 16:25:04 -03:00
Roy Ho 027b51d44a
Merge pull request #28021 from woocommerce/update/prepare-4.8
Prepare default branch to 4.8
2020-10-20 12:24:51 -07:00
Claudio Sanches a09d31d8cd Added royho to contributors list 2020-10-20 15:23:02 -03:00
Claudio Sanches f7ecbbeb35 Prepare default branch to 4.8 2020-10-20 15:20:52 -03:00
Claudio Sanches e3b7ed1c75
Merge pull request #28015 from woocommerce/renovate/webfreak001-deploy-nightly-1.x
Update WebFreak001/deploy-nightly action to v1.1.0
2020-10-20 11:44:21 -03:00
Claudio Sanches 615f759b1d
Merge pull request #28016 from woocommerce/renovate/richardsimko-github-tag-action-1.x
Update richardsimko/github-tag-action action to v1.0.4
2020-10-20 11:44:09 -03:00
Ron Rennick f07585dc93 phpcs fixes, on sale dates should be displayed in local time 2020-10-20 11:35:49 -03:00
Ron Rennick 894dceee95 Fixes needed for variable product E2E test
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2020-10-20 11:25:36 -03:00
Renovate Bot fc1f55dd20
Update richardsimko/github-tag-action action to v1.0.4 2020-10-20 14:13:50 +00:00
Renovate Bot 57b94db15c
Update WebFreak001/deploy-nightly action to v1.1.0 2020-10-20 14:13:41 +00:00
Rodrigo Primo 8635d0f84b
Merge pull request #28006 from woocommerce/update/woocommerce-admin/1.6.2
Update woocommerce-admin to 1.6.2
2020-10-20 11:03:44 -03:00
Jory Hogeveen 34eb09dfa1
Use `on` instead of `bind`
Bind will be deprecated
2020-10-20 15:56:43 +02:00
Jory Hogeveen 269ca73aa8
Allow re-init of price slider
Use case for when the widget is reloaded using AJAX
2020-10-20 15:56:02 +02:00
Rodrigo Primo d0576a2a17 Merge branch 'master' into update/woocommerce-admin/1.6.2 2020-10-20 10:43:52 -03:00
Claudio Sanches f7e9c1bfb7
Merge pull request #27995 from rodrigoprimo/fix/phpcs-travis
Fix the Travis build job that runs PHPCS
2020-10-20 10:14:39 -03:00
Claudio Sanches 0a8c9193d4
Merge pull request #27930 from woocommerce/update/woocommerce-blocks-3.6.0
Update WooCommerce Blocks package to 3.6.0
2020-10-19 23:41:53 -03:00
Claudio Sanches f349a70618 Merge branch 'master' into update/woocommerce-blocks-3.6.0 2020-10-19 23:40:52 -03:00
Claudio Sanches e6e199fb7e Update composer.lock 2020-10-19 23:37:27 -03:00
Claudio Sanches ef956e64e7 Update minified jQuery TipTip file 2020-10-19 21:18:20 -03:00
Claudio Sanches 631c06020c
Merge pull request #27800 from gbiorczyk/fix/field-label-escaping
Escaping output for field label
2020-10-19 20:26:38 -03:00
Claudio Sanches 139df7bdaa
Merge pull request #27986 from woocommerce/php8/fixes-in-dependency-injection-container
[PHP 8] Fixes in the dependency injection engine for PHP 8 compatibility
2020-10-19 20:22:35 -03:00
Timmy Crawford 8641ec6135 Update woocommerce-admin to 1.6.2 2020-10-19 10:39:15 -07:00
Ron Rennick 503e898307 use direct exports 2020-10-19 11:32:28 -03:00
Claudio Sanches e5f0ce0723
Merge pull request #27999 from rodrigoprimo/update/remove-php-from-e2e-travis-job
Remove PHP 7.4 from the Travis job that runs E2E tests
2020-10-19 10:54:02 -03:00
Claudio Sanches 96abbdf6bc
Merge pull request #28000 from rodrigoprimo/update/remove-unnecessary-commands-from-travis
Remove unnecessary commands from Travis
2020-10-19 10:50:15 -03:00
roykho 8c73c5f2f8
Replace jQuery.ready function with recommended way since jQuery 3.0 closes #27945 2020-10-19 06:47:55 -07:00
Nestor Soriano 9aaee3dab9 Fix for compatibility of reflection function with PHP 7.0 2020-10-19 08:44:47 +02:00
Rodrigo Primo 2473bf3d7f Remove command to install jest from Travis
We don't need jest installed globally in the Travis build job that runs
the E2E as they are executed inside a Docker container.
2020-10-17 12:29:48 -03:00
Rodrigo Primo a7905e148a Remove xvfb from Travis configuration
Now that we are using Docker to run E2E tests, we don't need to start
xvfb anymore in the Travis build jobs.
2020-10-17 12:28:01 -03:00