setup.py: add allmydata/web/static/img/*.png to package_data. refs #1969

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Add dummy __init__.py files for directories containing data. fixes #1960

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
mutable/retrieve.py: inline the single-use function _remove_reader.

A simple refactoring. Doesn't even require a new or updated unit test.

Author: Zooko O'Whielacronx <zooko@zooko.com>
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Raise NotEnoughSharesError if there are initially not enough shares for a mutable retrieve. refs #1742

We also change the order of setting up attributes in Retrieve so that _raise_notenoughshareserror() can be called from _setup_download.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
mutable/retrieve.py: improve comments. refs #1742

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Include the number of remaining shares of the right version in NotEnoughSharesError messages.

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Add a test for raising NotEnoughSharesError when a Retrieve object is created with an insufficient servermap. refs #1742

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Improvements to test refs #1742

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
Merge branch 'master' into truckee
properly describe saving incident reports. closes #1974
wui: add time page was rendered. (closes #1972)
Merge branch '1972-rendered-at' into truckee
Merge branch '1974-save-incident' into truckee