Manage update sites: really remove update sites when 'Remove' was clicked

Reported by Mark Hiner in https://github.com/fiji/fiji/issues/64

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Accelerate the updater progress

In particular when checksumming very many files, it does not make too
much sense to update the progress dialog slavishly: the GUI update takes
substantially more time than the action whose progress is to be reported
in that case. So let's just skip it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the "Update Site" column to the update table

This addresses https://github.com/imagej/imagej-ui-swing/issues/4.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a test class for easy interactive testing

This is not a unit test; it uses the test infrastructure to build up
a working directory with two update sites and a couple of changes ,
then fires up the GUI.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater: merge Apply changes/Upload to server into a single button

It was confusing users that there were two buttons to 'apply changes'.

This fixes #22.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Updater: disallow mixing upload/download actions

Many users got confused about uploading and downloading. Due
to technical reasons, there is a huge difference between
installing/uninstalling and uploading to/removing from update sites.

Let's make it easier on users and just not offer to mix both.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove superfluous @SuppressWarnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Avoid using the deprecated AppUtils class

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bump parent to benefit from the new imagej-updater version

There are a few new APIs imagej-updater we are about to use...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Save db.xml.gz even when just enabling/disabling update sites

Since db.xml.gz contains the information which update sites we follow,
we might need to write it even if no files were updated.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Handle file status/action correctly after disabling an update site

This is the big change to use the just-introduced API that is supposed
to help us when disabling an update site.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use FilesCollection to (de)activate update sites

Most of the logic moved into the core because it has literally nothing
to do with Swing.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'upload-fixes-ui'

This is the GUI part of several bug fixes/enhancements to the uploading
part of the updater, most notably the problem when deactivating an
update site and immediately uploading (the metadata was all wrong, in
particular the metadata about previous versions).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'update-sites'

This topic branch exposes the update site as an extra column in the
table listing all the files.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>