View Issue Details

IDProjectCategoryView StatusLast Update
0019122phplist applicationpluginspublic27-03-18 13:59
Reporterduncanc 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version3.3.2 
Target VersionFixed in Version 
Summary0019122: Check for update to plugins
DescriptionI have done some work on the Plugins page to check for updates being available, and to filter plugins by enabled/disabled or update available, in a similar way to Wordpress.

For a while I have been using git tags to identify each plugin version, where the tag is strictly increasing. So if the latest tag is greater than the version of the plugin installed then that indicates a new version. GitHub provides an api to get the tags of a repository so it is straightforward to get the latest tag for a plugin.

But the github response time is a bit slow, only two or three queries a second, and github restricts to 60 queries in one hour, so the query result is cached in the session for one hour. so the first time someone views the Manage Plugins page there will be a slight delay for the queries, depending on how many plugins are installed, but after that the cached query result will be used.

TagsNo tags attached.

Activities

duncanc

21-03-18 11:26

developer  

filter_all.png (36,772 bytes)
filter_all.png (36,772 bytes)

michiel

26-03-18 20:20

manager   ~0060163

Wow, that's great. How far is it to get it tested?
FYI @samtuke

duncanc

27-03-18 13:59

developer   ~0060170

It already works so I will create a pull request. It would be good to have a few people testing it.