This is an archive of the old MediaWiki-based ImageJ wiki. The current website can be found at imagej.net.

UpdaterV1

Updater V1 technical details

I'll use this page to document the changes made to the ImageJ Updater in the about to be released version called V1.

What's different

  • Added a check whether Java version supports the HTTPS certificates.
  • Depending on what's supported, the updater will use HTTPS or HTTP links for the update sites on imagej.net (and throw a warning in case HTTPS is not supported)
  • Uploading via HTTPS is working now, both basic and digest authentication supported
  • The updater is smarter about updating URLs of official sites (= listed on the list of available update sites) in case they change remotely
    • It shows a approval dialog for activated update sites, when the URL changed in the official list of update sites.
    • Supports migration from http to https for sites.imagej.net.

Previous version

[src]

Error creating thumbnail: Unable to save thumbnail to destination

Issues:

  • locally saved update sites will just override the ones coming from the list of available update sites (matching by name), therefore remotely changed URLs will not reach the user
  • always using HTTP by default
  • no check if HTTPS is supported, adding an HTTPS address will throw error

New version

[src]
Error creating thumbnail: Unable to save thumbnail to destination

Update Check on Startup

  • this is the `onEvent` Method of the `DefaultUpdateService` which is called when the ImageJ UI is shown. It now includes a check for changed URLs of active update sites.

[src]

Error creating thumbnail: Unable to save thumbnail to destination

Command line usage

ImageJ --update refresh-update-sites --simulate
ImageJ --update refresh-update-sites
ImageJ --update refresh-update-sites --updateall

Relevant PRs

  1. V1 imagej-updater PR
  2. V1 imagej-swing-ui PR
  3. V1 imagej-plugins-uploader-webdav PR

Relevant Issues