View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019122 | phplist application | plugins | public | 21-03-18 11:26 | 27-03-18 13:59 |
Reporter | duncanc | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 3.3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0019122: Check for update to plugins | ||||
Description | I 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. | ||||
Tags | No tags attached. | ||||
|
|
|
Wow, that's great. How far is it to get it tested? FYI @samtuke |
|
It already works so I will create a pull request. It would be good to have a few people testing it. |