Plugins: support "require" particular Piwik version and/or a minimum PHP version #4183

Closed
mattab opened this Issue Sep 26, 2013 · 7 comments

3 participants

@mattab
Piwik Open Source Analytics member

It would be useful to implement support for the "require" attribute of the plugin.json

  • Hide the "Install Plugin" button if requirements not met
    • display "Please update PHP/Piwik to a newer version, PHP > X is required for $plugin"
@mattab
Piwik Open Source Analytics member

out of scope here, but may be useful later: Plugins: support "require" other plugins #4485

@mattab
Piwik Open Source Analytics member

This plugin will be important to have with Custom Alerts, Custom Alerts will require at minimum 2.0.3 or so.

@hpvd

milestone 2.0.3 is great!!

why? because (copied from 4485):
yes this is looking very very useful to me too.
especially because I'm (like most of the piwik users) no programmer and that's why I like if things work as aspected "out of the box" - without having a great interesting challenge before working out how it might work... :-)

=> maybe we should implement this as early as possible ... because this is one of the great features which guarante e a hassle-free user experience for everyone
which may prevent users talking about piwik as a "tinkering software" which still can only be used (for advanced jobs) by skilled programmers... which may influence other adaptors negatively in their decision turning to piwik.

btw: do you see more of this features helping for a hassle-free user experience?

@tsteur
Piwik Open Source Analytics member

In 317b291: refs #4183 added support for requires (PHP and Piwik officially supported, Plugins partially)

@tsteur
Piwik Open Source Analytics member

In b671c49: refs #4183 verify require definition when uploading a plugin zip file or when installing/updating a plugin

@tsteur
Piwik Open Source Analytics member

In 480421a: refs #4183 verify plugin version

@tsteur
Piwik Open Source Analytics member

In 7fe93c4: refs #4183 fix wrong use statement

@mattab mattab added this to the 2.0.3 - Piwik 2.0.3 milestone Jul 8, 2014
@tsteur tsteur was assigned by mattab Jul 8, 2014
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4183 added support for requires (PHP and Piwik officially suppo…
…rted, Plugins partially)
317b291
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4183 verify require definition when uploading a plugin zip file…
… or when installing/updating a plugin
b671c49
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4183 verify plugin version 480421a
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4183 fix wrong use statement 7fe93c4
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment