Commit Graph

186 Commits

Author SHA1 Message Date
Renatho De Carli Rosa c2b066edcb Fix requires_php check 2020-11-13 16:47:26 -03:00
Renatho De Carli Rosa 5cbcdcd92c Add requires_php support
With this check, we're able to avoid updates when the PHP version
is not supported
2020-11-13 16:47:26 -03:00
Claudio Sanches 153ce009de Fixed helper header 2020-09-17 16:50:17 -03:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
budzanowski 57aeff0a71 Update comment. 2020-07-28 11:49:01 +02:00
budzanowski ac501dea64 Don't request empty locales list for plugin translations. 2020-07-28 11:37:51 +02:00
budzanowski 7bc30512a4 Remove extra tab. 2020-07-23 23:22:16 +02:00
budzanowski 623363ba50 Check for if new locale has language pack installed. 2020-07-23 22:52:59 +02:00
budzanowski 70c65f60f2 Don't process if there are no plugins to check. 2020-07-22 12:16:20 +02:00
budzanowski ed1a181eca Update api url. 2020-07-22 10:56:04 +02:00
budzanowski 2d8f308a08 Remove redundant check. 2020-07-21 18:41:34 +02:00
budzanowski 0a10d64394 Update code to the new server setup. 2020-07-20 17:16:18 +02:00
budzanowski 114ce81757 Use singular batch update endpoint. 2020-06-26 11:09:41 +02:00
budzanowski 8f4e1a90c1 Typo fix. 2020-06-14 11:38:57 +02:00
budzanowski bb7e5d1018 Connect the translations server. 2020-06-14 11:14:29 +02:00
budzanowski 5277bf8b60 Add language packs automatic delivery code. 2020-06-11 14:31:55 +02:00
Christopher Allford 278cadea67
Merge pull request #26080 from yoavf/fix/helper-toggle-rtl
Addons/Helper: fix toggles in RTL mode
2020-05-11 19:58:45 -07:00
Christopher Allford 7e2e9b8695
Merge pull request #26167 from woocommerce/fix/25889
Removed  legacy notification to connect with WooCommerce
2020-05-11 19:56:46 -07:00
Vedanshu Jain 31b648d479
Merge pull request #26358 from woocommerce/fix/26348
Clear only plugin cache if WC header are not present to load with WC headers.
2020-05-11 18:14:39 +05:30
Joshua T Flowers 43ab840e1a
Add a put method to the WC_Helper_API (#26262)
* Merge wc api authorization headers with given headers

* Add put method to WC_Helper_API

* Add unit test coverage around WC_Helper_API request methods

* Add tests for WC_Helper_API url method
2020-05-06 19:25:23 +03:00
vedanshujain 62ef169940 Simplified logic for better readability. 2020-05-02 00:31:54 +05:30
vedanshujain e97fd683c6 Add extra comments 2020-05-01 21:19:25 +05:30
vedanshujain 57e2e82961 Clear plugin cache if WC header are not present to load with WC headers.
WC headers are added in filter `extra_plugin_headers`, however, in case when WooCommerce is activated/updated, `get_plugins` will be called and cache will be set before this filter can be cached.

Also, `get_plugins` call is expensive even with update cache present, so we should clear it very conservatively.
2020-05-01 21:14:21 +05:30
Denis Dvali ee9e838918 Reset plugin cache before retrieving plugin list on Subscriptions tab. 2020-04-22 19:55:13 +03:00
Fernando Marichal 134c0ea0db The function '_prompt_helper_connect' was deleted
After removing the legacy code the method '_prompt_helper_connect' wasn't useful anymore so it was removed.
2020-04-15 13:35:56 -03:00
Fernando Marichal f83e5d32a4 Removed legacy notification to connect with WooCommerce
Removed legacy JITM for connecting with WooCommerce.com
2020-04-12 13:49:38 -03:00
Yoav Farhi af288e6ae1 make sure the woocommerce-helper rtl css file is loaded 2020-04-05 10:59:32 +03:00
Christopher Allford 4b454a8b3d Replaced the default error text for upgrades of expired WooCommerce.com plugin subscriptions 2020-03-30 14:11:02 -07:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Denis Dvali e496d6ea3f Adding doc comments to comply with coding standard. 2020-02-03 22:14:00 +03:00
Christopher Allford 1d1413b4ee Replaced direct access of many constants with the Constants library 2020-01-31 22:18:47 -08:00
Denis Dvali 9e25706467 Add query params as fallback for passing authentication data to WC Helper API. 2020-01-30 15:17:50 +03:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
tgglv c277696b65 Make WCCOM helper subs cache cleaning public
Relates: https://github.com/Automattic/woocommerce.com/issues/6535
2019-10-11 17:59:39 +05:00
Claudio Sanches d13d6543f7
Merge pull request #24451 from woocommerce/add/in-app-connect
Add support to allow connect and install for in-app purchase flow.
2019-09-03 21:33:39 -03:00
Yash Kapoor 478f8eae17
Update html-oauth-start.php
Added translation.
2019-08-22 16:47:01 +05:30
Akeda Bagus aae802f319
Add support to allow in-app purchase installation after connected. 2019-08-17 00:36:28 +07:00
Gerhard 5ea1b72b6a PHPCS fixes 2019-08-05 13:51:46 +02:00
Daniel Bitzer b59e633b15 Fix output escaping for menu titles
Menu title contains HTML
2019-08-05 13:51:45 +02:00
Akeda Bagus f51265e58d
Add @since tag. 2019-07-15 15:42:36 +07:00
Akeda Bagus d51e843190
Move WCCOM Site related files to `/wccom-site` directory.
Also use queue when installing products so API can respond immediately.
2019-07-11 16:01:53 +07:00
Akeda Bagus c59e1c3553
Fix minor wording issue in error message. 2019-07-11 15:58:06 +07:00
Akeda Bagus 9d047fd912
Make sure to flush cache before checking wccom updates. 2019-07-11 15:58:06 +07:00
Akeda Bagus 18b503dbd6
Add support for theme installation. 2019-07-11 15:58:06 +07:00
tgglv c0d9fc7fc3
Make WP.org plugin support installation method names more precise 2019-07-11 15:58:06 +07:00
tgglv 6eeefd1341
Add WP.org plugin support into Product Activation 2019-07-11 15:58:05 +07:00
tgglv 1fae1d7ba2
Remove redundant line 2019-07-11 15:58:05 +07:00
tgglv 527fbca149
Store product's `installed_path` 2019-07-11 15:58:05 +07:00
tgglv 1dff186076
Add @return types into annotations 2019-07-11 15:58:05 +07:00