]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
17 years agowebish: handle PUTs to direct children of the root
Brian Warner [Sat, 14 Jul 2007 02:31:52 +0000 (19:31 -0700)]
webish: handle PUTs to direct children of the root

17 years agostorage.py: turn some assertions into preconditions
Brian Warner [Sat, 14 Jul 2007 02:30:48 +0000 (19:30 -0700)]
storage.py: turn some assertions into preconditions

17 years agostorage.py: handle num_segments != power-of-two without an assertion
Brian Warner [Sat, 14 Jul 2007 02:30:21 +0000 (19:30 -0700)]
storage.py: handle num_segments != power-of-two without an assertion

17 years agointerfaces: increase ShareSize now that our default k is smaller (hence blocks are...
Brian Warner [Sat, 14 Jul 2007 02:29:31 +0000 (19:29 -0700)]
interfaces: increase ShareSize now that our default k is smaller (hence blocks are bigger)

17 years agorename storageserver.py to just storage.py, since it has both server and client sides now
Brian Warner [Sat, 14 Jul 2007 00:25:45 +0000 (17:25 -0700)]
rename storageserver.py to just storage.py, since it has both server and client sides now

17 years agowelcome.xhtml: add a link to allmydata.org
Brian Warner [Sat, 14 Jul 2007 00:15:44 +0000 (17:15 -0700)]
welcome.xhtml: add a link to allmydata.org

17 years agoencode.py: minor typo
Brian Warner [Sat, 14 Jul 2007 00:00:06 +0000 (17:00 -0700)]
encode.py: minor typo

17 years agofix dump-uri-extension
Brian Warner [Fri, 13 Jul 2007 23:58:08 +0000 (16:58 -0700)]
fix dump-uri-extension

17 years agostorageserver.ReadBucketProxy: break out _parse_offsets, for debug tools
Brian Warner [Fri, 13 Jul 2007 23:52:17 +0000 (16:52 -0700)]
storageserver.ReadBucketProxy: break out _parse_offsets, for debug tools

17 years agostorage: we must truncate short segments. Now most tests pass (except uri_extension)
Brian Warner [Fri, 13 Jul 2007 23:38:25 +0000 (16:38 -0700)]
storage: we must truncate short segments. Now most tests pass (except uri_extension)

17 years agomore #85 work, system test still fails
Brian Warner [Fri, 13 Jul 2007 22:09:01 +0000 (15:09 -0700)]
more #85 work, system test still fails

17 years agostorage: use one file per share instead of 7 (#85). work-in-progress, tests still...
Brian Warner [Fri, 13 Jul 2007 21:04:49 +0000 (14:04 -0700)]
storage: use one file per share instead of 7 (#85). work-in-progress, tests still fail

17 years agocontrol.py: make get_memory_usage() callable from elsewhere
Brian Warner [Mon, 9 Jul 2007 02:07:54 +0000 (19:07 -0700)]
control.py: make get_memory_usage() callable from elsewhere

17 years agoadd a 'rename' button to the webish dir view
robk-org [Thu, 12 Jul 2007 23:53:54 +0000 (16:53 -0700)]
add a 'rename' button to the webish dir view

alongside the 'del' button is now presented a 'rename' button, which takes
the user to a new page, the 't=rename-form' page, which asks ther user for
the new name of the child and ultimately submits a POST request to the dir
for 't=rename' to perform the actual rename i.e. an attach followed by a
delete of children.

17 years agofix bug in arg handling around 'delete' button in directory view
robk-org [Thu, 12 Jul 2007 23:46:54 +0000 (16:46 -0700)]
fix bug in arg handling around 'delete' button in directory view

the code composing the form providing the 'delete' button in a dir
view was broken in that it tried to put some of the arguments into
the url query, rather than as the form's post args.  worse, nevow
was kind enough to escape the querystring making it invalid.

17 years agofix a typo in webapi.txt
robk-org [Thu, 12 Jul 2007 23:45:51 +0000 (16:45 -0700)]
fix a typo in webapi.txt

17 years agoinclude the filename on URI-link urls for files
robk-org [Wed, 11 Jul 2007 22:26:47 +0000 (15:26 -0700)]
include the filename on URI-link urls for files

this is likely to induce browsers to do more useful things with the result
than they would when given neither content-type nor filename.  (i.e. they
can guess that a .jpg file is an image, even with a bogus content type)

17 years agoadded notes on pywin32 version support to README
robk-org [Wed, 13 Jun 2007 20:09:36 +0000 (13:09 -0700)]
added notes on pywin32 version support to README

17 years agowebish.DirnodeWalkerMixin: comment out the code that demonstrates what we
Brian Warner [Fri, 13 Jul 2007 06:28:09 +0000 (23:28 -0700)]
webish.DirnodeWalkerMixin: comment out the code that demonstrates what we
would do if we could just use generators, since we don't use it.

17 years agomisc/figleaf.excludes: exclude simplejson too, since we don't run their tests
Brian Warner [Thu, 12 Jul 2007 23:26:25 +0000 (16:26 -0700)]
misc/figleaf.excludes: exclude simplejson too, since we don't run their tests

17 years agonote that setting k=1 is equivalent to replication
Brian Warner [Thu, 12 Jul 2007 23:22:12 +0000 (16:22 -0700)]
note that setting k=1 is equivalent to replication

17 years agofix several methods to handle LIT URIs correctly, rather than assuming that all filen...
Brian Warner [Thu, 12 Jul 2007 23:17:49 +0000 (16:17 -0700)]
fix several methods to handle LIT URIs correctly, rather than assuming that all filenodes are CHK URIs

17 years agomake it possible to download LIT uris. oops.
Brian Warner [Thu, 12 Jul 2007 23:16:59 +0000 (16:16 -0700)]
make it possible to download LIT uris. oops.

17 years agoallow the introducer to set default encoding parameters. Closes #84.
Brian Warner [Thu, 12 Jul 2007 22:33:30 +0000 (15:33 -0700)]
allow the introducer to set default encoding parameters. Closes #84.
By writing something like "25 75 100" into a file named 'encoding_parameters'
in the central Introducer's base directory, all clients which use that
introducer will be advised to use 25-out-of-100 encoding for files (i.e.
100 shares will be produced, 25 are required to reconstruct, and the upload
process will be happy if it can find homes for at least 75 shares). The
default values are "3 7 10". For small meshes, the defaults are probably
good, but for larger ones it may be appropriate to increase the number of
shares.

17 years agoimplement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81.
Brian Warner [Thu, 12 Jul 2007 20:22:36 +0000 (13:22 -0700)]
implement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81.

17 years agointerfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to...
Brian Warner [Thu, 12 Jul 2007 20:23:52 +0000 (13:23 -0700)]
interfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to 1000, for now

17 years agocease producing .debs for dapper, since they'd depend upon a library (simplejson...
Brian Warner [Wed, 11 Jul 2007 21:31:04 +0000 (14:31 -0700)]
cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source.

17 years agodebian: make all .debs dependent upon python-simplejson. We must create the dapper...
Brian Warner [Wed, 11 Jul 2007 21:01:56 +0000 (14:01 -0700)]
debian: make all .debs dependent upon python-simplejson. We must create the dapper package, the others are available upstream

17 years agoMakefile: factor out deb-foolscap-ARCH to a separate target
Brian Warner [Wed, 11 Jul 2007 21:00:47 +0000 (14:00 -0700)]
Makefile: factor out deb-foolscap-ARCH to a separate target

17 years agoMakefile: make it clear that it requires GNU Make
Brian Warner [Wed, 11 Jul 2007 20:39:55 +0000 (13:39 -0700)]
Makefile: make it clear that it requires GNU Make

17 years agorename GNUmakefile to Makefile: I've mis-typed the name one too many times
Brian Warner [Wed, 11 Jul 2007 20:34:16 +0000 (13:34 -0700)]
rename GNUmakefile to Makefile: I've mis-typed the name one too many times

17 years agoboringfile: exclude some foolscap.deb-generated files
Brian Warner [Wed, 11 Jul 2007 20:28:42 +0000 (13:28 -0700)]
boringfile: exclude some foolscap.deb-generated files

17 years agomakefile: fix deb-edgy-head and deb-etch-head targets
Brian Warner [Wed, 11 Jul 2007 20:26:23 +0000 (13:26 -0700)]
makefile: fix deb-edgy-head and deb-etch-head targets

17 years agomakefile: refactor .deb-producing rules
Brian Warner [Wed, 11 Jul 2007 19:45:00 +0000 (12:45 -0700)]
makefile: refactor .deb-producing rules

17 years agocli: implement 'get'
Brian Warner [Wed, 11 Jul 2007 17:26:19 +0000 (10:26 -0700)]
cli: implement 'get'

17 years agotahoe_ls: remove a couple of vestigial or debugging bits
Zooko O'Whielacronx [Wed, 11 Jul 2007 02:46:40 +0000 (19:46 -0700)]
tahoe_ls: remove a couple of vestigial or debugging bits

17 years agocli: implement 'allmydata-tahoe ls'
Brian Warner [Wed, 11 Jul 2007 02:37:37 +0000 (19:37 -0700)]
cli: implement 'allmydata-tahoe ls'

17 years agomakefile: use --single-version-externally-managed for simplejson
Brian Warner [Wed, 11 Jul 2007 02:37:10 +0000 (19:37 -0700)]
makefile: use --single-version-externally-managed for simplejson

17 years agostartstop_node.py: refactor find_twistd() out so it is only run when you need to...
Brian Warner [Wed, 11 Jul 2007 02:13:55 +0000 (19:13 -0700)]
startstop_node.py: refactor find_twistd() out so it is only run when you need to start a node

17 years agorunner.py: further refactoring
Brian Warner [Wed, 11 Jul 2007 02:05:18 +0000 (19:05 -0700)]
runner.py: further refactoring

17 years agorunner.py: start to refactor into separate files
Brian Warner [Wed, 11 Jul 2007 01:41:52 +0000 (18:41 -0700)]
runner.py: start to refactor into separate files

17 years agotahoe-ls.py: hush a pyflakes warning
Brian Warner [Tue, 10 Jul 2007 23:26:05 +0000 (16:26 -0700)]
tahoe-ls.py: hush a pyflakes warning

17 years agopatch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to...
Brian Warner [Tue, 10 Jul 2007 23:11:11 +0000 (16:11 -0700)]
patch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to allow installs on edgy machines with setuptools-0.6c3

17 years agofinish removing simplejson.egg-info from the repo
Brian Warner [Tue, 10 Jul 2007 22:52:26 +0000 (15:52 -0700)]
finish removing simplejson.egg-info from the repo

17 years agoremove simplejson.egg-info from the repo (and boringfile it), it should never have...
Brian Warner [Tue, 10 Jul 2007 22:51:58 +0000 (15:51 -0700)]
remove simplejson.egg-info from the repo (and boringfile it), it should never have been in the original tarball

17 years agoimport simplejson directly, and remove our local copies of the component .py files...
Brian Warner [Tue, 10 Jul 2007 22:49:32 +0000 (15:49 -0700)]
import simplejson directly, and remove our local copies of the component .py files from util/json*

17 years agotahoe-ls.py: initial version of an 'ls' CLI utility
Brian Warner [Tue, 10 Jul 2007 22:34:55 +0000 (15:34 -0700)]
tahoe-ls.py: initial version of an 'ls' CLI utility

17 years agoboringfile: add simplejson generated files
Brian Warner [Tue, 10 Jul 2007 22:34:36 +0000 (15:34 -0700)]
boringfile: add simplejson generated files

17 years agomakefile: build simplejson along with zfec/foolscap/etc
Brian Warner [Tue, 10 Jul 2007 22:28:38 +0000 (15:28 -0700)]
makefile: build simplejson along with zfec/foolscap/etc

17 years agoimport simplejson-1.7.1 into src/simplejson
Brian Warner [Tue, 10 Jul 2007 22:22:53 +0000 (15:22 -0700)]
import simplejson-1.7.1 into src/simplejson

17 years agowebapi: normalized API: use t=upload or t=download when providing localdir= or localfile=
Brian Warner [Tue, 10 Jul 2007 20:24:10 +0000 (13:24 -0700)]
webapi: normalized API: use t=upload or t=download when providing localdir= or localfile=

17 years agoimport the decoder portion of simplejson-1.7.1 too
Brian Warner [Tue, 10 Jul 2007 20:12:40 +0000 (13:12 -0700)]
import the decoder portion of simplejson-1.7.1 too

17 years agowebapi.txt: note that the 'curl' utility can be used to exercise most of this interface
Brian Warner [Tue, 10 Jul 2007 17:36:37 +0000 (10:36 -0700)]
webapi.txt: note that the 'curl' utility can be used to exercise most of this interface

17 years agowebish: cosmetic: fix missing whitespace in HTML
Brian Warner [Tue, 10 Jul 2007 17:33:19 +0000 (10:33 -0700)]
webish: cosmetic: fix missing whitespace in HTML

17 years agotahoe-get.py: fix bug: actually respect the optional server argument
Zooko O'Whielacronx [Tue, 10 Jul 2007 01:47:16 +0000 (18:47 -0700)]
tahoe-get.py: fix bug: actually respect the optional server argument

17 years agotahoe-get.py: add optional target-local-file argument
Zooko O'Whielacronx [Tue, 10 Jul 2007 01:27:11 +0000 (18:27 -0700)]
tahoe-get.py: add optional target-local-file argument

17 years agotahoe-get.py: accept vdrive and server options (using optparse)
Zooko O'Whielacronx [Tue, 10 Jul 2007 01:20:02 +0000 (18:20 -0700)]
tahoe-get.py: accept vdrive and server options (using optparse)

17 years agotahoe-get.py: the first, most primitive command-line client
Zooko O'Whielacronx [Tue, 10 Jul 2007 01:19:53 +0000 (18:19 -0700)]
tahoe-get.py: the first, most primitive command-line client

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