Zooko O'Whielacronx [Wed, 14 Jul 2010 06:02:55 +0000 (23:02 -0700)]
minor code clean-up in dirnode.py
Impose micro-POLA by passing only the writekey instead of the whole node object to {{{_encrypt_rw_uri()}}}. Remove DummyImmutableFileNode in nodemaker.py, which is obviated by this. Add micro-optimization by precomputing the netstring of the empty string and branching on whether the writekey is present or not outside of {{{_encrypt_rw_uri()}}}. Add doc about writekey to docstring.
fixes #967
david-sarah [Mon, 12 Jul 2010 00:30:15 +0000 (17:30 -0700)]
Rename stringutils to encodingutil, and drop listdir_unicode and open_unicode (since the Python stdlib functions work fine with Unicode paths). Also move some utility functions to fileutil.
david-sarah [Sun, 11 Jul 2010 19:55:25 +0000 (12:55 -0700)]
Allow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable to be Unicode. Also pass the name of each child into nodemaker.create_from_cap for error reporting.
Zooko O'Whielacronx [Wed, 14 Jul 2010 06:01:50 +0000 (23:01 -0700)]
docs: CREDITS and NEWS
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:55:03 +0000 (21:55 -0700)]
CREDITS: more creds for Kevan, plus utf-8 BOM
david-sarah [Wed, 14 Jul 2010 01:45:38 +0000 (18:45 -0700)]
cli.py: make command descriptions consistently end with a full stop.
david-sarah [Mon, 12 Jul 2010 02:55:37 +0000 (19:55 -0700)]
SFTP: address some of the comments in zooko's review (#1106).
david-sarah [Mon, 12 Jul 2010 05:07:21 +0000 (22:07 -0700)]
docs/logging.txt: note that setting flogging vars might affect tests with race conditions.
david-sarah [Mon, 13 Jul 1970 04:05:46 +0000 (21:05 -0700)]
test_storage.py: potential fix for failures when logging is enabled.
terrellrussell [Thu, 8 Jul 2010 19:39:03 +0000 (12:39 -0700)]
upcase_since_on_welcome
freestorm77 [Sat, 5 Jun 2010 19:17:21 +0000 (12:17 -0700)]
server_version_on_welcome_page.dpatch.txt
- The storage server version is 0 for all storage nodes in the Welcome Page
Zooko O'Whielacronx [Thu, 8 Jul 2010 16:20:58 +0000 (09:20 -0700)]
NEWS: add NEWS snippets about two recent patches
freestorm77 [Tue, 22 Jun 2010 20:53:01 +0000 (13:53 -0700)]
directory_html_top_banner.dpatch
The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct
freestorm77 [Tue, 22 Jun 2010 21:00:46 +0000 (14:00 -0700)]
tahoe_css_toolbar.dpatch
CSS modification to be correctly diplayed with Internet Explorer 8
The links on the top of page directory.xhtml are not diplayed in the same line as display with Firefox.
freestorm77 [Tue, 22 Jun 2010 21:47:14 +0000 (14:47 -0700)]
runnin_test_tahoe_css.dpatch
Runnin test for changes in tahoe.css file
freestorm77 [Tue, 22 Jun 2010 20:14:03 +0000 (13:14 -0700)]
runnin_test_directory_xhtml.dpatch
Runnin test for diretory.xhtml top banner
david-sarah [Sat, 26 Jun 2010 04:08:17 +0000 (21:08 -0700)]
stringutils.py: tolerate sys.stdout having no 'encoding' attribute.
david-sarah [Mon, 5 Jul 2010 17:58:58 +0000 (10:58 -0700)]
quickstart.html: python 2.5 -> 2.6 as recommended version
david-sarah [Mon, 28 Jun 2010 23:19:26 +0000 (16:19 -0700)]
SFTP: don't call .stopProducing on the producer registered with OverwriteableFileConsumer (which breaks with warner's new downloader).
david-sarah [Fri, 25 Jun 2010 22:39:29 +0000 (15:39 -0700)]
docs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should now be quickstart.html.
Zooko O'Whielacronx [Sat, 19 Jun 2010 03:49:28 +0000 (20:49 -0700)]
setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk"
Zooko O'Whielacronx [Mon, 14 Jun 2010 04:57:15 +0000 (21:57 -0700)]
trivial: tiny update to in-line comment
(I'm actually committing this patch as a test of the new eager-annotation-computation of trac-darcs.)
Zooko O'Whielacronx [Sat, 19 Jun 2010 06:53:18 +0000 (23:53 -0700)]
docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around
Zooko O'Whielacronx [Sat, 19 Jun 2010 06:51:24 +0000 (23:51 -0700)]
docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates"
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:26:31 +0000 (22:26 -0700)]
TAG allmydata-tahoe-1.7.0
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:20:48 +0000 (22:20 -0700)]
docs: update relnotes.txt for Tahoe-LAFS v1.7.0!
... and remove relnotes-short.txt (just use the first section of relnotes.txt for that purpose)
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:17:34 +0000 (22:17 -0700)]
docs: update known_issues.txt with more detail about web browser "safe-browsing" features and slightly tweaked formatting
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:01:24 +0000 (22:01 -0700)]
docs: quickstart.html: link to 1.7.0 zip file and add UTF-8 BOM
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:58:09 +0000 (21:58 -0700)]
docs: more CREDITS for Kevan, plus utf-8 BOM
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:57:50 +0000 (21:57 -0700)]
docs: update NEWS for release 1.7.0
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:07:54 +0000 (21:07 -0700)]
docs: apply patch from duck for #937 about "tahoe run" not working on introducers
david-sarah [Sat, 19 Jun 2010 03:56:03 +0000 (20:56 -0700)]
webapi.txt: fix statement about leap seconds.
david-sarah [Sat, 19 Jun 2010 03:31:52 +0000 (20:31 -0700)]
running.html: Tahoe->Tahoe-LAFS in what used to be using.html, and #tahoe->#tahoe-lafs (IRC channel).
david-sarah [Sat, 19 Jun 2010 02:26:20 +0000 (19:26 -0700)]
test_backupdb.py: skip test_unicode if we can't represent the test filenames.
david-sarah [Sat, 19 Jun 2010 02:17:18 +0000 (19:17 -0700)]
test_web.py: correct a test that was missed in the change to not write ctime/mtime.
david-sarah [Fri, 18 Jun 2010 23:01:19 +0000 (16:01 -0700)]
dirnode.py: stop writing 'ctime' and 'mtime' fields. Includes documentation and test changes.
david-sarah [Thu, 17 Jun 2010 03:46:23 +0000 (20:46 -0700)]
test_storage.py: print more information on test failures.
david-sarah [Thu, 17 Jun 2010 03:36:03 +0000 (20:36 -0700)]
running.html: describe where 'bin/tahoe' is only once.
david-sarah [Thu, 17 Jun 2010 01:28:57 +0000 (18:28 -0700)]
Merge using.html into running.html.
david-sarah [Thu, 17 Jun 2010 00:45:13 +0000 (17:45 -0700)]
Remove firewall section from running.html and say to read configuration.txt instead.
david-sarah [Sat, 19 Jun 2010 00:43:11 +0000 (17:43 -0700)]
FTP-and-SFTP.txt: add Known Issues section.
david-sarah [Sat, 19 Jun 2010 00:17:38 +0000 (17:17 -0700)]
FTP-and-SFTP.txt: remove description of public key format that is not actually implemented. Document that SFTP does not support server private keys with passphrases, and that FTP cannot list directories containing mutable files.
david-sarah [Fri, 18 Jun 2010 05:07:10 +0000 (22:07 -0700)]
configuration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy <= N. Also minor wording changes.
david-sarah [Fri, 18 Jun 2010 04:51:10 +0000 (21:51 -0700)]
test_cli.py: fix test failure in CLI.test_listdir_unicode_good due to filenames returned from listdir_unicode no longer being normalized.
david-sarah [Fri, 18 Jun 2010 03:52:11 +0000 (20:52 -0700)]
tahoe backup: unicode tests.
david-sarah [Thu, 17 Jun 2010 03:39:01 +0000 (20:39 -0700)]
CLI: allow Unicode patterns in exclude option to 'tahoe backup'.
david-sarah [Fri, 18 Jun 2010 00:02:49 +0000 (17:02 -0700)]
dirnodes: fix normalization hole where childnames in directories created by nodemaker.create_mutable/immutable_directory would not be normalized. Add a test that we normalize names coming out of a directory.
david-sarah [Thu, 17 Jun 2010 04:14:11 +0000 (21:14 -0700)]
dirnode.py: comments about normalization changes.
david-sarah [Thu, 17 Jun 2010 03:44:40 +0000 (20:44 -0700)]
stringutils.py: remove unused import.
david-sarah [Thu, 17 Jun 2010 03:44:09 +0000 (20:44 -0700)]
test_stringutils.py: take account of the output of listdir_unicode no longer being normalized. Also use Unicode escapes, not UTF-8.
david-sarah [Thu, 17 Jun 2010 03:40:25 +0000 (20:40 -0700)]
test_dirnode.py: partial tests for normalization changes.
david-sarah [Thu, 17 Jun 2010 03:37:44 +0000 (20:37 -0700)]
SFTP: get 'ctime' attribute from 'tahoe:linkmotime'.
david-sarah [Thu, 17 Jun 2010 01:55:37 +0000 (18:55 -0700)]
stringutils.py: don't NFC-normalize the output of listdir_unicode.
david-sarah [Wed, 16 Jun 2010 04:20:12 +0000 (21:20 -0700)]
stringutils.py: Add encoding argument to quote_output. Also work around a bug in locale.getpreferredencoding on older Pythons.
david-sarah [Wed, 16 Jun 2010 03:14:50 +0000 (20:14 -0700)]
Provisional patch to NFC-normalize filenames going in and out of Tahoe directories.
david-sarah [Fri, 18 Jun 2010 04:18:54 +0000 (21:18 -0700)]
how_to_make_a_tahoe-lafs_release.txt: reordering, add fuse-sshfs@lists.sourceforge.list as place to send relnotes.
david-sarah [Thu, 17 Jun 2010 00:09:52 +0000 (17:09 -0700)]
running.html: fix overeager replacement of 'tahoe' with 'Tahoe-LAFS', and some simplifications.
Kevan Carstensen [Mon, 24 May 2010 00:35:08 +0000 (17:35 -0700)]
Add a specification for servers of happiness.
Kevan Carstensen [Mon, 24 May 2010 04:28:36 +0000 (21:28 -0700)]
Note that servers of happiness only applies to immutable files for the moment
Zooko O'Whielacronx [Wed, 16 Jun 2010 14:02:27 +0000 (07:02 -0700)]
Add a note about running Tahoe-LAFS on a small grid to running.html
also Change "tahoe" and "Tahoe" to "Tahoe-LAFS" in running.html
author: Kevan Carstensen
david-sarah [Thu, 10 Jun 2010 22:55:47 +0000 (15:55 -0700)]
CLI.txt: introduce 'create-alias' before 'add-alias', document Unicode argument support, and other minor updates.
david-sarah [Wed, 16 Jun 2010 00:16:48 +0000 (17:16 -0700)]
test_system.py: investigate failure in allmydata.test.test_system.SystemTest.test_upload_and_download_random_key due to bytes_sent not being an int
david-sarah [Sun, 13 Jun 2010 16:43:56 +0000 (09:43 -0700)]
SFTP: remove a dubious use of 'pragma: no cover'.
david-sarah [Sat, 12 Jun 2010 03:37:09 +0000 (20:37 -0700)]
SFTP: test that renaming onto a just-opened file fails.
david-sarah [Sat, 12 Jun 2010 03:07:37 +0000 (20:07 -0700)]
SFTP: further small improvements to test coverage. Also ensure that after a test failure, later tests don't fail spuriously due to the checks for heisenfile leaks.
david-sarah [Fri, 11 Jun 2010 21:31:42 +0000 (14:31 -0700)]
SFTP: further improve test coverage (paths containing '.', bad data for posix-rename extension, and error in test of openShell).
david-sarah [Fri, 11 Jun 2010 20:57:52 +0000 (13:57 -0700)]
SFTP: improve test coverage for no-write on mutable files, and check for heisenfile table leaks in all relevant tests. Delete test_memory_leak since it is now redundant.
david-sarah [Thu, 10 Jun 2010 18:26:47 +0000 (11:26 -0700)]
SFTP: add test for extension of file opened with FXF_APPEND.
david-sarah [Wed, 9 Jun 2010 23:48:51 +0000 (16:48 -0700)]
NEWS: add UTF-8 coding declaration.
Zooko O'Whielacronx [Wed, 9 Jun 2010 14:30:17 +0000 (07:30 -0700)]
tests: bump up the timeout on this iputil test from 2s to 4s
Zooko O'Whielacronx [Wed, 9 Jun 2010 14:29:27 +0000 (07:29 -0700)]
docs: a few tweaks to NEWS and CREDITS and make quickstart.html point to 1.7.0β!
francois [Wed, 9 Jun 2010 09:11:20 +0000 (02:11 -0700)]
docs: Update NEWS file with new features and bugfixes in 1.7.0
francois [Wed, 9 Jun 2010 08:11:03 +0000 (01:11 -0700)]
docs: wording fix, thanks to Jeremy Visser, fix #987
david-sarah [Wed, 9 Jun 2010 08:00:03 +0000 (01:00 -0700)]
SFTP: fix most significant memory leak described in #1045 (due to a file being added to all_heisenfiles under more than one direntry when renamed).
david-sarah [Wed, 9 Jun 2010 06:50:56 +0000 (23:50 -0700)]
test_stringutils.py: Fix test failure on CentOS builder, possibly Python 2.4.3-related.
david-sarah [Wed, 9 Jun 2010 05:54:48 +0000 (22:54 -0700)]
Fix for Unicode-related test failures on Zooko's OS X 10.6 machine.
Zooko O'Whielacronx [Wed, 9 Jun 2010 05:46:02 +0000 (22:46 -0700)]
docs: update relnote.txt for Tahoe-LAFS v1.7.0β
david-sarah [Wed, 9 Jun 2010 01:33:02 +0000 (18:33 -0700)]
stringutils.py, sftpd.py: Portability fixes for Python <= 2.5.
Zooko O'Whielacronx [Wed, 9 Jun 2010 05:05:42 +0000 (22:05 -0700)]
setup: move the mock library from install_requires to tests_require (re: #1016)
david-sarah [Wed, 9 Jun 2010 00:08:03 +0000 (17:08 -0700)]
Back out Windows-specific Unicode argument support for v1.7.
david-sarah [Wed, 9 Jun 2010 00:36:46 +0000 (17:36 -0700)]
_auto_deps.py: allow Python 2.4.3 on Redhat-based distributions.
Zooko O'Whielacronx [Wed, 9 Jun 2010 04:07:14 +0000 (21:07 -0700)]
setup: show-tool-versions.py: print out the output from the unix command "locale" and re-arrange encoding data a little bit
Zooko O'Whielacronx [Wed, 9 Jun 2010 03:49:15 +0000 (20:49 -0700)]
setup: add zope.interface to the packages described by show-tool-versions.py
Zooko O'Whielacronx [Tue, 8 Jun 2010 15:55:13 +0000 (08:55 -0700)]
CREDITS: update François's Description
Zooko O'Whielacronx [Tue, 8 Jun 2010 14:30:52 +0000 (07:30 -0700)]
CREDITS: jsgf
Zooko O'Whielacronx [Tue, 8 Jun 2010 04:16:07 +0000 (21:16 -0700)]
setup: rename the setuptools_trial .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well
Zooko O'Whielacronx [Tue, 8 Jun 2010 04:15:34 +0000 (21:15 -0700)]
setup: rename the darcsver .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well
david-sarah [Tue, 8 Jun 2010 06:37:53 +0000 (23:37 -0700)]
SFTP: suppress NoSuchChildError if heisenfile attributes have been updated in setAttrs, in the case where the parent is available.
david-sarah [Tue, 8 Jun 2010 05:57:00 +0000 (22:57 -0700)]
SFTP: ignore permissions when opening a file (needed for sshfs interoperability).
david-sarah [Tue, 8 Jun 2010 04:20:12 +0000 (21:20 -0700)]
test_web.py: fix pyflakes warnings introduced by byterange patch.
Jeremy Fitzhardinge [Wed, 10 Mar 2010 03:59:13 +0000 (20:59 -0700)]
Improve HTTP/1.1 byterange handling
Fix parsing of a Range: header to support:
- multiple ranges (parsed, but not returned)
- suffix byte ranges ("-2139")
- correct handling of incorrectly formatted range headers
(correct behaviour is to ignore the header and return the full
file)
- return appropriate error for ranges outside the file
Multiple ranges are parsed, but only the first range is returned.
Returning multiple ranges requires using the multipart/byterange
content type.
Zooko O'Whielacronx [Tue, 8 Jun 2010 03:37:54 +0000 (20:37 -0700)]
tests: bump up the timeout on these tests; MM's buildslave is sometimes extremely slow on tests, but it will complete them if given enough time. MM is working on making that buildslave more predictable in how long it takes to run tests.
david-sarah [Mon, 7 Jun 2010 18:37:30 +0000 (11:37 -0700)]
test_cli.py: remove invalid 'test_listdir_unicode_bad' test.
david-sarah [Tue, 8 Jun 2010 01:35:28 +0000 (18:35 -0700)]
check_memory.py: adapt to servers-of-happiness changes.
david-sarah [Tue, 8 Jun 2010 00:45:23 +0000 (17:45 -0700)]
show-tool-versions.py: platform.linux_distribution() is not always available
david-sarah [Tue, 8 Jun 2010 00:38:29 +0000 (17:38 -0700)]
show-tool-versions.py: show platform.linux_distribution()
david-sarah [Mon, 7 Jun 2010 18:37:57 +0000 (11:37 -0700)]
Remove the 'tahoe debug consolidate' subcommand.
david-sarah [Mon, 7 Jun 2010 17:47:14 +0000 (10:47 -0700)]
common_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in HTTPError and MissingSourceError (introduced by the Unicode fixes).
Zooko O'Whielacronx [Mon, 7 Jun 2010 11:59:29 +0000 (04:59 -0700)]
tests: drastically increase timeout of this very time-consuming test in honor of François's ARM box
Zooko O'Whielacronx [Mon, 7 Jun 2010 06:23:29 +0000 (23:23 -0700)]
setup: update authorship, datestamp, licensing, and add special exceptions to allow combination with Eclipse- and QPL- licensed code