Zooko O'Whielacronx [Tue, 10 Jun 2008 23:14:24 +0000 (16:14 -0700)]
docs: CREDITS for Nathan and for Armin Rigo
Brian Warner [Tue, 10 Jun 2008 20:05:44 +0000 (13:05 -0700)]
storage.py: remove unused import
Brian Warner [Tue, 10 Jun 2008 18:55:28 +0000 (11:55 -0700)]
upload: abort the bucket upon any write error, and do it with callRemoteOnly to avoid double errors
Brian Warner [Tue, 10 Jun 2008 18:53:10 +0000 (11:53 -0700)]
storage: ignore shares in incoming/, to make clients use other servers during simultaneous uploads
Brian Warner [Mon, 9 Jun 2008 23:55:04 +0000 (16:55 -0700)]
_auto_deps.py: per #456, don't require the 'secure_connections' feature from Foolscap, to avoid (failing) builds of pyopenssl
Zooko O'Whielacronx [Mon, 9 Jun 2008 23:21:50 +0000 (16:21 -0700)]
setup: quote another place where spaces in paths cause shell command misparsing
Brian Warner [Mon, 9 Jun 2008 23:06:29 +0000 (16:06 -0700)]
Makefile: build twice, since sometimes the Nevow build fails the first time. See #455. This ought to be undone once that ticket is fixed by a new release of setuptools
Zooko O'Whielacronx [Mon, 9 Jun 2008 18:53:24 +0000 (11:53 -0700)]
setup: don't quote REACTOROPT -- when it is empty then we want no argument at all to be passed to trial, rather than the empty-string-argument
Zooko O'Whielacronx [Mon, 9 Jun 2008 18:41:56 +0000 (11:41 -0700)]
setup: remove Nevow 0.9.18 tarball from misc/dependencies
The 0.9.18 version of Nevow doesn't declare its dependency on Twisted in a machine-readable way ( http://divmod.org/trac/ticket/2629 ). Neither does the current release of Nevow (0.9.31), but hopefully a future release of Nevow in the near future will fix this.
Also, we're going to be managing external dependencies like this in a separate darcs repository in the future instead of checking them into our Tahoe source tree.
nejucomo [Sat, 7 Jun 2008 07:08:25 +0000 (00:08 -0700)]
fuse: runtests: Create an interface for setup/cleanup of the two implementations...
The impl_b cleanup appears incorrect. I'm not sure what the proper behavior is.
nejucomo [Sat, 7 Jun 2008 07:07:18 +0000 (00:07 -0700)]
fuse: runtests: Wrap OSError exceptions which are test failures.
nejucomo [Sat, 7 Jun 2008 07:06:00 +0000 (00:06 -0700)]
fuse: runtests: Move exception classes to top scope.
nejucomo [Sat, 7 Jun 2008 07:05:07 +0000 (00:05 -0700)]
fuse: runtests: Fix typo in summary reporting.
nejucomo [Sat, 7 Jun 2008 06:19:15 +0000 (23:19 -0700)]
fuse: runtests: Make test numbers (and everything in general) 0-indexed for consistency.
nejucomo [Sat, 7 Jun 2008 06:18:15 +0000 (23:18 -0700)]
fuse: runtests.py: Fix a typo bug in fusermount output checking.
nejucomo [Sat, 7 Jun 2008 06:17:19 +0000 (23:17 -0700)]
fuse: runtests.py: Fix bug in polling_operation error that always referred to introducer.furl.
nejucomo [Sat, 7 Jun 2008 06:16:38 +0000 (23:16 -0700)]
fuse: impl_b: Support --basedir on commandline.
nejucomo [Sat, 7 Jun 2008 05:22:36 +0000 (22:22 -0700)]
fuse: impl_b: Add impl_b to the contrib directory.
nejucomo [Sat, 7 Jun 2008 05:19:23 +0000 (22:19 -0700)]
fuse: Reorganize directory tree and modify runtests.py to run against both implementations...
Currently, fuse impl_b does not support a --basedir argument, and always
uses ~/.tahoe, which makes it incompatible with these system tests.
Zooko O'Whielacronx [Thu, 5 Jun 2008 23:39:12 +0000 (16:39 -0700)]
setup: don't quote TRIALCMD in Makefile -- it can be a pair of (python executable, path to command) paths
Zooko O'Whielacronx [Thu, 5 Jun 2008 22:59:45 +0000 (15:59 -0700)]
setup: quote the results of misc/find_trial.py so that they can be passed through a shell even if they contain spaces
Zooko O'Whielacronx [Thu, 5 Jun 2008 22:19:51 +0000 (15:19 -0700)]
setup: quote variables which are going to be passed through a shell and which might contain spaces
Zooko O'Whielacronx [Thu, 5 Jun 2008 21:02:49 +0000 (14:02 -0700)]
setup: indentation
Zooko O'Whielacronx [Thu, 5 Jun 2008 20:55:05 +0000 (13:55 -0700)]
setup and docs: various improvements to setup and docs
Remove docs/install-details.html and README.win32 for now (see #282).
Remove checks for pywin32 and pyopenssl in Makefile -- that is (or will be) automated by setuptools.
Remove twisted from setup_requires. This causes the problem in which Nevow doesn't declare its dependency on Twisted (#440) to yield a clear ImportError mentioning Twisted and to fail repeatedly, rather than yielding a weird ImportError and working on the second identical attempt.
Fix Makefile to set PATH so that trial and twistd can be found by "make test" after Twisted was installed into support/ during "make"
Peter Secor [Wed, 4 Jun 2008 19:03:02 +0000 (12:03 -0700)]
native client - update version and binaries to fix unicode handling
Brian Warner [Wed, 4 Jun 2008 00:47:08 +0000 (17:47 -0700)]
docs/configuration.txt: explain the current limitations of readonly_storage
Brian Warner [Wed, 4 Jun 2008 00:09:39 +0000 (17:09 -0700)]
web: add test for unicode POST when the name comes from name=, not the filename attribute
Brian Warner [Tue, 3 Jun 2008 22:02:10 +0000 (15:02 -0700)]
web: make nickname more visible in the welcome page, closes #361
Brian Warner [Tue, 3 Jun 2008 21:34:00 +0000 (14:34 -0700)]
webish: make /cap/ equivalent to /uri/, accepting both with the same meanings. Closes #428
Brian Warner [Tue, 3 Jun 2008 07:03:16 +0000 (00:03 -0700)]
web: transform FileTooLargeError into a friendlier '413 Request Entity Too Large' error
Brian Warner [Tue, 3 Jun 2008 07:02:10 +0000 (00:02 -0700)]
mutable/publish.py: raise FileTooLargeError instead of an ugly assertion when the SDMF restrictions are exceeded
Brian Warner [Tue, 3 Jun 2008 07:01:15 +0000 (00:01 -0700)]
move FileTooLargeError out to a common location
Brian Warner [Tue, 3 Jun 2008 06:07:02 +0000 (23:07 -0700)]
docs: move files that are about future plans into docs/proposed/, to clearly separate them from descriptions of the present codebase
Brian Warner [Tue, 3 Jun 2008 06:03:21 +0000 (23:03 -0700)]
docs: update webapi.txt with write-coordination issues, add TODO note to recovery section of mutable.txt
Brian Warner [Tue, 3 Jun 2008 05:27:02 +0000 (22:27 -0700)]
move roadmap.txt into Trac, in the form of several tickets (in the 444 to 451 range)
Brian Warner [Tue, 3 Jun 2008 02:58:27 +0000 (19:58 -0700)]
docs/file-encoding.txt: move this over from the wiki
nejucomo [Sun, 1 Jun 2008 03:16:05 +0000 (20:16 -0700)]
fuse_a: runtests.py: The current ubuntu python-fuse ignores the -f option and always forks, so this updates runtests to use fusermount for clean shutdown.
nejucomo [Sun, 1 Jun 2008 02:22:18 +0000 (19:22 -0700)]
fuse_a: logging: Make logging a bit cleaner, and make it log to the correct location!
nejucomo [Sun, 1 Jun 2008 02:21:42 +0000 (19:21 -0700)]
fuse_a: Update todo/wishlist comments in tahoe_fuse.py to reflect my intent.
nejucomo [Sun, 1 Jun 2008 02:21:17 +0000 (19:21 -0700)]
fuse_a: runtests: Add some TODOs and FIXMEs in the comments.
nejucomo [Sun, 1 Jun 2008 02:06:00 +0000 (19:06 -0700)]
fuse_a: Add more explanation to the failure message when simplejson cannot be imported.
nejucomo [Sun, 1 Jun 2008 02:05:41 +0000 (19:05 -0700)]
fuse_a: Fix a bug in test cleanup code.
nejucomo [Sun, 1 Jun 2008 02:03:51 +0000 (19:03 -0700)]
fuse_a: Remove unused webport files...
This prevents the third client from failing to start due to a port
collision with the second client. The first client, which is used for
testing has a random high port written to webport, and thus does not
interfere.
nejucomo [Sat, 31 May 2008 07:42:02 +0000 (00:42 -0700)]
fuse_a: Fix the expected path in runtests.py.
Brian Warner [Tue, 3 Jun 2008 02:21:39 +0000 (19:21 -0700)]
docs/file-encoding: update some of the stale diagrams to reflect current code
Brian Warner [Tue, 3 Jun 2008 01:43:31 +0000 (18:43 -0700)]
docs/historical: move 'tahoe2' from wiki into source tree
Brian Warner [Tue, 3 Jun 2008 01:38:32 +0000 (18:38 -0700)]
move historical docs from wiki pages into the source tree, clearly marked as historical
Brian Warner [Tue, 3 Jun 2008 01:00:16 +0000 (18:00 -0700)]
docs/using.html: update CLI section to reflect the new alias: scheme. Closes #431
Brian Warner [Tue, 3 Jun 2008 00:55:54 +0000 (17:55 -0700)]
CLI: make 'tahoe webopen' use the 'tahoe:' alias properly, instead of the old --dir-cap option
Brian Warner [Tue, 3 Jun 2008 00:54:56 +0000 (17:54 -0700)]
CLI: improve docs w.r.t. aliases, add examples to 'tahoe put' and 'tahoe get' help output. Addresses part of #431
Brian Warner [Mon, 2 Jun 2008 23:57:01 +0000 (16:57 -0700)]
Don't allow uploads of large files (about 12GiB or larger), since they're doomed to be corrupted. Closes #439
Peter Secor [Mon, 2 Jun 2008 22:18:16 +0000 (15:18 -0700)]
windows installer - changing version number for latest release 3.0.3
Brian Warner [Fri, 30 May 2008 01:51:11 +0000 (18:51 -0700)]
architecture.txt: explain the introducer SPOF and why it really isn't that bad. Closes #323.
Peter Secor [Fri, 30 May 2008 00:37:48 +0000 (17:37 -0700)]
windows client - changes to have property for changing cache size and allow you to change an account
Brian Warner [Wed, 28 May 2008 23:20:13 +0000 (16:20 -0700)]
docs/backupdb.txt: preliminary sketch of our plans for the duplicate-upload-avoidance database
Brian Warner [Wed, 28 May 2008 18:33:54 +0000 (11:33 -0700)]
misc/munin/tahoe_spacetime.py: add a munin plugin to estimate how much time remains before you run out of space
Brian Warner [Wed, 28 May 2008 04:17:20 +0000 (21:17 -0700)]
misc/delete-old-helper.sh: simple script to delete old+abandoned helper files
Brian Warner [Thu, 22 May 2008 01:40:49 +0000 (18:40 -0700)]
test_system: even more 'cp -r' coverage
Brian Warner [Thu, 22 May 2008 01:36:25 +0000 (18:36 -0700)]
test_system.py: improve 'cp -r' coverage: exercise copy from tahoe to local disk
Brian Warner [Thu, 22 May 2008 00:55:32 +0000 (17:55 -0700)]
CLI: remove the '-r' shortcut for --dir-cap, to make it available for cp -r
Brian Warner [Thu, 22 May 2008 00:35:21 +0000 (17:35 -0700)]
tahoe_cp: rewrite, make --recursive work
Brian Warner [Thu, 22 May 2008 00:34:52 +0000 (17:34 -0700)]
tahoe_ls: improve error message when the target is missing
Brian Warner [Thu, 22 May 2008 00:31:19 +0000 (17:31 -0700)]
scripts/common_http.py: add comment about why we need .seek
Brian Warner [Wed, 21 May 2008 19:09:13 +0000 (12:09 -0700)]
tahoe_cp.py: fix pyflakes complaint
Brian Warner [Wed, 21 May 2008 18:49:22 +0000 (11:49 -0700)]
cli: initial implementation of 'cp -r', probably doesn't work yet
Brian Warner [Wed, 21 May 2008 16:43:49 +0000 (09:43 -0700)]
util.dictutil: move DictOfSets out to a separate utility module
Brian Warner [Tue, 20 May 2008 23:56:03 +0000 (16:56 -0700)]
CLI: implement the easy part of cp (no -r, only two arguments)
Brian Warner [Tue, 20 May 2008 22:40:49 +0000 (15:40 -0700)]
web t=json: add 'mutable' key to the information dict
Brian Warner [Tue, 20 May 2008 22:21:46 +0000 (15:21 -0700)]
test_web: improve test coverage of web.common utility code
Brian Warner [Tue, 20 May 2008 22:14:19 +0000 (15:14 -0700)]
web: fix JSON output for mutable files
Brian Warner [Tue, 20 May 2008 21:36:04 +0000 (14:36 -0700)]
CLI: add 'list-aliases', factor out get_aliases
Brian Warner [Tue, 20 May 2008 20:30:31 +0000 (13:30 -0700)]
CLI: add 'ln', just like move but without the delete
Brian Warner [Tue, 20 May 2008 20:20:48 +0000 (13:20 -0700)]
test_system.py: remove dead code
Brian Warner [Tue, 20 May 2008 20:07:50 +0000 (13:07 -0700)]
tahoe_ls: improve output formatting
Brian Warner [Tue, 20 May 2008 19:49:47 +0000 (12:49 -0700)]
CLI mv: if we can't created the new child, don't delete the old one
Brian Warner [Tue, 20 May 2008 19:49:11 +0000 (12:49 -0700)]
CLI ls: add --readonly-uri to display readonly URIs for all children
Brian Warner [Tue, 20 May 2008 19:36:55 +0000 (12:36 -0700)]
CLI: add put --mutable, enhance ls to show mutable vs immutable as rw/r-
Brian Warner [Tue, 20 May 2008 19:36:02 +0000 (12:36 -0700)]
web: handle PUT mutable=true properly
Brian Warner [Tue, 20 May 2008 18:47:43 +0000 (11:47 -0700)]
test_web: add HEAD coverage
Brian Warner [Tue, 20 May 2008 18:35:47 +0000 (11:35 -0700)]
web: more mutable-file coverage
Brian Warner [Tue, 20 May 2008 18:33:14 +0000 (11:33 -0700)]
web: even more test coverage
Brian Warner [Tue, 20 May 2008 18:13:12 +0000 (11:13 -0700)]
web: improve test coverage, remove some dead code
Brian Warner [Tue, 20 May 2008 06:28:52 +0000 (23:28 -0700)]
test_web/test_system: improve test coverage
Brian Warner [Tue, 20 May 2008 03:24:12 +0000 (20:24 -0700)]
test_system: fix windows test failure, open files with binary mode
Brian Warner [Tue, 20 May 2008 02:28:50 +0000 (19:28 -0700)]
overhaul CLI: not quite complete but it works a lot better than it used to. The new scheme uses 'tahoe add-alias' and rsync/scp-style 'alias:foo/bar.txt' arguments
Brian Warner [Tue, 20 May 2008 01:52:19 +0000 (18:52 -0700)]
test/common: oops, forgot the FakeMutableFileNode.get_readonly fix
Brian Warner [Tue, 20 May 2008 01:38:39 +0000 (18:38 -0700)]
web: improve test coverage
Brian Warner [Tue, 20 May 2008 01:38:28 +0000 (18:38 -0700)]
web/filenode: remove unreachable code
Brian Warner [Tue, 20 May 2008 01:37:28 +0000 (18:37 -0700)]
web/directory: fix rw_uri output in t=JSON to reflect mutable files properly
Brian Warner [Mon, 19 May 2008 22:19:25 +0000 (15:19 -0700)]
web: factor out identical renderHTTP methods
Brian Warner [Mon, 19 May 2008 21:34:13 +0000 (14:34 -0700)]
webish: censor URLs that start with /file and /named too
Brian Warner [Mon, 19 May 2008 21:28:39 +0000 (14:28 -0700)]
test_web: remove leftover import to hush pyflakes
Brian Warner [Mon, 19 May 2008 21:09:31 +0000 (14:09 -0700)]
test_system: match webapi change, making new files now returns 201 Created, not 200 OK
Brian Warner [Mon, 19 May 2008 20:03:00 +0000 (13:03 -0700)]
filenode: add is_mutable to non-MutableFileNode classes
Brian Warner [Mon, 19 May 2008 19:57:04 +0000 (12:57 -0700)]
webish: complete rewrite, break into smaller pieces, auto-create directories, improve error handling
Brian Warner [Mon, 19 May 2008 19:56:02 +0000 (12:56 -0700)]
test_web: implement API changes from the recent webapi.txt overhaul
Brian Warner [Mon, 19 May 2008 19:47:46 +0000 (12:47 -0700)]
webapi.txt: overhaul documentation. API changes are as follows:
* download/upload localdir=/localfile= has been removed. This sort of ambient
authority was unsafe to expose over the web (CSRF), and at some point
soon we'll have 'cp -r' in the CLI to replace it.
* GET save=filename -> GET filename=filename&save=true
* GET t=download removed
* side-effect causing operations now use POST where appropriate, not PUT
* to create multiple directories, either use
* POST /uri/DIRCAP/parent?t=mkdir&name=child (more form/browser oriented)
* POST /uri/DIRCAP/parent/child?t=mkdir (more machine oriented)
The t=mkdir-p form is still accepted, but not preferred (since it leaks
the child name queryarg into the logs)
* use PUT /uri/MUTABLEFILECAP or PUT /uri/DIRCAP/child (on a mutable file) to
replace its contents, or POST /same?t=upload from forms
* response bodies and codes are better specified than before
Brian Warner [Mon, 19 May 2008 19:33:39 +0000 (12:33 -0700)]
test_web.py: minor cleanups, improved error reporting
Brian Warner [Mon, 19 May 2008 19:32:09 +0000 (12:32 -0700)]
test_web.py: localdir=/localfile= is going away, so remove the tests that exercise it
Brian Warner [Mon, 19 May 2008 21:24:41 +0000 (14:24 -0700)]
debug dump-share: print size of encprivkey and signature too