tahoe-lafs/src/allmydata/web
Brian Warner 0dee2a6036 storage: add a lease-checker-and-expirer crawler, plus web status page.
This walks slowly through all shares, examining their leases, deciding which
are still valid and which have expired. Once enabled, it will then remove the
expired leases, and delete shares which no longer have any valid leases. Note
that there is not yet a tahoe.cfg option to enable lease-deletion: the
current code is read-only. A subsequent patch will add a tahoe.cfg knob to
control this, as well as docs. Some other minor items included in this patch:

 tahoe debug dump-share has a new --leases-only flag
 storage sharefile/leaseinfo code is cleaned up
 storage web status page (/storage) has more info, more tests coverage
 space-left measurement on OS-X should be more accurate (it was off by 2048x)
  (use stat .f_frsize instead of f_bsize)
2009-03-06 22:45:17 -07:00
..
__init__.py tweak webish to use resource_filename to find css and html files 2008-01-22 17:44:58 -07:00
check_results.py test_checker: improve test coverage for checker results 2009-02-23 14:19:43 -07:00
check-and-repair-results.xhtml test_checker: improve test coverage for checker results 2009-02-23 14:19:43 -07:00
check-results.xhtml rename "checker results" to "check results", because it is more parallel to "check-and-repair results" 2009-01-06 13:37:03 -07:00
common.py storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
deep-check-and-repair-results.xhtml deep-check-and-repair: improve results and their HTML representation 2009-01-12 18:56:19 -07:00
deep-check-results.xhtml checker: add is_recoverable() to checker results, make our stub immutable-verifier not throw an exception on unrecoverable files, add tests 2008-11-06 22:35:47 -07:00
directory.py web: full patch for HTML-vs-plaintext traceback renderings, improve test coverage of exception rendering 2009-03-03 21:56:30 -07:00
directory.xhtml web/directory: add a link from readwrite directories to a read-only version, and fix the 'SI=xxx' header to actually use the storage index, not the writekey 2009-01-30 19:32:05 -07:00
download-status.xhtml download status: add time spent paused by the client (when we're serving over a slow HTTP link) 2008-04-21 12:19:17 -07:00
filenode.py web: full patch for HTML-vs-plaintext traceback renderings, improve test coverage of exception rendering 2009-03-03 21:56:30 -07:00
helper.xhtml webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
info.py rename "get_verifier()" to "get_verify_cap()" 2008-12-08 12:44:11 -07:00
info.xhtml web: add 'more info' pages for files and directories, move URI/checker-buttons/deep-size/etc off to them 2008-09-17 22:00:41 -07:00
introducer.xhtml introweb: combine announcement and subscriber information to show version+nickname for each client 2008-03-11 19:21:29 -07:00
introweb.py webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
literal-check-results.xhtml rename "checker results" to "check results", because it is more parallel to "check-and-repair results" 2009-01-06 13:37:03 -07:00
manifest.xhtml #514: add meta-refresh=60 tag to t=status page for incomplete operations 2008-10-22 09:48:42 -07:00
map-update-status.xhtml mutable status: use google-chart-API to draw server response times for servermap update 2008-04-21 16:16:55 -07:00
operations.py web/operations: undo the disable-ophandle-expiration change that inadvertently got included in zooko's recent 'rename wapi.txt to webapi.txt' patch, causing test failures 2009-01-14 19:14:59 -07:00
provisioning.xhtml add a provisioning utility page which shows necessary storage space and transfer rates for grids of various sizes 2007-08-26 23:44:24 -07:00
publish-status.xhtml mutable WIP: re-enable publish/retrieve status 2008-04-16 17:49:06 -07:00
reliability.py web/reliability: add parameter descriptions, adapted from a patch from Terrell Russell. 2009-02-19 16:29:18 -07:00
reliability.xhtml wui: s/Provisioning/Reliability/ ; suggested by Terrell 2009-02-25 21:09:04 -07:00
rename-form.xhtml add a 'rename' button to the webish dir view 2007-07-12 16:53:54 -07:00
retrieve-status.xhtml mutable WIP: re-enable publish/retrieve status 2008-04-16 17:49:06 -07:00
root.py web: add Storage status page, improve tests 2009-02-20 14:29:26 -07:00
statistics.xhtml webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
status.py web: move plural() to common.py 2009-03-03 19:40:19 -07:00
status.xhtml web: status: add 'started' timestamps to all operations 2008-03-04 18:50:44 -07:00
storage_status.xhtml storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
storage.py storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
tahoe.css webish.py: put the URI in a narrower auto-scrolling box (with CSS) 2007-06-15 01:32:20 -07:00
unlinked.py webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
upload-results.xhtml webish: make upload timings visible on the recent uploads/downloads status page 2008-03-03 14:48:52 -07:00
upload-status.xhtml webish: add more share information to upload status, including assisted uploads 2008-03-05 19:51:51 -07:00
welcome.xhtml build a 'reliability' web page, with a simulation of file decay and repair over time 2009-02-13 17:42:34 -07:00