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
Zooko O'Whielacronx
e554962ac3
command-line: remove some redundant options checking
2007-08-17 13:06:43 -07:00
Zooko O'Whielacronx
bffd0c97f5
command-line: fix all three commands and all two ways to invoke them to require node-url and give a useful usage string if node-url is absent or of the wrong form
2007-08-17 12:54:47 -07:00
Zooko O'Whielacronx
2e6039644f
relnotes.txt: edit and update relnotes and clarify licence
2007-08-17 12:25:09 -07:00
Zooko O'Whielacronx
e4f07a975f
tahoe_put.py: don't treat "^HTTP 200 OK" appearing somewhere in the body as if it appeared in the header
2007-08-17 12:06:41 -07:00
Zooko O'Whielacronx
7e8c6eb50b
tahoe_put.py: require node-url to be provided
2007-08-17 12:06:11 -07:00
Zooko O'Whielacronx
3c95b1ab58
CREDITS: update Arno's entry
2007-08-17 12:06:00 -07:00
Zooko O'Whielacronx
922663a7e2
cmdline: change "--server" to "--node-url" and make it have no default value
2007-08-16 16:53:27 -07:00
Zooko O'Whielacronx
014de50354
relnotes.txt: a few more updates to relnotes.txt
2007-08-16 16:52:22 -07:00
Zooko O'Whielacronx
1564987e6c
put now exits after doing its work, and it prints a terse message if 200 or 201, and a full dump of response elsewise
2007-08-16 16:30:39 -07:00
Zooko O'Whielacronx
b2244033f9
relnotes.txt: incomplete update to describe v0.5
...
more to come...
2007-08-16 16:03:02 -07:00
Zooko O'Whielacronx
6ed3a23c62
incomplete version of tahoe-put.py
...
It doesn't exit properly afterward, and it might not do the best things with non-success responses from the server.
(See tahoe-put-web2ish.py for an example of better response handling.)
2007-08-16 16:01:01 -07:00
Zooko O'Whielacronx
6c38118c36
webapi.txt: s/dirnodes/directories/
2007-08-16 15:53:53 -07:00
Zooko O'Whielacronx
9ad02dbe80
fix version class to preferred format and correct parsing
2007-08-16 15:38:01 -07:00
Zooko O'Whielacronx
5a1d4aa8b7
version_class.py: if you don't have pkg_resources for comparing version numbers, use distutils.version.LooseVersion
2007-08-16 16:16:41 -07:00
Brian Warner
8b1e53b248
README: update/clarify the build-depends packages need to create .debs
2007-08-16 20:30:07 -07:00
Brian Warner
ceef80bee6
scripts: rearrange Options, make --version behave the same for all commands
2007-08-16 12:50:19 -07:00
Zooko O'Whielacronx
4ed7f0ac2a
fix small bug in unit tests which caused spurious failures on Windows
2007-08-16 14:14:41 -07:00
Zooko O'Whielacronx
a431811011
in-line doc edit: s/pyutil/allmydata.util/
2007-08-16 14:10:48 -07:00