]>
git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
Brian Warner [Sun, 2 Sep 2007 22:03:40 +0000 (15:03 -0700)]
storage: remove get_or_add_owner, since I don't know what we need yet
Brian Warner [Sun, 2 Sep 2007 22:00:29 +0000 (15:00 -0700)]
storage: remove unused delete_bucket() method, lease-cancellation covers it
Brian Warner [Sun, 2 Sep 2007 21:57:49 +0000 (14:57 -0700)]
storage: handle simultanous uploads: add a lease for the pre-empted client
Brian Warner [Sun, 2 Sep 2007 21:48:20 +0000 (14:48 -0700)]
debug: 'dump-uri-extension' command becomes 'dump-share', add 'dump-share-leases'. Both display leases.
Brian Warner [Sun, 2 Sep 2007 21:47:15 +0000 (14:47 -0700)]
storage: replace sqlite with in-share lease records
Brian Warner [Wed, 29 Aug 2007 06:40:03 +0000 (23:40 -0700)]
test_uri.py: remove tiny whitespace
wilcoxjg [Wed, 29 Aug 2007 06:28:26 +0000 (23:28 -0700)]
created DirnodeURI schema
wilcoxjg [Thu, 9 Aug 2007 22:26:27 +0000 (15:26 -0700)]
changed MakeFile comment to clarify what "test.test_introducer" means
Brian Warner [Wed, 29 Aug 2007 06:28:52 +0000 (23:28 -0700)]
storage: use sqlite from either python2.5's stdlib or the pysqlite2 package
Brian Warner [Tue, 28 Aug 2007 06:41:40 +0000 (23:41 -0700)]
deletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement renew/cancel_lease (but nobody calls them yet). Also, move the shares from BASEDIR/storage/* down to BASEDIR/storage/shares/*
Brian Warner [Tue, 28 Aug 2007 02:30:26 +0000 (19:30 -0700)]
deletion phase2b: create renew/cancel secrets for real.
Brian Warner [Tue, 28 Aug 2007 02:23:50 +0000 (19:23 -0700)]
node: change get_or_create_config to strip whitespace and accept a filemode= argument
Brian Warner [Tue, 28 Aug 2007 02:07:12 +0000 (19:07 -0700)]
node.py: change get_or_create_config() to accept a function
Brian Warner [Tue, 28 Aug 2007 02:00:18 +0000 (19:00 -0700)]
deletion phase2a: improve creation of renew/cancel secrets. Still fake though.
Brian Warner [Tue, 28 Aug 2007 01:58:39 +0000 (18:58 -0700)]
node.py: refactor config-file getting and setting
Brian Warner [Tue, 28 Aug 2007 00:28:51 +0000 (17:28 -0700)]
deletion phase1: send renew/cancel-lease secrets, but my_secret is fake, and the StorageServer discards them
Brian Warner [Tue, 28 Aug 2007 00:26:39 +0000 (17:26 -0700)]
test_web: improve provisioning.py test coverage a bit by using a live web hit
Brian Warner [Mon, 27 Aug 2007 06:44:24 +0000 (23:44 -0700)]
add a provisioning utility page which shows necessary storage space and transfer rates for grids of various sizes
Brian Warner [Mon, 27 Aug 2007 06:42:39 +0000 (23:42 -0700)]
debug.py: add share-overhead size info to dump-uri-extension
Brian Warner [Sat, 25 Aug 2007 19:05:24 +0000 (12:05 -0700)]
webish: strip leading/tailing whitespace from user-provided filenames, to avoid confusion
Brian Warner [Sat, 25 Aug 2007 19:05:06 +0000 (12:05 -0700)]
webish: strip leading/tailing whitespace from user-provided URIs
Brian Warner [Thu, 23 Aug 2007 23:31:15 +0000 (16:31 -0700)]
munin/tahoe-sharesperfile: don't truncate to an int, emit a float instead
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:51:30 +0000 (13:51 -0700)]
README: update wording of licence
Zooko O'Whielacronx [Wed, 22 Aug 2007 17:32:00 +0000 (10:32 -0700)]
change name of the query "allow_local_access()?" to "local_access_is_allowed()"
So as to avoid confusing it with the setter method
"allow_local_access(allowed=True)".
Brian Warner [Wed, 22 Aug 2007 00:07:25 +0000 (17:07 -0700)]
README: updated debian-packaging section a bit, replace dapper with etch
Brian Warner [Wed, 22 Aug 2007 04:28:51 +0000 (21:28 -0700)]
Makefile: fix race condition in test-clean that caused occasional failures
Brian Warner [Tue, 21 Aug 2007 21:01:01 +0000 (14:01 -0700)]
Makefile: stop producing foolscap .debs
Brian Warner [Fri, 17 Aug 2007 23:29:50 +0000 (16:29 -0700)]
tahoe_put.py: hush pyflakes by removing unused 'sys' import
tahoe [Sat, 11 Aug 2007 21:52:37 +0000 (14:52 -0700)]
trying to introduce old style humanreadablied logs hopefully without breaking the existing ones
Zooko O'Whielacronx [Thu, 23 Aug 2007 21:03:15 +0000 (14:03 -0700)]
TAG allmydata-tahoe-0.5.1
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:51:41 +0000 (13:51 -0700)]
relnotes.txt: v0.5.1
Zooko O'Whielacronx [Fri, 17 Aug 2007 22:19:10 +0000 (15:19 -0700)]
TAG allmydata-tahoe-0.5.0
Brian Warner [Thu, 16 Aug 2007 07:56:58 +0000 (00:56 -0700)]
setup.py: oops, I inserted a typo by commenting out the wrong line
Brian Warner [Thu, 16 Aug 2007 07:54:52 +0000 (00:54 -0700)]
setup.py: don't install allmydata.Crypto.PublicKey either
Brian Warner [Thu, 16 Aug 2007 07:52:21 +0000 (00:52 -0700)]
setup.py: disable building RSA for now, since it requires GMP. We'll refrain
from adding it to the build-dependencies until we actually want to use RSA.
Brian Warner [Thu, 16 Aug 2007 00:48:52 +0000 (17:48 -0700)]
crypto: fix compiler warnings in the .c files
Brian Warner [Thu, 16 Aug 2007 00:36:39 +0000 (17:36 -0700)]
copy RSA from PyCrypto into the allmydata/ tree, we'll use it eventually
Brian Warner [Wed, 15 Aug 2007 22:28:12 +0000 (15:28 -0700)]
Makefile: use a different rm *.so command for the 'clean' target
Zooko O'Whielacronx [Wed, 15 Aug 2007 21:18:51 +0000 (14:18 -0700)]
Makefile: more portable way to make clean succeed when there's nothing to rm
xargs doesn't have a "-r" option on Mac OS X.
Brian Warner [Tue, 14 Aug 2007 21:24:48 +0000 (14:24 -0700)]
Makefile: fix 'clean' target to work even if there's nothing to clean
Brian Warner [Tue, 14 Aug 2007 21:17:12 +0000 (14:17 -0700)]
hush pyflakes warning in Crypto.Util.number
Brian Warner [Tue, 14 Aug 2007 20:57:41 +0000 (13:57 -0700)]
remove PyCrypto, copy AES/SHA256/Util.number into the allmydata/ tree
Zooko O'Whielacronx [Thu, 9 Aug 2007 19:40:47 +0000 (12:40 -0700)]
merge duplicate patches re: zfec setuptools
Some patches were done in the tahoe darcs repo and some in the zfec darcs repo.
Zooko O'Whielacronx [Thu, 9 Aug 2007 18:33:25 +0000 (11:33 -0700)]
merge duplicate patches to shebang /usr/bin/python
one patch from the tahoe darcs repo and one patch from the zfec darcs repo
Zooko O'Whielacronx [Thu, 9 Aug 2007 18:10:58 +0000 (11:10 -0700)]
zfec: fix bug in argparse
Brian Warner [Thu, 23 Aug 2007 20:00:39 +0000 (13:00 -0700)]
webish: modify JSON to match zooko's proposed API changes in #118
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:27:00 +0000 (13:27 -0700)]
command-line: remove the --vdrive option (it is now hardcoded to "global")
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:09:44 +0000 (13:09 -0700)]
webapi.txt: minor edits
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:06:06 +0000 (13:06 -0700)]
webapi.txt edits (thanks to Brian Warner)
Zooko O'Whielacronx [Thu, 23 Aug 2007 20:03:26 +0000 (13:03 -0700)]
new improved webapi.txt
As per ticket #118, this refactors the explanation of URIs and paths and changes the JSON metadata schema.
http://allmydata.org/trac/tahoe/ticket/118
Brian Warner [Thu, 23 Aug 2007 00:35:01 +0000 (17:35 -0700)]
web: replace FILE links with /uri -based ones, to prevent an XSS attack against the secret vdrive URI contained in the current URL
Brian Warner [Wed, 22 Aug 2007 22:08:41 +0000 (15:08 -0700)]
MANIFEST.in: include .html and .css files from allmydata/web/ too
Brian Warner [Wed, 22 Aug 2007 22:08:00 +0000 (15:08 -0700)]
web: oops, forgot to add start.html
Brian Warner [Wed, 22 Aug 2007 21:54:34 +0000 (14:54 -0700)]
web: remove /vdrive/private, replace with a start.html file that points at the /uri/PRIVATE_URI, to prevent XSRF attacks
Zooko O'Whielacronx [Wed, 22 Aug 2007 17:29:57 +0000 (10:29 -0700)]
refactor reading of configuration files in client.py
This makes it so that an optional file which is unreadable or is rm'ed
at the wrong moment will be ignored instead of raising an exception.
It also bums out a couple of unnecessary lines of code (the explicit
".close()" call).
Brian Warner [Sat, 18 Aug 2007 06:28:22 +0000 (23:28 -0700)]
client.py: add a newline to "myself.furl" contents
Zooko O'Whielacronx [Fri, 17 Aug 2007 21:59:49 +0000 (14:59 -0700)]
command-line: fix ticket #111 by requiring input to be a local file and sending Content-Length header
Zooko O'Whielacronx [Fri, 17 Aug 2007 21:17:31 +0000 (14:17 -0700)]
command-line: fix a few bugs in the "execute this python file" way to execute rm
Zooko O'Whielacronx [Fri, 17 Aug 2007 20:33:03 +0000 (13:33 -0700)]
relnotes.txt a few tiny branding edits
Uncertain about the branding, but what the heck.
Brian Warner [Fri, 17 Aug 2007 00:47:52 +0000 (17:47 -0700)]
tahoe_put-web2ish.py: clean up imports to be pyflakes-compliant, add newline to output
Brian Warner [Fri, 17 Aug 2007 00:47:24 +0000 (17:47 -0700)]
cli.py: fix typo in synopsis
Brian Warner [Fri, 17 Aug 2007 00:05:26 +0000 (17:05 -0700)]
test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently
Brian Warner [Fri, 17 Aug 2007 00:03:50 +0000 (17:03 -0700)]
test_system.py: verify that we can replace files in place
Brian Warner [Fri, 17 Aug 2007 00:03:19 +0000 (17:03 -0700)]
dirnode: change the defined behavior of RIVirtualDriveServer.set to allow replace-in-place without raising an exception
Brian Warner [Thu, 16 Aug 2007 23:49:40 +0000 (16:49 -0700)]
test_system.py: many (failing) web tests were accidentally bypassed, fix those. Add some PUT tests.
Brian Warner [Thu, 16 Aug 2007 22:59:15 +0000 (15:59 -0700)]
boringfile: generated file 'version.py' was changed to _version.py
Brian Warner [Thu, 16 Aug 2007 22:43:43 +0000 (15:43 -0700)]
misc/get-version.py: get the version string from the new location, _version.py
Zooko O'Whielacronx [Fri, 17 Aug 2007 20:23:16 +0000 (13:23 -0700)]
command-line: add "rm", and tidy-up variable names, and make it so "allmydata-tahoe spam" prints a usage message instead of returning silently
Zooko O'Whielacronx [Fri, 17 Aug 2007 20:06:43 +0000 (13:06 -0700)]
command-line: remove some redundant options checking
Zooko O'Whielacronx [Fri, 17 Aug 2007 19:54:47 +0000 (12:54 -0700)]
command-line: fix all three commands and all two ways to invoke them to require node-url and give a useful usage string if node-url is absent or of the wrong form
Zooko O'Whielacronx [Fri, 17 Aug 2007 19:25:09 +0000 (12:25 -0700)]
relnotes.txt: edit and update relnotes and clarify licence
Zooko O'Whielacronx [Fri, 17 Aug 2007 19:06:41 +0000 (12:06 -0700)]
tahoe_put.py: don't treat "^HTTP 200 OK" appearing somewhere in the body as if it appeared in the header
Zooko O'Whielacronx [Fri, 17 Aug 2007 19:06:11 +0000 (12:06 -0700)]
tahoe_put.py: require node-url to be provided
Zooko O'Whielacronx [Fri, 17 Aug 2007 19:06:00 +0000 (12:06 -0700)]
CREDITS: update Arno's entry
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:53:27 +0000 (16:53 -0700)]
cmdline: change "--server" to "--node-url" and make it have no default value
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:52:22 +0000 (16:52 -0700)]
relnotes.txt: a few more updates to relnotes.txt
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:30:39 +0000 (16:30 -0700)]
put now exits after doing its work, and it prints a terse message if 200 or 201, and a full dump of response elsewise
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:03:02 +0000 (16:03 -0700)]
relnotes.txt: incomplete update to describe v0.5
more to come...
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:01:01 +0000 (16:01 -0700)]
incomplete version of tahoe-put.py
It doesn't exit properly afterward, and it might not do the best things with non-success responses from the server.
(See tahoe-put-web2ish.py for an example of better response handling.)
Zooko O'Whielacronx [Thu, 16 Aug 2007 22:53:53 +0000 (15:53 -0700)]
webapi.txt: s/dirnodes/directories/
Zooko O'Whielacronx [Thu, 16 Aug 2007 22:38:01 +0000 (15:38 -0700)]
fix version class to preferred format and correct parsing
Zooko O'Whielacronx [Thu, 16 Aug 2007 23:16:41 +0000 (16:16 -0700)]
version_class.py: if you don't have pkg_resources for comparing version numbers, use distutils.version.LooseVersion
Brian Warner [Fri, 17 Aug 2007 03:30:07 +0000 (20:30 -0700)]
README: update/clarify the build-depends packages need to create .debs
Brian Warner [Thu, 16 Aug 2007 19:50:19 +0000 (12:50 -0700)]
scripts: rearrange Options, make --version behave the same for all commands
Zooko O'Whielacronx [Thu, 16 Aug 2007 21:14:41 +0000 (14:14 -0700)]
fix small bug in unit tests which caused spurious failures on Windows
Zooko O'Whielacronx [Thu, 16 Aug 2007 21:10:48 +0000 (14:10 -0700)]
in-line doc edit: s/pyutil/allmydata.util/
Zooko O'Whielacronx [Thu, 16 Aug 2007 21:09:30 +0000 (14:09 -0700)]
import version class and make-version script from pyutil -- fixes win32 build, improves error handling, and eliminates unused features
Zooko O'Whielacronx [Thu, 16 Aug 2007 19:15:38 +0000 (12:15 -0700)]
a first crack at the "put" command-line
There are actually two versions in this patch, one of which requires twisted.web2 and the other of which uses the Python standard library's socket module. The socketish one doesn't know when the web server is done so it hangs after doing its thing. (Oh -- maybe I should add an HTTP header asking the web server to close the connection when finished.) The web2ish one works better in that respect. Neither of them handle error responses from the server very well yet.
After lunch I intend to finish the socketish one.
To try one, mv src/allmydata/scripts/tahoe_put-{socketish,web2ish}.py src/allmydata/scripts/tahoe_put.py .
If you want to try the web2ish one, and you can't find a web2 package to install, you can get one from:
http://allmydata.org/~zooko/repos/twistedweb2snarf/
Brian Warner [Thu, 16 Aug 2007 00:47:10 +0000 (17:47 -0700)]
Makefile: add build_ext target, for convenience
Brian Warner [Thu, 16 Aug 2007 06:14:05 +0000 (23:14 -0700)]
webish.py: allow users to delete (but not create) empty-named files. Closes #94.
Brian Warner [Wed, 15 Aug 2007 22:21:38 +0000 (15:21 -0700)]
webish: implement replace= for POST commands
Brian Warner [Wed, 15 Aug 2007 20:22:23 +0000 (13:22 -0700)]
webish: implement replace= for PUT commands
Brian Warner [Wed, 15 Aug 2007 20:22:01 +0000 (13:22 -0700)]
IDirectoryNode: add has_child() method
Brian Warner [Wed, 15 Aug 2007 19:55:11 +0000 (12:55 -0700)]
check_memory.py: Disable the 100MB test for now: our buildslave can't currently handle it because the testnet/framework processes uses something like 600M of RSS.
Brian Warner [Thu, 16 Aug 2007 02:31:49 +0000 (19:31 -0700)]
webapi.txt: specify replace= behavior on all PUT and POST commands
Brian Warner [Thu, 16 Aug 2007 02:04:47 +0000 (19:04 -0700)]
webapi.txt: clear up underspecified items, replace 'webpassword' paragraph
with a section about our expected plans for #98, add more introductory text
to the sections on manipulate-file vs manipulate-directory.
Zooko O'Whielacronx [Wed, 15 Aug 2007 19:28:04 +0000 (12:28 -0700)]
webapi.txt: shorter and hopefully clearer description of names vs. identifiers
Brian (and anyone who has an interest in the API and documentation): please review.
Brian Warner [Tue, 14 Aug 2007 09:12:30 +0000 (02:12 -0700)]
client.py: make a note in the logs when the auto-shutdown feature is in use
Brian Warner [Tue, 14 Aug 2007 00:45:02 +0000 (17:45 -0700)]
webish: look for when_done= in POST fields as well as queryargs. Closes #101.
We need to look in the fields because that's how we build the mkdir/upload
forms. Without this, uploading or creating directories would leave us on a
page that had just a URI, instead of something actually useful to a human.
Brian Warner [Mon, 13 Aug 2007 20:28:40 +0000 (13:28 -0700)]
docs/configuration.txt: explain the files in the node's basedir, which ones are useful to modify, etc