]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
16 years agofix test_cli to put the root_dir.cap in the private subdir
Zooko O'Whielacronx [Fri, 4 Jan 2008 00:48:53 +0000 (17:48 -0700)]
fix test_cli to put the root_dir.cap in the private subdir

16 years agocmdline: give useful error messages about the --dir-uri and ~/.tahoe/private/root_dir.cap
Zooko O'Whielacronx [Fri, 4 Jan 2008 00:35:35 +0000 (17:35 -0700)]
cmdline: give useful error messages about the --dir-uri and ~/.tahoe/private/root_dir.cap

16 years agoa few formatting tidy-ups
Zooko O'Whielacronx [Fri, 4 Jan 2008 00:14:19 +0000 (17:14 -0700)]
a few formatting tidy-ups

16 years agotest_client.py: validate more versioning code
Brian Warner [Thu, 3 Jan 2008 21:38:24 +0000 (14:38 -0700)]
test_client.py: validate more versioning code

16 years agotest_client.py: assert allmydata.__version__ is not unknown
Brian Warner [Thu, 3 Jan 2008 21:34:59 +0000 (14:34 -0700)]
test_client.py: assert allmydata.__version__ is not unknown

16 years agoMakefile: run 'make-version' at least once, in the 'build' target, to make sure we...
Brian Warner [Thu, 3 Jan 2008 21:33:33 +0000 (14:33 -0700)]
Makefile: run 'make-version' at least once, in the 'build' target, to make sure we populate src/allmydata/_version.py

16 years agoremove automatic private dir
Zooko O'Whielacronx [Fri, 4 Jan 2008 00:02:05 +0000 (17:02 -0700)]
remove automatic private dir
 * rename my_private_dir.cap to root_dir.cap
 * move it into the private subdir
 * change the cmdline argument "--root-uri=[private]" to "--dir-uri=[root]"

16 years agoadd human-encodings of caps, refactor encodings of caps, tighten checks, fix unit...
Zooko O'Whielacronx [Thu, 3 Jan 2008 23:55:43 +0000 (16:55 -0700)]
add human-encodings of caps, refactor encodings of caps, tighten checks, fix unit tests to use values of the right size

16 years agoadd regexes to idlib to match certain kinds of base32-encoded values
Zooko O'Whielacronx [Thu, 3 Jan 2008 23:44:46 +0000 (16:44 -0700)]
add regexes to idlib to match certain kinds of base32-encoded values

16 years agofix idlib.could_be_base32_encoded_l() to accept *only* valid strings
Zooko O'Whielacronx [Thu, 3 Jan 2008 18:43:11 +0000 (11:43 -0700)]
fix idlib.could_be_base32_encoded_l() to accept *only* valid strings

16 years agorefactor constructing URI objects from strings and add human-encoding of WriteableSSK...
Zooko O'Whielacronx [Thu, 3 Jan 2008 05:12:15 +0000 (22:12 -0700)]
refactor constructing URI objects from strings and add human-encoding of WriteableSSKFileURI

16 years agodocs/Makefile: rules to turn our SVG images into .png and .eps forms
Brian Warner [Thu, 3 Jan 2008 00:00:22 +0000 (17:00 -0700)]
docs/Makefile: rules to turn our SVG images into .png and .eps forms

16 years agodebian: update dependencies to match calc-deps.py, mainly pycryptopp-0.2.8
Brian Warner [Wed, 2 Jan 2008 22:14:34 +0000 (15:14 -0700)]
debian: update dependencies to match calc-deps.py, mainly pycryptopp-0.2.8

16 years agorunning.html: fix usage of 'tahoe create-client' and 'tahoe start', explain ~/.tahoe...
Brian Warner [Wed, 2 Jan 2008 04:50:46 +0000 (21:50 -0700)]
running.html: fix usage of 'tahoe create-client' and 'tahoe start', explain ~/.tahoe, add closing tags

16 years agoREADME: update required version numbers, fix small cut-and-paste error
Brian Warner [Wed, 2 Jan 2008 04:36:46 +0000 (21:36 -0700)]
README: update required version numbers, fix small cut-and-paste error

16 years agodocs: update install.html and update and format running.html
Zooko O'Whielacronx [Wed, 2 Jan 2008 00:20:07 +0000 (17:20 -0700)]
docs: update install.html and update and format running.html

16 years agosetup: add back "build-deps" as an alias for "build-auto-deps" since I don't know...
Zooko O'Whielacronx [Tue, 1 Jan 2008 08:58:02 +0000 (01:58 -0700)]
setup: add back "build-deps" as an alias for "build-auto-deps" since I don't know how to configure the buildmaster
And I am very tired.

16 years agosetup: whoops, fix the use of source-tree-root-dir eggs in our Makefile
Zooko O'Whielacronx [Tue, 1 Jan 2008 08:53:31 +0000 (01:53 -0700)]
setup: whoops, fix the use of source-tree-root-dir eggs in our Makefile

16 years agodocs: a couple of improvements to install.html
Zooko O'Whielacronx [Tue, 1 Jan 2008 08:52:50 +0000 (01:52 -0700)]
docs: a couple of improvements to install.html

16 years agosetup: fix bin/tahoe to include .egg's from the source tree root dir as well
Zooko O'Whielacronx [Tue, 1 Jan 2008 08:51:28 +0000 (01:51 -0700)]
setup: fix bin/tahoe to include .egg's from the source tree root dir as well
This is necessary, as we can't prevent setuptools from respecting any such eggs, therefore we need to respect them in order to maintain consistency.  However, we don't normally install any "install_requires" eggs into the source tree root dir.

16 years agosetup: rename build-deps to build-auto-deps
Zooko O'Whielacronx [Tue, 1 Jan 2008 08:49:21 +0000 (01:49 -0700)]
setup: rename build-deps to build-auto-deps

16 years agosetup: "make" now defaults to "simple-build", which depends on build-deps
Zooko O'Whielacronx [Tue, 1 Jan 2008 07:44:30 +0000 (00:44 -0700)]
setup: "make" now defaults to "simple-build", which depends on build-deps
This is for conformance with the simple new install.html.  People who don't want build-deps can run "make build".

16 years agosetup: clean up darcsver egg on "make clean"
Zooko O'Whielacronx [Tue, 1 Jan 2008 06:58:25 +0000 (23:58 -0700)]
setup: clean up darcsver egg on "make clean"

16 years agosetup: update the list of files that we think are boring when we are using darcs
Zooko O'Whielacronx [Tue, 1 Jan 2008 06:49:04 +0000 (23:49 -0700)]
setup: update the list of files that we think are boring when we are using darcs

16 years agosetup: finish renaming of docs/testnet to docs/testgrid
Zooko O'Whielacronx [Tue, 1 Jan 2008 06:36:59 +0000 (23:36 -0700)]
setup: finish renaming of docs/testnet to docs/testgrid

16 years agosetup: use darcsver instead of pyutil for darcsver, use setup.py plugin instead of...
Zooko O'Whielacronx [Tue, 1 Jan 2008 06:28:31 +0000 (23:28 -0700)]
setup: use darcsver instead of pyutil for darcsver, use setup.py plugin instead of executable for darcsver
This hopefully fixes the deb builders.

16 years agosetup: add darcsver source tarball to misc/dependencies
Zooko O'Whielacronx [Tue, 1 Jan 2008 06:26:51 +0000 (23:26 -0700)]
setup: add darcsver source tarball to misc/dependencies
In the future, we're likely to stop keeping misc/dependencies under revision control, as per

http://allmydata.org/trac/tahoe/ticket/249

16 years agodocs: even further simplify and reformat install.html
Zooko O'Whielacronx [Mon, 31 Dec 2007 15:39:07 +0000 (08:39 -0700)]
docs: even further simplify and reformat install.html

16 years agodocs: format install.html into HTML format
Zooko O'Whielacronx [Mon, 31 Dec 2007 03:01:18 +0000 (20:01 -0700)]
docs: format install.html into HTML format

16 years agodocs: a bunch of updates to simplify the process of installing from source and runnin...
Zooko O'Whielacronx [Sun, 30 Dec 2007 12:47:17 +0000 (05:47 -0700)]
docs: a bunch of updates to simplify the process of installing from source and running Tahoe
These changes are a work-in-progress -- there are many incomplete and incorrect parts, but the install.html and running.html files
are complete and should work (and they are delightfully concise!).  I'm pushing this just to let people see incremental progress
and to solicit feedback.  "Testing out" the install.html and running.html files and submitting patches or bug reports would be
quite welcome.

More to come.

16 years agodocs: a few updates, edits, and formatting tweaks to README.win32
Zooko O'Whielacronx [Sun, 30 Dec 2007 12:38:12 +0000 (05:38 -0700)]
docs: a few updates, edits, and formatting tweaks to README.win32

16 years agorefactor webish.py slightly, improve the test coverage a bit. One test is marked...
Brian Warner [Tue, 25 Dec 2007 10:48:57 +0000 (03:48 -0700)]
refactor webish.py slightly, improve the test coverage a bit. One test is marked SKIP pending improvements in webish.py

16 years agotest_web.py: fix pyflakes error
Brian Warner [Tue, 25 Dec 2007 08:56:04 +0000 (01:56 -0700)]
test_web.py: fix pyflakes error

16 years agowebish: use get_args() everywhere, put .fields=None in MyRequest
Brian Warner [Tue, 25 Dec 2007 07:07:04 +0000 (00:07 -0700)]
webish: use get_args() everywhere, put .fields=None in MyRequest

16 years agotest_web: more coverage of URIPOSTHandler error cases
Brian Warner [Tue, 25 Dec 2007 05:49:35 +0000 (22:49 -0700)]
test_web: more coverage of URIPOSTHandler error cases

16 years agotest_web: test POST_upload_no_link against /uri, not /uri/
Brian Warner [Tue, 25 Dec 2007 00:55:38 +0000 (17:55 -0700)]
test_web: test POST_upload_no_link against /uri, not /uri/

16 years agotest_web.py: use /uri?t=mkdir instead of /uri/?t=mkdir, and confirm that the redirect...
Brian Warner [Tue, 25 Dec 2007 00:46:52 +0000 (17:46 -0700)]
test_web.py: use /uri?t=mkdir instead of /uri/?t=mkdir, and confirm that the redirection target is correct

16 years agowebish: factor out queryargs-or-formargs extraction, make /uri?t=mkdir work and redir...
Brian Warner [Tue, 25 Dec 2007 00:26:52 +0000 (17:26 -0700)]
webish: factor out queryargs-or-formargs extraction, make /uri?t=mkdir work and redirect to a valid url

16 years agonode.py: remove the provoke-logport-furlfile-creation hack now that foolscap-0.2...
Brian Warner [Tue, 25 Dec 2007 00:24:40 +0000 (17:24 -0700)]
node.py: remove the provoke-logport-furlfile-creation hack now that foolscap-0.2.3 does it for us, and add bridge-twisted-logs

16 years agoupgrade to foolscap-0.2.3
Brian Warner [Tue, 25 Dec 2007 00:23:27 +0000 (17:23 -0700)]
upgrade to foolscap-0.2.3

16 years agoMakefile: put an existing PYTHONPATH in front of our generated EGGSPATH, to make...
Brian Warner [Tue, 25 Dec 2007 00:21:53 +0000 (17:21 -0700)]
Makefile: put an existing PYTHONPATH in front of our generated EGGSPATH, to make it easier to test tahoe against development versions of dependent libraries

16 years agosetup: allow shell built-ins "true" and "false" so that I can experiment with deb...
Zooko O'Whielacronx [Sat, 22 Dec 2007 18:50:10 +0000 (11:50 -0700)]
setup: allow shell built-ins "true" and "false" so that I can experiment with deb builders on an OSX box.  ;-)

16 years agosetup: fix bug in bugfix to patch to include .egg's found in CWD
Zooko O'Whielacronx [Sat, 22 Dec 2007 18:19:52 +0000 (11:19 -0700)]
setup: fix bug in bugfix to patch to include .egg's found in CWD

16 years agosetup: fix bug in previous patch to include .egg's from CWD
Zooko O'Whielacronx [Sat, 22 Dec 2007 18:14:27 +0000 (11:14 -0700)]
setup: fix bug in previous patch to include .egg's from CWD

16 years agosetup: we also need to include .egg's in the CWD in our search path, because if we...
Zooko O'Whielacronx [Sat, 22 Dec 2007 18:04:24 +0000 (11:04 -0700)]
setup: we also need to include .egg's in the CWD in our search path, because if we install a 3rd party library into support/, and *it* installs a library that *it* requires, that one will appear in CWD
It would be nice to figure out a way to force them to all appear in support/ where they belong.

16 years agosetup: zope.interface bundle .tar instead of .tar.gz because multiple bundled .tar...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:50:54 +0000 (10:50 -0700)]
setup: zope.interface bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do.  :-)

16 years agosetup: upgrade bundle zfec-1.1.tar.gz to zfec-1.3.4.tar
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:50:39 +0000 (10:50 -0700)]
setup: upgrade bundle zfec-1.1.tar.gz to zfec-1.3.4.tar

16 years agosetup: simplejson bundle .tar instead of .tar.gz because multiple bundled .tar's...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:50:29 +0000 (10:50 -0700)]
setup: simplejson bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do.  :-)

16 years agosetup: upgrade bundle from setuptools_darcs-1.0.6.tar.gz to setuptools_darcs-1.1...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:50:03 +0000 (10:50 -0700)]
setup: upgrade bundle from setuptools_darcs-1.0.6.tar.gz to setuptools_darcs-1.1.5.tar

16 years agosetup: bundle pyutil-1.3.12.tar
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:49:47 +0000 (10:49 -0700)]
setup: bundle pyutil-1.3.12.tar

16 years agosetup: pycryptopp: bundle .tar instead of .tar.gz because multiple bundled .tar's...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:49:35 +0000 (10:49 -0700)]
setup: pycryptopp: bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do.  :-)

16 years agosetup: foolscap bundle .tar instead of .tar.gz because multiple bundled .tar's compre...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:49:20 +0000 (10:49 -0700)]
setup: foolscap bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do.  :-)

16 years agosetup: bundle argparse-0.8.0.tar
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:47:54 +0000 (10:47 -0700)]
setup: bundle argparse-0.8.0.tar
It isn't actually needed for Tahoe, only for the command-line tools from pyutil.  Later I will make an "extras" category within pyutil to specify in a machine-readable way that argparse is not required for pyutil unless you want the command-line tools.

16 years agosetup: Nevow bundle .tar instead of .tar.gz because multiple bundled .tar's compress...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:47:06 +0000 (10:47 -0700)]
setup: Nevow bundle .tar instead of .tar.gz because multiple bundled .tar's compress together much more nicely than multiple bundled .tar.gz's do.  :-)

16 years agosetup: update doc in __init__.py
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:46:50 +0000 (10:46 -0700)]
setup: update doc in __init__.py

16 years agosetup: small tidy-up of Make rules
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:46:31 +0000 (10:46 -0700)]
setup: small tidy-up of Make rules

16 years agosetup: refactor ez_setup.py and setup.py to satisfy the Desert Island scenario, to...
Zooko O'Whielacronx [Sat, 22 Dec 2007 17:44:47 +0000 (10:44 -0700)]
setup: refactor ez_setup.py and setup.py to satisfy the Desert Island scenario, to find and use setuptools egg in-place in misc/dependencies, and make it setup_require pyutil (for darcsver)

16 years agosetup: copy in the latest version of ez_setup.py, which works even if setuptools...
Zooko O'Whielacronx [Sat, 22 Dec 2007 06:26:20 +0000 (23:26 -0700)]
setup: copy in the latest version of ez_setup.py, which works even if setuptools is already imported, or can be imported, into the current Python interpreter, but can't be imported into a new Python interpreter in a subprocess
This actually happens in practice -- this fixes the Desert Island scenario.  Thanks to PJE.

17 years agosetup: bundle setuptools_darcs plugin in misc/dependencies
Zooko O'Whielacronx [Thu, 13 Dec 2007 02:20:42 +0000 (19:20 -0700)]
setup: bundle setuptools_darcs plugin in misc/dependencies

17 years agosetup: new name for setuptools_darcs plugin is also boring
Zooko O'Whielacronx [Sat, 10 Nov 2007 01:28:09 +0000 (18:28 -0700)]
setup: new name for setuptools_darcs plugin is also boring

16 years agosetup: finish switching from Tahoe's versions of autoversioning tools to pyutil's...
Zooko O'Whielacronx [Fri, 21 Dec 2007 21:42:38 +0000 (14:42 -0700)]
setup: finish switching from Tahoe's versions of autoversioning tools to pyutil's versions

16 years agosetup: remove misc/make-version.py and invoke "darcsver" from the pyutil library
Zooko O'Whielacronx [Fri, 21 Dec 2007 01:17:55 +0000 (18:17 -0700)]
setup: remove misc/make-version.py and invoke "darcsver" from the pyutil library
misc/make-version.py has a limitation which prevents it from generating version
stamps from our current darcs history.  This limitation has been fixed in
pyutil's "darcsver".  Rather than copy the fix from there to
misc/make-version.py, I'm making it so that you have to install pyutil if you
want to automatically generate _version.py files from the current darcs
history.

16 years agosetup: fix scheme ("file:") for download base for boostrapping setuptools
Zooko O'Whielacronx [Thu, 20 Dec 2007 23:18:14 +0000 (16:18 -0700)]
setup: fix scheme ("file:") for download base for boostrapping setuptools

16 years agosetup: fix typo in name of download base for bootstrapping setuptools
Zooko O'Whielacronx [Thu, 20 Dec 2007 23:16:30 +0000 (16:16 -0700)]
setup: fix typo in name of download base for bootstrapping setuptools

16 years agosetup: fix the name of "misc/dependencies" for bootstrapping setuptools
Zooko O'Whielacronx [Thu, 20 Dec 2007 23:13:10 +0000 (16:13 -0700)]
setup: fix the name of "misc/dependencies" for bootstrapping setuptools

16 years agosetup: use os.path.join('misc', 'dependencies') instead of "misc/dependencies"
Zooko O'Whielacronx [Thu, 20 Dec 2007 23:07:17 +0000 (16:07 -0700)]
setup: use os.path.join('misc', 'dependencies') instead of "misc/dependencies"
In the hopes that this will make the boostrapping of setuptools from its bundled egg work on Windows.

16 years agowebish: add button to make directories and unit test of it
Zooko O'Whielacronx [Thu, 20 Dec 2007 22:31:12 +0000 (15:31 -0700)]
webish: add button to make directories and unit test of it
Unfortunately although it passes the unit tests, it doesn't work, because the unit tests and the implementation use the "encode params into URL" technique but the button uses the "encode params into request body" technique.

16 years agomake the unit test of the overwrite button more general
Zooko O'Whielacronx [Thu, 20 Dec 2007 22:23:07 +0000 (15:23 -0700)]
make the unit test of the overwrite button more general

16 years agomake the wapi/wui [*] support creation of a new directory without there already being...
Zooko O'Whielacronx [Thu, 20 Dec 2007 19:58:17 +0000 (12:58 -0700)]
make the wapi/wui [*] support creation of a new directory without there already being an existing directory to link the new one into

[*] WebAPI/WebUI

16 years agomutable: always include ourselves in the querylist when Publishing, because 0.7.0...
Brian Warner [Wed, 19 Dec 2007 07:06:53 +0000 (00:06 -0700)]
mutable: always include ourselves in the querylist when Publishing, because 0.7.0 usually stores our root dirnode only on ourselves, and our nodeid might not appear in the first N+epsilon peers

16 years agomutable.py: one more logging fix
Brian Warner [Wed, 19 Dec 2007 06:42:41 +0000 (23:42 -0700)]
mutable.py: one more logging fix

16 years agomutable.py: oops, our logging wrappers can't take posargs yet
Brian Warner [Wed, 19 Dec 2007 06:36:16 +0000 (23:36 -0700)]
mutable.py: oops, our logging wrappers can't take posargs yet

16 years agomutable.Publish: improve logging
Brian Warner [Wed, 19 Dec 2007 06:30:50 +0000 (23:30 -0700)]
mutable.Publish: improve logging

16 years agodirnode: add set_uris() and set_nodes() (plural), to set multiple children at once...
Brian Warner [Wed, 19 Dec 2007 06:30:02 +0000 (23:30 -0700)]
dirnode: add set_uris() and set_nodes() (plural), to set multiple children at once. Use it to set up a new webapi test for issue #237.

16 years agonode: provoke foolscap-0.2.2 into saving logport.furl, so we can attach to it with...
Brian Warner [Wed, 19 Dec 2007 06:27:02 +0000 (23:27 -0700)]
node: provoke foolscap-0.2.2 into saving logport.furl, so we can attach to it with 'flogtool dump'. Also, place it in private/, since logs are considered somewhat private

16 years agofix representation of node ids in PeerTracker objects
Zooko O'Whielacronx [Thu, 20 Dec 2007 00:55:28 +0000 (17:55 -0700)]
fix representation of node ids in PeerTracker objects

16 years agoremove some no-longer needed replacements of "/" with "!" in uris
Zooko O'Whielacronx [Thu, 20 Dec 2007 00:54:40 +0000 (17:54 -0700)]
remove some no-longer needed replacements of "/" with "!" in uris

16 years agomore new-pyflakes warnings fixed
Brian Warner [Wed, 19 Dec 2007 01:51:33 +0000 (18:51 -0700)]
more new-pyflakes warnings fixed

16 years agothe new pyflakes is stricter, complaining about function definitions that overshadow...
Brian Warner [Wed, 19 Dec 2007 01:47:28 +0000 (18:47 -0700)]
the new pyflakes is stricter, complaining about function definitions that overshadow earlier definitions or imports. Fix some of its complaints.

16 years agohush pyflakes
Brian Warner [Wed, 19 Dec 2007 01:37:22 +0000 (18:37 -0700)]
hush pyflakes

16 years agocreate_node.py: need to create private/ dir in create-client so we can touch the...
Brian Warner [Tue, 18 Dec 2007 22:42:18 +0000 (15:42 -0700)]
create_node.py: need to create private/ dir in create-client so we can touch the my_private_dir.cap file

16 years agooops, touch private/my_private_dir.cap when creating the client
Brian Warner [Tue, 18 Dec 2007 22:36:59 +0000 (15:36 -0700)]
oops, touch private/my_private_dir.cap when creating the client

16 years agocheck_load: add stats-gathering
Brian Warner [Tue, 18 Dec 2007 21:07:37 +0000 (14:07 -0700)]
check_load: add stats-gathering

16 years agoadd a simple load-generating tool to do random reads and writes
Brian Warner [Tue, 18 Dec 2007 04:06:07 +0000 (21:06 -0700)]
add a simple load-generating tool to do random reads and writes

16 years agomove my_private_dir.cap into private/
Brian Warner [Tue, 18 Dec 2007 03:57:40 +0000 (20:57 -0700)]
move my_private_dir.cap into private/

16 years agomy_private_dir.cap: add newline for readability, open with mode 'w' not 'w+' since...
Brian Warner [Tue, 18 Dec 2007 03:48:48 +0000 (20:48 -0700)]
my_private_dir.cap: add newline for readability, open with mode 'w' not 'w+' since we don't need to read from this filehandle

16 years agoremove the slash-to-bang conversion from CLI tools and webapi.txt
Brian Warner [Tue, 18 Dec 2007 03:22:26 +0000 (20:22 -0700)]
remove the slash-to-bang conversion from CLI tools and webapi.txt

16 years agounit test that POST /uri/?t=mkdir works
Zooko O'Whielacronx [Wed, 19 Dec 2007 00:47:49 +0000 (17:47 -0700)]
unit test that POST /uri/?t=mkdir works

16 years agoremove the DirnodeURI foolscap schema and mv those regexes into uri.py
Zooko O'Whielacronx [Wed, 19 Dec 2007 00:44:24 +0000 (17:44 -0700)]
remove the DirnodeURI foolscap schema and mv those regexes into uri.py
We currently do not pass dirnode uris over foolscap.

16 years agomake more precise regexp for WriteableSSKFileURI and DirnodeURI and use it in unit...
Zooko O'Whielacronx [Tue, 18 Dec 2007 20:15:08 +0000 (13:15 -0700)]
make more precise regexp for WriteableSSKFileURI and DirnodeURI and use it in unit tests
Also allow an optional leading "http://127.0.0.1:8123/uri/".
Also fix a few unit tests to generate bogus Dirnode URIs of the modern form instead of the former form.

16 years agofix unit tests to assert that we do *not* link to start.html when there is no private...
Zooko O'Whielacronx [Tue, 18 Dec 2007 01:51:16 +0000 (18:51 -0700)]
fix unit tests to assert that we do *not* link to start.html when there is no private dir, instead of asserting that we *do*

16 years agodo not put a link from the welcoXme page to the start.html if there is not a private...
Zooko O'Whielacronx [Tue, 18 Dec 2007 01:35:59 +0000 (18:35 -0700)]
do not put a link from the welcoXme page to the start.html if there is not a private directory

16 years agorename "my_private_dir.uri" to "my_private_dir.cap"
Zooko O'Whielacronx [Tue, 18 Dec 2007 01:35:25 +0000 (18:35 -0700)]
rename "my_private_dir.uri" to "my_private_dir.cap"

16 years agorename "secret" to "lease_secret" and change its size from 16 to 32 bytes
Zooko O'Whielacronx [Tue, 18 Dec 2007 01:34:11 +0000 (18:34 -0700)]
rename "secret" to "lease_secret" and change its size from 16 to 32 bytes

16 years agoput all private state in $BASEDIR/private
Zooko O'Whielacronx [Mon, 17 Dec 2007 23:39:54 +0000 (16:39 -0700)]
put all private state in $BASEDIR/private
fixes #219

The only part of #219 that this doesn't include is the part about
logpublisher, which has been moved out of tahoe into foolscap.

17 years agowe no longer need to replace "/" with "!" in urls
Zooko O'Whielacronx [Sat, 15 Dec 2007 01:25:50 +0000 (18:25 -0700)]
we no longer need to replace "/" with "!" in urls

17 years agotidy-up some comments and logging messages
Zooko O'Whielacronx [Sat, 15 Dec 2007 01:24:46 +0000 (18:24 -0700)]
tidy-up some comments and logging messages

17 years agofix the overwrite button and add unit test for it
Zooko O'Whielacronx [Sat, 15 Dec 2007 00:52:05 +0000 (17:52 -0700)]
fix the overwrite button and add unit test for it

17 years agotest_system.py: oops, match change in RIControl
Brian Warner [Fri, 14 Dec 2007 10:08:16 +0000 (03:08 -0700)]
test_system.py: oops, match change in RIControl

17 years agotest_web.py: cosmetic, remove leftover trailing space
Brian Warner [Fri, 14 Dec 2007 09:06:09 +0000 (02:06 -0700)]
test_web.py: cosmetic, remove leftover trailing space