Feature #3177

Add "Check for updates" functionality to installed plugins

Added by Maxim KruĊĦina about 9 years ago. Updated almost 4 years ago.

Status:ClosedStart date:2009-04-15
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Plugin Request
Target version:2.5.2
Resolution:Fixed

Description

On page with overview of installed plugins, there is version of currently installed plugin, which is ok.
My idea is to have simply one more column, where will be displayed lates version of plugin.
It can be done simply by accessign special Plugin's URL, on which plugin developer return latest plugin version.
If there is newer plugin version, table field should be green, or so.
Also, there can be for example 1x per week email with notification about possible plugin updates sent to redmine admin.

zh-TW.yml Magnifier (453 Bytes) Sam Sheen, 2014-07-17 02:33


Related issues

Related to Redmine - Feature #5863: Remove All Plugins New 2010-07-10
Related to Redmine - Defect #16794: plugin update check not working correctly New

Associated revisions

Revision 13042
Added by Jean-Philippe Lang about 4 years ago

Adds "Check for updates" for installed plugins (#3177).

Revision 13043
Added by Jean-Philippe Lang about 4 years ago

Adds strings to locales (#3177).

Revision 13044
Added by Jean-Philippe Lang about 4 years ago

Adds strings to locales (#3177).

Revision 13052
Added by Jean-Philippe Lang about 4 years ago

Missing closing tag (#3177).

History

#1 Updated by Eric Davis about 9 years ago

I've thought of something similar. Once my current commitments slowdown, I'll see what we can do for this.

#2 Updated by Paul paul almost 8 years ago

Eric Davis wrote:

I've thought of something similar. Once my current commitments slowdown, I'll see what we can do for this.

Has there been any progress on this? Thank you.

#3 Updated by Eric Davis over 7 years ago

  • Assignee deleted (Eric Davis)

#4 Updated by Jean-Baptiste Barth about 5 years ago

  • Category changed from Plugin API to Plugin Request

It could be implemented as ... a plugin (a bit meta I admit). http://www.redmine.org/plugins would be a good basis for that but unfortunately it isn't widely used for now. An other solution would be to have plugins distributed as gems, but again, this is not a technical issue I think, more a "usage" one. Having the plugin tell itself how it can check its version wouldn't be a good solution imho (mainly security concerns)

#5 Updated by Jean-Philippe Lang about 4 years ago

  • Subject changed from Add update functionality to installed plugins to Add "Check for updates" functionality to installed plugins
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.6

#6 Updated by Jean-Philippe Lang about 4 years ago

  • Target version changed from 2.4.6 to 2.5.2

#7 Updated by Jean-Philippe Lang about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Merged.

#8 Updated by Ivan Cenov about 4 years ago

If the list of plugins is long, the link ':label_check_for_updates' is not seen. I added following and before the table - it seems to me conveniently. If you think the same you may want to add it in plugins.html.erb.

<p><a href="#" id="check-for-updates"><%= l(:label_check_for_updates) %></a>

<% if @plugins.any? %>
<p><a href="#" id="check-for-updates"><%= l(:label_check_for_updates) %></a>
<table class="list plugins">
...

#9 Updated by Kirill Bezrukov (RedmineUP) about 4 years ago

Would be great to have something like plugin_website_indetifier, because sometime plugin directory already has the same identifiers.

Ex. I have plugin redmine_contacts, but redmine_contacts already busy on redmine.org with another plugin and main called crm.

#10 Updated by Tobias Fischer about 4 years ago

As this issue is still planned for v2.5.2 I'd like to point out issue #16794 to you as it seems that the plugin check doesn't always work as expected.
Probably someone can have a look... Thanks!

#11 Updated by Alex Bevilacqua about 4 years ago

I started to develop something like this (https://github.com/alexbevi/redmine_plugin_updates) but the goal was to parse the version from the init.rb of a plugin on a public scm. As a core implementation will be much more useful than a plugin, I've abandoned my own effort, but it might be beneficial to have an option to check alternate sources for updates, as not all plugins are registered in the plugin directory.

#12 Updated by Akiko Takano almost 4 years ago

Alex Bevilacqua wrote:

I started to develop something like this (https://github.com/alexbevi/redmine_plugin_updates) but the goal was to parse the version from the init.rb of a plugin on a public scm.

Hi, thank you for your posting and above plugin. Since I've tried that I'll send some feedback if you don't mind:)

#13 Updated by Akiko Takano almost 4 years ago

Thanks for this feature.

But in my environment, Firefox failed to get plugin information from redmine.org's api. I wonder if the cross domain limitation with ajax or not.
Chrome, Safari works fine.

#14 Updated by Sam Sheen almost 4 years ago

provide plugin translation for Tradional Cheinese

#15 Updated by Go MAEDA almost 4 years ago

Sam Sheen wrote:

provide plugin translation for Tradional Cheinese

You would be better to create a new issue. You can see examples.

#16 Updated by Toshi MARUYAMA almost 4 years ago

Sam Sheen wrote:

provide plugin translation for Tradional Cheinese

It seems for https://github.com/go2null/redmine_issue_checklist/tree/master/config/locales .

#17 Updated by Etienne Massip almost 4 years ago

  • Related to Defect #16794: plugin update check not working correctly added

Also available in: Atom PDF