Commit Graph

34059 Commits

Author SHA1 Message Date
Christopher Allford 18d42d5880
Merge pull request #25697 from woocommerce/fix/autoloader-conflict
Avoid `Automattic\Jetpack\Constants` in main woocommerce class
2020-02-18 14:07:59 -08:00
Christopher Allford 9557b2e15a
Merge pull request #25681 from woocommerce/fix/25638
Apply new filter in MaxMind database migration
2020-02-18 12:10:09 -08:00
Julia Amosova b8a7c49d6f
Merge pull request #25417 from woocommerce/try/using-puppeteer-utils
Use new puppeteer-utils package.
2020-02-18 15:00:38 -05:00
Brent Sessions eb35a1ba84 Move nvm update 2020-02-18 12:43:05 -07:00
Brent Sessions 9a01965cda Use newer package 2020-02-18 12:31:04 -07:00
Julia Amosova 712acd7f72 Update package-lock.json 2020-02-18 13:54:27 -05:00
Brent Sessions 9e0bc146cf Pull in latest to fix slack reporting 2020-02-18 13:46:03 -05:00
Brent Sessions 3a180b98fe pull in latest version 2020-02-18 13:37:58 -05:00
Brent Sessions 9c2034a439 Trying to run with specific node version 2020-02-18 13:35:39 -05:00
Brent Sessions 256d6f7808 Use new puppeteer-utils package. 2020-02-18 13:31:35 -05:00
Mike Jolley a67ece743d Avoid Automattic\Jetpack\Constants in main woocommerce file 2020-02-18 15:13:30 +00:00
Rodrigo Primo c3d5b36474
Merge pull request #25645 from picocodes/fix-typo
fix typo
2020-02-18 00:18:27 -03:00
Rodrigo Primo e9f56e3776
Merge pull request #25663 from woocommerce/update/skip-variations-e2e-tests
Skip 2 failing variations e2e tests (until fixed)
2020-02-18 00:11:12 -03:00
Claudio Sanches fd488e5d2c Apply woocommerce_maxmind_geolocation_database_path filter in maxmind migration 2020-02-16 18:47:03 -03:00
Julia Amosova e9ee645049 Skip 2 failing variations e2e tests (until fixed) 2020-02-13 18:32:41 +00:00
picocodes 91b01ccaff
fix typo 2020-02-12 17:13:13 +03:00
Jeff Stieler 33e6aee1af
Export all component E2E test util functions. (#25636) 2020-02-11 08:29:48 -08:00
Peter Fabian fa1f18e7c1
Merge pull request #25620 from woocommerce/renovate/woocommerce-woocommerce-admin-0.x
Update dependency woocommerce/woocommerce-admin to v0.25.1
2020-02-10 17:04:46 +01:00
Renovate Bot 4d682b6cdc
Update dependency woocommerce/woocommerce-admin to v0.25.1 2020-02-08 11:24:16 +00:00
Peter Fabian 586bcc8bb4
Merge pull request #25605 from woocommerce/update/setup-wizard-e2e-test
Remove WC-Admin installation option from the old OBW
2020-02-07 15:40:51 +01:00
Peter Fabian e55461f6e4 Change the setting part before the verification. 2020-02-07 15:28:06 +01:00
Julia Amosova 94dcaed7ba Remove unnecessary store owner login before creating variable product 2020-02-07 14:12:15 +00:00
Julia Amosova e3afbfdd8c Update `Redirect only` file download method string 2020-02-07 14:09:56 +00:00
Julia Amosova e4fd4dbcf7 Update WP Docker image version from 5.3 to 5.3.2 to run the latest 2020-02-07 12:59:40 +00:00
Julia Amosova c7e3171a31 Enable Storefront installation option in the old OBW 2020-02-07 12:59:40 +00:00
Julia Amosova 13e95db4ef Remove wc-admin installation option from the old OBW 2020-02-07 12:59:39 +00:00
vedanshujain ee0e94e909 Change how filter is implemented to help both 3PD and translators 2020-02-07 17:54:54 +05:30
vedanshujain 707a9bf9a0 Bump versions 2020-02-07 17:54:54 +05:30
vedanshujain cc26fdb2e3 Updated docs link 2020-02-07 17:54:54 +05:30
vedanshujain b29219969c Addressed code review comments 2020-02-07 17:54:54 +05:30
vedanshujain ca5fd12103 Add setting to configure hash appends 2020-02-07 17:54:54 +05:30
vedanshujain 56176e0479 Append unique hash to filename for added security 2020-02-07 17:54:54 +05:30
vedanshujain 44677bbab7 Fallback to force for remote file because xsendfile don;t support it by default 2020-02-07 17:54:54 +05:30
vedanshujain dc060fe700 Add notice when "redirect only" download method is selected.
This download is insecure as it reveals the original file location. We will try to nudge user to use any of the other download method instead.
2020-02-07 17:54:54 +05:30
vedanshujain d7bac6313c Add suffix "Insecure" to indicate that this method is insecure 2020-02-07 17:54:54 +05:30
Peter Fabian 1441d8c07b
Merge pull request #25597 from woocommerce/try/obw-jn-as-race-cond
Try to fix the setup wizard trouble on JN
2020-02-07 13:04:06 +01:00
Rodrigo Primo 1183619cfc
Updated version to 4.0.0-beta.1 (#25591)
* Updated version to 4.0.0-beta.1

* Used the final desired version in class WooCommerce.
2020-02-07 09:02:20 -03:00
Peter Fabian 4abbfa5d88
Added 4.0.0 changelog for beta.1 (#25592)
* Added 4.0.0 changelog for beta.1

* Rolled back the changelog file.
2020-02-07 09:02:09 -03:00
Peter Fabian 4f485a14de Added explanation comments. 2020-02-07 12:58:31 +01:00
Peter Fabian 0eb758b8e2 Apply patch until a new AS version comes out. 2020-02-07 11:32:33 +01:00
Peter Fabian 5fc2e8fba9 Only skip the store_notices during new install in AS. 2020-02-07 11:06:35 +01:00
Peter Fabian 4c4f9f1164 Don't save notices when running from AS. 2020-02-07 00:21:03 +01:00
Peter Fabian 06d0bbefc4 Don't run setup wizard redirects from AS. 2020-02-07 00:20:42 +01:00
Rodrigo Primo e9b6faa8df
Merge pull request #25595 from woocommerce/fix/cod-admin-check
Fix undefined function error when accessing COD gateway class outside admin
2020-02-06 17:36:53 -03:00
Peter Fabian 68fe4d9f0e Used the final desired version in class WooCommerce. 2020-02-06 21:33:22 +01:00
Christopher Allford b5d5be7df1 Removed the admin screen checking in favor of good old fashioned request parameters for COD gateway setting loading 2020-02-06 12:29:01 -08:00
Christopher Allford 30fd538acf Added function_exists check to COD gateway settings check 2020-02-06 10:03:26 -08:00
Claudio Sanches 902805f9a6
Merge pull request #25594 from woocommerce/fix/unit-tests-nightly
Fix unit tests when running using WP nightly
2020-02-06 14:44:25 -03:00
Rodrigo Primo ddd55164ac
Merge pull request #25593 from woocommerce/update/template-versions-4.0
Updated template versions where it was missed.
2020-02-06 13:14:48 -03:00
Rodrigo Primo 48480eb882 Fix unit tests when running using WP nightly
The WooCommerce unit tests started failing when running using WP nightly
with the following error:

```
Fatal error: require_once(): Failed opening required '/tmp/wordpress-tests-lib/src//wp-includes/class-phpmailer.php' (include_path='.:/home/travis/.phpenv/versions/7.4.2/share/pear') in /tmp/wordpress-tests-lib/includes/mock-mailer.php on line 2
```

https://travis-ci.org/woocommerce/woocommerce/jobs/646855363#L1955

This was happening because WP changed the syntax of the line where
ABSPATH is defined in the context of the unit tests
(https://core.trac.wordpress.org/changeset/47198/trunk/wp-tests-config-sample.php)
and we rely on this syntax to change ABSPATH when running
`tests/bin/install.sh`.

To fix this problem, this commit updates the sed command used to change
ABSPATH to work when both the old and new syntaxes are used. In the
future we might want to consider a more robust solution to the problem
of updating ABSPATH.
2020-02-06 12:43:47 -03:00