Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Enable Plugins Marketplace menu in Piwik #4338

Closed
mattab opened this Issue · 51 comments

3 participants

Matthieu Aubry hpvd Thomas Steur
Matthieu Aubry
Owner

Piwik 2.0 will come with a new powerful feature that marks the beginning of a new era for Piwik.

The "Marketplace" functionality lets Piwik Analytics users add new features, addons, which we call Plugins, in the existing web analytics platform. These Plugins can be developed by anyone in the world and extend Piwik and can do everything from new features to enhancing current ones. Plugins can solve completely new problems and simply reuse Piwik as a powerful technical analytics platform. Or Plugins can be new visualizations, new reports, or just cool user interface tweaks or gadgets.

We are committed to keep the Piwik marketplace open and unrestricted. There are a few rules to publishing in the marketplace. There will be many opportunities for superb plugins, and potential risks in less good ones. Allowing plugins from external contributors is a concern that Piwik platform must make less of a concern by designing very clear interface and messaging.

In your opinion, what does the Piwik Marketplace need before we publicly launch the feature in Piwik 2.0?

Matthieu Aubry
Owner

I thought a bit and here are my thoughts.

Make Plugins & Themes Shine in Piwik core:

  • In Popover, display detailed page so it looks like on here (without top menu). Simple and clean.
    • If Plugins publishers write a great README this popover will be super useful and look real good!
  • Make title + full box clickable to open this Detailed page in popover.
  • To really enable the marketplace: change enable_marketplace = 1 in global.ini.php

Better security and accountability

  • Display author names in search results/ listings in light color so we credit the makers of Plugins (of course they are also displayed clearly in popover).
  • Make official Piwik plugins stand out with a quality seal (since they are not third party)

When there is a new plugin update:

  • In the box, add a link to github to show list of commits between the latest release and the one currently used.
    • This could help with code audit and code reviews of third party plugins, create a climate of trust among the community.
    • It also creates an automatic "changelog" if developers use commit messages wisely.

Publisher Guide

hpvd

just enabled the marketplace by change enable_marketplace = 1 in global.ini.php

so I got a new Menu Item to get to the Market :-)

Just one Question: will it keep beeing an "own section"
or will it be combined with the existing Plugin management?

Combining the features, look and feel etc one could reuse several things like

  • show overview of a plugin
  • show details of a plugin
  • show links to FAQ for a plugin
  • fiter function for plugins
  • search function for plugins
  • ...

and may have a structure like that:

Side Menu:

PLATTFORM

Plugins
-- aktiv/enabled <- see all ACTIVE plugins and have the possibility to DEACTIVATE them
-- installed <- see all INSTALLED plugins and have the possibility to ACTIVATE and uninstall them
-- add new <- see all AVAILABLE plugins and have the possibility to INSTALL them

Thomas Steur
Owner

In 88b7991: refs #4338 make full box clickable and open plugin details page in overlay, work in progress

Thomas Steur
Owner

In e598916: refs #4338 display developer

Thomas Steur
Owner

In c1a4327: refs #4338 format date, open external links in new window

Thomas Steur
Owner

In 3c5d6e9: refs #4338 move logo to zeitgeist

Thomas Steur
Owner

In bed2b00: refs #4338 display an icon for featured plugins

Thomas Steur
Owner

In 2fc7442: refs #4338 better position

Thomas Steur
Owner

In c0a4473: refs #4338 make icons reusable, display piwik owner icon in plugin details as well

Thomas Steur
Owner

In 9fb555f: refs #4338 display featured icon for themes

hpvd

some of the mentioned points/work goes in the same direction as / are congruent to the single items in
"Documenation for core plugins"
#4298

Thomas Steur
Owner

In f3d7b9f: refs #4338 display featured icon in details page as well

Thomas Steur
Owner

In 7ffc599: refs #4338 format last commit date

Thomas Steur
Owner

In 61df7f9: refs #4338 display date only if set

Thomas Steur
Owner

In 1d6aff8: refs #4338 move stylesheets to less files, reuse existing macros

Thomas Steur
Owner

In f914d0d: refs #4338 link to github changelog if possible

Thomas Steur
Owner

In b588eac: refs #4338 align the featuredIcon with the update available message

Thomas Steur
Owner

In af8c030: refs #4338 open plugin names in overlay in case they are third party, do not link to plugin homepage

Thomas Steur
Owner

In 07297be: refs #4338 display update version information in changelog

Thomas Steur
Owner

In 8f65d0a: refs #4338 highlight changelog tab if needed

Thomas Steur
Owner

In 55acf13: refs #4338 little hack to prevent PDFReports and Referer plugin to be clickable as it is not a marketplace plugin, we can currently not identify which plugins are installed via Marketplace

Thomas Steur
Owner

In 493e1e2: refs #4338 fix position of featured icon in old ie

Thomas Steur
Owner

In 3c08ab4: refs #4338 format date, fixed some positions

Thomas Steur
Owner

@hpvd for now it will stay as a separate link/menu but this might change in the future

Thomas Steur
Owner

In 6b3bd8e: refs #4338 display links only if marketplace is enabled

Thomas Steur
Owner

In eb8b174: refs #4338 display link to open plugin in popover only if plugin exists on marketplace

Thomas Steur
Owner

In ffd064e: refs #4338 started to add translations for marketplace

Thomas Steur
Owner

In 852e1e9: refs #4338 forgot translate filter

Matthieu Aubry
Owner

In c873ab4: Refs #4338 Renaming menu to "Marketplace" since that's what the best name for it so far!

Thomas Steur
Owner

In e61dc09: refs #4338 more translation keys

Thomas Steur
Owner

In 92a21a3: refs #4338 fix trailing comma got lost in merge

Thomas Steur
Owner

In 76e649a: refs #4338 we should ignore uninstall links as well

Thomas Steur
Owner

In 6ce5ea7: refs #4338 fix list items are not visible

Thomas Steur
Owner

In 1a95c93: refs #4338 prevent list items appear

Thomas Steur
Owner

In cd6d679: refs #4338 better position for theme update notification

Thomas Steur
Owner

In 86b8957: refs #4338 some minor ui changes

Thomas Steur
Owner

In 19384fa: refs #4338 more translations

Thomas Steur
Owner

In f8ebccd: refs #4338 no links in translations

Thomas Steur
Owner

In e71d5d6: refs #4338 extend lifetime if nonce is requested again to prevent from early timeout if nonce is requested a few seconds before timeout

Thomas Steur
Owner

In bc5ddf9: refs #4338 prevent javascript error on FireFox

Thomas Steur
Owner

The only missing task should be to actually enable the marketplace in core

hpvd

just installed the lastest version from master: looks great :-)

1) one tiny cosmetic thing:
please have a look on the screenshot => security info plugin
FF 25.0

2) and one question for understanding the labels:
what is the exact difference between the plugins

  • which have "developer: piwik" AND the star symbol
  • which only have "developer: piwik"

=> how could a plugin "earn" a star?
?

Thomas Steur
Owner

In a6d2823: refs #4338 position featuredicon correct cross-browser

Thomas Steur
Owner

Thx hpvd, it is fixed in FF25 and made sure it works in other browsers as well.

There can be several reason a plugin "earns" a star. This is not necessarily limited to plugins developed by Piwik. We haven't define any rule yet but it could be for instance if we know a developer keeps the plugin always up to date and working with the latest versions of Piwik, if we know the quality of the plugin is good in terms of usability, security, ... Maybe if a plugin has many many downloads. We will see and decide it from time to time for now. See it has something like "featured plugins" or "editor's choice".

hpvd

@tsteur
thanks very much for your work and detailed answer!

Thomas Steur
Owner

In 5dc57d9: refs #4338 include piwik version number in email subject, separate deactivated and activated plugins, ask for confirmation before uninstalling the plugin

Thomas Steur
Owner

In 7ea3361: refs #4338 if lastError is not set, get them from url param, allows us to create a UI test

Thomas Steur
Owner

In 2d034d0: refs #4338 set a background color, otherwise UI test has transparent background color

Thomas Steur
Owner

In 1b1611d: refs #4338 missing whitespace skip

Matthieu Aubry
Owner

In 23e9a11: Fixes #4338 Enable Marketplace menu link in admin: users can now browse and install plugins and themes from their Piwik server!

Matthieu Aubry mattab added this to the 2.0 - Piwik 2.0 milestone
Matthieu Aubry mattab self-assigned this
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 make full box clickable and open plugin details page in ov…
…erlay, work in progress
88b7991
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display developer e598916
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 move logo to zeitgeist 3c5d6e9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display an icon for featured plugins bed2b00
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 better position 2fc7442
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 make icons reusable, display piwik owner icon in plugin de…
…tails as well
c0a4473
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display featured icon for themes 9fb555f
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display featured icon in details page as well f3d7b9f
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 format last commit date 7ffc599
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display date only if set 61df7f9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 link to github changelog if possible f914d0d
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 open plugin names in overlay in case they are third party,…
… do not link to plugin homepage
af8c030
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 highlight changelog tab if needed 8f65d0a
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 little hack to prevent PDFReports and Referer plugin to be…
… clickable as it is not a marketplace plugin, we can currently not identify which plugins are installed via Marketplace
55acf13
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 fix position of featured icon in old ie 493e1e2
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 format date, fixed some positions 3c08ab4
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display links only if marketplace is enabled 6b3bd8e
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 display link to open plugin in popover only if plugin exis…
…ts on marketplace
eb8b174
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 started to add translations for marketplaceà ffd064e
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 forgot translate filter 852e1e9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Refs #4338 Renaming menu to "Marketplace" since that's what the best …
…name for it so far!
c873ab4
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 more translation keys e61dc09
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 fix trailing comma got lost in merge 92a21a3
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 we should ignore uninstall links as well 76e649a
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 fix list items are not visible 6ce5ea7
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 prevent list items appear 1a95c93
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 better position for theme update notification cd6d679
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 some minor ui changes 86b8957
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 more translations 19384fa
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 no links in translations f8ebccd
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 extend lifetime if nonce is requested again to prevent fro…
…m early timeout if nonce is requested a few seconds before timeout
e71d5d6
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 prevent javascript error on FireFox bc5ddf9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 position featuredicon correct cross-browser a6d2823
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 include piwik version number in email subject, separate de…
…activated and activated plugins, ask for confirmation before uninstalling the plugin
5dc57d9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 if lastError is not set, get them from url param, allows u…
…s to create a UI test
7ea3361
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 set a background color, otherwise UI test has transparent …
…background color
2d034d0
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4338 missing whitespace [ci skip] 1b1611d
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Fixes #4338 Enable Marketplace menu link in admin: users can now brow…
…se and install plugins and themes from their Piwik server!
23e9a11
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.