Commit Graph

314 Commits

Author SHA1 Message Date
Brian Warner
f570ad7ba5 disallow deep-check on non-directories, simplifies the code a bit 2008-09-10 13:44:58 -07:00
Brian Warner
4bb88fd2ee dirnode: refactor recursive-traversal methods, add stats to deep_check() method results and t=deep-check webapi 2008-09-10 01:45:04 -07:00
Brian Warner
1d2d6a35a6 checker results: add output=JSON to webapi, add tests, clean up APIs
to make the internal ones use binary strings (nodeid, storage index) and
the web/JSON ones use base32-encoded strings. The immutable verifier is
still incomplete (it returns imaginary healty results).
2008-09-09 19:45:17 -07:00
Zooko O'Whielacronx
5f13a7dbf7 setup: add excited DEVELOPER NOTE to install.html
It should be removed before 1.3.0 release, of course...
2008-09-08 14:56:03 -07:00
Zooko O'Whielacronx
e96b8e81e5 setup: edit the text of install.html 2008-09-08 14:55:49 -07:00
Zooko O'Whielacronx
3f53d57f93 setup: add link to the DownloadDebianPackages page
Because I want that link off of the front page of the wiki...
2008-09-08 14:54:51 -07:00
Zooko O'Whielacronx
3f5599c725 setup: change URL from which to get source tarballs
So that when you look at that directory you won't see distracting other things such as darcs repositories.
2008-09-08 14:54:09 -07:00
Brian Warner
c061e588aa webapi.txt: explain that t=manifest gives verifycaps 2008-09-07 12:29:50 -07:00
Brian Warner
af07b9cad6 docs/logging.txt: explain tahoe/foolscap logging. Addresses #239. 2008-09-03 17:25:31 -07:00
Zooko O'Whielacronx
670a50c394 docs: how_to_make_a_tahoe_release.txt
Just some cryptic notes to self, but if I get hit by a truck then someone else might be able to decode them.
2008-08-28 13:21:09 -07:00
Zooko O'Whielacronx
f94c9b58ab docs: edit install.html a tad 2008-08-26 08:49:29 -07:00
Zooko O'Whielacronx
72268f2bfe docs: warn that the "garbage-collection and accounting" section of architecture.txt is out of date, and clarify that "deleted" therein means ciphertext getting garbage-collected 2008-08-22 08:46:05 -07:00
Brian Warner
a086b8cf6b docs/filesystem-notes.txt: add notes about enabling the 'directory index' feature on ext3 filesystems for storage server lookup speed 2008-08-21 13:59:01 -07:00
Brian Warner
014c9b5969 CLI: add 'tahoe debug corrupt-share', and use it for deep-verify tests, and fix non-deep web checker API to pass verify=true into node 2008-08-12 17:05:01 -07:00
Brian Warner
1711b5591f CLI: move the 'repl' command to 'tahoe debug repl' 2008-08-12 13:40:17 -07:00
Brian Warner
bb33e3e4c2 CLI: move all debug commands (dump-share, dump-cap, find-shares, catalog-shares) into a 'debug' subcommand, and improve --help output 2008-08-12 13:37:32 -07:00
Brian Warner
376df2eb5a CLI: make 'tahoe webopen' command accept aliases like 'tahoe ls' 2008-08-11 18:20:23 -07:00
Brian Warner
fd5ad105a6 mutable.txt: add warning about out-of-date section 2008-08-05 23:12:19 -07:00
Brian Warner
f7d2fcc233 CLI: change one-arg forms of 'tahoe put' to make an unlinked file, fix replace-mutable #441 2008-08-01 19:27:29 -07:00
Brian Warner
2eec38279d CLI: add create-alias command, to merge mkdir and add-alias into a single (secure-from-argv-snooping) step 2008-08-01 19:10:41 -07:00
Brian Warner
914783acdf web: add /status/?t=json, with active upload/download ops. Addresses #493. 2008-07-25 17:41:10 -07:00
Zooko O'Whielacronx
5b84721c7e known_issues.txt: fix up the argv leakage issue -- it applies to Tahoe 1.2.0. Other editing corrections. 2008-07-21 18:02:49 -07:00
Zooko O'Whielacronx
23a398f5f0 known_issues.txt: command-line arguments are leaked to other processes 2008-07-21 17:43:34 -07:00
Brian Warner
cbadcc86cc NEWS: add user-visible changes since the previous release 2008-07-21 16:29:30 -07:00
Brian Warner
3b9aa0b0c9 docs/CLI.txt: add a warning about leaking dircaps through argv in add-alias 2008-07-21 15:33:09 -07:00
Zooko O'Whielacronx
962a53edee known_issues.txt: edits suggested by Brian 2008-07-21 10:44:06 -07:00
Zooko O'Whielacronx
18a261c4be known_issues.txt: add issue #491 and renumber issues 2008-07-21 10:21:01 -07:00
Brian Warner
60ce491a79 add note to mutable-DSA.txt about the need for a ciphertext hash, for #492 2008-07-21 09:49:36 -07:00
Brian Warner
572c848d98 web: for GET save=true, don't interpret the filename= arg with any character set, just copy the bytes back into the Content-Disposition header. This seems to make it maximally compatible with Firefox and IE7 2008-07-18 18:06:50 -07:00
Brian Warner
67db0a4967 deep-check: add webapi, add 'DEEP-CHECK' button to wui, add tests, rearrange checker API a bit 2008-07-17 16:47:09 -07:00
Brian Warner
3e9322bcb6 checker: re-enable checker web results (although they just say 'Healthy' right now) 2008-07-16 15:42:56 -07:00
Brian Warner
9bb05a7a08 docs/accounts-pubkey.txt: when sending FURLs (signed or otherwise), also send
the object that it references, to bypass the Foolscap getReferenceByName
roundtrip that would otherwise be required. Recipients must still use the
FURL for security, but pre-populating the foolscap table is a good speed-up.
2008-06-20 21:55:25 -07:00
Zooko O'Whielacronx
77f994d4c1 docs: a couple of tiny edits 2008-06-19 12:26:19 -07:00
Brian Warner
3127aa709b docs/debian.txt: add notes on how to build Tahoe on a debian system 2008-06-17 13:41:32 -07:00
Zooko O'Whielacronx
a28b40f790 docs: add a copy of the NEWS file into docs/ since I sent out a release announcement which links to it there 2008-06-11 19:41:50 -07:00
Zooko O'Whielacronx
c9ba760440 docs: install.html: link to http://allmydata.org/source/tahoe/ instead of http://allmydata.org/source/tahoe/tarballs/ 2008-06-11 14:35:22 -07:00
Zooko O'Whielacronx
59fa231066 docs: known_issues.txt: add the issue of files > 12 GiB being silently corrupted 2008-06-11 12:51:59 -07:00
Zooko O'Whielacronx
0ca208de0e docs: known_issues.txt: change the release data of Tahoe v1.1.0 to 2008-06-11 from 2008-06-10 2008-06-11 12:40:33 -07:00
Zooko O'Whielacronx
1cb96228cc docs: known_issues.txt: add the security issue concerning leakage of file cap by active content or referrer-bearing hyperlinks embedded in the file 2008-06-11 12:39:37 -07:00
Zooko O'Whielacronx
c416e78b5a docs: known_issues.txt: edit to emphasize that other sorts of local-filesystem-unwritability will lead to the same problems 2008-06-11 12:38:57 -07:00
Zooko O'Whielacronx
9417a34740 docs: CLI.txt: rewrite the way that "root directories" (now called "starting directories") and aliases are introduced 2008-06-11 12:34:59 -07:00
Zooko O'Whielacronx
7a5fc8ef8a docs: lowercase "introducer"
He's not that important.
2008-06-10 19:23:14 -07:00
Zooko O'Whielacronx
991bda19c9 docs: edits to [source:docs/install.html] and [source:docs/running.html] 2008-06-10 19:22:00 -07:00
Zooko O'Whielacronx
d3e3285eb8 docs: explain better how to invoke the tahoe executable when creating and starting nodes 2008-06-10 19:19:23 -07:00
Zooko O'Whielacronx
06ce373e26 docs: update install.html to reflect Justin's user test 2008-06-10 19:04:58 -07:00
Zooko O'Whielacronx
56d6c5798f docs: reformat for 70 columns plus a few small edits 2008-06-10 16:37:25 -07:00
Zooko O'Whielacronx
24a2b921e0 docs: explain exactly what false alarms are caused in the unit tests by Twisted v8 and pyOpenSSL v0.7 2008-06-10 16:31:26 -07:00
Zooko O'Whielacronx
0f182751a5 docs: [source:docs/known_issues.txt] 2008-06-10 16:24:25 -07:00
Zooko O'Whielacronx
ff298182aa doc: mention that "Mac Developer Tools" is the way to get gcc/g++ for Mac 2008-06-10 16:19:34 -07:00
Zooko O'Whielacronx
970edc5c65 setup and docs: various improvements to setup and docs
Remove docs/install-details.html and README.win32 for now (see #282).
Remove checks for pywin32 and pyopenssl in Makefile -- that is (or will be) automated by setuptools.
Remove twisted from setup_requires.  This causes the problem in which Nevow doesn't declare its dependency on Twisted (#440) to yield a clear ImportError mentioning Twisted and to fail repeatedly, rather than yielding a weird ImportError and working on the second identical attempt.
Fix Makefile to set PATH so that trial and twistd can be found by "make test" after Twisted was installed into support/ during "make"
2008-06-05 13:55:05 -07:00
Brian Warner
699d912d80 docs/configuration.txt: explain the current limitations of readonly_storage 2008-06-03 17:47:08 -07:00
Brian Warner
91565f465d docs: move files that are about future plans into docs/proposed/, to clearly separate them from descriptions of the present codebase 2008-06-02 23:07:02 -07:00
Brian Warner
01469433ef docs: update webapi.txt with write-coordination issues, add TODO note to recovery section of mutable.txt 2008-06-02 23:03:21 -07:00
Brian Warner
f9fe63fd7a docs/file-encoding.txt: move this over from the wiki 2008-06-02 19:58:27 -07:00
Brian Warner
e0fd3d8fe1 docs/file-encoding: update some of the stale diagrams to reflect current code 2008-06-02 19:21:39 -07:00
Brian Warner
2443ffe305 docs/historical: move 'tahoe2' from wiki into source tree 2008-06-02 18:43:31 -07:00
Brian Warner
aa2c693764 move historical docs from wiki pages into the source tree, clearly marked as historical 2008-06-02 18:38:32 -07:00
Brian Warner
313876263d docs/using.html: update CLI section to reflect the new alias: scheme. Closes #431 2008-06-02 18:00:16 -07:00
Brian Warner
3e8d58767f CLI: improve docs w.r.t. aliases, add examples to 'tahoe put' and 'tahoe get' help output. Addresses part of #431 2008-06-02 17:54:56 -07:00
Brian Warner
c83d8b7a6d architecture.txt: explain the introducer SPOF and why it really isn't that bad. Closes #323. 2008-05-29 18:51:11 -07:00
Brian Warner
72d8905c71 docs/backupdb.txt: preliminary sketch of our plans for the duplicate-upload-avoidance database 2008-05-28 16:20:13 -07:00
Brian Warner
3ac4a734e5 web t=json: add 'mutable' key to the information dict 2008-05-20 15:40:49 -07:00
Brian Warner
1d8e452184 CLI: add 'list-aliases', factor out get_aliases 2008-05-20 14:36:04 -07:00
Brian Warner
8e92dfcb50 overhaul CLI: not quite complete but it works a lot better than it used to. The new scheme uses 'tahoe add-alias' and rsync/scp-style 'alias:foo/bar.txt' arguments 2008-05-19 19:28:50 -07:00
Brian Warner
151f69d9b5 webapi.txt: overhaul documentation. API changes are as follows:
* download/upload localdir=/localfile= has been removed. This sort of ambient
   authority was unsafe to expose over the web (CSRF), and at some point
   soon we'll have 'cp -r' in the CLI to replace it.
 * GET save=filename -> GET filename=filename&save=true
 * GET t=download removed
 * side-effect causing operations now use POST where appropriate, not PUT
 * to create multiple directories, either use
   * POST /uri/DIRCAP/parent?t=mkdir&name=child  (more form/browser oriented)
   * POST /uri/DIRCAP/parent/child?t=mkdir (more machine oriented)
   The t=mkdir-p form is still accepted, but not preferred (since it leaks
   the child name queryarg into the logs)
 * use PUT /uri/MUTABLEFILECAP or PUT /uri/DIRCAP/child (on a mutable file) to
   replace its contents, or POST /same?t=upload from forms
 * response bodies and codes are better specified than before
2008-05-19 12:47:46 -07:00
Brian Warner
0838f76e0f CLI.txt: document proposed scp:-based CLI syntax 2008-05-09 18:06:29 -07:00
Brian Warner
e2af2decdc docs/CLI.txt: provide an overview of bin/tahoe subcommands 2008-05-09 12:36:19 -07:00
Brian Warner
fabdc28c06 deep-stats: add file-size histogram 2008-05-08 16:19:42 -07:00
Brian Warner
6c00a70dbc dirnode: add a deep_stats(), like deep-size but with more information. webish adds t=deeps-size too. 2008-05-08 13:21:14 -07:00
Brian Warner
e2f56b8e3c configuration.txt: describe helper config 2008-05-06 15:59:06 -07:00
Zooko O'Whielacronx
a01864c713 docs: shorter running.html 2008-05-06 15:29:04 -07:00
Brian Warner
783fbb12e6 docs/helper.txt: explain more about the helper 2008-05-06 13:49:01 -07:00
Zooko O'Whielacronx
0432f5dee6 docs: mention configuration, suggested by ben hyde's question about storage servers 2008-05-06 13:39:35 -07:00
Zooko O'Whielacronx
8a0deaf53f docs: edit to install.html suggested by Brian 2008-05-06 12:31:15 -07:00
Zooko O'Whielacronx
2f3a44f820 docs: remove the redundant (and therefore bit-rotting) parts of mutable-DSA.txt and instead refer to mutable.txt 2008-04-29 15:51:58 -07:00
Zooko O'Whielacronx
c2621313bb setup: pyOpenSSL is now easy_installable, and pycryptopp now includes Crypto++, so we can remove those two from the Manual Dependencies 2008-04-24 10:29:17 -07:00
Zooko O'Whielacronx
60eb3505f5 docs: tiny update to webapi.txt
I'm actually committing this just to test our patch management infrastructure.
2008-04-17 21:09:12 -07:00
Zooko O'Whielacronx
9b4a213824 docs: tiny change in webapi.txt
(I'm actually committing this patch only in order to test our patch management infrastructure.)
2008-04-17 21:00:51 -07:00
Zooko O'Whielacronx
3d4a339857 docs: merge conflicts between the patch to document "127.0.0.1" instead of "localhost" and some other patches (precisely which, I don't know) 2008-04-17 20:57:41 -07:00
Zooko O'Whielacronx
7b2ca46b35 docs: use "127.0.0.1" instead of "localhost"
Unfortunately there are occasionally configurations in the real world where "localhost" does not resolve to 127.0.0.1, and if a user has such a configuration then using 'localhost' could lead to an authority leak.
2008-04-17 20:45:34 -07:00
Brian Warner
1b4b4cbd4a mutable WIP: rename NotEnoughPeersError to NotEnoughSharesError 2008-04-15 16:08:32 -07:00
Zooko O'Whielacronx
fe54dd114c docs: yay! We can remove Twisted from the list of "Manual Dependencies" that users have to be aware of when installing 2008-04-10 18:44:07 -07:00
Zooko O'Whielacronx
d10c23bcd4 docs: another small edit (don't mention docs/ directory in about.html now that docs/ is prominent on wiki:Docs) 2008-04-09 16:02:45 -07:00
Zooko O'Whielacronx
81240eeff7 docs: a couple of tiny docs updates 2008-04-09 15:57:59 -07:00
Zooko O'Whielacronx
8783eabf5a don't do a du on startup if there is no size limit configured
This also turns off the production of the "space measurement done" log message, if there is no size limit configured.
2008-04-08 11:36:56 -07:00
Zooko O'Whielacronx
eb4a7b5b0c docs: fix anchor text of hyperlink to tarball 2008-03-27 19:01:29 -07:00
Brian Warner
9b3a32d0b3 add GET /uri/URI/?t=deep-size, to compute the total size of immutable files reachable from a given directory 2008-03-27 11:33:42 -07:00
Zooko O'Whielacronx
f91d937925 docs: link to the 1.0.0 tarball in docs/install.html 2008-03-25 20:22:29 -07:00
Zooko O'Whielacronx
29b844efaf docs: document the private/convergence configuration file 2008-03-25 11:22:41 -07:00
Brian Warner
f17b9839ec docs: add some accounting proposals 2008-03-20 12:18:41 -07:00
Zooko O'Whielacronx
4e505d9a87 docs: link from install.html to the (imminent) location of allmydata-tahoe-0.9.0.tar.gz 2008-03-13 13:02:37 -07:00
Brian Warner
2ef70ab814 mutable.py: split replace() into update() and overwrite(). Addresses #328. 2008-03-12 18:00:43 -07:00
Brian Warner
1ddeb88e9b architecture.txt: make it clear that accounting/leases are not yet implemented 2008-03-10 12:25:19 -07:00
Zooko O'Whielacronx
1f7931e596 docs: trivial edit 2008-03-06 18:32:30 -07:00
Zooko O'Whielacronx
d5886bed2f doc: tiny change about status of mutable.txt 2008-03-06 15:02:15 -07:00
Brian Warner
456b437608 docs/mutable: describe deep-verify-cap scheme, update picture 2008-03-05 16:54:26 -07:00
Zooko O'Whielacronx
5cdc678d24 docs: fix example JSON in webapi.txt to be legal JSON. ;-) 2008-02-29 18:39:25 -07:00
Zooko O'Whielacronx
1934ae26f9 doc: change example filename extension back because it is more recognizable and because I love Brian 2008-02-27 14:54:05 -07:00
Zooko O'Whielacronx
0097d662c7 docs: tweak wording per kpreid and tweak example filename extension per me 2008-02-27 14:41:57 -07:00
Zooko O'Whielacronx
fed427b087 docs: clarify which webport value is the default 2008-02-27 11:10:03 -07:00