Commit Graph

68 Commits

Author SHA1 Message Date
Claudio Sanches 196d5e77cb
Merge pull request #23041 from woocommerce/update/21701
Add hooks for helper subscription changes
2019-05-21 18:27:15 -03:00
Mike Jolley 3a8c3b3813 Update download URL in helper 2019-03-26 11:36:41 +00:00
Mike Jolley 6b82636e33 phpcs 2019-03-15 16:16:53 +00:00
Mike Jolley 5ee5227dac Hooks for all actitation and deactivation events 2019-03-15 16:02:55 +00:00
Mike Jolley d6a38dce55 woocommerce_helper_subscription_deactivate_success 2019-03-15 15:45:50 +00:00
Mike Jolley 3f5f437b9e woocommerce_helper_subscription_activate_success 2019-03-15 15:42:17 +00:00
Mike Jolley f8dded8b49 merge refactor/22762 into master 2019-03-12 13:49:10 +00:00
Mike Jolley 72870d808c
Merge pull request #22890 from woocommerce/fix/21785
Avoid changing tracking preferences when disconnecting helper
2019-03-11 17:04:29 +00:00
Mike Jolley fbda3a91d8 Merge feature/add-tracks into master 2019-03-11 15:15:50 +00:00
Mike Jolley 6f35239a26 Move activate/deactivate hooks to main WC class 2019-03-08 12:50:06 +00:00
Mike Jolley fcf2a1d027 Move helper includes into helper class 2019-03-08 12:48:40 +00:00
Paul Sealock 09dec90831 getting there 2019-03-08 10:20:50 +13:00
Paul Sealock 712f06014d moar 2019-03-08 10:08:34 +13:00
Mike Jolley 0b3a57c96f Avoid changing tracking preferences when disconnecting helper 2019-02-27 14:04:50 +00:00
haszari 8dbda1b9c9 revert suggestion-related changes in helper:
- no longer required, now using active plugins for suggestions
- get_local_woo_plugins needs to not be cached
- left plugin `slug` in get_local_woo_plugins values, may be useful
2019-02-27 10:19:56 +13:00
haszari 37578aa5d4 Merge branch master into feature/marketplace-suggestions
# Conflicts:
#assets/css/admin.scss
2019-02-22 14:17:20 +13:00
Jeff Stieler e41b0985f3
Track Subscriptions connection actions (#22805)
* Track when the Helper connection process is started.

* Track when the Helper connection process is cancelled.

* Track when the Helper connection process has completed successfully.

* Track when the Helper has been disconnected.

* Track when the Helper refreshes subscriptions.
2019-02-21 16:28:15 -07:00
haszari 48946b3cc6 Cache local woo plugins info rather than slugs-only subset:
- cache woo_plugins object for more general use
- streamline get_local_woo_plugin_slugs using pluck
2019-02-22 12:17:38 +13:00
haszari e53f92ae0d move woo-plugin slugs into a helper routine + cache installed woo plugins in a transient 2019-02-21 11:27:53 +13:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
Kanishk c7fc4a9521 Refactored code to add filters on plugins_loaded 2018-11-07 02:32:57 +05:30
Kanishk 2c642f3880 Cleaned cache right after filters are added 2018-10-28 16:55:07 +05:30
Kanishk 9bd4a8957f Purged plugin and theme cache so that the helper can detect locally installed plugins and themes 2018-10-25 15:27:04 +05:30
Mike Jolley cdec3321ac Broken log due to variable 2018-04-30 16:23:49 +01:00
Mike Jolley d6a6356d53 After activating a subscription, caches for updates must be purged 2018-04-24 15:43:52 +01:00
Philip Downer 73ff850b82 Add filter to suppress WordPress.com connection message.
Allows developers to supress only the WordPress.com connection message, while still leaving other admin notices (eg., upgrade notice) in place.
2018-04-03 13:42:01 -05:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Claudio Sanches da8fdc0c91 Include "translators" notation #18671 2018-01-31 15:25:38 -02:00
Shohei Tanaka 78e41d225a
Fix : Argument swapping at sprintf
change the arguments from %s to %1$s and %2$s.
2018-01-31 05:50:56 +09:00
Mike Jolley 6389f1af9a Merge branch 'fix-18452' 2018-01-22 15:43:32 +00:00
Mike Jolley 02ebd8f2ee Coding standards 2018-01-22 15:43:23 +00:00
Konstantin Kovshenin 9a496e5d88 Helper: Fix some code problems in the connection prompt.
* Use `wc_get_screen_ids()` instead of hard-coding a list.
* Use the `$strict` param in `in_array()`
* Run the WooCommerce string through l10n to make sure we target the correct screen in non-English installs
2018-01-19 20:58:36 +03:00
Konstantin Kovshenin 3c3077d305 Helper: Prompt a Helper connection only on relevant screens.
Fixes #18452
2018-01-18 12:28:00 +03:00
Jonathan Belcher 77578c5509
Corrects string to use sprintf properly 2018-01-17 10:35:43 -05:00
Jonathan Belcher dbb0f6f1ef Add links to Sharing and Transferring string 2018-01-16 14:35:30 -05:00
Jonathan Belcher 535e1c5b58
Updates Helper text to be correct 2018-01-15 11:41:32 -05:00
Konstantin Kovshenin 1928a9cbf6 Helper: Prompt connection to WooCommerce.com for updates/support
A persistent prompt for users to connect their store to their
WooCommerce.com account, if they happen to have one or more active
extensions provided by WooCommerce.com.

Fixes #17501
2017-12-13 19:34:44 +03:00
The Dramatist 8ac49d448b Unused parameter removed form get_filters method of WC_Helper class. (#17888) 2017-11-23 11:49:12 +00:00
Konstantin Kovshenin 70a72693c3 Helper: Fix automatic subscription activation
Fixes a bug where automatic subscription activation upon plugin
activation does not trigger due to the subscription being unlimited.
2017-10-06 17:12:55 +03:00
Konstantin Kovshenin d63eb56753 Helper: Add a new filter to display only installed extensions. 2017-09-27 15:17:24 +03:00
Konstantin Kovshenin 4a5d0c3ec3 Helper: Clean up unused code. 2017-08-30 18:39:45 +03:00
Konstantin Kovshenin ebb5bfc521 Helper: Better markup for filters output. 2017-08-30 17:39:02 +03:00
Konstantin Kovshenin 8b46283ca6 Helper: Fix some WPCS errors. 2017-08-29 10:23:34 +03:00
Konstantin Kovshenin a3b08d6497 Merge remote-tracking branch 'origin/master' into helper-updates 2017-08-28 13:46:14 +03:00
Konstantin Kovshenin 6b14b83cd2 Helper: Make sure redirect actions preserve selected filters. 2017-08-28 11:53:31 +03:00
Konstantin Kovshenin 5fded42d28 Helper: Add subscriptions filters. 2017-08-28 11:39:41 +03:00
Mike Jolley 9d877a3b34 Unused vars 2017-08-23 14:40:34 +01:00
Mike Jolley b20ef5dcac Styling 2017-08-21 15:53:08 +01:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Mike Jolley e432d2d0ad Fix styling and connect button in non-english languages 2017-07-10 16:29:06 +01:00