Brian Warner
a050204833
add test coverage for the /stats web page
2008-02-13 13:57:39 -07:00
Brian Warner
8c8bcb6d53
mutable.py: reject shares with different k/N than we expect. Quick fix for #312 : avoids data corruption but has availability problems.
2008-02-13 13:34:20 -07:00
Brian Warner
871e7756f7
test_web: remove test_GET_DIRURL_large, it failed to exercise the problem in #237 and consumes a disproportionate amount of time
2008-02-13 13:08:26 -07:00
Zooko O'Whielacronx
98f570c3ee
setup: remove older bundled pycryptopp-0.2.10
2008-02-13 15:23:15 -07:00
Zooko O'Whielacronx
fa92672e24
setup: bundle pycryptopp-0.3.0
2008-02-13 14:57:15 -07:00
amber
0a01fd405b
docs: 10 blocks by default, not 12
2008-02-13 04:57:19 -07:00
Brian Warner
124b2160b9
webish.py: fix for #237 : when listing large directories, insert a turn break once every 100 children, to work around non-optimized tail recursion Deferreds
2008-02-12 21:28:52 -07:00
Zooko O'Whielacronx
e400c5a8fb
docs: edits and updates to architecture.txt, with Amber
2008-02-13 10:24:52 -07:00
Zooko O'Whielacronx
2e84230a18
setup: remove older bundled version of setuptools_darcs
2008-02-13 08:03:40 -07:00
Zooko O'Whielacronx
70b573434b
setup: remove another older bundled setuptools
2008-02-13 08:01:40 -07:00
Zooko O'Whielacronx
99f609d55b
setup: remove older bundled setuptools
2008-02-13 07:59:24 -07:00
Zooko O'Whielacronx
9eb2c7f5aa
setup: remove older bundled version of darcsver
2008-02-13 07:57:22 -07:00
Zooko O'Whielacronx
e89edf8803
fix a few unused imports and suchlike, discovered by pyflakes
2008-02-13 07:38:08 -07:00
Brian Warner
55d30790bc
webish: flogify the remaining log messages
2008-02-12 19:32:33 -07:00
Brian Warner
94348b7182
webish: censor all caps before logging the HTTP request, to preserve user privacy
2008-02-12 19:31:23 -07:00
Brian Warner
9795bcd9b7
download status: refactor into a separate object, so we don't need to keep the Download itself around for a long time
2008-02-12 19:01:03 -07:00
Brian Warner
a7867aeea2
introducer: remove encoding-parameter config, for now
2008-02-12 18:59:54 -07:00
Zooko O'Whielacronx
3f8df27063
use base62 encoding for storage indexes, on disk and in verifier caps, and in logging and diagnostic tools
...
base62 encoding fits more information into alphanumeric chars while avoiding the troublesome non-alphanumeric chars of base64 encoding. In particular, this allows us to work around the ext3 "32,000 entries in a directory" limit while retaining the convenient property that the intermediate directory names are leading prefixes of the storage index file names.
2008-02-12 20:48:37 -07:00
Brian Warner
b17b7695a4
webish: add /status page to display current uploads/downloads
2008-02-12 15:40:05 -07:00
Brian Warner
e6af3b845c
make current upload/download status objects available from the client
2008-02-12 15:39:45 -07:00
Brian Warner
94097affc3
add download-status objects, to track download progress
2008-02-12 15:38:39 -07:00
Brian Warner
d0ce8694c1
add upload-status objects, to track upload progress
2008-02-12 15:36:05 -07:00
Brian Warner
95f27bb8fb
misc/find-share-anomalies.py: tool to analyze 'tahoe catalog-shares' output and look for problems
2008-02-11 19:53:36 -07:00
Brian Warner
a70fba4ef1
webish: add edge metadata to t=json output, including timestamps
2008-02-11 19:14:10 -07:00
Brian Warner
1f7b980a51
catalog-shares: add expiration time to output
2008-02-11 18:44:54 -07:00
Brian Warner
ca27b8e5ad
add 'tahoe catalog-shares' tool, to make a one-line summary of each share file. This can help do cross-server correlation of sharefiles, looking for anomalies
2008-02-11 18:17:01 -07:00
Brian Warner
5f50543c3b
test_dirnode.py: improve error messages in case timestamp tests fail
2008-02-11 17:37:51 -07:00
Brian Warner
09cf1e2a8a
test_dirnode.py: simplejson-1.7.1 incorrectly rounds floats to two decimal places. Don't let this bug flunk the timestamp test.
2008-02-11 17:35:17 -07:00
Brian Warner
7123c9d875
test_system.py: refactor bounce_client, probably make it stop failing on cygwin
2008-02-11 15:26:58 -07:00
Brian Warner
3d72d00826
webish: display timestamps
2008-02-11 15:13:18 -07:00
Brian Warner
3a1db45579
test_dirnode.py: assert that we update mtime and preserve ctime
2008-02-11 15:12:55 -07:00
Brian Warner
e6ddd9f3da
dirnode.py: add metadata= to add_file(), add tests
2008-02-11 14:53:28 -07:00
Brian Warner
b90eaf75da
test_dirnode.py: add diag output to test-ctime/mtime tests
2008-02-11 14:13:07 -07:00
Brian Warner
622c477e31
dirnode: add ctime/mtime to metadata, update metadata-modifying APIs. Needs more testing and sanity checking.
2008-02-08 18:43:47 -07:00
Brian Warner
18817c00a3
docs/install-details.html: wrap to 80 cols, no content changes
2008-02-07 21:50:04 -07:00
Brian Warner
873dee53e9
test_system: remove the hackish debug_interrupt= attribute magic used to exercise interrupted-upload resumption, instead just make the Uploadable bounce the helper halfway through the upload
2008-02-07 20:15:37 -07:00
Brian Warner
fc690a70be
dirnodes.txt: update docs a bit, we don't yet do choose-latest-version, just choose-any-version
2008-02-07 20:14:05 -07:00
Brian Warner
7dcb4ee62b
webapi.txt: document POST /uri?t=mkdir
2008-02-07 20:10:28 -07:00
Brian Warner
3bd79917b2
test_system.py: remove that ugly debug_stash_RemoteencryptedUploadable hack, now that UploadResults give us a better approach
2008-02-07 17:27:30 -07:00
Brian Warner
c7b10f4498
upload: if we lose the helper, go back to doing direct-to-server uploads instead of causing all subsequent uploads to fail
2008-02-07 17:26:59 -07:00
Brian Warner
b2d31f0a8a
upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the chunksize requested by the upload helper
2008-02-07 17:10:13 -07:00
Brian Warner
96ca6c2033
test_upload.py: hush pyflakes
2008-02-06 20:04:31 -07:00
Brian Warner
f78c80d7aa
test_upload.py: add test to exercise CHK hashing variations
2008-02-06 20:03:35 -07:00
Brian Warner
02e7c56563
test_cli: oops, need to update this when the CHK hash changes
2008-02-06 19:58:53 -07:00
Brian Warner
da9610e90a
change encryption-key hash to include encoding parameters. This is a minor compatibility break: CHK files encoded (with convergence) before and after this will have different keys and ciphertexts. Also switched to SHA-256d for both the data-to-key hash and the key-to-storageindex hash
2008-02-06 19:50:47 -07:00
Brian Warner
9f9a458249
hashutil: add tagged_hash_256d and tagged_hasher_256d
2008-02-06 19:36:43 -07:00
Brian Warner
81c5ceae16
upload: rework passing of default encoding parameters: move more responsibility into BaseUploadable
2008-02-06 18:39:03 -07:00
Brian Warner
75e4332462
offloaded: oops, need more tricks to make the unit tests pass
2008-02-06 17:51:11 -07:00
Brian Warner
a2cace9cfb
helper: return full uri-extension data to the client, so it can compare encoding parameters
2008-02-06 17:30:58 -07:00
Brian Warner
6cd32c2f5c
interfaces: remove spurious line that counted against the figleaf coverage
2008-02-06 16:41:26 -07:00