There is no mechanism for reporting on installed versions of libraries and checking for updates like Drupal core does for modules and themes. Thus the job is done inconsistently by modules that attempt it. For example, jQuery UI used to add an item to the status report with the installed version. WYSIWYG has it's own report-like interface. HTML Purifier used to poll the vendor web site and display a message on admin pages when it was out-of-date. But there's no single place to go to see the installed versions of all libraries registered with the system with latest available versions for each.
I propose the addition of a two things:
- A report, similar to Drupal core's "Available updates", that displays version information for all libraries registered in the system with links to vendor web sites and such.
- A mechanism for checking for and alerting administrators to available updates, probably a status report item and optional email notifications, like core does.
I think these would improve the site builder/administrator experience and help keep sites more stable and secure.
- Get feedback on the proposal.
- Agree upon a solution, including API additions.
- Write a patch implementing the solution!
- Write tests.
- Update documentation.
User interface changes
Original report by tstoeckler
This patch implements a UI for Libraries at /admin/reports/libraries.
The code can probably be cleaned up a bit, but I guess the basic layout/design needs to be decided upon first.
This depends on .
Screenshot attached. I just enabled the test module from and visited /admin/reports/libraries and that's what you see.
PASSED: [[SimpleTest]]: [MySQL] 149 pass(es).