Brian Warner [Tue, 11 Sep 2007 21:53:31 +0000 (14:53 -0700)]
storage: always record lease expiration times as integers
nejucomo [Fri, 7 Sep 2007 23:15:41 +0000 (16:15 -0700)]
Add some passing unit tests for testutil.PollMixin.
Brian Warner [Mon, 10 Sep 2007 22:46:45 +0000 (15:46 -0700)]
provisioning: include the cost of replacing failed hard drives
Brian Warner [Mon, 10 Sep 2007 22:29:33 +0000 (15:29 -0700)]
provisioning: add cost information
Zooko O'Whielacronx [Tue, 11 Sep 2007 18:29:18 +0000 (11:29 -0700)]
loosen constraint on share data size
Brian Warner [Fri, 7 Sep 2007 22:01:17 +0000 (15:01 -0700)]
provisioning: oops, fix test_provisioning too
Brian Warner [Fri, 7 Sep 2007 21:45:43 +0000 (14:45 -0700)]
provisioning.py: update test with new encoding-parameters format
Brian Warner [Fri, 7 Sep 2007 06:08:21 +0000 (23:08 -0700)]
provisioning: require at least one drive per server
Brian Warner [Fri, 7 Sep 2007 06:01:07 +0000 (23:01 -0700)]
provisioning: explain the 'survival' number better
Brian Warner [Fri, 7 Sep 2007 05:54:53 +0000 (22:54 -0700)]
provisioning: more repair/survivability data
Brian Warner [Fri, 7 Sep 2007 01:47:41 +0000 (18:47 -0700)]
provisioning: add some drive failure and repair rate info
Brian Warner [Thu, 6 Sep 2007 01:16:21 +0000 (18:16 -0700)]
provisioning.py: add file/server availability numbers
Brian Warner [Thu, 6 Sep 2007 00:23:06 +0000 (17:23 -0700)]
webish: implement 'PUT /uri?t=mkdir' (to create anonymous dirnodes)
Brian Warner [Thu, 6 Sep 2007 00:12:27 +0000 (17:12 -0700)]
webish: implement 'PUT /uri' (to create anonymous files)
Brian Warner [Tue, 4 Sep 2007 23:33:06 +0000 (16:33 -0700)]
client.py: only import webish.py if 'webport' is set, to save 3MB of footprint
Brian Warner [Tue, 4 Sep 2007 16:00:24 +0000 (09:00 -0700)]
storage: add version number to share data. Closes #90.
Brian Warner [Mon, 3 Sep 2007 04:39:47 +0000 (21:39 -0700)]
storage: don't add a duplicate lease, renew the old one instead
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