Commit Graph

5906 Commits

Author SHA1 Message Date
Brian Warner b620d0955b debug.py: add share-overhead size info to dump-uri-extension 2007-08-26 23:42:39 -07:00
Brian Warner 0a39430730 webish: strip leading/tailing whitespace from user-provided filenames, to avoid confusion 2007-08-25 12:05:24 -07:00
Brian Warner 44db5fd8a2 webish: strip leading/tailing whitespace from user-provided URIs 2007-08-25 12:05:06 -07:00
Brian Warner bd49bafb23 munin/tahoe-sharesperfile: don't truncate to an int, emit a float instead 2007-08-23 16:31:15 -07:00
Zooko O'Whielacronx b3d89b1439 README: update wording of licence 2007-08-23 13:51:30 -07:00
Zooko O'Whielacronx 427bf2cdc9 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)".
2007-08-22 10:32:00 -07:00
Brian Warner 9c1a9d8959 README: updated debian-packaging section a bit, replace dapper with etch 2007-08-21 17:07:25 -07:00
Brian Warner 55a9591540 Makefile: fix race condition in test-clean that caused occasional failures 2007-08-21 21:28:51 -07:00
Brian Warner 1df66afbcf Makefile: stop producing foolscap .debs 2007-08-21 14:01:01 -07:00
Brian Warner ac358fc32f tahoe_put.py: hush pyflakes by removing unused 'sys' import 2007-08-17 16:29:50 -07:00
tahoe f49194cb5e trying to introduce old style humanreadablied logs hopefully without breaking the existing ones 2007-08-11 14:52:37 -07:00
Zooko O'Whielacronx 239389d3bf TAG allmydata-tahoe-0.5.1 2007-08-23 14:03:15 -07:00
Zooko O'Whielacronx d0f63ccb72 relnotes.txt: v0.5.1 2007-08-23 13:51:41 -07:00
Zooko O'Whielacronx 597f8d7374 TAG allmydata-tahoe-0.5.0 2007-08-17 15:19:10 -07:00
Brian Warner 56e7ecc540 setup.py: oops, I inserted a typo by commenting out the wrong line 2007-08-16 00:56:58 -07:00
Brian Warner ec1fa9cd5d setup.py: don't install allmydata.Crypto.PublicKey either 2007-08-16 00:54:52 -07:00
Brian Warner 9146924271 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.
2007-08-16 00:52:21 -07:00
Brian Warner 664a0e6af4 crypto: fix compiler warnings in the .c files 2007-08-15 17:48:52 -07:00
Brian Warner 6c24848797 copy RSA from PyCrypto into the allmydata/ tree, we'll use it eventually 2007-08-15 17:36:39 -07:00
Brian Warner 8088044bf3 Makefile: use a different rm *.so command for the 'clean' target 2007-08-15 15:28:12 -07:00
Zooko O'Whielacronx 938dd97e63 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.
2007-08-15 14:18:51 -07:00
Brian Warner a0b48c8354 Makefile: fix 'clean' target to work even if there's nothing to clean 2007-08-14 14:24:48 -07:00
Brian Warner 6ac237b845 hush pyflakes warning in Crypto.Util.number 2007-08-14 14:17:12 -07:00
Brian Warner b7703df6a5 remove PyCrypto, copy AES/SHA256/Util.number into the allmydata/ tree 2007-08-14 13:57:41 -07:00
Zooko O'Whielacronx 3f7588e43d merge duplicate patches re: zfec setuptools
Some patches were done in the tahoe darcs repo and some in the zfec darcs repo.
2007-08-09 12:40:47 -07:00
Zooko O'Whielacronx e997b22068 merge duplicate patches to shebang /usr/bin/python
one patch from the tahoe darcs repo and one patch from the zfec darcs repo
2007-08-09 11:33:25 -07:00
Zooko O'Whielacronx 778def40d9 zfec: fix bug in argparse 2007-08-09 11:10:58 -07:00
Brian Warner 3e1c417f81 webish: modify JSON to match zooko's proposed API changes in #118 2007-08-23 13:00:39 -07:00
Zooko O'Whielacronx 0c22044f7e command-line: remove the --vdrive option (it is now hardcoded to "global") 2007-08-23 13:27:00 -07:00
Zooko O'Whielacronx 9b4a0ffa30 webapi.txt: minor edits 2007-08-23 13:09:44 -07:00
Zooko O'Whielacronx 75b10954e4 webapi.txt edits (thanks to Brian Warner) 2007-08-23 13:06:06 -07:00
Zooko O'Whielacronx 2b77a70920 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
2007-08-23 13:03:26 -07:00
Brian Warner f3353ee5e4 web: replace FILE links with /uri -based ones, to prevent an XSS attack against the secret vdrive URI contained in the current URL 2007-08-22 17:35:01 -07:00
Brian Warner 9924bb2e59 MANIFEST.in: include .html and .css files from allmydata/web/ too 2007-08-22 15:08:41 -07:00
Brian Warner 930618fba2 web: oops, forgot to add start.html 2007-08-22 15:08:00 -07:00
Brian Warner 4de5767c98 web: remove /vdrive/private, replace with a start.html file that points at the /uri/PRIVATE_URI, to prevent XSRF attacks 2007-08-22 14:54:34 -07:00
Zooko O'Whielacronx 8717905e35 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).
2007-08-22 10:29:57 -07:00
Brian Warner d5262ec7e1 client.py: add a newline to "myself.furl" contents 2007-08-17 23:28:22 -07:00
Zooko O'Whielacronx 9996836d23 command-line: fix ticket #111 by requiring input to be a local file and sending Content-Length header 2007-08-17 14:59:49 -07:00
Zooko O'Whielacronx 594912e334 command-line: fix a few bugs in the "execute this python file" way to execute rm 2007-08-17 14:17:31 -07:00
Zooko O'Whielacronx a4e6288e33 relnotes.txt a few tiny branding edits
Uncertain about the branding, but what the heck.
2007-08-17 13:33:03 -07:00
Brian Warner 3e2d1e28eb tahoe_put-web2ish.py: clean up imports to be pyflakes-compliant, add newline to output 2007-08-16 17:47:52 -07:00
Brian Warner 2014662b47 cli.py: fix typo in synopsis 2007-08-16 17:47:24 -07:00
Brian Warner 75056b6222 test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently 2007-08-16 17:05:26 -07:00
Brian Warner 6b5e05cc67 test_system.py: verify that we can replace files in place 2007-08-16 17:03:50 -07:00
Brian Warner fe06b3be8b dirnode: change the defined behavior of RIVirtualDriveServer.set to allow replace-in-place without raising an exception 2007-08-16 17:03:19 -07:00
Brian Warner be0ab3b1f1 test_system.py: many (failing) web tests were accidentally bypassed, fix those. Add some PUT tests. 2007-08-16 16:49:40 -07:00
Brian Warner c70530c35f boringfile: generated file 'version.py' was changed to _version.py 2007-08-16 15:59:15 -07:00
Brian Warner a45c4492b5 misc/get-version.py: get the version string from the new location, _version.py 2007-08-16 15:43:43 -07:00
Zooko O'Whielacronx a12ef1ae82 command-line: add "rm", and tidy-up variable names, and make it so "allmydata-tahoe spam" prints a usage message instead of returning silently 2007-08-17 13:23:16 -07:00