Commit Graph

1906 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
05b04d2b90 fix representation of node ids in PeerTracker objects 2007-12-19 17:55:28 -07:00
Zooko O'Whielacronx
a0d73f8afb remove some no-longer needed replacements of "/" with "!" in uris 2007-12-19 17:54:40 -07:00
Brian Warner
2db158dd52 more new-pyflakes warnings fixed 2007-12-18 18:51:33 -07:00
Brian Warner
50bc0d2fb3 the new pyflakes is stricter, complaining about function definitions that overshadow earlier definitions or imports. Fix some of its complaints. 2007-12-18 18:47:28 -07:00
Brian Warner
318b63fbc7 hush pyflakes 2007-12-18 18:37:22 -07:00
Brian Warner
7fb37209ee create_node.py: need to create private/ dir in create-client so we can touch the my_private_dir.cap file 2007-12-18 15:42:18 -07:00
Brian Warner
60d6728ab3 oops, touch private/my_private_dir.cap when creating the client 2007-12-18 15:36:59 -07:00
Brian Warner
01a93dfe8f check_load: add stats-gathering 2007-12-18 14:07:37 -07:00
Brian Warner
50840b1085 add a simple load-generating tool to do random reads and writes 2007-12-17 21:06:07 -07:00
Brian Warner
b8d77fbb46 move my_private_dir.cap into private/ 2007-12-17 20:57:40 -07:00
Brian Warner
a592551ccf my_private_dir.cap: add newline for readability, open with mode 'w' not 'w+' since we don't need to read from this filehandle 2007-12-17 20:48:48 -07:00
Brian Warner
8b9f86fb17 remove the slash-to-bang conversion from CLI tools and webapi.txt 2007-12-17 20:22:26 -07:00
Zooko O'Whielacronx
2a7f374e45 unit test that POST /uri/?t=mkdir works 2007-12-18 17:47:49 -07:00
Zooko O'Whielacronx
a5a54ac5ca remove the DirnodeURI foolscap schema and mv those regexes into uri.py
We currently do not pass dirnode uris over foolscap.
2007-12-18 17:44:24 -07:00
Zooko O'Whielacronx
9848d2043d 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.
2007-12-18 13:15:08 -07:00
Zooko O'Whielacronx
ea43753386 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* 2007-12-17 18:51:16 -07:00
Zooko O'Whielacronx
36e8e4e561 do not put a link from the welcoXme page to the start.html if there is not a private directory 2007-12-17 18:35:59 -07:00
Zooko O'Whielacronx
a983f6d60c rename "my_private_dir.uri" to "my_private_dir.cap" 2007-12-17 18:35:25 -07:00
Zooko O'Whielacronx
08a64c3a2b rename "secret" to "lease_secret" and change its size from 16 to 32 bytes 2007-12-17 18:34:11 -07:00
Zooko O'Whielacronx
8c65bdcf9d 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.
2007-12-17 16:39:54 -07:00
Zooko O'Whielacronx
d3f23d4052 we no longer need to replace "/" with "!" in urls 2007-12-14 18:25:50 -07:00
Zooko O'Whielacronx
20f549baa1 tidy-up some comments and logging messages 2007-12-14 18:24:46 -07:00
Zooko O'Whielacronx
ae90016845 fix the overwrite button and add unit test for it 2007-12-14 17:52:05 -07:00
Brian Warner
cd59cded91 test_system.py: oops, match change in RIControl 2007-12-14 03:08:16 -07:00
Brian Warner
7924f5ac21 test_web.py: cosmetic, remove leftover trailing space 2007-12-14 02:06:09 -07:00
Brian Warner
f6b2072af1 check-speed: test SSK upload/download speed too. SDMF imposes a limit on the file sizes, no 10MB or 100MB test 2007-12-14 02:05:31 -07:00
Brian Warner
f3a3548d02 Makefile check-speed: force-quit any leftover client before starting a new test 2007-12-14 02:04:25 -07:00
Brian Warner
69b65b6b01 remove logpublisher, use the Foolscap version now that this functionality has been moved into Foolscap-0.2.2 2007-12-12 20:31:01 -07:00
Brian Warner
e52e14cc66 remove tests of logging functionality that's been subsumed by foolscap logging 2007-12-12 20:23:53 -07:00
Brian Warner
e8c55fe85d move to foolscap-0.2.2 2007-12-12 20:21:45 -07:00
Zooko O'Whielacronx
2915f5b7f4 remove unimplemented and skipped test for feature that we don't plan to implement any time soon (XML-RPC interface) 2007-12-12 20:06:05 -07:00
Zooko O'Whielacronx
0949638c11 remove unused import: thanks, pyflakes 2007-12-12 20:05:30 -07:00
Zooko O'Whielacronx
caa69b007e refactor the feature of getting versions of packages, include the version numbers of more of the packages that we use 2007-12-12 19:37:37 -07:00
Zooko O'Whielacronx
1ac09840a4 a few documentation and naming convention updates
Notable: the argument to make REPORTER has been renamed to TRIALARGS.
2007-12-12 19:34:08 -07:00
Zooko O'Whielacronx
a7f954ac06 editing: change names like "MyThing" to "FakeThing" for fake objects in unit tests 2007-12-11 18:10:29 -07:00
Zooko O'Whielacronx
38d1af7ede fix unit test to pass forward-slashes to the CLI since it demands that the CLI emit forward-slashes 2007-12-11 20:03:44 -07:00
Brian Warner
2cb05817a6 test_web.py: survive localdir/localfile= names with spaces. Should close #223 2007-12-11 19:47:04 -07:00
Brian Warner
b085097adc test_system: write test data in 'b' verbatim mode, since on windows the default text-mode is different. Addresses one of the failures in #223 2007-12-11 19:16:33 -07:00
Brian Warner
74820cc3de webish: append save=true to a GET URL to save-to-disk. Closes #222. 2007-12-11 18:04:44 -07:00
Zooko O'Whielacronx
bcf2ed8f64 README.win32: add note showing MikeB where this file is making false statements :-) 2007-12-11 17:26:10 -07:00
Zooko O'Whielacronx
cb40af6235 README.win32: clarify layout a bit 2007-12-11 17:25:58 -07:00
Zooko O'Whielacronx
995cece54a fix import error, detected thanks to "make test" 2007-12-11 17:23:01 -07:00
Zooko O'Whielacronx
5c3c1fea9a fix missing import, thanks to pyflakes 2007-12-11 17:00:29 -07:00
Zooko O'Whielacronx
4210ba2b8a fix test_introducer to wait for the right things in order to avoid intermittent test failures 2007-12-11 14:08:15 -07:00
Brian Warner
dc3d9f28b8 setup.py: arg, another stupid paste error, affecting cygwin 2007-12-10 20:17:34 -07:00
Brian Warner
48e7a65882 upgrade to foolscap-0.2.1, with a new logging framework 2007-12-10 18:35:08 -07:00
Zooko O'Whielacronx
40edccf9c5 fix IntroducerClient.when_enough_peers()
add IntroducerClient.when_few_enough_peers(), fix and improve test_introducer
2007-12-10 20:22:59 -07:00
Brian Warner
7a25d2427f setup.py: fix stupid cut-and-paste error 2007-12-10 20:08:38 -07:00
Brian Warner
0618cf792d build-deps: require setuptools 0.6c4 or later, because older ones don't allow foolscap to use os.random at import time 2007-12-10 20:06:59 -07:00
Brian Warner
406ff52cf9 control.py: hush pyflakes warning 2007-12-06 18:38:42 -07:00