Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marketplace improvements #10737

Merged
merged 29 commits into from Oct 22, 2016
Merged

Marketplace improvements #10737

merged 29 commits into from Oct 22, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 14, 2016

fixes #10695

This update brings many new features:

  • New config multi_server_environment to specify whether Piwik is running in a multi server environment. If so, we disable some features like installing plugins from the Marketplace directly as it would be only installed on one server instead of all of them. Instead they are able to download. Same for plugin updates. This will be also useful later for things that changes config entries etc
  • We are now using composer to check whether a dependency is matching the required version or not, allowing us to use constraints as on https://getcomposer.org/doc/articles/versions.md and very likely fixes couple of bugs.
  • Marketplace is now it's own plugin and can be disabled / enabled. It is now fully test with Unit, Integration, System and UI tests where we had no tests before . Config [General]enable_marketplace=0/1 is now disabled and instead we are using the plugin enabled/activated to disable the Marketplace. The updater respects a setting where the Marketplace is already disabled and it won't enable the Marketplace in this case
  • If someone has a subscription for paid plugins, it is now possible to enter a license key, to install all purchased plugins at once and to see a summary of all existing subscriptions. Note: Those features won't work yet!
  • Plugins will be later able to release beta versions of their plugins, and if a beta release channel is enabled, users would receive also beta versions of plugins which is helpful to make plugins compatible with a new Piwik version upfront etc
  • We now try to update plugins via HTTPS (if $coreUpdater->isUpdatingOverHttps())

@tsteur tsteur added c: Marketplace For issues that affect the Matomo Plugin Marketplace where you can download plugins. Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. Needs Review PRs that need a code review and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Oct 14, 2016
@tsteur
Copy link
Member Author

tsteur commented Oct 14, 2016

@sgiehl do you have an idea why LanguagesManagerTest:: testGetTranslationsForLanguages fails in https://travis-ci.org/piwik/piwik/jobs/167524936 ? I understand something seems to be not valid but I don't really get what

@mattab mattab modified the milestone: 2.17.0 Oct 17, 2016
@mattab mattab changed the title Marketplace improments Marketplace improvements Oct 17, 2016
@@ -20,9 +20,18 @@ class Menu extends \Piwik\Plugin\Menu
{
private $marketplacePlugins;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsteur as there are now such nice and complete UI tests & fixture for the Marketplace, would it maybe be do-able to add a single UI test for this " counter-plugins-to-update displayed-in-menu" feature?

@mattab
Copy link
Member

mattab commented Oct 22, 2016

Updated the only FAQ that mentioned enable_marketplace: How do I configure Piwik on a server without Internet?

@mattab mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Oct 22, 2016

return array(
'MarketplaceEndpoint' => function (ContainerInterface $c) {
// if you wonder why this here is configured here again, and the same as in `config.php`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so thoughtful Thomas 😃

@mattab
Copy link
Member

mattab commented Oct 22, 2016

So much code, so many tests... beautifully hand crafted quality software!

This Epic pull request 💥 is going to be merged NOW! 🎉

@mattab mattab merged commit d099e40 into 2.x-dev Oct 22, 2016
@sgiehl sgiehl deleted the pluginsmarketplace branch November 26, 2016 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Marketplace For issues that affect the Matomo Plugin Marketplace where you can download plugins. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants