Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
mattab opened this Issue · 7 comments

3 participants

Matthieu Aubry hpvd Thomas Steur
Matthieu Aubry
Owner

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"
Matthieu Aubry
Owner

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

Matthieu Aubry
Owner

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?

Thomas Steur
Owner

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

Thomas Steur
Owner

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

Thomas Steur
Owner

In 480421a: refs #4183 verify plugin version

Thomas Steur
Owner

In 7fe93c4: refs #4183 fix wrong use statement

Matthieu Aubry mattab added this to the 2.0.3 - Piwik 2.0.3 milestone
Thomas Steur tsteur was assigned by mattab
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4183 added support for requires (PHP and Piwik officially suppo…
…rted, Plugins partially)
317b291
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4183 verify require definition when uploading a plugin zip file…
… or when installing/updating a plugin
b671c49
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4183 verify plugin version 480421a
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur 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
Something went wrong with that request. Please try again.