]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
16 years agonative client - upgrading to 0.6 WinFUSE, need to add new files and remove old ones
Peter Secor [Fri, 11 Apr 2008 01:58:59 +0000 (18:58 -0700)]
native client - upgrading to 0.6 WinFUSE, need to add new files and remove old ones

16 years agonative client - upgrade to WinFUSE 0.6, attempting to solve the issue where the Windo...
Peter Secor [Fri, 11 Apr 2008 01:48:27 +0000 (18:48 -0700)]
native client - upgrade to WinFUSE 0.6, attempting to solve the issue where the Windows client thinks there isn't enough room on the virtual drive to do a copy

16 years agostats_gatherer: fix typo in helper stats gathering.
robk-tahoe [Fri, 11 Apr 2008 00:41:42 +0000 (17:41 -0700)]
stats_gatherer: fix typo in helper stats gathering.

16 years agostats_gatherer: reconcile helper stats gathering
robk-tahoe [Fri, 11 Apr 2008 00:25:44 +0000 (17:25 -0700)]
stats_gatherer: reconcile helper stats gathering

I'd implemented stats gathering hooks in the helper a while back.
Brian did the same without reference to my changes.  This reconciles
those two changes, encompassing all the stats in both changes,
implemented through the stats_provider interface.

this also provide templates for all 10 helper graphs in the
tahoe-stats munin plugin.

16 years agoconflict reconciliation (part 1, stats gathering in helper)
robk-tahoe [Fri, 28 Mar 2008 00:25:16 +0000 (17:25 -0700)]
conflict reconciliation (part 1, stats gathering in helper)

16 years agomunin: added a series of munin graphs to report upload helper state
robk-tahoe [Wed, 26 Mar 2008 01:30:46 +0000 (18:30 -0700)]
munin: added a series of munin graphs to report upload helper state

16 years agostats: added stats reporting to the upload helper
robk-tahoe [Wed, 26 Mar 2008 01:19:08 +0000 (18:19 -0700)]
stats: added stats reporting to the upload helper

adds a stats_producer for the upload helper, which provides a series of counters
to the stats gatherer, under the name 'chk_upload_helper'.

it examines both the 'incoming' directory, and the 'encoding' dir, providing
inc_count inc_size inc_size_old enc_count enc_size enc_size_old, respectively
the number of files in each dir, the total size thereof, and the aggregate
size of all files older than 48hrs

16 years agominor patch, to trigger the buildbot
Brian Warner [Thu, 10 Apr 2008 23:47:52 +0000 (16:47 -0700)]
minor patch, to trigger the buildbot

16 years agoback our runtime setuptools dependency down to 0.6a9 . We need a newer version to...
Brian Warner [Thu, 10 Apr 2008 23:31:59 +0000 (16:31 -0700)]
back our runtime setuptools dependency down to 0.6a9 . We need a newer version to build, but can handle an older version to simply run a pre-built package

16 years agodebian: use our own /usr/bin/tahoe, remove runtime dependency on setuptools (since...
Brian Warner [Thu, 10 Apr 2008 23:29:59 +0000 (16:29 -0700)]
debian: use our own /usr/bin/tahoe, remove runtime dependency on setuptools (since it required egg-aware versions of all dependencies too)

16 years agodebian: we now require setuptools at build time, and that or pkg_resources at runtime
Brian Warner [Thu, 10 Apr 2008 22:43:56 +0000 (15:43 -0700)]
debian: we now require setuptools at build time, and that or pkg_resources at runtime

16 years agodebian: use setuptools-generated support/bin/tahoe instead of bin/tahoe, to match...
Brian Warner [Thu, 10 Apr 2008 21:36:27 +0000 (14:36 -0700)]
debian: use setuptools-generated support/bin/tahoe instead of bin/tahoe, to match Zooko's change that makes our in-tree bin/tahoe spawn support/bin/tahoe

16 years agokey_generator: fix edge case found on windows
robk-tahoe [Thu, 10 Apr 2008 21:27:35 +0000 (14:27 -0700)]
key_generator: fix edge case found on windows

the windows (cygwin) buildslave has been failing the key generator test

it turns out that the time check on whether to refill the pool, and the
reactor, are interacting such that when the maybe_refill_pool call posted
on the reactor fires, the test on whether to fill the pool fails.

this adds a loop in the failure case to retry each 1s until it is time
to refill the pool, thus mitigating this timing accuracy problem on
windows.

16 years agostats gathering: fix storage server stats if not tracking consumed
robk-tahoe [Thu, 10 Apr 2008 01:23:06 +0000 (18:23 -0700)]
stats gathering: fix storage server stats if not tracking consumed

the RIStatsProvider interface requires that counter and stat values be
ChoiceOf(float, int, long)  the recent changes to storage server to not
track 'consumed' led to returning None as the value of a counter.
this causes violations to be experienced by nodes whose stats are being
gathered.

this patch simply omits that stat if 'consumed' is not being tracked.

16 years agostats gathering: added counters to upload,download,mutablewatcher
robk-tahoe [Thu, 10 Apr 2008 01:08:59 +0000 (18:08 -0700)]
stats gathering: added counters to upload,download,mutablewatcher

counting number of operations, and for immutable files, bytes transferred

16 years agooops, change debian dependency on zfec to 1.1, not 1.1.0
Brian Warner [Thu, 10 Apr 2008 00:45:52 +0000 (17:45 -0700)]
oops, change debian dependency on zfec to 1.1, not 1.1.0

16 years agodocs: yay! We can remove Twisted from the list of "Manual Dependencies" that users...
Zooko O'Whielacronx [Fri, 11 Apr 2008 01:44:07 +0000 (18:44 -0700)]
docs: yay!  We can remove Twisted from the list of "Manual Dependencies" that users have to be aware of when installing

16 years agosetup: we now require setuptools at run-time
Zooko O'Whielacronx [Thu, 10 Apr 2008 22:46:10 +0000 (15:46 -0700)]
setup: we now require setuptools at run-time

16 years agosetup: execute ../support/bin/tahoe from ./bin/tahoe
Zooko O'Whielacronx [Thu, 10 Apr 2008 21:40:37 +0000 (14:40 -0700)]
setup: execute ../support/bin/tahoe from ./bin/tahoe

16 years agostats_gatherer: verbose debug logging
robk-tahoe [Wed, 9 Apr 2008 23:10:53 +0000 (16:10 -0700)]
stats_gatherer: verbose debug logging

one of the storage servers is throwing foolscap violations about the
return value of get_stats().  this adds a log of the data returned
to the foolscap log event stream at the debug level '12' (between
NOISY(10) and OPERATIONAL(20))  hopefully this will facilitate
finding the cause of this problem.

16 years agonative client - small bug fix to run the used_quota update on startup as well as...
Peter Secor [Wed, 9 Apr 2008 22:18:43 +0000 (15:18 -0700)]
native client - small bug fix to run the used_quota update on startup as well as on upload

16 years agonative client - adding change to allow drive properties to reflect actual usage of...
Peter Secor [Wed, 9 Apr 2008 21:06:14 +0000 (14:06 -0700)]
native client - adding change to allow drive properties to reflect actual usage of the virtual drive

16 years agodocs: another small edit (don't mention docs/ directory in about.html now that docs...
Zooko O'Whielacronx [Wed, 9 Apr 2008 23:02:45 +0000 (16:02 -0700)]
docs: another small edit (don't mention docs/ directory in about.html now that docs/ is prominent on wiki:Docs)

16 years agodocs: a couple of tiny docs updates
Zooko O'Whielacronx [Wed, 9 Apr 2008 22:57:59 +0000 (15:57 -0700)]
docs: a couple of tiny docs updates

16 years agosetup: setup_requires twisted, because foolscap <= 0.2.5 imports twisted in its setup...
Zooko O'Whielacronx [Wed, 9 Apr 2008 18:30:53 +0000 (11:30 -0700)]
setup: setup_requires twisted, because foolscap <= 0.2.5 imports twisted in its setup.py and because we want trial to be available at build time

16 years agomake debian dependencies match _auto_deps.py ones, for foolscap and zfec
Brian Warner [Wed, 9 Apr 2008 17:23:01 +0000 (10:23 -0700)]
make debian dependencies match _auto_deps.py ones, for foolscap and zfec

16 years agowindows installer - changed display name to Allmydata 3.0 for presentation purposes
Peter Secor [Wed, 9 Apr 2008 17:01:51 +0000 (10:01 -0700)]
windows installer - changed display name to Allmydata 3.0 for presentation purposes

16 years agonative installer - updated installer to have a better formatted string in the install...
Peter Secor [Wed, 9 Apr 2008 00:22:39 +0000 (17:22 -0700)]
native installer - updated installer to have a better formatted string in the install screen and in the Add/Remove Programs screen

16 years agokey_generator: remove poll timeouts from test
robk-tahoe [Tue, 8 Apr 2008 18:06:58 +0000 (11:06 -0700)]
key_generator: remove poll timeouts from test

the timeouts on uses of 'poll' were there purely to make sure a test doesn't
poll indefinitely.  however having such timeouts makes tests susceptible
to premature timeouts under high load, or on slow machines. (e.g. cygwin
slaves running in virtual machines on loaded hosts)

purportedly trial by default applies a timeout to tests to prevent them
hanging out indefinitely, so these poll timeouts are redundant and cause
intermittent failures on slow hosts.  hence they're more bother than they're
worth, and should be culled.

16 years agokey_generator: fix a typo in the .tac generating create-key-generator
robk-tahoe [Tue, 8 Apr 2008 18:06:06 +0000 (11:06 -0700)]
key_generator: fix a typo in the .tac generating create-key-generator

verbose is an object attribute, no longer settable via init args

16 years agosetup: require twisted >= 2.4.0
Zooko O'Whielacronx [Wed, 9 Apr 2008 01:12:00 +0000 (18:12 -0700)]
setup: require twisted >= 2.4.0

16 years agodon't do a du on startup if there is no size limit configured
Zooko O'Whielacronx [Tue, 8 Apr 2008 18:36:56 +0000 (11:36 -0700)]
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.

16 years agonative client - added icon to About screen, added ability to change backup client...
Peter Secor [Tue, 8 Apr 2008 08:19:02 +0000 (01:19 -0700)]
native client - added icon to About screen, added ability to change backup client that is launched, changed capitalization in share namme to Allmydata, changed tool-tip to Allmydata 3.0, updated linking method to automatically link if the next file will take more than 60sec to upload or it's already been 5 minutes since the last link happened

16 years agonative client - took out the Palissimo name, corrected file dates
Peter Secor [Mon, 7 Apr 2008 05:09:56 +0000 (22:09 -0700)]
native client - took out the Palissimo name, corrected file dates

16 years agonative client - updated flashing icon, removed the word "Beta" from About screen...
Peter Secor [Fri, 4 Apr 2008 08:04:04 +0000 (01:04 -0700)]
native client - updated flashing icon, removed the word "Beta" from About screen, fixed some wording

16 years agokey_generator: fix timing, make tests more robust
robk-tahoe [Fri, 4 Apr 2008 01:43:46 +0000 (18:43 -0700)]
key_generator: fix timing, make tests more robust

previously there was an edge case in the timing of expected behaviour
of the key_generator (w.r.t. the refresh delay and twisted/foolscap
delivery).  if it took >6s for a key to be generated, then it was
possible for the pool refresh delay to transpire _during_ the
synchronous creation of a key in remote_get_rsa_key_pair.  this could
lead to the timer elapsing during key creation and hence the pool
being refilled before control returned to the client.

this change ensures that the time window from a get key request
until the key gen reactor blocks to refill the pool is the time
since a request was answered, not since a request was asked.
this causes the behaviour to match expectations, as embodied in
test_keygen, even if the delay window is dropped to 0.1s

16 years agokey_generator: up timeouts on keygen test
robk-tahoe [Thu, 3 Apr 2008 23:26:24 +0000 (16:26 -0700)]
key_generator: up timeouts on keygen test

in both these cases, the timeout only serves to abort a stuck test, and
the key_generator should respond more quickly, but seeing test failures
in buildbot on some platforms suggests that the test is too susceptible
to timing issues on loaded buildslaves.

16 years agoupdate our misc/dependencies to have foolscap-0.2.5
Brian Warner [Thu, 3 Apr 2008 23:08:22 +0000 (16:08 -0700)]
update our misc/dependencies to have foolscap-0.2.5

16 years agoauto_deps: require foolscap >= 2.5
robk-tahoe [Thu, 3 Apr 2008 23:06:46 +0000 (16:06 -0700)]
auto_deps: require foolscap >= 2.5

the key_generator depends upon tub.setLocationAutomatically() which is only
available in foolscap > 0.2.5

16 years agokey_generator: service related cleanups, incorporation into system test
robk-tahoe [Thu, 3 Apr 2008 22:57:07 +0000 (15:57 -0700)]
key_generator: service related cleanups, incorporation into system test

this cleans up KeyGenerator to be a service (a subservice of the
KeyGeneratorService as instantiated by the key-generator.tac app)
this means that the timer which replenishes the keypool will be
shutdown cleanly when the service is stopped.

adds checks on the key_generator service and client into the system
test 'test_mutable' such that one of the nodes (clients[3]) uses
the key_generator service, and checks that mutable file creation
in that node, via a variety of means, are all consuming keys from
the key_generator.

16 years agokey_generator: added a unit test
robk-tahoe [Thu, 3 Apr 2008 20:01:43 +0000 (13:01 -0700)]
key_generator: added a unit test

implemented a unit test of basic KeyGenService functionality,
fixed a bug in the timing of pool refreshes

16 years agonative client - MikeB's updates to do delayed caching (introduces write delays if...
Peter Secor [Thu, 3 Apr 2008 20:39:46 +0000 (13:39 -0700)]
native client - MikeB's updates to do delayed caching (introduces write delays if cache gets big), status indicator if uploading files on Windows (flashing system tray icon)

16 years agotrial_figleaf.py: make our figleaf code compatible with both Twisted-8.x and Twisted...
Brian Warner [Thu, 3 Apr 2008 00:48:55 +0000 (17:48 -0700)]
trial_figleaf.py: make our figleaf code compatible with both Twisted-8.x and Twisted-2.5.x

16 years agoadded offloaded key generation
robk-tahoe [Wed, 2 Apr 2008 01:45:13 +0000 (18:45 -0700)]
added offloaded key generation

this adds a new service to pre-generate RSA key pairs.  This allows
the expensive (i.e. slow) key generation to be placed into a process
outside the node, so that the node's reactor will not block when it
needs a key pair, but instead can retrieve them from a pool of already
generated key pairs in the key-generator service.

it adds a tahoe create-key-generator command which initialises an
empty dir with a tahoe-key-generator.tac file which can then be run
via twistd.  it stashes its .pem and portnum for furl stability and
writes the furl of the key gen service to key_generator.furl, also
printing it to stdout.

by placing a key_generator.furl file into the nodes config directory
(e.g. ~/.tahoe) a node will attempt to connect to such a service, and
will use that when creating mutable files (i.e. directories) whenever
possible.  if the keygen service is unavailable, it will perform the
key generation locally instead, as before.

16 years agosetup: rename GNUmakefile to Makefile
Zooko O'Whielacronx [Tue, 1 Apr 2008 19:36:09 +0000 (12:36 -0700)]
setup: rename GNUmakefile to Makefile
It's evil and wrong to call something a "Makefile" when it contains code that can't be interpreted by POSIX make and requires GNU make.
But everyone else is doing it.  ;-)

16 years agointroducer.py: accelerate reconnection after being offline. Closes #374.
Brian Warner [Mon, 31 Mar 2008 22:28:45 +0000 (15:28 -0700)]
introducer.py: accelerate reconnection after being offline. Closes #374.

When we establish any new connection, reset the delays on all the other
Reconnectors. This will trigger a new batch of connection attempts. The idea
is to detect when we (the client) have been offline for a while, and to
connect to all servers when we get back online. By accelerating the timers
inside the Reconnectors, we try to avoid spending a long time in a
partially-connected state (which increases the chances of causing problems
with mutable files, by not updating all the shares that we ought to).

16 years agomunin plugins: add 'graph_category tahoe'
Brian Warner [Fri, 28 Mar 2008 23:18:30 +0000 (16:18 -0700)]
munin plugins: add 'graph_category tahoe'

16 years agoadd munin/tahoe-rootdir-space
Brian Warner [Fri, 28 Mar 2008 23:18:09 +0000 (16:18 -0700)]
add munin/tahoe-rootdir-space

16 years agomunin/tahoe-introstats.py: put this graph in the 'tahoe' category
Brian Warner [Fri, 28 Mar 2008 21:51:37 +0000 (14:51 -0700)]
munin/tahoe-introstats.py: put this graph in the 'tahoe' category

16 years agonative client - removed unused file (used to be for elevating privileges) and changed...
Peter Secor [Fri, 28 Mar 2008 19:25:08 +0000 (12:25 -0700)]
native client - removed unused file (used to be for elevating privileges) and changed installer to start up the AllmydataTray executable directly

16 years agonative client - changing way the executables ask for elevated privileges
Peter Secor [Fri, 28 Mar 2008 06:41:07 +0000 (23:41 -0700)]
native client - changing way the executables ask for elevated privileges

16 years agostorage: emit log messages on bucket allocate/read and mutable writev
Brian Warner [Fri, 28 Mar 2008 00:33:58 +0000 (17:33 -0700)]
storage: emit log messages on bucket allocate/read and mutable writev

16 years agodocs: fix anchor text of hyperlink to tarball
Zooko O'Whielacronx [Fri, 28 Mar 2008 02:01:29 +0000 (19:01 -0700)]
docs: fix anchor text of hyperlink to tarball

16 years agohelper: add another munin plugin
Brian Warner [Thu, 27 Mar 2008 23:50:30 +0000 (16:50 -0700)]
helper: add another munin plugin

16 years agohelper: add more stats to webapi, at /helper_status
Brian Warner [Thu, 27 Mar 2008 23:46:08 +0000 (16:46 -0700)]
helper: add more stats to webapi, at /helper_status

16 years agohelper: add stats for the gatherer, show some on the webish welcome page
Brian Warner [Thu, 27 Mar 2008 22:55:32 +0000 (15:55 -0700)]
helper: add stats for the gatherer, show some on the webish welcome page

16 years agoadd GET /uri/URI/?t=deep-size, to compute the total size of immutable files reachable...
Brian Warner [Thu, 27 Mar 2008 18:33:42 +0000 (11:33 -0700)]
add GET /uri/URI/?t=deep-size, to compute the total size of immutable files reachable from a given directory

16 years agonative client - updated to auto mount drive at start as well as when the drive is...
Peter Secor [Thu, 27 Mar 2008 04:26:31 +0000 (21:26 -0700)]
native client - updated to auto mount drive at start as well as when the drive is opened

16 years agonative client - updated to automatically create a Backup directory, temp directory...
Peter Secor [Thu, 27 Mar 2008 04:05:30 +0000 (21:05 -0700)]
native client - updated to automatically create a Backup directory, temp directory cleanup, automatic mounting and unmounting of the drive when starting and stopping the service, lots of Vista backup error fixes

16 years agonode.py: make twistd.pid world-readable, so stats-gathering tools (specifically memor...
Brian Warner [Thu, 27 Mar 2008 01:37:54 +0000 (18:37 -0700)]
node.py: make twistd.pid world-readable, so stats-gathering tools (specifically memory-measuring munin plugins) can see it

16 years agoboodlegrid.tac: update sound samples
Brian Warner [Thu, 27 Mar 2008 01:22:07 +0000 (18:22 -0700)]
boodlegrid.tac: update sound samples

16 years agoweb-status: client methods like list_all_uploads() return Upload instances,
Brian Warner [Thu, 27 Mar 2008 01:20:07 +0000 (18:20 -0700)]
web-status: client methods like list_all_uploads() return Upload instances,
not status instances. Fix this. The symptom was that following a link like
'up-123' that referred to an old operation (no longer in memory) while an
upload was active would get an ugly traceback instead of a "no such resource"
message.

16 years agomisc/boodlegrid.tac: tool to monitor a grid through its flogports
Brian Warner [Wed, 26 Mar 2008 23:09:34 +0000 (16:09 -0700)]
misc/boodlegrid.tac: tool to monitor a grid through its flogports

16 years agosetup: remove bundled setuptools-0.6c7
Zooko O'Whielacronx [Wed, 26 Mar 2008 19:13:21 +0000 (12:13 -0700)]
setup: remove bundled setuptools-0.6c7

16 years agosetup: require setuptools >= v0.6c8
Zooko O'Whielacronx [Wed, 26 Mar 2008 19:13:02 +0000 (12:13 -0700)]
setup: require setuptools >= v0.6c8

16 years agosetup: bundle setuptools-0.6c8, we need a bugfix in it
Zooko O'Whielacronx [Wed, 26 Mar 2008 19:12:34 +0000 (12:12 -0700)]
setup: bundle setuptools-0.6c8, we need a bugfix in it

16 years agosetup: merge in changes to ez_setup.py from the upstream setuptools project
Zooko O'Whielacronx [Wed, 26 Mar 2008 19:11:28 +0000 (12:11 -0700)]
setup: merge in changes to ez_setup.py from the upstream setuptools project

16 years agosetup: simplify makefile's path manipulation now that we rely on setup.py develop
Zooko O'Whielacronx [Wed, 26 Mar 2008 17:00:33 +0000 (10:00 -0700)]
setup: simplify makefile's path manipulation now that we rely on setup.py develop

16 years agotahoe-nodememory.py: change category to Tahoe
zandr [Wed, 26 Mar 2008 01:42:11 +0000 (18:42 -0700)]
tahoe-nodememory.py: change category to Tahoe

16 years agodocs: link to the 1.0.0 tarball in docs/install.html
Zooko O'Whielacronx [Wed, 26 Mar 2008 03:22:29 +0000 (20:22 -0700)]
docs: link to the 1.0.0 tarball in docs/install.html

16 years agoTAG allmydata-tahoe-1.0.0 allmydata-tahoe-1.0.0
Zooko O'Whielacronx [Wed, 26 Mar 2008 01:29:04 +0000 (18:29 -0700)]
TAG allmydata-tahoe-1.0.0

16 years agodocs: update relnotes.txt for Tahoe v1.0!
Zooko O'Whielacronx [Wed, 26 Mar 2008 01:28:00 +0000 (18:28 -0700)]
docs: update relnotes.txt for Tahoe v1.0!

16 years agoCopy amd-nodememory munin plugin over to tahoe and point at correct pidfile
zandr [Wed, 26 Mar 2008 00:50:04 +0000 (17:50 -0700)]
Copy amd-nodememory munin plugin over to tahoe and point at correct pidfile

16 years agonative client - updated to fix windows vista backup rproblems, edit word documents...
Peter Secor [Wed, 26 Mar 2008 00:00:59 +0000 (17:00 -0700)]
native client - updated to fix windows vista backup rproblems, edit word documents directly on the drive, requeue files that failed to upload from the node to the helper

16 years agoadd a munin plugin to display introducer stats
Brian Warner [Tue, 25 Mar 2008 20:15:52 +0000 (13:15 -0700)]
add a munin plugin to display introducer stats

16 years agointroweb.py: add ?t=json, to provide machine-readable subscriber counts
Brian Warner [Tue, 25 Mar 2008 19:56:12 +0000 (12:56 -0700)]
introweb.py: add ?t=json, to provide machine-readable subscriber counts

16 years agoencode.py: also record the size, along with plaintext_hash and SI
Brian Warner [Tue, 25 Mar 2008 02:08:15 +0000 (19:08 -0700)]
encode.py: also record the size, along with plaintext_hash and SI

16 years agoencode: log a plaintext hash and SI for each upload. This will allow the log gatherer...
Brian Warner [Tue, 25 Mar 2008 01:55:37 +0000 (18:55 -0700)]
encode: log a plaintext hash and SI for each upload. This will allow the log gatherer to correlate the two, to better measure the benefits of convergence

16 years agoconfwiz: set a convergence domain based on root_dir upon config
robk-tahoe [Mon, 24 Mar 2008 22:47:12 +0000 (15:47 -0700)]
confwiz: set a convergence domain based on root_dir upon config

when the confwiz configures a node (i.e. typically once on mac, once per
install on windows) in addition to writing the root_dir.cap retrieved from
the native_client backend into a config file, it additionally writes a hash
thereof into the 'convergence' config file.

this causes uploads from this node to use a consistent 'convergence' hashing
value matching any other nodes with the same configured root_dir, i.e. for
the most part other systems installed and configured on the same account.

16 years agomutable: revise a couple of error messages
robk-tahoe [Mon, 24 Mar 2008 22:46:28 +0000 (15:46 -0700)]
mutable: revise a couple of error messages

at brian and zooko's suggestion, reword an error message encountered when
multiple writers are racing to make overlapping changes to a directory

16 years agoupload.py: remove spurious trailing quotes that confuse syntax-highlighting
Brian Warner [Mon, 24 Mar 2008 22:51:19 +0000 (15:51 -0700)]
upload.py: remove spurious trailing quotes that confuse syntax-highlighting

16 years agodisable plaintext hashes in shares, but leave a switch to turn it back on
Brian Warner [Mon, 24 Mar 2008 20:39:51 +0000 (13:39 -0700)]
disable plaintext hashes in shares, but leave a switch to turn it back on

16 years agoUNDO: upload: stop putting plaintext and ciphertext hashes in shares.
Brian Warner [Sun, 23 Mar 2008 22:35:54 +0000 (15:35 -0700)]
UNDO: upload: stop putting plaintext and ciphertext hashes in shares.
This removes the guess-partial-information attack vector, and reduces
the amount of overhead that we consume with each file. It also introduces
a forwards-compability break: older versions of the code (before the
previous download-time "make hashes optional" patch) will be unable
to read files uploaded by this version, as they will complain about the
missing hashes. This patch is experimental, and is being pushed into
trunk to obtain test coverage. We may undo it before releasing 1.0.

16 years agoCREDITS: add Paul Gerhardt, who submitted a small patch for make check-deps to be...
Zooko O'Whielacronx [Tue, 25 Mar 2008 18:47:39 +0000 (11:47 -0700)]
CREDITS: add Paul Gerhardt, who submitted a small patch for make check-deps to be more newbie-friendly

16 years agosetup: don't echo "signal-error" to stdout when testing for errors
Zooko O'Whielacronx [Tue, 25 Mar 2008 18:45:55 +0000 (11:45 -0700)]
setup: don't echo "signal-error" to stdout when testing for errors
This patch is thanks to Paul Gerhardt.

16 years agodocs: document the private/convergence configuration file
Zooko O'Whielacronx [Tue, 25 Mar 2008 18:22:41 +0000 (11:22 -0700)]
docs: document the private/convergence configuration file

16 years agofix check-memory to use new upload API (which requires a "convergence" argument)...
Zooko O'Whielacronx [Mon, 24 Mar 2008 22:28:04 +0000 (15:28 -0700)]
fix check-memory to use new upload API (which requires a "convergence" argument), and change it to measure convergence instead of random-key, since convergence is the use case we care about more

16 years agouse added secret to protect convergent encryption
Zooko O'Whielacronx [Mon, 24 Mar 2008 16:46:06 +0000 (09:46 -0700)]
use added secret to protect convergent encryption

Now upload or encode methods take a required argument named "convergence" which can be either None, indicating no convergent encryption at all, or a string, which is the "added secret" to be mixed in to the content hash key.  If you want traditional convergent encryption behavior, set the added secret to be the empty string.

This patch also renames "content hash key" to "convergent encryption" in a argument names and variable names.  (A different and larger renaming is needed in order to clarify that Tahoe supports immutable files which are not encrypted content-hash-key a.k.a. convergent encryption.)

This patch also changes a few unit tests to use non-convergent encryption, because it doesn't matter for what they are testing and non-convergent encryption is slightly faster.

16 years agoupload: stop putting plaintext and ciphertext hashes in shares.
Brian Warner [Sun, 23 Mar 2008 22:35:54 +0000 (15:35 -0700)]
upload: stop putting plaintext and ciphertext hashes in shares.
This removes the guess-partial-information attack vector, and reduces
the amount of overhead that we consume with each file. It also introduces
a forwards-compability break: older versions of the code (before the
previous download-time "make hashes optional" patch) will be unable
to read files uploaded by this version, as they will complain about the
missing hashes. This patch is experimental, and is being pushed into
trunk to obtain test coverage. We may undo it before releasing 1.0.

16 years agodownload: make plaintext and ciphertext hashes in the UEB optional.
Brian Warner [Sun, 23 Mar 2008 21:46:49 +0000 (14:46 -0700)]
download: make plaintext and ciphertext hashes in the UEB optional.
Removing the plaintext hashes can help with the guess-partial-information
attack. This does not affect compatibility, but if and when we actually
remove any hashes from the share, that will introduce a
forwards-compatibility break: tahoe-0.9 will not be able to read such files.

16 years agonative client - adding support for special icons for shared and recycling directories
Peter Secor [Thu, 20 Mar 2008 22:30:26 +0000 (15:30 -0700)]
native client - adding support for special icons for shared and recycling directories

16 years agodocs: add some accounting proposals
Brian Warner [Thu, 20 Mar 2008 19:18:41 +0000 (12:18 -0700)]
docs: add some accounting proposals

16 years agoresolve conflict in windows installer conf
robk-tahoe [Wed, 19 Mar 2008 00:38:44 +0000 (17:38 -0700)]
resolve conflict in windows installer conf

16 years agoconfwiz: refine the descriptive text on the conf wiz pages
robk-tahoe [Wed, 19 Mar 2008 00:06:47 +0000 (17:06 -0700)]
confwiz: refine the descriptive text on the conf wiz pages

16 years agowindows installer: use an allmydata logo in setup wizard
robk-tahoe [Tue, 18 Mar 2008 23:18:07 +0000 (16:18 -0700)]
windows installer: use an allmydata logo in setup wizard

16 years agoconfwiz: reworked confwiz look and feel
robk-tahoe [Tue, 18 Mar 2008 23:15:36 +0000 (16:15 -0700)]
confwiz: reworked confwiz look and feel

this changes the confwiz to have a look and feel much more consistent
with that of the innosetup installer it is launched within the context
of.  this applies, naturally, primarily to windows.

16 years agomacapp: updated icon for mac build
robk-tahoe [Tue, 18 Mar 2008 23:13:38 +0000 (16:13 -0700)]
macapp: updated icon for mac build

16 years agonative client - adding checks for elevating and managing privileges on Vista
Peter Secor [Tue, 18 Mar 2008 22:12:59 +0000 (15:12 -0700)]
native client - adding checks for elevating and managing privileges on Vista

16 years agowebish mkdir-p: added unit test
robk-tahoe [Tue, 18 Mar 2008 20:11:08 +0000 (13:11 -0700)]
webish mkdir-p: added unit test

added a test for the simple mkdir-p hack I added yesterday

checks that mkdir-p can create a directory hierarchy, and that resubmitting
a request for the same path yields the existing dir's uri

16 years agowindows installer - changed to reflect the new StartAllmydata.exe executable that...
Peter Secor [Tue, 18 Mar 2008 17:44:43 +0000 (10:44 -0700)]
windows installer - changed to reflect the new StartAllmydata.exe executable that is used to launch the various pieces of the native client. Also verified that the SMB service was stopped when uninstalling.