View Single Post
Old 03-17-2011, 01:38 PM   #1
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
[GUI Plugin] Plugin Updater **Deprecated**

As of Calibre 0.8.6 this plugin has now been directly integrated into Calibre and the version on this thread is now deprecated. The zip file will be kept below for users with earlier Calibre versions for a short period of time, however there will be no ongoing support for issues that may arise or a guarantee for how long it may continue to work.

This plugin offers a GUI to make it easier for Calibre users to download and install new plugins or updates for any of the user-developed plugins that are found within this subforum. One to rule them all, so to speak...

Currently all end-user developed plugins are found as zip files attached to forum threads like this one. A sticky index thread summarises all the plugins available, their latest versions and links to the threads. As plugin developers we update the zip file attached to the first post when we issue a new version, and ensure the index thread is updated by notifying either myself or Kovid.

This plugin removes the need for users to continually visit this subforum just to find plugin updates with the manual download and install steps required. Instead a GUI dialog displays visually for you the current state of the plugins you have installed, with a simple button click to download an update or a new plugin and install it for you.

Main Features of v1.2.5:
  • Display a list of all end user plugins available from the plugins index.
  • Filterable using a dropdown to show plugins installed needing updates (default) or other criteria.
  • Option to open the forum thread for that plugin in a web browser.
  • Install or Uninstall plugins from the dialog, automatically downloading the plugin zip file for you as required.
  • View version history for a plugin if available
  • Enable/disable and configure your installed plugins
  • Ctrl-click or shift/click on the Plugin Updater toolbar/menu to default to displaying all plugins rather than just updates available
  • Run a check in the background at Calibre startup and every 4 hours, updating the plugin icon/name to show when updates are available for your installed plugins
  • Allow users to make donations to the plugin developer

Special Notes:
  • Requires Calibre v0.7.57 or later.

Installation Steps:
  1. Download the attached zip file and install the plugin/add to toolbar/restart Calibre as described in the Introduction to plugins thread.

Paypal Donations:
  • If you find this or any of my other plugins useful please feel free to show your appreciation. I have spent many hundreds of unpaid hours in their development and support so any encouragement for me to continue is appreciated!

Version History:
Spoiler:
Version 1.2.5 - 12 Jun 2011
Sort by plugin name for all views except Not Installed, which is sorted by release date descending

Version 1.2.4 - 05 Jun 2011
Change tooltip for the Donate message so it asks the user to use the right-click menu to Donate
Add to all tooltips the message to right-click for more options

Version 1.2.3 - 01 Jun 2011
Fix copy/paste error in new context menu where configure plugin was going to the forum thread.

Version 1.2.2 - 01 Jun 2011
Add a context menu moving many of the buttons off bottom of dialog onto it

Version 1.2.1 - 26 May 2011
Add support for handling gzip encoding being turned on

Version 1.2 - 15 May 2011
Check for plugin updates in the background at startup and every 4 hours, update icon if available
Add support for donation hyperlink to plugin developers in Plugin Index page
Handle invalid name/value pairs from imperfect editing of the forum index page

Version 1.1.3 - 23 Apr 2011
Add support for ";Deprecated: Yes" to highlight plugins that have reached end of life
Add reading of deprecated plugins from a special section at end of forum post
Support multiple comma separated targets for the "; Uninstall: xxx,yyy" forum page value
Mirror logic added by Kovid to ensure adding a plugin with same name as a built-in one is rejected

Version 1.1.2 - 09 Apr 2011
Support skinning of icons by putting them in a plugin name subfolder of local resources/images

Version 1.1.1 - 04 Apr 2011
Attempt to more gracefully handle a plugin that fails to be loaded when installed

Version 1.1 - 03 Apr 2011
Rewrite for new plugin infrastructure in Calibre 0.7.53
Add a Version History button for reading from SPOILER tags
Fix install button not disabled after last available update installed
Rename Uninstall to Remove plugin for consistency with Calibre dialog
Add buttons to toggle enabled status and show configuration dialog
If plugin launched with ctrl or shift key pressed, show all plugins

Version 1.0.2 - 24 Mar 2011
Fix prints debug statements

Version 1.0.1 - 20 Mar 2011
Fix selection bug if install two plugins in a row

Version 1.0 - 18 Mar 2011
Initial release of Plugin Updater plugin
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1_Updater.png
Views:	354
Size:	88.6 KB
ID:	69434   Click image for larger version

Name:	Screenshot_2_VersionHistory.png
Views:	444
Size:	32.7 KB
ID:	69435  
Attached Files
File Type: zip Plugin Updater.zip (214.0 KB, 1221 views)

Last edited by kiwidude; 06-17-2011 at 03:53 PM. Reason: Note about deprecation
kiwidude is offline   Reply With Quote