tahoe-lafs/src/allmydata/web
Brian Warner ef1b6ae8e3 Tolerate unknown URI types in directory structures. Part of #683.
The idea is that future versions of Tahoe will add new URI types that this
version won't recognize, but might store them in directories that we *can*
read. We should handle these "objects from the future" as best we can.
Previous releases of Tahoe would just explode. With this change, we'll
continue to be able to work with everything else in the directory.

The code change is to wrap anything we don't recognize as an UnknownNode
instance (as opposed to a FileNode or DirectoryNode). Then webapi knows how
to render these (mostly by leaving fields blank), deep-check knows to skip
over them, deep-stats counts them in "count-unknown". You can rename and
delete these things, but you can't add new ones (because we wouldn't know how
to generate a readcap to put into the dirnode's rocap slot, and because this
lets us catch typos better).
2009-07-02 18:07:49 -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 clean up storage_broker interface: should fix #732 2009-06-21 16:51:19 -07:00
check-and-repair-results.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
check-results.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
common.py Split out NoSharesError, stop adding attributes to NotEnoughSharesError, change humanize_failure to include the original exception string, update tests, behave better if humanize_failure fails. 2009-06-24 19:17:07 -07:00
deep-check-and-repair-results.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
deep-check-results.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
directory.py Tolerate unknown URI types in directory structures. Part of #683. 2009-07-02 18:07:49 -07:00
directory.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
download-status.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
filenode.py Tolerate unknown URI types in directory structures. Part of #683. 2009-07-02 18:07:49 -07:00
helper.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
info.py Tolerate unknown URI types in directory structures. Part of #683. 2009-07-02 18:07:49 -07:00
info.xhtml Tolerate unknown URI types in directory structures. Part of #683. 2009-07-02 18:07:49 -07:00
introducer.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
introweb.py Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
literal-check-results.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
manifest.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
map-update-status.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -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 Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
publish-status.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -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 Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
rename-form.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
retrieve-status.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
root.py big rework of introducer client: change local API, split division of responsibilites better, remove old-code testing, improve error logging 2009-06-22 19:10:47 -07:00
statistics.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
status.py web: move plural() to common.py 2009-03-03 19:40:19 -07:00
status.xhtml Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. 2009-05-26 16:25:45 -07:00
storage_status.xhtml GC: add date-cutoff -based expiration, add proposed docs 2009-03-16 22:10:41 -07:00
storage.py leases, time_format: modify time stamping in lease description 2009-04-03 15:59:04 -07:00
tahoe.css Add CSS styles to spiff up the Tahoe WUI's appearance, particularly the welcome page and directories. 2009-05-03 13:31:42 -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 Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
upload-status.xhtml Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. 2009-05-03 13:25:33 -07:00
welcome.xhtml web/welcome.xhtml: remove trailing whitespace 2009-06-22 19:09:09 -07:00