Commit Graph

45 Commits

Author SHA1 Message Date
Mike Jolley e432d2d0ad Fix styling and connect button in non-english languages 2017-07-10 16:29:06 +01:00
Akeda Bagus 53807185a8
Fixed typos.
These typos are catched by `misspell` program.

```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen |  xargs misspell -w
```

Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Mike Jolley 1d9148241c Merge pull request #15751 from woocommerce/feature/helper
Helper copy update
2017-06-23 16:17:24 +01:00
José Marques 22da32bd9c Helper: removes unnecessary caps in copy 2017-06-23 12:49:05 +01:00
José Marques f0f6495dc5 Helper: updates conpy and button class on connection screen 2017-06-23 09:29:20 +01:00
Konstantin Kovshenin 29c000207a Helper: Escape sites_active and sites_max on subscription output. 2017-06-22 17:17:49 +03:00
Konstantin Kovshenin 45a6c45b8f Helper: Better code readability for primary/secondary classes. 2017-06-22 16:59:39 +03:00
Konstantin Kovshenin 0786c31d15 Helper: Escape `master_user_email` on output. 2017-06-22 16:49:10 +03:00
Konstantin Kovshenin 0cd10a12ef Helper: Move subscription sorting into methods for PHP 5.2 compat. 2017-06-22 16:47:07 +03:00
Gerhard Potgieter b15e576f5b Use !empty instead of isset for checking master_user_email 2017-06-22 11:10:33 +02:00
Konstantin Kovshenin 4cb1c8f7ce Helper: Add missing period at the end of a sentence. 2017-06-22 11:28:28 +03:00
Konstantin Kovshenin 74da37890f Helper: Fix undefined notices on button label and URL. 2017-06-22 11:26:26 +03:00
Konstantin Kovshenin 5b7070d2ea Helper: Sort subscriptions by name. 2017-06-21 18:43:19 +03:00
Konstantin Kovshenin e67babf77a Helper: Fix download button class for expiring subscriptions. 2017-06-21 18:15:45 +03:00
Gerhard Potgieter 6d3e3fd5e5 Merge branch 'feature/helper' of github.com:woocommerce/woocommerce into feature/helper 2017-06-21 16:58:26 +02:00
Gerhard Potgieter e08df8d2aa Adjust messaging and display information for collaborator accounts on woocommerce.com subscription page. 2017-06-21 16:57:16 +02:00
Konstantin Kovshenin 346b446283 Helper: Fix label for maxed out subscriptions. 2017-06-21 17:50:34 +03:00
Konstantin Kovshenin 41ea3f3f43 Helper: Pass a migrate flag if migrating during token exchange 2017-06-21 16:23:57 +03:00
Konstantin Kovshenin 16f2541e9b Helper: Set helper compat screen slug to woothemes-helper.
Previously the helper compat screen used a different slug, but
since updates can be done without refreshing the screen via AJAX
the old menu item doesn't disappear until a full refresh. This fix
allows users to navigate to that same menu item and not get an
error.
2017-06-21 15:28:30 +03:00
Konstantin Kovshenin 247e13e2ca Helper: Various Improvements (#15519)
* Helper: Improve messaging and CTAs

* Helper: Update copy on connect flow

* Helper: Improve messaging around plugins without a subscription

* removes toggle from extensions that cannot be activated

* Helper: Add new `WC_Helper_Compat` class for legacy helper compat

This new class removes some of the actions from the legacy helper
(updater) plugin, attempts to migrate an existing legacy connection
to a new one, attempts to deactivate the old helper plugin.

* Helper: Improve messaging around maxed out subscriptions

* Helper: Enable `WC_Tracker` when connected to WooCommerce.com

* Helper: adds styles for manual licence form row and other visual improvements

* Helper: removes disabled toggles

* Helper: adds styles for connection component

* Helper: redesigned connection module

* Helper: rotates the connection module chevron on mouse hover

* Helper: adds some fixes to the key form on mobile and other updates to meet coding standards

* Helper: Only mark action as primary if there's a CTA button.

* Helper: Better handling for woothemes_updater_notice

Remove the updater notice built into extensions and themes, even
if the legacy Helper plugin is deactivated.

* Helper: Navigate existing Helper users to the new place.

Adds a Dashboard menu item and direct users of the old helper
plugin to the new Extensions screen.

* Helper: Do not show the back-compat menu item for new users

* Helper: Avoid notice in API authentication if credentials are missing

* Helper: Hide the back-compat menu item when users see the new screen

Also sets the user_id for the connection if one was not previously set.
2017-06-14 14:12:53 +01:00
Claudio Sanches 527fa0d07a Fixe CHMOD 2017-06-05 14:45:30 -03:00
José Marques 3d516ab9cd removes checkbox toggle markup and replaces inactive toggles links with spans 2017-06-02 11:22:48 +01:00
José Marques be229a3e5b replaces active/deactivate buttons with toggles 2017-06-01 12:51:45 +01:00
Konstantin Kovshenin aa6353bfa1 Helper: Clean up navigation/headings, remove some noop markup. 2017-05-30 22:26:33 +03:00
Konstantin Kovshenin 1dc7e507b1 Helper: Redesign (work in progress) 2017-05-30 20:50:14 +03:00
Konstantin Kovshenin 556c2cf84c Helper: Add tabbed interface to WooCommerce > Extensions 2017-05-30 19:46:26 +03:00
Konstantin Kovshenin dda05889eb Helper: Avoid an undefined warning in the main template 2017-05-25 23:44:29 +03:00
Konstantin Kovshenin 8b5c5c0bd6 Helper: Add better update URLs to theme subscriptions 2017-05-24 18:15:07 +03:00
Konstantin Kovshenin f912f39364 Helper: Add better update URLs to plugin subscriptions 2017-05-24 18:11:37 +03:00
Konstantin Kovshenin 353eac70ca Helper: Remove some legacy updater notices 2017-05-24 18:10:31 +03:00
Konstantin Kovshenin e8afe57593 Helper: Add contextual nags about available extension updates 2017-05-24 14:59:48 +03:00
Konstantin Kovshenin a1b3d2834b Helper: Fix duplicate product output 2017-05-24 13:04:52 +03:00
Konstantin Kovshenin dc2360711f Helper: Toggle subscription on plugin activation/deactivation
When a user activates or deactivates an extension, attempt to find
a valid subscription for that extensioni, and activate/deactivate it
to spare the user an extra step.
2017-05-03 14:37:36 +03:00
Konstantin Kovshenin 39218ea323 Helper: Remove everything related to woocommerce.dev 2017-05-03 13:45:43 +03:00
Konstantin Kovshenin 564327cac3 Helper: Use strict comparison when checking response code from update-check 2017-05-03 13:34:55 +03:00
Konstantin Kovshenin ca93452354 Helper: Fix some missing docblocks 2017-05-03 13:33:39 +03:00
Konstantin Kovshenin 48a44eb7e5 Helper: Add some missing docblocks 2017-04-26 18:50:38 +03:00
Konstantin Kovshenin c440994883 Helper: Don't use assignment in helper disconnect check 2017-04-26 18:39:26 +03:00
Konstantin Kovshenin ed734f350d Helper: Use date_i18n() instead of date() 2017-04-26 18:38:24 +03:00
Konstantin Kovshenin eacffb823a Helper: Add l10n functions to all strings 2017-04-26 18:36:20 +03:00
Konstantin Kovshenin 2e55b3076d Helper: Yoda condition in _http_request_host_is_external 2017-04-26 18:33:17 +03:00
Konstantin Kovshenin 5e892f9081 Helper: Strict equality check on slugs in `plugin_information` calls 2017-04-26 16:04:46 +03:00
Konstantin Kovshenin b4ba43f551 Helper: Use `wp_safe_remote_request` for external calls.
Also whitelists woocommerce.dev as an external URL if
WP_DEBUG is turned on.
2017-04-26 15:57:56 +03:00
Konstantin Kovshenin 9fe91c7a2e Helper: Fix some phpcs issues 2017-04-21 15:35:27 +03:00
Konstantin Kovshenin e8b9bc8f98 Helper: First pass at merging the Helper plugin into WooCommerce
* Connect a site to a WooCommerce.com account
* List available product subscriptions
* Activate/deactivate subscriptions and extensions
* Serve updates for active subscriptions
2017-04-21 15:05:44 +03:00