Commit Graph

34151 Commits

Author SHA1 Message Date
Peter Fabian 4138aecdcd
Merge pull request #25696 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.13
2020-02-25 19:05:44 +01:00
Patricia Hillebrandt c3379482a2 Updating docblock 2020-02-25 16:53:40 +01:00
Ron Rennick 84c2c7fb00 move edited attribute message to location consistent with other edited messages 2020-02-25 11:28:11 -04:00
Peter Fabian d9f702c3d4
Merge pull request #25670 from woocommerce/fix/25664-2
Replaced deprecated Jetpack::is_staging_site call
2020-02-25 15:20:11 +01:00
Peter Fabian 63486a1cb0 Force the saving of notices for the 'install' notice to prevent performance problems for all notices, while also making it less prone to race conditions during the installation. 2020-02-25 15:00:37 +01:00
Peter Fabian 992c6538dc Force the saving of notices only for the 'update' notice to prevent performance problems. 2020-02-25 14:58:02 +01:00
Peter Fabian f3dceae5df Added more exclusions for the DB notice show_reminder method.
Also, moved `woocommerce_hide_update_notice` outside those exclusions in case
it would get triggered from cron or via AJAX.
2020-02-25 14:51:09 +01:00
Peter Fabian aec5373ab2 Updated the Package class namespace according to latest changes in WC Admin. 2020-02-25 14:38:13 +01:00
Peter Fabian d115418c29
Merge pull request #25747 from woocommerce/fix/jetpack-configure
Add defensive checks because `configure` is not present in older jetp…
2020-02-25 11:36:17 +01:00
Renovate Bot 0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13 2020-02-25 10:25:02 +00:00
vedanshujain f5220383a5 Add defensive checks because `configure` is not present in older jetpack version 2020-02-25 15:03:15 +05:30
Peter Fabian 56839efcbf
Merge pull request #25745 from woocommerce/update/AS-3.1.1-unit-tests
Bump Action Scheduler to 3.1.1 + unit tests
2020-02-25 10:26:49 +01:00
Peter Fabian f1f02dc292 Remove the patch from PR 450, as it's already included in 3.1.1. 2020-02-25 10:13:56 +01:00
Peter Fabian 19b180af7e Updated composer.lock file. 2020-02-25 09:32:56 +01:00
Vedanshu Jain 0dc5c0bcb1
Merge pull request #25742 from woocommerce/fix/25651
Run configure for Jetpack plugin before attempting to try_registration.
2020-02-25 09:31:27 +05:30
Ron Rennick 77d6dc1342 update WCA class namespace in unit tests 2020-02-24 23:22:11 -04:00
Ron Rennick 22d5dce682 change the namespace of the WC Admin Package class 2020-02-24 22:56:32 -04:00
Ron Rennick 2d70a48361 bump action scheduler version, add queue unit tests 2020-02-24 21:45:19 -04:00
Peter Fabian d4933d9a5d Run configure for Jetpack plugin before attempting to try_registration.
This should prevent the fatal error otherwise occuring when connecting with Jetpack
during the OBW if Jetpack is inactive/not installed.
2020-02-24 17:47:07 +01:00
Peter Fabian 27b5210fdf Merge branch 'master' into fix/25664-2 2020-02-24 13:34:24 +01:00
Peter Fabian 3dcb3e0106 Correct the fallback check logic for is_staging_site().
There are JP versions where \Automattic\Jetpack\Status exists, but does not
contain is_staging_site() function, so this commit should correctly handle
those cases as well.
2020-02-24 11:01:44 +01:00
Peter Fabian 7ec65a1b35 Added the WC Admin enabled db update notice. 2020-02-23 21:59:03 +01:00
Christopher Allford 6a292de9f9 Cleared the cache when order items are added, updated, or deleted 2020-02-23 12:41:33 -08:00
Christopher Allford e2a09ac1a7 Added a cache clearing method to the order item data store
The order items utilize caching, but the cache is never cleared. This will allow us to resolve this issue in a way consistent with other data stores.
2020-02-23 12:11:23 -08:00
TimBHowe 34bec7d839 Added the get_woocommerce_currency_symbols function to allow developers to get an array of all the currency symbol registered with woocommerce 2020-02-23 13:51:19 -05:00
Patricia Hillebrandt bd53e2eb60 Prevents the Undefined property error when updating the post meta for a given coupon 2020-02-23 14:07:18 +01:00
vedanshujain 6f53f42da6 Add checks to prevent if AS loaded is different version than we expect. 2020-02-21 16:35:37 +05:30
vedanshujain d904786d7d Support both `.data()` and `.datasore` to have better compatibility
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30
Christopher Allford bfac625cdc
Merge pull request #25667 from jacoswan/fix-25666
Fix 25666 - Schema rating markup is missing required bestRating and worstRating
2020-02-19 18:09:23 -08:00
Christopher Allford cc1e0c5f31
Merge pull request #25703 from woocommerce/update/e2e-test-docs
Update documentation related to running e2e and unit tests
2020-02-19 14:15:29 -08:00
Julia Amosova 4a316b776f Fix markdown issue in the content and add more details to the docs 2020-02-19 11:31:27 -05:00
Peter Fabian 88b8c006db Extracted the test to a function and fixed is_callable call. 2020-02-19 14:44:16 +01:00
vedanshujain 90ab985cfb Mark AS migration pending when updating WC to ensure migration happens.
Ideally https://github.com/woocommerce/action-scheduler/pull/470 should take care of this issue, but since we have AS 3.x in the wild without fix in the PR, this change is also necessary.
2020-02-19 18:19:11 +05:30
Julia Amosova 13761799cc Update documentation related to running e2e and unit tests 2020-02-18 17:09:03 -05:00
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 63fcbab7b4 Escape MaxMind database URL 2020-02-16 18:55:49 -03:00
Claudio Sanches fd488e5d2c Apply woocommerce_maxmind_geolocation_database_path filter in maxmind migration 2020-02-16 18:47:03 -03:00
Peter Fabian 80a5ee087c Replaced deprecated is_staging_site call. 2020-02-14 12:01:30 +01:00