Daira Hopwood [Thu, 5 Sep 2013 17:09:09 +0000 (18:09 +0100)]
Sat Mar 31 00:41:39 BST 2012 Peter Le Bek <peter@hyperplex.net>
* unit test for ftpd LIST
Daira Hopwood [Thu, 5 Sep 2013 17:08:50 +0000 (18:08 +0100)]
Sat Mar 31 23:39:34 BST 2012 david-sarah@jacaranda.org
* Document PYTHONPATH problem when running flogtool. refs #1693
Daira Hopwood [Thu, 5 Sep 2013 17:08:34 +0000 (18:08 +0100)]
Mon Aug 8 19:02:04 BST 2011 david-sarah@jacaranda.org
* node.py: tolerate a UTF-8 BOM at the start of tahoe.cfg. fixes #1470
Daira Hopwood [Thu, 5 Sep 2013 17:08:10 +0000 (18:08 +0100)]
Mon Aug 8 19:05:52 BST 2011 david-sarah@jacaranda.org
* test_node.py: test that we tolerate a UTF-8 BOM at the start of tahoe.cfg, and can read UTF-8 option values. refs #1470
Daira Hopwood [Thu, 5 Sep 2013 17:07:54 +0000 (18:07 +0100)]
Sun Apr 1 02:36:55 BST 2012 david-sarah@jacaranda.org
* Spelling error in a comment.
Daira Hopwood [Thu, 5 Sep 2013 17:07:34 +0000 (18:07 +0100)]
Sat Mar 31 19:39:02 BST 2012 Brian Warner <warner@lothar.com>
* Add test for bug #1689: repairing empty file hits no-privkey assertion
Daira Hopwood [Thu, 5 Sep 2013 17:07:14 +0000 (18:07 +0100)]
Wed Aug 17 23:26:51 BST 2011 david-sarah@jacaranda.org
* bin/tahoe-script.template: fix the error message that is displayed when a runner script cannot be found. fixes #1488
Daira Hopwood [Thu, 5 Sep 2013 17:06:59 +0000 (18:06 +0100)]
Sun Apr 1 03:28:26 BST 2012 david-sarah@jacaranda.org
* misc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/
Daira Hopwood [Thu, 5 Sep 2013 17:06:45 +0000 (18:06 +0100)]
Sun Apr 1 01:59:25 BST 2012 zooko@zooko.com
* setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za
Daira Hopwood [Thu, 5 Sep 2013 17:06:28 +0000 (18:06 +0100)]
Tue Nov 1 07:45:32 GMT 2011 Brian Warner <warner@lothar.com>
* show-tool-versions.py: condense output, hide file-not-found exceptions
Daira Hopwood [Thu, 5 Sep 2013 17:06:13 +0000 (18:06 +0100)]
Sun Aug 14 23:59:59 BST 2011 david-sarah@jacaranda.org
* interfaces.py: ensure that NoSuchChildError can be converted to str even when it is for a non-ASCII name. fixes #1483
Daira Hopwood [Thu, 5 Sep 2013 17:05:57 +0000 (18:05 +0100)]
Tue Apr 3 04:04:51 BST 2012 Brian Warner <warner@lothar.com>
* Rename web CheckResults to -Renderer, to avoid confusion. Closes #1705.
This avoids the name collision between the actual results
objects (defined in allmydata.check_results) and the code that renders
these objects into HTML (defined in allmydata.web.check_results). Only
the web-side objects were renamed.
Daira Hopwood [Thu, 5 Sep 2013 17:05:38 +0000 (18:05 +0100)]
Fri Apr 6 05:39:46 BST 2012 david-sarah@jacaranda.org
* docs/frontends/drop-upload.rst: document more known issues and link to new ticket for an existing one.
Daira Hopwood [Thu, 5 Sep 2013 17:05:23 +0000 (18:05 +0100)]
Tue Apr 10 19:33:14 BST 2012 Brian Warner <warner@lothar.com>
* Fix for ticket #1662
Daira Hopwood [Thu, 5 Sep 2013 17:04:55 +0000 (18:04 +0100)]
Tue Apr 17 19:41:11 BST 2012 Brian Warner <warner@lothar.com>
* Updated webapi.rst to list /cap as a synonym for /uri
Daira Hopwood [Thu, 5 Sep 2013 17:04:37 +0000 (18:04 +0100)]
Sun Apr 29 03:28:44 BST 2012 david-sarah@jacaranda.org
* Make sure that foolscap.logging.log.setLogDir is called with a str (not unicode) path, v2. Includes test. fixes #1725
Daira Hopwood [Thu, 5 Sep 2013 17:04:22 +0000 (18:04 +0100)]
Sun May 13 03:19:43 BST 2012 Brian Warner <warner@lothar.com>
* webapi: remove undocumented t=mkdir-p operation
Closes #380
Daira Hopwood [Thu, 5 Sep 2013 17:04:05 +0000 (18:04 +0100)]
Sun May 13 07:34:03 BST 2012 Brian Warner <warner@lothar.com>
* test-dont-use-too-old-dep.py: fix tarfile timestamps
It turns out that TarFile.addfile() doesn't provide a reasonable default
timestamp, resulting in files dated to 1970 (they're probably wearing
bell-bottoms and listening to disco too). Then, when the bdist_egg command
tries to create a *zip*file with those files, it explodes because zipfiles
cannot handle timestamps before 1980 (it prefers boomboxes and jackets with
straps on the shoulders, thank you very much).
This puts a modern time.time() on the members of the tarfile, allowing future
cryptocoderarchaeologists the opportunity to make fun of fashion trends from
the user's chosen era, rather than an artificially older one.
refs #1342
Daira Hopwood [Thu, 5 Sep 2013 17:03:24 +0000 (18:03 +0100)]
Sun May 13 04:47:24 BST 2012 Brian Warner <warner@lothar.com>
* modify build_helpers files
Should close #1342. This makes the actual changes to the two test
files (separated from the 'rename' patch to avoid VC complications).
Daira Hopwood [Thu, 5 Sep 2013 17:03:06 +0000 (18:03 +0100)]
Sun May 13 04:47:01 BST 2012 Brian Warner <warner@lothar.com>
* rename build_helpers files
This is from the darcs patch for #1342, which failed to apply on my darcs
tree, so I'm landing it from git. I'm landing the rename-files part
separately from the modify-those-files part to avoid VC complications.
Daira Hopwood [Thu, 5 Sep 2013 17:02:37 +0000 (18:02 +0100)]
Sun May 13 08:45:12 BST 2012 Brian Warner <warner@lothar.com>
* test_web: fix use of headers= that's been wrong for a while
Daira Hopwood [Thu, 5 Sep 2013 17:02:21 +0000 (18:02 +0100)]
Sun May 13 09:15:50 BST 2012 Brian Warner <warner@lothar.com>
* Doc updates and cosmetic fixes for #1115 patch.
Removes the caveat from webapi.txt about count-good-share-hosts being wrong.
This series should close #1115.
Daira Hopwood [Thu, 5 Sep 2013 17:02:07 +0000 (18:02 +0100)]
Tue Apr 3 00:32:05 BST 2012 Brian Warner <warner@lothar.com>
* webapi.rst: de-tabify
Daira Hopwood [Thu, 5 Sep 2013 17:01:49 +0000 (18:01 +0100)]
Sun May 13 08:59:30 BST 2012 Brian Warner <warner@lothar.com>
* Fixed an error in previous commit where an empty servermap would throw an exception in 'count-good-share-hosts'. Augmented unit test.
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Daira Hopwood [Thu, 5 Sep 2013 17:01:34 +0000 (18:01 +0100)]
Sun May 13 08:59:30 BST 2012 Brian Warner <warner@lothar.com>
* Added tests for count-good-share-hosts under check and repair conditions. Patched the incorrect computation in immutable/filenode.py
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Fixed missing import statements
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Daira Hopwood [Thu, 5 Sep 2013 17:01:16 +0000 (18:01 +0100)]
Sun May 13 22:07:39 BST 2012 Brian Warner <warner@lothar.com>
* performance.rst: small updates, mention (lack of) MDMF
refs #1398
Daira Hopwood [Thu, 5 Sep 2013 17:01:02 +0000 (18:01 +0100)]
Wed Dec 28 05:50:18 GMT 2011 Brian Warner <warner@lothar.com>
* mutable publish: fix not-enough-shares detection. Refs #1628.
This should match the "fix-1628.darcs.2.patch" attachment on that ticket.
Daira Hopwood [Thu, 5 Sep 2013 17:00:46 +0000 (18:00 +0100)]
Wed Dec 28 22:38:19 GMT 2011 Brian Warner <warner@lothar.com>
* test_mutable: don't use 75 shares (slow), now that the bug is fixed
I missed this part of Kevan's fix-1628.darcs.2.patch .
Daira Hopwood [Thu, 5 Sep 2013 17:00:31 +0000 (18:00 +0100)]
Wed Dec 28 05:33:58 GMT 2011 Brian Warner <warner@lothar.com>
* mutable publish: track multiple servers-per-share. Fixes some of #1628.
The remaining work is to write additional tests.
src/allmydata/test/no_network.py:
This supports tests in which servers leave the grid only to return with
their shares intact at a later time.
src/allmydata/test/test_mutable.py:
The UCWEs in the incident reports associated with #1628 all seem to be
associated with shares that the servermap knows about, but which aren't
accounted for during the publish process for whatever reason. Specifically,
it looks like the publisher is only capable of keeping track of a single
storage server for a given share. This makes the repair process worse than
it was pre-MDMF at updating all of the shares of a particular file to the
newest version, and can also cause spurious UCWEs. This test simulates such
a layout and fails if an UCWE is thrown. We need to write another test to
ensure that all copies of a share are updated to the latest version (or
alter this test to do that), so that the test suite doesn't pass unless both
regressions are fixed.
We want the publisher to follow the existing share placement when uploading
a new version of a mutable file, and we don't want this test to pass unless
it does.
src/allmydata/mutable/publish.py:
Before this commit, the publisher only kept track of a single writer for
each share. This is insufficient to handle updates in which a single share
may live on multiple servers. In the best case, an update will only update
one of the existing shares instead of all of them. In some cases, the update
will encounter the existing shares when publishing some other share,
interpret it as a sign of an uncoordinated update, and fail. Keeping track
of all of the writers helps ensure that all existing shares are updated, and
helps avoid spurious uncoordinated write errors.
Daira Hopwood [Thu, 5 Sep 2013 17:00:15 +0000 (18:00 +0100)]
Sun Mar 18 00:01:35 GMT 2012 Brian Warner <warner@lothar.com>
* Fix mutable status (mapupdate/retrieve/publish) to use serverids, not tubids
This still leaves immutable-publish results incorrectly using tubids instead
of serverids. That will need some more work, since it might change the Helper
interface.
Daira Hopwood [Thu, 5 Sep 2013 16:59:59 +0000 (17:59 +0100)]
Sun Apr 1 23:10:34 BST 2012 Brian Warner <warner@lothar.com>
* servermap.py: oops, fix _done() condition, good catch by davidsarah
Daira Hopwood [Thu, 5 Sep 2013 16:59:32 +0000 (17:59 +0100)]
Sat Mar 31 19:39:02 BST 2012 Brian Warner <warner@lothar.com>
* Mutable repair: use new MODE_REPAIR to query all servers *and* get privkey
This fixes bug #1689. Repair was using MODE_READ to build the servermap,
which doesn't try hard enough to grab the privkey, and also doesn't guarantee
sending queries to all servers. This patch adds a new MODE_REPAIR which does
both, and does a separate, distinct mapupdate to start wth repair cycle,
instead of relying upon the (MODE_CHECK) mapupdate leftover from the
filecheck that triggered the repair.
Daira Hopwood [Thu, 5 Sep 2013 16:59:15 +0000 (17:59 +0100)]
Wed Apr 4 19:14:09 BST 2012 Brian Warner <warner@lothar.com>
* make IServer instances retain identity in copy() and deepcopy()
Daira Hopwood [Thu, 5 Sep 2013 16:58:58 +0000 (17:58 +0100)]
Tue Mar 13 02:57:36 GMT 2012 Brian Warner <warner@lothar.com>
* Add nickname/nodeid to storage-status web page. Closes #1204.
Also add tahoe.css to the page, to make it look slightly prettier.
Daira Hopwood [Thu, 5 Sep 2013 16:58:38 +0000 (17:58 +0100)]
Thu Mar 8 23:17:58 GMT 2012 david-sarah@jacaranda.org
* Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682
Daira Hopwood [Thu, 5 Sep 2013 16:58:19 +0000 (17:58 +0100)]
Fri Apr 6 00:57:23 BST 2012 david-sarah@jacaranda.org
* Change capitalization of WUI and introducer welcome page headings; add test for introducer welcome page. Also fix a typo in a CSS class name. fixes #1708
Daira Hopwood [Thu, 5 Sep 2013 16:57:55 +0000 (17:57 +0100)]
Sat Dec 17 04:31:30 GMT 2011 david-sarah@jacaranda.org
* Tests for ref #1592.
Daira Hopwood [Thu, 5 Sep 2013 16:57:35 +0000 (17:57 +0100)]
Wed Mar 7 02:25:05 GMT 2012 Brian Warner <warner@lothar.com>
* introducer web page: add CSS styling, roughly match client Welcome page
Also add /static and the top-level /tahoe.css -type stuff to the introducer's
web server.
Daira Hopwood [Thu, 5 Sep 2013 16:57:02 +0000 (17:57 +0100)]
Sat Dec 17 03:32:01 GMT 2011 david-sarah@jacaranda.org
* Marcus Wanner's favicon patch. fixes #1592
Daira Hopwood [Thu, 5 Sep 2013 16:56:34 +0000 (17:56 +0100)]
Thu Nov 17 21:49:23 GMT 2011 Marcus Wanner <marcus@wanners.net>
* 1585-webui.darcs.patch
Daira Hopwood [Thu, 5 Sep 2013 16:56:09 +0000 (17:56 +0100)]
Wed Nov 16 22:42:25 GMT 2011 Brian Warner <warner@lothar.com>
* Remove duplicate tahoe_css links from manifest.xhtml and rename-form.xhtml
They were probably meant to be links to webform_css, but we aren't really
using Nevow's form-generation code anyways, so they can just be removed.
Thanks to 'marcusw' for the catch.
Daira Hopwood [Thu, 5 Sep 2013 16:55:54 +0000 (17:55 +0100)]
Wed May 9 22:18:37 BST 2012 Brian Warner <warner@lothar.com>
* test_web: improve shouldFail2() error reporting
Daira Hopwood [Thu, 5 Sep 2013 16:55:41 +0000 (17:55 +0100)]
Thu May 17 00:15:26 BST 2012 david-sarah@jacaranda.org
* Update my (davidsarah) gpg fingerprint in CREDITS. Mwahaha! :-)
Daira Hopwood [Thu, 5 Sep 2013 16:55:25 +0000 (17:55 +0100)]
Sun May 13 18:32:17 BST 2012 Brian Warner <warner@lothar.com>
* CREDITS: add amiller, zooko, rearrange a bit
Daira Hopwood [Thu, 5 Sep 2013 16:55:07 +0000 (17:55 +0100)]
Thu May 3 18:30:33 BST 2012 zooko@zooko.com
* CREDITS: lebek
Daira Hopwood [Thu, 5 Sep 2013 16:54:52 +0000 (17:54 +0100)]
Sat Apr 14 15:01:07 BST 2012 markus reichelt <mr@mareichelt.com>
* Adding jg71 to CREDITS
Daira Hopwood [Thu, 5 Sep 2013 16:54:28 +0000 (17:54 +0100)]
Sun Apr 1 22:40:39 BST 2012 zooko@zooko.com
* doc: cross-link known_issues.rst and cautions.rst with one another
Daira Hopwood [Thu, 5 Sep 2013 16:54:10 +0000 (17:54 +0100)]
Thu May 17 00:55:09 BST 2012 Brian Warner <warner@lothar.com>
* immutable repairer: populate servers-responding properly
If a server did not respond to the pre-repair filecheck, but did respond
to the repair, that server was not correctly added to the
RepairResults.data["servers-responding"] list. (This resulted from a
buggy usage of DictOfSets.union() in filenode.py).
In addition, servers to which filecheck queries were sent, but did not
respond, were incorrectly added to the servers-responding list
anyawys. (This resulted from code in the checker.py not paying attention
to the 'responded' flag).
The first bug was neatly masked by the second: it's pretty rare to have
a server suddenly start responding in the one-second window between a
filecheck and a subsequent repair, and if the server was around for the
filecheck, you'd never notice the problem. I only spotted the smelly
code while I was changing it for IServer cleanup purposes.
I added coverage to test_repairer.py for this. Trying to get that test
to fail before fixing the first bug is what led me to discover the
second bug. I also had to update test_corrupt_file_verno, since it was
incorrectly asserting that 10 servers responded, when in fact one of
them throws an error (but the second bug was causing it to be reported
anyways).
Daira Hopwood [Thu, 5 Sep 2013 16:53:54 +0000 (17:53 +0100)]
Wed Apr 4 20:05:31 BST 2012 Brian Warner <warner@lothar.com>
* checker.py: minor simplifications
Daira Hopwood [Thu, 5 Sep 2013 16:53:39 +0000 (17:53 +0100)]
Thu May 17 00:55:09 BST 2012 Brian Warner <warner@lothar.com>
* dictutil.DictOfSets: remove .union() method, it was misleading
Unlike set.union(), which returns a new set, DictOfSets.union() modified
the DictOfSets in-place. The name collision bit me when I changed some
code from using DictOfSets to a normal set, and expected that
set.union() would modify the set in-place. Since there was only one user
of DictOfSets.union, I figured it was safer to just get rid of it.
Daira Hopwood [Thu, 5 Sep 2013 16:53:15 +0000 (17:53 +0100)]
Fri May 18 23:56:18 BST 2012 david-sarah@jacaranda.org
* docs/frontends/FTP-and-SFTP.rst: remove outdated allmydata.com reference. fixes #1743
Daira Hopwood [Thu, 5 Sep 2013 16:53:01 +0000 (17:53 +0100)]
Tue May 22 23:39:49 BST 2012 Brian Warner <warner@lothar.com>
* test_web.py: fix memory leak when run with --until-failure
The Fake*Node classes in test/common.py were accumulating share data in
a class-level dictionary, which persisted from one test run to the next.
As a result, running test_web.py over and over (with trial's
--until-failure feature) made this dictionary grow without bound,
eventually running out of memory.
This fix moves that dictionary into the FakeClient built fresh for each
test, so it doesn't build up. It does the same thing for "file_types",
which was much smaller but still lived at the class level.
Closes #1729
Daira Hopwood [Thu, 5 Sep 2013 16:52:45 +0000 (17:52 +0100)]
Wed Apr 4 20:11:03 BST 2012 Brian Warner <warner@lothar.com>
* test/common.py: remove ununsed 'is_bad' mechanism
This was a premature feature addition to the mock filenode, and gets in the
way of the IServer refactoring I'm trying to do. Best to remove it now and
re-introduce it in a better form later when it's actually needed.
Daira Hopwood [Thu, 5 Sep 2013 16:52:19 +0000 (17:52 +0100)]
Sat Dec 17 04:27:10 GMT 2011 david-sarah@jacaranda.org
* test_web.py cleanup: use failUnlessIn/failIfIn in preference to 'in' operator.
Daira Hopwood [Thu, 5 Sep 2013 16:51:56 +0000 (17:51 +0100)]
Tue Nov 1 06:18:21 GMT 2011 Brian Warner <warner@lothar.com>
* Rewrite download-status-timeline visualizer ('viz') with d3.js
* use d3.js v2.4.6
* add a "toggle misc events" button, to get hash/bitmap-checking details
* only draw data that's on screen, for speed
* add fragment-arg to fetch timeline data.json from somewhere else
Daira Hopwood [Thu, 5 Sep 2013 16:51:28 +0000 (17:51 +0100)]
Thu May 31 23:23:07 BST 2012 david-sarah@jacaranda.org
* Restore --rterrors option to 'setup.py test' and 'setup.py trial' to keep buildbots happy. refs #1699
Daira Hopwood [Thu, 5 Sep 2013 16:51:04 +0000 (17:51 +0100)]
Thu May 31 23:00:00 BST 2012 david-sarah@jacaranda.org
* Change 'setup.py test' and 'setup.py trial' to pass --rterrors to trial by default. Suppress using --no-rterrors. Also pass --until-failure/-u to trial. fixes #1699
Daira Hopwood [Thu, 5 Sep 2013 16:50:48 +0000 (17:50 +0100)]
Fri Jun 1 22:01:04 BST 2012 david-sarah@jacaranda.org
* docs/quickstart.rst: fix rst warning.
Daira Hopwood [Thu, 5 Sep 2013 16:50:34 +0000 (17:50 +0100)]
Mon May 14 01:26:37 BST 2012 david-sarah@jacaranda.org
* Clarify an ambiguity about which version number is meant in quickstart.rst.
Daira Hopwood [Thu, 5 Sep 2013 16:49:48 +0000 (17:49 +0100)]
Sun Apr 1 02:57:17 BST 2012 zooko@zooko.com
docs: quickstart: edits
* use out-of-line links to avoid a warning from rst2html --verbose (fixes #1704)
* reflow to 77 fill-column and prepend utf-8 BOM (fixes #1703)
* recommend Python 2.7 (fixes #1702)
* remove link to wiki:AdvancedInstall (fixes #1701)
Daira Hopwood [Thu, 5 Sep 2013 16:47:42 +0000 (17:47 +0100)]
Fri Jun 8 23:21:46 BST 2012 Brian Warner <warner@lothar.com>
* Fix text in Publish Status results. Closes #1762.
Daira Hopwood [Thu, 5 Sep 2013 16:47:25 +0000 (17:47 +0100)]
Sun Jun 10 20:32:36 BST 2012 Brian Warner <warner@lothar.com>
* Added docs/specifications/backends/raic.rst for ticket #1760
Daira Hopwood [Thu, 5 Sep 2013 16:47:06 +0000 (17:47 +0100)]
Wed Jun 13 17:51:35 BST 2012 david-sarah@jacaranda.org
* Clarify documentation of RIStorageServer.slot_testv_and_readv_and_writev. fixes #1744
Daira Hopwood [Thu, 5 Sep 2013 16:46:47 +0000 (17:46 +0100)]
Tue Jun 12 02:16:36 BST 2012 Brian Warner <warner@lothar.com>
* test_system.py: fix minor typo
Daira Hopwood [Thu, 5 Sep 2013 16:46:33 +0000 (17:46 +0100)]
Tue Jun 12 02:16:02 BST 2012 Brian Warner <warner@lothar.com>
* offloaded.py: don't drop the Deferred
There was one corner case (where the client disconnects at just the
wrong time) that could have dropped a Deferred, leading to an Unhandled
Error. Clean up the control flow to avoid this case.
Daira Hopwood [Thu, 5 Sep 2013 16:46:17 +0000 (17:46 +0100)]
Thu Jun 14 20:18:35 BST 2012 Brian Warner <warner@lothar.com>
* test/common.py: fix race condition waiting for the helper connection
The wait_for_connections() method, which is used at the start of
test_system to make sure that all the clients are connected to all the
servers, did not also wait for clients to be connected to their Helpers.
Every once in a while, the helper connection would take a bit longer,
and then
test_system.SystemTest.test_filesystem._test_web._got_welcome_helper
would fail, because we'd check for a helper connection before it was
ready.
The fix is to modify wait_for_connections's polling predicate to look
for helper connections (if configured) as well as the regular
introducer- and server- connections.
Tested by temporarily adding a large (30s) delay to the connectTo() call
in Uploader.startService, simulating a long helper
connection-establishment delay. This makes the test fail consistently.
Then I fixed wait_for_connections(), and the test passed (slowly). Then
I removed the delay.
Closes #1467
Daira Hopwood [Thu, 5 Sep 2013 16:46:01 +0000 (17:46 +0100)]
Thu Jun 14 22:23:08 BST 2012 david-sarah@jacaranda.org
* Suppress DeprecationWarning about twisted.internet.interfaces.IFinishableConsumer. This also unifies the handling of DeprecationWarnings that need to be suppressed globally. refs #1295
Daira Hopwood [Thu, 5 Sep 2013 16:45:44 +0000 (17:45 +0100)]
Mon May 14 04:23:52 BST 2012 david-sarah@jacaranda.org
* Suppress the PowmInsecureWarning from PyCrypto. refs #1586
Daira Hopwood [Thu, 5 Sep 2013 16:45:22 +0000 (17:45 +0100)]
Mon May 14 17:34:31 BST 2012 david-sarah@jacaranda.org
* Improve a comment in __init__.py.
Daira Hopwood [Thu, 5 Sep 2013 16:45:03 +0000 (17:45 +0100)]
Thu Mar 8 23:17:19 GMT 2012 david-sarah@jacaranda.org
* Update various references to allmydata.org or http://tahoe-lafs.org in comments, to https://tahoe-lafs.org. refs #1682
Daira Hopwood [Thu, 5 Sep 2013 16:44:45 +0000 (17:44 +0100)]
Thu Jun 14 22:28:29 BST 2012 david-sarah@jacaranda.org
* misc/coding_tools/check-interfaces.py: clean-ups (warnings about Windows-specific modules and error stream handling).
Daira Hopwood [Thu, 5 Sep 2013 16:44:26 +0000 (17:44 +0100)]
Fri May 18 03:12:52 BST 2012 david-sarah@jacaranda.org
* misc/build_helpers/check-interfaces.py: avoid spurious warnings about ignored exceptions on shutdown. Also make the check function able to write errors to an arbitrary stream.
Daira Hopwood [Thu, 5 Sep 2013 16:44:09 +0000 (17:44 +0100)]
Thu Jun 14 22:33:15 BST 2012 david-sarah@jacaranda.org
* Since DeprecationWarning about twisted.internet.interfaces.IFinishableConsumer is suppressed globally, it doesn't need to be suppressed during import. refs #1295
Daira Hopwood [Thu, 5 Sep 2013 16:43:53 +0000 (17:43 +0100)]
Wed Mar 14 23:50:40 GMT 2012 david-sarah@jacaranda.org
* Fix a missing comma in the last patch. refs #1295
Daira Hopwood [Thu, 5 Sep 2013 16:43:37 +0000 (17:43 +0100)]
Wed Mar 14 23:47:29 GMT 2012 david-sarah@jacaranda.org
* Temporarily suppress the DeprecationWarning about IFinishableConsumer; it's irritating, but not in a way that is likely to make me fix the underlying issue (#1525) any sooner :-). refs #1295
Daira Hopwood [Thu, 5 Sep 2013 16:43:15 +0000 (17:43 +0100)]
Tue Jun 12 07:19:30 BST 2012 Brian Warner <warner@lothar.com>
* test_system.py: wait for the Helper connection properly before uploading
Daira Hopwood [Thu, 5 Sep 2013 16:42:57 +0000 (17:42 +0100)]
Sun Jun 17 04:14:04 BST 2012 zooko@zooko.com
* docs: remove mention of #1588 from docs/frontends/FTP-and-SFTP.rst, since it is fixed
Daira Hopwood [Thu, 5 Sep 2013 16:42:40 +0000 (17:42 +0100)]
Mon Jun 18 01:24:54 BST 2012 david-sarah@jacaranda.org
* docs/frontends/FTP-and-SFTP.rst: listing of directories containing mutable files (but not reading/writing mutable files) is fixed for FTP. Also remove the orphaned trac link to #1688. refs #680
Daira Hopwood [Thu, 5 Sep 2013 16:42:21 +0000 (17:42 +0100)]
Sun Apr 1 22:20:02 BST 2012 zooko@zooko.com
* docs: FTP-and-SFTP.rst: recommend SFTP
Add an explicit recommendation of SFTP over FTP. Separate the known issues of
FTP from SFTP. List "SFTP" first in all lists of the two. Use unicode bullet
points and prepend a utf-8 BOM. Use out-of-line rst hyperlinks.
Daira Hopwood [Thu, 5 Sep 2013 16:41:58 +0000 (17:41 +0100)]
Sat Mar 31 02:37:30 BST 2012 david-sarah@jacaranda.org
* FTP-and-SFTP.rst: directories containing mutable files should now be listable via FTP. refs #680
Daira Hopwood [Thu, 5 Sep 2013 16:41:39 +0000 (17:41 +0100)]
Tue Mar 13 20:26:54 GMT 2012 david-sarah@jacaranda.org
* Update more links from http: to https: in documentation and comments.
Daira Hopwood [Thu, 5 Sep 2013 16:40:54 +0000 (17:40 +0100)]
Sun Jan 22 13:43:19 GMT 2012 zooko@zooko.com
* docs: backdoors.rst: stop using embedded URIs and tweak title so that trac will render it correctly; reflow to fill-column 77; M-x whitespace-cleanup
Daira Hopwood [Thu, 5 Sep 2013 16:40:38 +0000 (17:40 +0100)]
Tue Jan 24 20:38:21 GMT 2012 Brian Warner <warner@lothar.com>
* Added clarification on how interface= works
Daira Hopwood [Thu, 5 Sep 2013 16:40:21 +0000 (17:40 +0100)]
Sat Mar 31 03:32:47 BST 2012 david-sarah@jacaranda.org
* FTP-and-SFTP.rst: there were two more instances of 'rootcap'. Also made the wording tweak from ticket:1487#comment:4 . fixes #1487
Daira Hopwood [Thu, 5 Sep 2013 16:39:55 +0000 (17:39 +0100)]
Tue Jan 24 20:36:54 GMT 2012 Brian Warner <warner@lothar.com>
* FTP-and-SFTP.rst: minor edits
Daira Hopwood [Thu, 5 Sep 2013 16:39:34 +0000 (17:39 +0100)]
Tue Jan 24 20:31:26 GMT 2012 Brian Warner <warner@lothar.com>
* Updated accounts.url directive per warner's suggestions
Daira Hopwood [Thu, 5 Sep 2013 16:39:08 +0000 (17:39 +0100)]
Tue Jan 24 20:31:26 GMT 2012 Brian Warner <warner@lothar.com>
* Added information on accounts.url directive
Daira Hopwood [Thu, 5 Sep 2013 16:38:50 +0000 (17:38 +0100)]
Sat Jun 16 19:24:03 BST 2012 david-sarah@jacaranda.org
* [rebased for 1.9.2] After a server disconnects, make the IServer retain the dead RemoteReference, and continue to return it to anyone who calls get_rref(). This removes the need for callers to guard against receiving a None (as long as the server was connected at least once, which is always the case for servers returned by get_servers_for_psi(), which is how all upload/download code gets servers). Includes test, which is now the same as on trunk. fixes #1636 for 1.9.2.
Daira Hopwood [Thu, 5 Sep 2013 16:38:31 +0000 (17:38 +0100)]
Wed Apr 4 19:13:59 BST 2012 Brian Warner <warner@lothar.com>
* move IServer from storage_client.py to interfaces.py
Daira Hopwood [Thu, 5 Sep 2013 16:38:11 +0000 (17:38 +0100)]
Tue Jun 12 02:22:35 BST 2012 Brian Warner <warner@lothar.com>
* test_system.py: clean up control flow, reduce use of stall()
The _upload_resumable() test interrupts a Helper upload partway
through (by shutting down the Helper), then restarts the Helper and
resumes the upload. The control flow is kind of tricky: to do anything
"partway through" requires adding a hook to the Uploadable. The previous
flow depended upon a (fragile) call to self.stall(), which waits a fixed
number of seconds.
This removes one of those stall() calls (the remainder is in
test/common.py and I'll try removing it in a subsequent revision). It
also removes some now-redundant wait_for_connections() calls, since
bounce_client() doesn't fire its Deferred until the client has finished
coming back up (and uses wait_for_connections() internally to do so).
Daira Hopwood [Thu, 5 Sep 2013 16:37:47 +0000 (17:37 +0100)]
Thu Jun 21 20:42:44 BST 2012 david-sarah@jacaranda.org
* Rollback last patch, which was pushed unintentionally to the 1.9.2 branch (Add assertions to make sure that set_default_encoding_parameters is always called...) refs #1212
Daira Hopwood [Thu, 5 Sep 2013 16:37:23 +0000 (17:37 +0100)]
Tue Jun 19 03:05:04 BST 2012 david-sarah@jacaranda.org
* Add assertions to make sure that set_default_encoding_parameters is always called, rather than using hardcoded 3/7/10 defaults. Also update affected tests. Note that this by itself cannot fix the bug mentioned in ticket:1212#comment:41, but it might make it easier to reproduce. refs #1212
Daira Hopwood [Thu, 5 Sep 2013 16:36:57 +0000 (17:36 +0100)]
Thu Jun 21 21:46:27 BST 2012 david-sarah@jacaranda.org
* Tests for ref #1669. Also refactor the existing tests to reduce duplicated code and to fix a cut-and-paste error that caused one case (successful SDMF repair) to go untested.
Daira Hopwood [Thu, 5 Sep 2013 16:36:37 +0000 (17:36 +0100)]
Thu Jun 21 21:52:21 BST 2012 david-sarah@jacaranda.org
* mutable: fix shape of 'verinfo' tuple returned from MDMFSlotWriteProxy.get_verinfo(). fixes #1669
Daira Hopwood [Thu, 5 Sep 2013 16:36:18 +0000 (17:36 +0100)]
Fri Jun 22 16:43:54 BST 2012 david-sarah@jacaranda.org
* Change the maximum mutable share size to 69105 TB, and add a maximum-mutable-share-size field to the version announcement. Includes a test. refs #1778
Daira Hopwood [Thu, 5 Sep 2013 16:35:58 +0000 (17:35 +0100)]
Wed Sep 14 15:39:47 BST 2011 david-sarah@jacaranda.org
* mutable/layout.py: improve confusing documentation of layout. fixes #1534
Daira Hopwood [Thu, 5 Sep 2013 16:35:35 +0000 (17:35 +0100)]
Sat Jun 23 01:17:52 BST 2012 david-sarah@jacaranda.org
* Release notes, NEWS, and quickstart updates for 1.9.2a1. refs #1776
Daira Hopwood [Thu, 5 Sep 2013 16:35:12 +0000 (17:35 +0100)]
Thu Jan 12 21:35:53 GMT 2012 Brian Warner <warner@lothar.com>
* retrieve.py: unconditionally check share-hash-tree. Fixes #1654.
Add Kevan's unit test, update known_issues.rst
Daira Hopwood [Thu, 5 Sep 2013 16:34:52 +0000 (17:34 +0100)]
Sun Jan 8 22:12:48 GMT 2012 Brian Warner <warner@lothar.com>
* mutable/retrieve.py: clean up control flow to avoid dropping errors
* replace DeferredList with gatherResults, simplify result handling
* use BadShareError to signal recoverable problems in either fetch or
validate, catch after _validate_block
* _validate_block is thus not responsible for noticing fetch problems
* rename _validation_or_decoding_failed() to _handle_bad_share()
* _get_needed_hashes() returns two Deferreds, instead of a hard-to-unpack
DeferredList
Daira Hopwood [Thu, 5 Sep 2013 16:34:35 +0000 (17:34 +0100)]
Sun Jan 8 22:12:44 GMT 2012 Brian Warner <warner@lothar.com>
* mutable: simplify Retrieve._process_segment() to use a gatherDeferred