Brian Warner
|
d657d22c0c
|
test_system: make 'where' strings more helpful, to track down test failures better
|
2008-11-18 18:29:50 -07:00 |
|
Brian Warner
|
7932fadb5e
|
webapi: add 'summary' string to checker results JSON
|
2008-11-18 18:28:26 -07:00 |
|
Brian Warner
|
994d97c644
|
webapi: introducer stats: add 'announcement_distinct_hosts' to the t=json form, to show how many distinct hosts are providing e.g. storage services
|
2008-11-18 15:30:15 -07:00 |
|
Brian Warner
|
8473a96ada
|
#330: convert stats-gatherer into a .tac file service, add 'tahoe create-stats-gatherer'
|
2008-11-18 01:46:20 -07:00 |
|
Brian Warner
|
cae54ab118
|
tahoe.cfg: add controls for k and N (and shares-of-happiness)
|
2008-11-18 00:29:44 -07:00 |
|
Brian Warner
|
ead0e4d6ca
|
cli: add tests for 'tahoe stats --verbose'
|
2008-11-17 22:11:14 -07:00 |
|
Brian Warner
|
d6a67cd566
|
dirnode manifest/stats: process more than one LIT file per tree; we were accidentally ignoring all but the first
|
2008-11-14 22:50:49 -07:00 |
|
francois
|
1a3a464534
|
test_cli.py: Ensure that we can read our uploaded files back
|
2008-11-14 07:44:58 -07:00 |
|
francois
|
32b5bc6330
|
test_cli.py: use str objects instead of unicode ones
This will hopefully fix failing tests with LC_ALL=C
|
2008-11-14 07:41:37 -07:00 |
|
Brian Warner
|
5a60086dbc
|
CLI: add 'tahoe stats', to run start-deep-stats and print the results
|
2008-11-13 19:43:50 -07:00 |
|
Brian Warner
|
9c9994300e
|
test_system.py: fix new 'tahoe manifest' tests to not break on windows, by providing --node-directory instead of --node-url
|
2008-11-13 15:27:48 -07:00 |
|
francois
|
5c0c5bfc81
|
test for bug #534, unicode filenames
This test assure that uploading a file whose name contains unicode character
doesn't prevent further uploads in the same directory.
|
2008-11-13 05:19:51 -07:00 |
|
Brian Warner
|
0d93d6244e
|
CLI: add 'tahoe manifest', which takes a directory and returns a list of things you can reach from it
|
2008-11-12 20:17:25 -07:00 |
|
Brian Warner
|
9976bd439a
|
tahoe.cfg: add tub.location, to override the location hints we include in our FURL. This replaces advertised_ip_addresses, which doesn't remain useful enough to retain it. Helps with #517 (Tor).
|
2008-11-12 18:44:58 -07:00 |
|
Zooko O'Whielacronx
|
14444dbcc0
|
tests: fix comment
|
1970-01-05 04:10:55 -07:00 |
|
Zooko O'Whielacronx
|
3a0dc8e4ec
|
tests: add tahoe_cp to the list of scripts that we don't actually have tests for yet
|
1970-01-05 04:00:58 -07:00 |
|
Brian Warner
|
dfa2408157
|
checker: add is_recoverable() to checker results, make our stub immutable-verifier not throw an exception on unrecoverable files, add tests
|
2008-11-06 22:35:47 -07:00 |
|
Zooko O'Whielacronx
|
eae5403e5a
|
shebang: replace "/usr/bin/python" with "/usr/bin/env python"
|
2008-11-04 18:03:06 -07:00 |
|
Brian Warner
|
6fa41e738b
|
immutable: tolerate filenode.read() with a size= that's too big, rather than hanging
|
2008-11-04 15:29:19 -07:00 |
|
Brian Warner
|
a2e195df3e
|
debug catalog-shares: tolerate even more errors on bad files/directories
|
2008-10-30 14:54:47 -07:00 |
|
Brian Warner
|
ba019bfd3a
|
#527: expire the cached files that are used to support Range: headers, every hour, when the file is unused and older than an hour
|
2008-10-30 13:39:09 -07:00 |
|
Brian Warner
|
c205a54965
|
util/cachedir.py: add a cache-directory manager class, which expires+deletes unused files after a while
|
2008-10-30 13:01:20 -07:00 |
|
Brian Warner
|
1419db6ac7
|
test_cli: try to fix windows again
|
2008-10-30 12:32:04 -07:00 |
|
Brian Warner
|
d97c34d622
|
debug/test_cli: fix error handling for catalog-shares, to make the test stop failing on windows
|
2008-10-30 12:06:51 -07:00 |
|
Brian Warner
|
b1db6d9ff2
|
web: add 'Repair' button to checker results when they indicate unhealthyness. Also add the object's uri to the CheckerResults instance.
|
2008-10-29 18:09:17 -07:00 |
|
Brian Warner
|
d3f2df00be
|
webapi: serve the /static URL tree from /public_html (configurable)
|
2008-10-29 15:34:31 -07:00 |
|
Brian Warner
|
a9101112a4
|
catalog-shares command: tolerate errors, log them to stderr, handle v2-immutable shares
|
2008-10-29 15:10:10 -07:00 |
|
Brian Warner
|
186b64b633
|
test_web.py: one more line of test coverage
|
2008-10-28 22:00:15 -07:00 |
|
Brian Warner
|
0350994133
|
test_web: improve test coverage of PUT DIRURL t=uri replace=false
|
2008-10-28 21:57:44 -07:00 |
|
Brian Warner
|
a5aebf0cbd
|
web: test (and fix) PUT DIRURL t=uri, which replaces a directory in-place with some other cap
|
2008-10-28 21:54:46 -07:00 |
|
Brian Warner
|
248033d78c
|
test_client.py: improve test coverage a bit
|
2008-10-28 21:43:35 -07:00 |
|
Brian Warner
|
b73c380cdb
|
move testutil into test/common_util.py, since it doesn't count as 'code under test' for our pyflakes numbers
|
2008-10-28 21:28:31 -07:00 |
|
Brian Warner
|
294e3fb682
|
util: move PollMixin to a separate file (pollmixin.py), so testutil can be moved into test/
|
2008-10-28 21:15:48 -07:00 |
|
Brian Warner
|
4c2235fcef
|
web/filenode: oops, fix test failures, not everything has a storage index
|
2008-10-28 18:17:20 -07:00 |
|
Brian Warner
|
b1ca238176
|
#527: respond to GETs with early ranges quickly, without waiting for the whole file to download. Fixes the alacrity problems with the earlier code. Still needs cache expiration.
|
2008-10-28 17:56:18 -07:00 |
|
Brian Warner
|
37e3d8e47c
|
#527: support HTTP 'Range:' requests, using a cachefile. Adds filenode.read(consumer, offset, size) method. Still needs: cache expiration, reduced alacrity.
|
2008-10-28 13:41:04 -07:00 |
|
Brian Warner
|
914655c52b
|
interfaces.py: promote immutable.encode.NotEnoughSharesError.. it isn't just for immutable files any more
|
2008-10-27 13:34:49 -07:00 |
|
Brian Warner
|
fca158e83a
|
dirnode lookup: use distinct NoSuchChildError instead of the generic KeyError when a child can't be found
|
2008-10-27 13:15:25 -07:00 |
|
Brian Warner
|
9f21f7cf65
|
mutable: call remove_advise_corrupt_share when we see share corruption in mapupdate/download/check, tolerate servers that do not implement it
|
2008-10-24 13:21:28 -07:00 |
|
Brian Warner
|
db37c14ab7
|
storage: add remote_advise_corrupt_share, for clients to tell storage servers about share corruption that they've discovered. The server logs the report.
|
2008-10-24 11:52:48 -07:00 |
|
Brian Warner
|
6dbef907ac
|
mutable/servermap.py: fix needs_merge(), it was incorrectly claiming that mixed shares with distinct seqnums needed a merge, causing repair(force=False) to fail
|
2008-10-23 21:00:24 -07:00 |
|
Brian Warner
|
0383ec5a49
|
test_web.test_POST_DIRURL_deepcheck: confirm that /operations/HANDLE/ works with or without the slash
|
2008-10-23 19:17:59 -07:00 |
|
Brian Warner
|
cadb045288
|
test_web: more test coverage
|
2008-10-23 17:11:18 -07:00 |
|
Brian Warner
|
a1cfac89f9
|
webapi: fix t=rename from==to, it used to delete the file
|
2008-10-23 16:32:36 -07:00 |
|
Brian Warner
|
d4b4cd8ab8
|
test_system: update test to match web checker results
|
2008-10-23 16:32:02 -07:00 |
|
Brian Warner
|
c455d52453
|
deep-check: add webapi links to detailed per-file/dir results
|
2008-10-23 16:00:31 -07:00 |
|
Brian Warner
|
76b7b9d835
|
webapi: make the /operations/ 't=status' qualifier optional, remove it from examples
|
2008-10-23 15:56:58 -07:00 |
|
Brian Warner
|
2ee6356c89
|
test_dirnode.py: oops, missed a Monitor(), unbreak tests
|
2008-10-22 01:50:54 -07:00 |
|
Brian Warner
|
977c6ac510
|
more #514: pass a Monitor to all checker operations, make mutable-checker honor the cancel flag
|
2008-10-22 01:38:18 -07:00 |
|
Brian Warner
|
8178b10ef1
|
dirnode.py: check for cancel during deep-traverse operations, and don't initiate any new ones if we've been cancelled. Gets us closer to #514.
|
2008-10-22 00:55:52 -07:00 |
|