Eric Caron

Results 9 issues of Eric Caron

This change keeps outputting, by default, to console. But it also introduces a setLogger prototype for every exposed component to optionally wrap the output into a different logger (e.g. bunyan)...

**Is your enhancement related to a problem? Please describe.** Yes. When our admins are supporting customer subscriptions, the ElasticPress search functionality doesn't "take control" for the WooCommerce subscriptions interface (`wp-admin/edit.php?post_type=shop_subscription`)....

enhancement
module:woocommerce
3rd party

### Description of the Change This change expands the admin search functionality to work on shop_subscriptions just like it does on shop_orders today, expanding on the [WooCommerce subscription-core](https://github.com/Automattic/woocommerce-subscriptions-core) functionality. The...

Completing the suggestion offered in #35. This PR introduces a server option `parseJSON` that, when true (its false by default), will automatically parse all responses delivered by .on('data'... in elasticSearchCall.js....

Being new to this library, and saying this in the hope that an outsider's opinion may be useful, I initially expected the `.on('error'` promises to trap any HTTP 4xx and...

### Describe the bug: If other plugins use Google SDKs, there's a namespace conflict that happens where other plugins using (for example) [apiclient](https://packagist.org/packages/google/apiclient) and are expecting `GuzzleHttpClientInterface` but receive `AutomatticWooCommerceGoogleListingsAndAdsVendorGuzzleHttpClient`....

Code Quality
BE

The current implementation of `grecaptcha.execute` causes 2 problems: * Since reCAPTCHA tokens expire after two minutes (per https://developers.google.com/recaptcha/docs/v3), but execute happens on page load, if the user takes more than...

I know that Solr Search doesn't support WooCommerce [out of the box](https://github.com/pantheon-systems/solr-power/issues/462), and I'm wondering if anyone has done research for how the [WooCommerce HPOS](https://woocommerce.com/document/high-performance-order-storage/) support will impact this plugin....

_[This is a cross-post from a thread on the support form](https://wordpress.org/support/topic/index-rebuild-gets-stuck-no-way-to-resume/)_ - Impacted version: 1.1.9 (also happened in previous versions) **Problem Statement** Our database has ~120k users in it. We’ll...