]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
17 years agostorage: wrap buckets in a local proxy
Brian Warner [Mon, 9 Jul 2007 06:27:46 +0000 (23:27 -0700)]
storage: wrap buckets in a local proxy
This will make it easier to change RIBucketWriter in the future to reduce the wire
protocol to just open/write(offset,data)/close, and do all the structuring on the
client end. The ultimate goal is to store each bucket in a single file, to reduce
the considerable filesystem-quantization/inode overhead on the storage servers.

17 years agodirectory.xhtml: oops, missed a comma
Brian Warner [Sun, 8 Jul 2007 07:44:08 +0000 (00:44 -0700)]
directory.xhtml: oops, missed a comma

17 years agodirectory.xhtml: remove the leftover XML link
Brian Warner [Sun, 8 Jul 2007 07:33:20 +0000 (00:33 -0700)]
directory.xhtml: remove the leftover XML link

17 years agoweb: indent the JSON to make it easier for humans to read, but slightly larger
Brian Warner [Sun, 8 Jul 2007 07:23:23 +0000 (00:23 -0700)]
web: indent the JSON to make it easier for humans to read, but slightly larger

17 years agoweb: use real JSON instead of the fake stubs
Brian Warner [Sun, 8 Jul 2007 07:17:11 +0000 (00:17 -0700)]
web: use real JSON instead of the fake stubs
Also include the encoder portion of Bob Ippolito's simplejson-1.7.1 as
allmydata.util.json_encoder . simplejson is distributed under a more liberal
license than Tahoe (looks to be modified BSD), so redistributing it should be ok.

17 years agotest_web.test_welcome: give the rooturl a trailing slash, otherwise older versions...
Brian Warner [Sun, 8 Jul 2007 06:22:52 +0000 (23:22 -0700)]
test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions of twisted complain

17 years agofigleaf.excludes: ignore allmydata.Crypto, since so little of it gets used by allmyda...
Brian Warner [Sun, 8 Jul 2007 06:00:09 +0000 (23:00 -0700)]
figleaf.excludes: ignore allmydata.Crypto, since so little of it gets used by allmydata.test

17 years agoweb: remove t=XML, and other dead code
Brian Warner [Sun, 8 Jul 2007 05:55:15 +0000 (22:55 -0700)]
web: remove t=XML, and other dead code

17 years agoweb: improve test coverage
Brian Warner [Sun, 8 Jul 2007 05:47:18 +0000 (22:47 -0700)]
web: improve test coverage

17 years agoweb: make sure we present read-only directories properly
Brian Warner [Sun, 8 Jul 2007 05:21:20 +0000 (22:21 -0700)]
web: make sure we present read-only directories properly

17 years agoweb: remove more dead code
Brian Warner [Sun, 8 Jul 2007 05:20:03 +0000 (22:20 -0700)]
web: remove more dead code

17 years agowebish.py: remove dead code
Brian Warner [Sun, 8 Jul 2007 05:12:46 +0000 (22:12 -0700)]
webish.py: remove dead code

17 years agoweb: /uri/ must escape slashes, we use bangs for this
Brian Warner [Sun, 8 Jul 2007 05:06:52 +0000 (22:06 -0700)]
web: /uri/ must escape slashes, we use bangs for this

17 years agoweb: replace welcome-page download-URI form with new version
Brian Warner [Sun, 8 Jul 2007 05:06:22 +0000 (22:06 -0700)]
web: replace welcome-page download-URI form with new version

17 years agoweb: survive bogus URIs when displaying sizes
Brian Warner [Sun, 8 Jul 2007 04:31:18 +0000 (21:31 -0700)]
web: survive bogus URIs when displaying sizes

17 years agoweb: show the root name of the vdrive
Brian Warner [Sun, 8 Jul 2007 04:31:02 +0000 (21:31 -0700)]
web: show the root name of the vdrive

17 years agoweb: change title to say 'Tahoe', not tahoe2
Brian Warner [Sun, 8 Jul 2007 04:30:38 +0000 (21:30 -0700)]
web: change title to say 'Tahoe', not tahoe2

17 years agoweb: add a 'return to welcome page' link
Brian Warner [Sun, 8 Jul 2007 04:30:04 +0000 (21:30 -0700)]
web: add a 'return to welcome page' link

17 years agoweb: add when_done to all POST operations, use it from upload/mkdir/mount/delete...
Brian Warner [Sun, 8 Jul 2007 04:17:48 +0000 (21:17 -0700)]
web: add when_done to all POST operations, use it from upload/mkdir/mount/delete forms

17 years agoweb: make 'delete' buttons work again
Brian Warner [Sun, 8 Jul 2007 03:46:30 +0000 (20:46 -0700)]
web: make 'delete' buttons work again

17 years agoweb: change per-directory forms to match new POST scheme
Brian Warner [Sun, 8 Jul 2007 03:35:47 +0000 (20:35 -0700)]
web: change per-directory forms to match new POST scheme

17 years agoweb: remove debug prints
Brian Warner [Sun, 8 Jul 2007 03:11:30 +0000 (20:11 -0700)]
web: remove debug prints

17 years agoweb: more test work, now all tests pass, POST too, only XMLRPC left to implement
Brian Warner [Sun, 8 Jul 2007 03:06:58 +0000 (20:06 -0700)]
web: more test work, now all tests pass, POST too, only XMLRPC left to implement

17 years agotest_system.py: change/remove the tests that currently fail due to web changes
Brian Warner [Sun, 8 Jul 2007 03:06:44 +0000 (20:06 -0700)]
test_system.py: change/remove the tests that currently fail due to web changes

17 years agowebish.py: add links to JSON/etc representations of directory contents to the listing
Brian Warner [Sat, 7 Jul 2007 18:31:07 +0000 (11:31 -0700)]
webish.py: add links to JSON/etc representations of directory contents to the listing

17 years agorunner.py: add --force flag to restart, to restart a not-already-running node
Brian Warner [Sat, 7 Jul 2007 18:17:32 +0000 (11:17 -0700)]
runner.py: add --force flag to restart, to restart a not-already-running node

17 years agowebish: fix ?t=manifest, ?t=xml so they don't throw exceptions, prune directory.xhtml
Brian Warner [Sat, 7 Jul 2007 18:15:31 +0000 (11:15 -0700)]
webish: fix ?t=manifest, ?t=xml so they don't throw exceptions, prune directory.xhtml

17 years agoweb: more test work, now all tests either pass or are skipped (POST, XMLRPC, and...
Brian Warner [Sat, 7 Jul 2007 17:34:05 +0000 (10:34 -0700)]
web: more test work, now all tests either pass or are skipped (POST, XMLRPC, and URI/)

17 years agowebapi: checkpointing more test progress
Brian Warner [Sat, 7 Jul 2007 07:16:36 +0000 (00:16 -0700)]
webapi: checkpointing more test progress

17 years agocheckpointing new webapi: not all tests pass yet
Brian Warner [Sat, 7 Jul 2007 02:43:55 +0000 (19:43 -0700)]
checkpointing new webapi: not all tests pass yet

17 years agoweb: missed a IndexError-to-KeyError conversion
Brian Warner [Sat, 7 Jul 2007 02:43:03 +0000 (19:43 -0700)]
web: missed a IndexError-to-KeyError conversion

17 years agoweb: use KeyError (rather than IndexError) to signal a missing child
Brian Warner [Sat, 7 Jul 2007 02:40:08 +0000 (19:40 -0700)]
web: use KeyError (rather than IndexError) to signal a missing child

17 years agointerfaces: remove spurious 'self' from interface declarations
Brian Warner [Sat, 7 Jul 2007 02:39:47 +0000 (19:39 -0700)]
interfaces: remove spurious 'self' from interface declarations

17 years agoadd IDirectoryNode.get_child_at_path
Brian Warner [Sat, 7 Jul 2007 02:38:37 +0000 (19:38 -0700)]
add IDirectoryNode.get_child_at_path

17 years agowebapi updates
Brian Warner [Sat, 7 Jul 2007 17:37:07 +0000 (10:37 -0700)]
webapi updates

17 years agoupdate .darcs-boringfile to match the debian-moves-to-misc/ change
Brian Warner [Thu, 5 Jul 2007 21:55:11 +0000 (14:55 -0700)]
update .darcs-boringfile to match the debian-moves-to-misc/ change

17 years agomove debian files down into misc/
Brian Warner [Thu, 5 Jul 2007 21:49:09 +0000 (14:49 -0700)]
move debian files down into misc/

17 years agomunin plugins: fix labels
Brian Warner [Thu, 5 Jul 2007 21:38:31 +0000 (14:38 -0700)]
munin plugins: fix labels

17 years agoadd some munin plugins
Brian Warner [Thu, 5 Jul 2007 20:38:15 +0000 (13:38 -0700)]
add some munin plugins

17 years agoadd webapi.txt: explain our plans for the node's webserver
Brian Warner [Thu, 5 Jul 2007 20:36:03 +0000 (13:36 -0700)]
add webapi.txt: explain our plans for the node's webserver

17 years agoroadmap: move Storage to milestone v3
Brian Warner [Wed, 4 Jul 2007 00:40:09 +0000 (17:40 -0700)]
roadmap: move Storage to milestone v3

17 years agostorageserver: include metadata in the sizelimit, at least after the bucket has been...
Brian Warner [Wed, 4 Jul 2007 00:38:49 +0000 (17:38 -0700)]
storageserver: include metadata in the sizelimit, at least after the bucket has been closed

17 years agoactivate storage size limits in the client. Closes #34.
Brian Warner [Wed, 4 Jul 2007 00:27:07 +0000 (17:27 -0700)]
activate storage size limits in the client. Closes #34.

To use this, write a number like 10MB or 5Gb or 5000000000 to a file
named 'sizelimit' in the client's base directory. The node will not grant
leases for shares that would take it much beyond this many bytes of
storage. Note that metadata is not included in the allocation count until
a restart, so the actual space consumed may grow beyond the limit if
the node is not restarted very frequently and the amount of metadata is
significant.

17 years agostorageserver: implement size limits. No code to enable them yet, though
Brian Warner [Wed, 4 Jul 2007 00:08:02 +0000 (17:08 -0700)]
storageserver: implement size limits. No code to enable them yet, though

17 years agofileutil: add du() function
Brian Warner [Tue, 3 Jul 2007 22:49:45 +0000 (15:49 -0700)]
fileutil: add du() function

17 years agowebish: provide a valid Content-Length header on downloads
Brian Warner [Tue, 3 Jul 2007 22:09:00 +0000 (15:09 -0700)]
webish: provide a valid Content-Length header on downloads

17 years agowebish: improve reporting of web download errors that occur early enough
Brian Warner [Tue, 3 Jul 2007 20:47:37 +0000 (13:47 -0700)]
webish: improve reporting of web download errors that occur early enough

If the error occurs before any data has been sent, we can give a sensible
error message (code 500, stack trace, etc). This will cover most of the error
cases. The ones that aren't covered are when we run out of good peers after
successfully decoding the first segment, either because they go away or
because their shares are corrupt.

17 years agowebish.py: handle errors during download better. Addresses #65.
Brian Warner [Tue, 3 Jul 2007 20:18:14 +0000 (13:18 -0700)]
webish.py: handle errors during download better. Addresses #65.

Previously, exceptions during a web download caused a hang rather than some
kind of exception or error message. This patch improves the situation by
terminating the HTTP download rather than letting it hang forever. The
behavior still isn't ideal, however, because the error can occur too late to
abort the HTTP request cleanly (i.e. with an error code). In fact, the
Content-Type header and response code have already been set by the time any
download errors have been detected, so the browser is committed to displaying
an image or whatever (thus any error message we put into the stream is
unlikely to be displayed in a meaningful way).

17 years agodirnodes.txt: minor edits
Brian Warner [Tue, 3 Jul 2007 20:16:48 +0000 (13:16 -0700)]
dirnodes.txt: minor edits

17 years agotest_util: improve test coverage of allmydata.util.fileutil
Brian Warner [Tue, 3 Jul 2007 18:15:05 +0000 (11:15 -0700)]
test_util: improve test coverage of allmydata.util.fileutil

17 years agodocument our current directory node (dirnode) design
Brian Warner [Tue, 3 Jul 2007 00:32:24 +0000 (17:32 -0700)]
document our current directory node (dirnode) design

17 years agomakefile: pass COVERAGEDIR= properly to the target makefile
Brian Warner [Mon, 2 Jul 2007 22:22:49 +0000 (15:22 -0700)]
makefile: pass COVERAGEDIR= properly to the target makefile

17 years agomakefile: change upload-figleaf target to create a 'current' link
Brian Warner [Mon, 2 Jul 2007 22:10:20 +0000 (15:10 -0700)]
makefile: change upload-figleaf target to create a 'current' link

17 years agorelnotes.txt: reflow to 70-char width
Zooko O'Whielacronx [Thu, 5 Jul 2007 01:59:26 +0000 (18:59 -0700)]
relnotes.txt: reflow to 70-char width

17 years agoTAG allmydata-tahoe-0.4.0 allmydata-tahoe-0.4.0
Zooko O'Whielacronx [Sat, 30 Jun 2007 00:02:54 +0000 (17:02 -0700)]
TAG allmydata-tahoe-0.4.0

17 years agorelnotes.txt: mention the private filesystem
Brian Warner [Sat, 30 Jun 2007 00:01:49 +0000 (17:01 -0700)]
relnotes.txt: mention the private filesystem

17 years agorelnotes.txt reflow column width and editing
Zooko O'Whielacronx [Fri, 29 Jun 2007 23:58:27 +0000 (16:58 -0700)]
relnotes.txt reflow column width and editing

17 years agorelnotes.txt update for v0.4 release
Zooko O'Whielacronx [Fri, 29 Jun 2007 23:58:05 +0000 (16:58 -0700)]
relnotes.txt update for v0.4 release

17 years agorelnotes.txt: formatting for thinner columns
Zooko O'Whielacronx [Fri, 29 Jun 2007 23:55:38 +0000 (16:55 -0700)]
relnotes.txt: formatting for thinner columns

17 years agoroadmap.txt: add mention of decentralized introduction (#68)
Zooko O'Whielacronx [Fri, 29 Jun 2007 23:43:20 +0000 (16:43 -0700)]
roadmap.txt: add mention of decentralized introduction (#68)

17 years agoedit README and require Nevow 0.9.18
Zooko O'Whielacronx [Fri, 29 Jun 2007 22:33:38 +0000 (15:33 -0700)]
edit README and require Nevow 0.9.18
If anybody out there is running with Nevow < v0.9.18 and wants to vouch for it, then we can relax that requirement.

17 years agoclarify licence
Zooko O'Whielacronx [Fri, 29 Jun 2007 22:28:15 +0000 (15:28 -0700)]
clarify licence

17 years agowebish: make each link in the directory name an href to that directory
Brian Warner [Fri, 29 Jun 2007 18:17:18 +0000 (11:17 -0700)]
webish: make each link in the directory name an href to that directory

17 years agoupdate roadmap.txt a bit
Brian Warner [Fri, 29 Jun 2007 17:43:27 +0000 (10:43 -0700)]
update roadmap.txt a bit

17 years agotest_system: stall for a second while bouncing the client, it might help windows
Brian Warner [Fri, 29 Jun 2007 02:20:28 +0000 (19:20 -0700)]
test_system: stall for a second while bouncing the client, it might help windows

17 years agowebish: fix link to private_vdrive
Brian Warner [Fri, 29 Jun 2007 02:07:52 +0000 (19:07 -0700)]
webish: fix link to private_vdrive

17 years agoclient.py: remove unused import
Brian Warner [Fri, 29 Jun 2007 01:01:00 +0000 (18:01 -0700)]
client.py: remove unused import

17 years agoroadmap: update filesystem/filetree/dirnode items
Brian Warner [Fri, 29 Jun 2007 01:00:30 +0000 (18:00 -0700)]
roadmap: update filesystem/filetree/dirnode items

17 years agoclient.py: remove unused code
Brian Warner [Fri, 29 Jun 2007 00:55:13 +0000 (17:55 -0700)]
client.py: remove unused code

17 years agointerfaces.py: remove some unused 'pass' lines
Brian Warner [Fri, 29 Jun 2007 07:50:00 +0000 (00:50 -0700)]
interfaces.py: remove some unused 'pass' lines

17 years agochange IVirtualDrive.get_node_at_path to accept either a list or a single slash-separ...
Brian Warner [Fri, 29 Jun 2007 00:46:14 +0000 (17:46 -0700)]
change IVirtualDrive.get_node_at_path to accept either a list or a single slash-separated string

17 years agotest_system.py: more vdrive coverage
Brian Warner [Thu, 28 Jun 2007 22:05:33 +0000 (15:05 -0700)]
test_system.py: more vdrive coverage

17 years agovdrive: add get_node_at_path(pathlist)
Brian Warner [Thu, 28 Jun 2007 18:00:03 +0000 (11:00 -0700)]
vdrive: add get_node_at_path(pathlist)

17 years agovdrive: make sure we really record global/private root directory uris
Brian Warner [Thu, 28 Jun 2007 17:59:51 +0000 (10:59 -0700)]
vdrive: make sure we really record global/private root directory uris

17 years agoAdd the 'vdrive' service, for clients to access the public/private root dirs.
Brian Warner [Thu, 28 Jun 2007 00:11:06 +0000 (17:11 -0700)]
Add the 'vdrive' service, for clients to access the public/private root dirs.

These allow client-side code to conveniently retrieve the IDirectoryNode
instances for both the global shared public root directory, and the per-user
private root directory.

17 years agowebish.py: add a web page to display the manifest for any particular directory
Brian Warner [Wed, 27 Jun 2007 02:55:21 +0000 (19:55 -0700)]
webish.py: add a web page to display the manifest for any particular directory

17 years agodirnode: add build_manifest() and introduce 'refresh capabilities'
Brian Warner [Wed, 27 Jun 2007 02:41:20 +0000 (19:41 -0700)]
dirnode: add build_manifest() and introduce 'refresh capabilities'

17 years agoremove unused/obsoleted workqueue.py
Brian Warner [Wed, 27 Jun 2007 00:25:23 +0000 (17:25 -0700)]
remove unused/obsoleted workqueue.py

17 years agomerge vdrive.py and filetable.py into a single dirnode.py
Brian Warner [Wed, 27 Jun 2007 00:16:58 +0000 (17:16 -0700)]
merge vdrive.py and filetable.py into a single dirnode.py

17 years agomore runner.py test coverage: don't bypass argv parsing
Brian Warner [Tue, 26 Jun 2007 23:51:38 +0000 (16:51 -0700)]
more runner.py test coverage: don't bypass argv parsing

17 years agorunner.py: improve test coverage further: implement --quiet with StringIOs
Brian Warner [Tue, 26 Jun 2007 23:19:18 +0000 (16:19 -0700)]
runner.py: improve test coverage further: implement --quiet with StringIOs

17 years agodump_uri_extension: improve test coverage of runner.py
Brian Warner [Tue, 26 Jun 2007 22:55:00 +0000 (15:55 -0700)]
dump_uri_extension: improve test coverage of runner.py

17 years agoimprove test coverage of runner.py
Brian Warner [Tue, 26 Jun 2007 22:36:46 +0000 (15:36 -0700)]
improve test coverage of runner.py

17 years agowebish: mark read-only directories as such when listing their parent
Brian Warner [Tue, 26 Jun 2007 19:37:00 +0000 (12:37 -0700)]
webish: mark read-only directories as such when listing their parent

17 years agovdrive: protect dirnode contents with an HMAC
Brian Warner [Tue, 26 Jun 2007 19:36:21 +0000 (12:36 -0700)]
vdrive: protect dirnode contents with an HMAC

17 years agoremove old filetree code
Brian Warner [Tue, 26 Jun 2007 03:34:19 +0000 (20:34 -0700)]
remove old filetree code

17 years agovdrive: switch to URI:DIR and URI:DIR-RO, providing transitive readonlyness
Brian Warner [Mon, 25 Jun 2007 20:23:51 +0000 (13:23 -0700)]
vdrive: switch to URI:DIR and URI:DIR-RO, providing transitive readonlyness

17 years agomisc/count_dirs.py: dev tool to estimate filetree space consumption
Brian Warner [Sun, 17 Jun 2007 04:55:13 +0000 (21:55 -0700)]
misc/count_dirs.py: dev tool to estimate filetree space consumption

17 years agowebish: log dirname in mkdir
Brian Warner [Fri, 15 Jun 2007 09:48:19 +0000 (02:48 -0700)]
webish: log dirname in mkdir

17 years agowebish: when mounting a shared directory, don't automatically move to it
Brian Warner [Fri, 15 Jun 2007 09:34:24 +0000 (02:34 -0700)]
webish: when mounting a shared directory, don't automatically move to it

17 years agowebish: add option to export/import shared directories (always read-write)
Brian Warner [Fri, 15 Jun 2007 09:31:23 +0000 (02:31 -0700)]
webish: add option to export/import shared directories (always read-write)

17 years agotest_system.py: match change to /global_vdrive URL
Brian Warner [Fri, 15 Jun 2007 08:38:55 +0000 (01:38 -0700)]
test_system.py: match change to /global_vdrive URL

17 years agocreate a personal (non-shared) vdrive, in addition to the global shared one
Brian Warner [Fri, 15 Jun 2007 08:33:24 +0000 (01:33 -0700)]
create a personal (non-shared) vdrive, in addition to the global shared one

17 years agowebish: enable deletion of directories
Brian Warner [Fri, 15 Jun 2007 08:32:57 +0000 (01:32 -0700)]
webish: enable deletion of directories

17 years agowebish.py: put the URI in a narrower auto-scrolling box (with CSS)
Brian Warner [Fri, 15 Jun 2007 08:32:20 +0000 (01:32 -0700)]
webish.py: put the URI in a narrower auto-scrolling box (with CSS)

17 years agorunner.py: add 'dump-directory-node' command
Brian Warner [Fri, 15 Jun 2007 07:47:05 +0000 (00:47 -0700)]
runner.py: add 'dump-directory-node' command

17 years agomake new vdrive work, implement convenience wrapper, passes all tests
Brian Warner [Fri, 15 Jun 2007 07:37:32 +0000 (00:37 -0700)]
make new vdrive work, implement convenience wrapper, passes all tests

17 years agotest_filetable: fix to match new vdrive approach
Brian Warner [Fri, 15 Jun 2007 07:01:01 +0000 (00:01 -0700)]
test_filetable: fix to match new vdrive approach

17 years agomake-version.py invokes darcs as "darcs" instead of "realdarcs"
Zooko O'Whielacronx [Fri, 29 Jun 2007 21:22:50 +0000 (14:22 -0700)]
make-version.py invokes darcs as "darcs" instead of "realdarcs"
Some other people might use the official Windows build of darcs, and people who use my cygwin wrapper for darcs will be compatible with this patch as long as they use the latest version of the wrapper.

17 years agoupdate CREDITS file
Zooko O'Whielacronx [Fri, 29 Jun 2007 21:22:30 +0000 (14:22 -0700)]
update CREDITS file