]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
16 years agoreverting a change zooko made (2258) to see if it clears up problems in the windows...
Peter Secor [Mon, 10 Mar 2008 18:37:49 +0000 (11:37 -0700)]
reverting a change zooko made (2258) to see if it clears up problems in the windows build

16 years agolower max_segsize for immutable files to 128KiB, to make download-progress smoother...
Brian Warner [Sat, 8 Mar 2008 02:24:51 +0000 (19:24 -0700)]
lower max_segsize for immutable files to 128KiB, to make download-progress smoother and improve alacrity. Closes #252. Note that mutable files continue to use 1MiB segments.

16 years agomacapp: new mac icon
robk-tahoe [Sat, 8 Mar 2008 01:48:28 +0000 (18:48 -0700)]
macapp: new mac icon

this provides a new icon for the .app bundle
also removes the setting of the dock icon from within wx
(which previously used a different icon)

16 years agowebish: show storage sizelimit, abbreviate current usage
Brian Warner [Fri, 7 Mar 2008 04:16:38 +0000 (21:16 -0700)]
webish: show storage sizelimit, abbreviate current usage

16 years agodocs: trivial edit
Zooko O'Whielacronx [Fri, 7 Mar 2008 01:32:30 +0000 (18:32 -0700)]
docs: trivial edit

16 years agosetup: don't install, just "develop" in setup.py in build target
Zooko O'Whielacronx [Fri, 7 Mar 2008 01:28:20 +0000 (18:28 -0700)]
setup: don't install, just "develop" in setup.py in build target

16 years agosetup: don't echo the echo of EGGSPATH
Zooko O'Whielacronx [Fri, 7 Mar 2008 01:18:56 +0000 (18:18 -0700)]
setup: don't echo the echo of EGGSPATH

16 years agomacfuse: fix unicode handling
robk-tahoe [Fri, 7 Mar 2008 00:43:25 +0000 (17:43 -0700)]
macfuse: fix unicode handling

at one point I'd thrown in a 'str' since fuse api bits required a str instance
but tahoe returns unicode objects from its json parsing.  that, naturally
enough should really be a utf8 encoded str of the unicode object...

16 years agomacapp: simplify node startup failure reporting
robk-tahoe [Thu, 6 Mar 2008 22:09:04 +0000 (15:09 -0700)]
macapp: simplify node startup failure reporting

1. changed the node's exit-on-error behaviour. rather than logging debug and
then delegating to self for _abort_process() instead simply delegate to self
_service_startup_failed(failure) to report failures in the startup deferred
chain. subclasses then have complete control of handling and reporting any
failures in node startup.

2. replace the convoluted wx.PostEvent() glue for posting an event into the
gui thread with the simpler expedient of wx.CallAfter() which is much like
foolscap's eventually() but also thread safe for inducing a call back on the
gui thread.

16 years agomacapp: report failure of node startup to the user
robk-tahoe [Thu, 6 Mar 2008 20:53:21 +0000 (13:53 -0700)]
macapp: report failure of node startup to the user

in certain cases (e.g. the node.pem changed but old .furls are in private/)
the node will abort upon startup. previously it used os.abort() which in these
cases caused the mac gui app to crash on startup with no explanation.

this changes that behaviour from calling os.abort() to calling
node._abort_process(failure) which by default calls os.abort().  this allows
that method to be overridden in subclasses.

the mac app now provides and uses such a subclass of Client, so that failures
are reported to the user in a message dialog before the process exits.
this uses wx.PostEvent() with a custom event type to signal from the reactor
thread into the gui thread.

16 years agodoc: tiny change about status of mutable.txt
Zooko O'Whielacronx [Thu, 6 Mar 2008 22:02:15 +0000 (15:02 -0700)]
doc: tiny change about status of mutable.txt

16 years agowebish: add more share information to upload status, including assisted uploads
Brian Warner [Thu, 6 Mar 2008 02:51:51 +0000 (19:51 -0700)]
webish: add more share information to upload status, including assisted uploads

16 years agowebish: add publish status
Brian Warner [Thu, 6 Mar 2008 01:41:10 +0000 (18:41 -0700)]
webish: add publish status

16 years agoconfwiz: add nickname determination
robk-tahoe [Wed, 5 Mar 2008 23:34:18 +0000 (16:34 -0700)]
confwiz: add nickname determination

the confwiz now uses socket.gethostname() if a 'nickname' file doesn't already
exist, and passes that nickname into the 'record_install' method on the backend,
so that the moniker can be recorded in the system table.

16 years agodocs/mutable: describe deep-verify-cap scheme, update picture
Brian Warner [Wed, 5 Mar 2008 23:54:26 +0000 (16:54 -0700)]
docs/mutable: describe deep-verify-cap scheme, update picture

16 years agowebish: split out 'unlinked' operations
Brian Warner [Wed, 5 Mar 2008 22:12:42 +0000 (15:12 -0700)]
webish: split out 'unlinked' operations

16 years agowebish: this file is too big, start breaking it into pieces, beginning with status
Brian Warner [Wed, 5 Mar 2008 21:59:56 +0000 (14:59 -0700)]
webish: this file is too big, start breaking it into pieces, beginning with status

16 years agomutable-retrieve: only record server response times for queries that we don't ignore
Brian Warner [Wed, 5 Mar 2008 04:10:52 +0000 (21:10 -0700)]
mutable-retrieve: only record server response times for queries that we don't ignore

16 years agomutable: when retrieving, don't try to grab the encprivkey, to save a roundtrip
Brian Warner [Wed, 5 Mar 2008 04:08:24 +0000 (21:08 -0700)]
mutable: when retrieving, don't try to grab the encprivkey, to save a roundtrip

16 years agowebish: add more mutable-retrieve timing status
Brian Warner [Wed, 5 Mar 2008 04:04:36 +0000 (21:04 -0700)]
webish: add more mutable-retrieve timing status

16 years agoweb: status: add 'started' timestamps to all operations
Brian Warner [Wed, 5 Mar 2008 01:50:44 +0000 (18:50 -0700)]
web: status: add 'started' timestamps to all operations

16 years agoapply dreid's patch from #335 to fix the provisioning page in zipped distributions
Zooko O'Whielacronx [Sun, 9 Mar 2008 15:50:46 +0000 (08:50 -0700)]
apply dreid's patch from #335 to fix the provisioning page in zipped distributions

16 years agomutable: oops, .download *is* in use, by the speedtest. Restore it and add a test.
Brian Warner [Tue, 4 Mar 2008 22:11:40 +0000 (15:11 -0700)]
mutable: oops, .download *is* in use, by the speedtest. Restore it and add a test.

16 years agotest_util.py: get 100% test coverage for hashutil.py
Brian Warner [Tue, 4 Mar 2008 21:42:25 +0000 (14:42 -0700)]
test_util.py: get 100% test coverage for hashutil.py

16 years agouri.py: get 100% test coverage, fix a few bugs in the process
Brian Warner [Tue, 4 Mar 2008 21:27:45 +0000 (14:27 -0700)]
uri.py: get 100% test coverage, fix a few bugs in the process

16 years agomutable.py: remove unused 'download' method (we only have download_to_data for now)
Brian Warner [Tue, 4 Mar 2008 21:01:55 +0000 (14:01 -0700)]
mutable.py: remove unused 'download' method (we only have download_to_data for now)

16 years agotest_filenode.py : improve coverage of mutable filenode, fix a bug in __hash__
Brian Warner [Tue, 4 Mar 2008 21:01:28 +0000 (14:01 -0700)]
test_filenode.py : improve coverage of mutable filenode, fix a bug in __hash__

16 years agotest_system: improve test coverage of publish/retrieve status
Brian Warner [Tue, 4 Mar 2008 08:24:35 +0000 (01:24 -0700)]
test_system: improve test coverage of publish/retrieve status

16 years agowebish: add primitive publish/retrieve status pages
Brian Warner [Tue, 4 Mar 2008 08:07:44 +0000 (01:07 -0700)]
webish: add primitive publish/retrieve status pages

16 years agostats: make StatsGatherer happy about sharing a process with other services, add...
Brian Warner [Tue, 4 Mar 2008 06:55:58 +0000 (23:55 -0700)]
stats: make StatsGatherer happy about sharing a process with other services, add one during system test to get some test coverage

16 years agotest_web: improve upload/download status coverage
Brian Warner [Tue, 4 Mar 2008 04:56:23 +0000 (21:56 -0700)]
test_web: improve upload/download status coverage

16 years agotest_system: add test coverage for download-status and upload-status
Brian Warner [Tue, 4 Mar 2008 04:37:17 +0000 (21:37 -0700)]
test_system: add test coverage for download-status and upload-status

16 years agowebish: download-results: add per-server response times
Brian Warner [Tue, 4 Mar 2008 03:53:45 +0000 (20:53 -0700)]
webish: download-results: add per-server response times

16 years agowebish: download-results: add server_problems
Brian Warner [Tue, 4 Mar 2008 03:30:35 +0000 (20:30 -0700)]
webish: download-results: add server_problems

16 years agowebish download results: add servermap, decrypt time
Brian Warner [Tue, 4 Mar 2008 03:09:32 +0000 (20:09 -0700)]
webish download results: add servermap, decrypt time

16 years agowebish: add 'download results', with some basic timing information
Brian Warner [Tue, 4 Mar 2008 02:19:21 +0000 (19:19 -0700)]
webish: add 'download results', with some basic timing information

16 years agowebish: make upload timings visible on the recent uploads/downloads status page
Brian Warner [Mon, 3 Mar 2008 21:48:52 +0000 (14:48 -0700)]
webish: make upload timings visible on the recent uploads/downloads status page

16 years agowebish: add per-file upload/download status pages
Brian Warner [Sat, 1 Mar 2008 06:03:00 +0000 (23:03 -0700)]
webish: add per-file upload/download status pages

16 years agoretain 10 most recent upload/download status objects, show them in /status . Prep...
Brian Warner [Sat, 1 Mar 2008 05:19:03 +0000 (22:19 -0700)]
retain 10 most recent upload/download status objects, show them in /status . Prep for showing individual status objects

16 years agomacfuse: increase default timeout in ui launched mounts
robk-tahoe [Sat, 1 Mar 2008 03:18:15 +0000 (20:18 -0700)]
macfuse: increase default timeout in ui launched mounts

when an operation takes 'too long', on 10.4 the user gets a dialog about
the problem with a 'force eject / keep trying' choice. on 10.5 the fuse
system seems to summarily unmount the drive.

this showed up in 10.5 testing because the time to open() a file depended
upon the size of the file, and an 8Mb test file took long enough for the
node to download that the open() call didn't respond within 60s and fuse
spontaneously ejected the drive, quitting the plugin (and cancelling the
download).

this changes the fuse options passed to the plugin by the ui when the
'mount filesystem' window is used.  command line users should check out
the '-odaemon_timeout=...' option.  this changes the default timeout from
60s to 300s (5min) for ui launched plugins.

this will be addressed in a deeper manner at a later date, with a more
advanced fuse subsystem which can interleave open()/read() with the
actual download of the file, only blocking when data is not downloaded
yet.

16 years agomacfuse: slew of updates
robk-tahoe [Sat, 1 Mar 2008 03:12:41 +0000 (20:12 -0700)]
macfuse: slew of updates

various updates to improve the functionality of the mac fuse plugin

1. caching

previously, the experimental tahoefuse plugin pre-loaded the whole
structure of the specified mount into memory at launch time. changes
which were made through that fuse plugin would be remembered, but any
changes made through other tahoe clients would not be reflected.

now directory contents are only loaded when needed, and the data is
cached for a limited time.  any use of Directory objects should first
call maybe_refresh() which will check the time since the cache was last
loaded, and if the data is older than some validity period (currently
26s) then the directory's contents will be refetched and reloaded.
this replaces the 'load_dir()' method of TFS

whenever a local change is made to a Directory object, or when the
aforementioned cache reloading notices a change in directory data, the
mtime of the directory is automatically updated.

2. stat / metadata

the retrieval of 'stat' information for getattr(), and the way that
metadata is handled, has been refactored to better reflect the fact that
metadata in tahoe is only represented by 'edges' (i.e entries in
directories) not on 'nodes' (files or directories themselves) hence a
stat lookup should be a query to the parent directory (specifically the
parent specified by the path being queried in the case that a node has
multiple parents) for details known by that directory for the given
child, rather than a query to the child itself.

the TStat utility class for returning stat information to the python-
fuse layer has been extended to accept a 'metadata' argument in its
constructor.  any fields found in the metadata dict which match the
names of the stat attributes are loaded into the TStat object.  the
'ctime' and 'mtime' attributes are translated to st_ctime and st_mtime
to mesh with the existing timestamp handling code. any fields specified
by kwargs to the constructor override things that might be loaded from
the metadata dict.

Directory objects now track their children as a dict mapping name to
(child_obj, metadata) tuples. This is because the metadata in tahoe
will be stored exclusively on the edges of the graph. each Directory
maintains its own mtime however, and get_stat() calls will report the
mtime of a directory based on the last modification of the Directory
object, not based on any mtime records from the parent directory's
metadata for that child.  This addresses the fact that since directories
may be shared, a given parent may or may not reflect the latest changes,
however one of the Finder's behaviours is to examine the stat of a
directory, and not to bother doing a readdir() if the stat is unchanged.
i.e. unless directories report their changes in their stat info, the
Finder will not show changes within that directory.

3. refactoring

reporting of many error codes has been refactored to raise IOError
subclasses with the appropriate errno.  this exploits python-fuse's
built-in mechanism for catching IOError and reporting the errno
embedded within it automatically, while simplifying the code within
the plugin.

the add_child() method on TFS was removed in favour of simply having an
add_child() method on Directory objects. this provides a more OO
approach in that Directory is responsible for maintaining its own in
memory state and also writing changes back to the node.  similarly for
remove_child()

these changes, along with the new tfs.compose_url() method,
significantly simplify and improve readability of mkdir, rename methods
along with the newer link and unlink.  these also get improved error
reporting.

various operations (chmod, chown, truncate, utime) are now ignored.
previously they would report an unsupported operation (EOPNOTSUPP)
but now are simply logged and ignored.  this surpresses errors caused
by some client programs which try to use these operations, but at the
moment those operations are meaningless to the tahoe filesystem anyway.

4. link / unlink / rmdir

link, symlink calls are now supported, though with semantics differing
from posix, both equivalent.  unlink, rmdir calls are now supported,
also equivalent.

link or symlink calls duplicate the uri of the named source and adds it
as a child of another directory according to the destination path.  for
directories, this creates a 'hard' link, i.e. the same directory will
appear in multiple locations within the filesystem, and changes in
any place will be reflected everywhere.  for files, by contrast, since
the uri being duplicated is an immutable CHK uri, link/symlink for files
is equivalent to a copy - though significantly cheaper. (a file copy
with the fuse plugin is likely to cause a new file to be written and
uploaded, the link command simply adds an entry referring to an
existing uri)

in testing, the 'ln' command is unable to make hard links (i.e. call
link()) for directories, though symlink ('ln -s') is supported.
either forms works equivalently for files.

unlink and rmdir both remove the specified entry from its parent
directory.

5. logging

the 'tfuse.log' file now only reports launches of the fuse plugin. once
the plugin has parsed the options, it reopens the log file with the
name of the mount, e.g. tfuse.root_dir.log, so that multiple instances
running concurrently will not interfere with each others' logging.

6. bug fixes

the tmp_file in the cache dir backing files opened for write was
intermittently failing to open the file.  added O_CREAT to the os.open
call so that files will be created if missing, not throw errors.

a failure to correctly parse arguments if no mount (dir_cap) name was
given but also no fuse options were given has been fixed. now the
command 'tahoe fuse mountpoint' will correctly default to root_dir
also when running from source, arguments to tahoefuse were not handled
to correctly match the 'tahoe fuse ...' behaviour.

16 years agoclient.py: remove confusing no-longer-used code from get_encoding_parameters
Brian Warner [Sat, 1 Mar 2008 03:01:54 +0000 (20:01 -0700)]
client.py: remove confusing no-longer-used code from get_encoding_parameters

16 years agoupload: fix up some log messages
Brian Warner [Sat, 1 Mar 2008 03:00:45 +0000 (20:00 -0700)]
upload: fix up some log messages

16 years agowui/wapi/webish: HTML form checkboxes send the value "on", so let's interpret that...
Zooko O'Whielacronx [Sat, 1 Mar 2008 03:29:42 +0000 (20:29 -0700)]
wui/wapi/webish: HTML form checkboxes send the value "on", so let's interpret that as boolean true

16 years agowapi: add POST /uri/$DIRECTORY?t=set_children
Zooko O'Whielacronx [Sat, 1 Mar 2008 01:40:27 +0000 (18:40 -0700)]
wapi: add POST /uri/$DIRECTORY?t=set_children
Unfinished bits: doc in webapi.txt, test handling of badly formed JSON, return reasonable HTTP response, examination of the effect of this patch on code coverage -- but I'm committing it anyway because MikeB can use it and I'm being called to dinner...

16 years agodocs: fix example JSON in webapi.txt to be legal JSON. ;-)
Zooko O'Whielacronx [Sat, 1 Mar 2008 01:39:25 +0000 (18:39 -0700)]
docs: fix example JSON in webapi.txt to be legal JSON.  ;-)

16 years agonative client - adding ability to mount drives
Peter Secor [Fri, 29 Feb 2008 21:14:48 +0000 (14:14 -0700)]
native client - adding ability to mount drives

16 years agonative client - changed Windows default group name as it conflicted with the previous...
Peter Secor [Fri, 29 Feb 2008 01:38:38 +0000 (18:38 -0700)]
native client - changed Windows default group name as it conflicted with the previous version

16 years agotest: refactor webist.POSTHandler() to have a method for each "?t=" command
Zooko O'Whielacronx [Fri, 29 Feb 2008 20:11:18 +0000 (13:11 -0700)]
test: refactor webist.POSTHandler() to have a method for each "?t=" command
Input validation and decoding is still done in the body of POSTHandler.renderHTTP().

16 years agotest: update todo string in test_nevow
Zooko O'Whielacronx [Fri, 29 Feb 2008 20:10:08 +0000 (13:10 -0700)]
test: update todo string in test_nevow

16 years agotests: test depends on _version.py
Zooko O'Whielacronx [Thu, 28 Feb 2008 21:29:24 +0000 (14:29 -0700)]
tests: test depends on _version.py
because there is a test that asserts that our version is not "unknown"

16 years agoTAG allmydata-tahoe-0.8.0 allmydata-tahoe-0.8.0
Zooko O'Whielacronx [Sat, 16 Feb 2008 00:38:22 +0000 (17:38 -0700)]
TAG allmydata-tahoe-0.8.0

16 years agodoc: change example filename extension back because it is more recognizable and becau...
Zooko O'Whielacronx [Wed, 27 Feb 2008 21:54:05 +0000 (14:54 -0700)]
doc: change example filename extension back because it is more recognizable and because I love Brian

16 years agodocs: tweak wording per kpreid and tweak example filename extension per me
Zooko O'Whielacronx [Wed, 27 Feb 2008 21:41:57 +0000 (14:41 -0700)]
docs: tweak wording per kpreid and tweak example filename extension per me

16 years agodocs: clarify which webport value is the default
Zooko O'Whielacronx [Wed, 27 Feb 2008 18:10:03 +0000 (11:10 -0700)]
docs: clarify which webport value is the default

16 years agodocs: about.html: a couple of edits suggested by kpreid's comments
Zooko O'Whielacronx [Wed, 27 Feb 2008 16:01:38 +0000 (09:01 -0700)]
docs: about.html: a couple of edits suggested by kpreid's comments

16 years agonative client - update to handle large file upload
Peter Secor [Wed, 27 Feb 2008 07:17:43 +0000 (00:17 -0700)]
native client - update to handle large file upload

16 years agoconfig wizard - changing the name
Peter Secor [Wed, 27 Feb 2008 02:55:54 +0000 (19:55 -0700)]
config wizard - changing the name

16 years agoinstaller and config - name changes
Peter Secor [Wed, 27 Feb 2008 02:34:39 +0000 (19:34 -0700)]
installer and config - name changes

16 years agomac build: ahem. fix makefile probs
robk-tahoe [Wed, 27 Feb 2008 01:48:22 +0000 (18:48 -0700)]
mac build: ahem. fix makefile probs

oops. I screwed up the makefile syntax further. buildslave would spend a
lot of fruitless time trawling the entire drive.  this fixes that. and a
stray -n.  ahem.  [looks down sheepishly]

16 years agonative client - added upload metrics, machine name cfg, better queue resumption
Peter Secor [Wed, 27 Feb 2008 01:43:31 +0000 (18:43 -0700)]
native client - added upload metrics, machine name cfg, better queue resumption

16 years agomac build: fix makefile bug
robk-tahoe [Wed, 27 Feb 2008 01:20:10 +0000 (18:20 -0700)]
mac build: fix makefile bug

blah $( foo )  is more explicit than blah ` foo ` in a bash-like context
unfortunately it doesn't translate very well to makefiles, for which $(
means something else entirely

16 years agomac build: tweaks to build fuse for 10.4 and 10.5
robk-tahoe [Wed, 27 Feb 2008 01:08:44 +0000 (18:08 -0700)]
mac build: tweaks to build fuse for 10.4 and 10.5

rather than trying to build a single .app with both 10.4 and 10.5 fuse
libraries embedded within it, for the time being, we're just going to
have independant 10.4 and 10.5 builds.

this provides a 10.5 _fusemodule.so, and build changes to copy the
appropriate versions of files for 10.4 or 10.5 from sub dirs of mac/
into the build tree before triggering py2app

16 years agomac build: make a couple of build dependency hints soft imports
robk-tahoe [Wed, 27 Feb 2008 00:39:07 +0000 (17:39 -0700)]
mac build: make a couple of build dependency hints soft imports

the existing environment on otto requires a few build hints in order for
xml parsing to work properly.  these hints are unnecessary, and moreover
their import by depends.py is broken, in the 10.5 environment in which
zandr's buildslave is running.

16 years agolog more peerinfo in download/upload/checker problems
Brian Warner [Wed, 27 Feb 2008 00:33:14 +0000 (17:33 -0700)]
log more peerinfo in download/upload/checker problems

16 years agomac build: updates to respect UPLOAD_DEST argument to make
robk-tahoe [Wed, 27 Feb 2008 00:03:53 +0000 (17:03 -0700)]
mac build: updates to respect UPLOAD_DEST argument to make

the make mac-upload target now requires an UPLOAD_DEST argument to be given,
which is the rsync destination (including trailing '/') to which the version
stamped directory containing the .dmg should be placed.  the account the
build is running as (e.g. 'buildslave') should have ssh access to the account
specified in that dest. one might also consider locking the key down to the
target directory by adding something like
command="rsync --server -vlogDtpr . /home/amduser/public_html/dist/mac-blah/"
to the corresponding authorized_key entry on the target machine.

16 years agowebish status: distinguish active uploads/downloads from recent ones
Brian Warner [Tue, 26 Feb 2008 22:35:28 +0000 (15:35 -0700)]
webish status: distinguish active uploads/downloads from recent ones

16 years agocurrent-downloads status: add SI, size, make numsegs 1-based
Brian Warner [Tue, 26 Feb 2008 22:02:35 +0000 (15:02 -0700)]
current-downloads status: add SI, size, make numsegs 1-based

16 years agonative client - added ability to queue uploads and resume upon service restart
Peter Secor [Fri, 22 Feb 2008 04:02:07 +0000 (21:02 -0700)]
native client - added ability to queue uploads and resume upon service restart

16 years agonative client - renaming a few more instances to be consistent with Allmydata naming...
Peter Secor [Fri, 22 Feb 2008 03:46:57 +0000 (20:46 -0700)]
native client - renaming a few more instances to be consistent with Allmydata naming scheme for the release, maybe should parameterize this

16 years agonative client - added AllmydataTray (replaces TahoeTray)
Peter Secor [Fri, 22 Feb 2008 03:39:46 +0000 (20:39 -0700)]
native client - added AllmydataTray (replaces TahoeTray)

16 years agonative client - updated system tray name, missed it at first
Peter Secor [Fri, 22 Feb 2008 03:38:11 +0000 (20:38 -0700)]
native client - updated system tray name, missed it at first

16 years agonative client - updated to match naming for service and tray executable
Peter Secor [Fri, 22 Feb 2008 03:24:31 +0000 (20:24 -0700)]
native client - updated to match naming for service and tray executable

16 years agonative client - renaming things to take Tahoe out of the name, improving caching
Peter Secor [Fri, 22 Feb 2008 03:04:58 +0000 (20:04 -0700)]
native client - renaming things to take Tahoe out of the name, improving caching

16 years agoconfwiz: change smb service name to remove 'tahoe'
robk-tahoe [Fri, 22 Feb 2008 01:40:04 +0000 (18:40 -0700)]
confwiz: change smb service name to remove 'tahoe'

the name 'tahoe' is in the process of being removed from the windows
installer and binaries.  this changes the name of the smb service the
confwiz tries to start to 'Allmydata SMB'

16 years agonative client - updating service name to match what the launcher uses
Peter Secor [Wed, 20 Feb 2008 04:20:34 +0000 (21:20 -0700)]
native client - updating service name to match what the launcher uses

16 years agoWinFUSE updates for beta release
Peter Secor [Wed, 20 Feb 2008 03:58:37 +0000 (20:58 -0700)]
WinFUSE updates for beta release

16 years agomac: added 'mount filesystem' action to the mac gui
robk-tahoe [Wed, 20 Feb 2008 01:56:59 +0000 (18:56 -0700)]
mac: added 'mount filesystem' action to the mac gui

this adds an action to the dock menu and to the file menu (when visible)
"Mount Filesystem".  This action opens a windows offering the user an
opportunity to select from any of the named *.cap files in their
.tahoe/private directory, and choose a corresponding mount point to mount
that at.

it launches the .app binary as a subprocess with the corresponding command
line arguments to launch the 'tahoe fuse' functionality to mount that file
system.  if a NAME.icns file is present in .tahoe/private alonside the
chosen NAME.cap, then that icon will be used when the filesystem is mounted.

this is highly unlikely to work when running from source, since it uses
introspection on sys.executable to find the relavent binary to launch in
order to get the right built .app's 'tahoe fuse' functionality.

it is also relatively likely that the code currently checked in, hence
linked into the build, will have as yet unresolved library dependencies.
it's quite unlikely to work on 10.5 with macfuse 1.3.1 at the moment.

16 years agomacfuse: move macfuse files around to simplify pythonpath
robk-tahoe [Wed, 20 Feb 2008 00:18:17 +0000 (17:18 -0700)]
macfuse: move macfuse files around to simplify pythonpath

the mac/macfuse subdirectory needed to be added to the pythonpath in order
to build a binary incorporating the mac fuse system.  this change should
make those modules accessible relative to the mac/ directory which is
implicitly included in the .app build process.

16 years agomacfuse: rework fuse initialisation, integrate with 'tahoe'
robk-tahoe [Wed, 20 Feb 2008 00:16:08 +0000 (17:16 -0700)]
macfuse: rework fuse initialisation, integrate with 'tahoe'

this provides a variety of changes to the macfuse 'tahoefuse' implementation.
most notably it extends the 'tahoe' command available through the mac build
to provide a 'fuse' subcommand, which invokes tahoefuse.  this addresses
various aspects of main(argv) handling, sys.argv manipulation to provide an
appropriate command line syntax that meshes with the fuse library's built-
in command line parsing.

this provides a "tahoe fuse [dir_cap_name] [fuse_options] mountpoint"
command, where dir_cap_name is an optional name of a .cap file to be found
in ~/.tahoe/private defaulting to the standard root_dir.cap. fuse_options
if given are passed into the fuse system as its normal command line options
and the mountpoint is checked for existence before launching fuse.

the tahoe 'fuse' command is provided as an additional_command to the tahoe
runner in the case that it's launched from the mac .app binary.

this also includes a tweak to the TFS class which incorporates the ctime
and mtime of files into the tahoe fs model, if available.

16 years agorunner: tweaked runner to make it easier to extend with additional subcommands
robk-tahoe [Wed, 20 Feb 2008 00:05:14 +0000 (17:05 -0700)]
runner: tweaked runner to make it easier to extend with additional subcommands

runner provides the main point of entry for the 'tahoe' command, and
provides various subcommands by default. this provides a hook whereby
additional subcommands can be added in in other contexts, providing a
simple way to extend the (sub)commands space available through 'tahoe'

16 years agodocs: change example capability
Zooko O'Whielacronx [Tue, 19 Feb 2008 22:34:19 +0000 (15:34 -0700)]
docs: change example capability

16 years agodocs: fix name of docs dir in relnotes.txt
Zooko O'Whielacronx [Mon, 18 Feb 2008 23:08:05 +0000 (16:08 -0700)]
docs: fix name of docs dir in relnotes.txt

16 years ago'tahoe start': only create logs/ if we're starting a tahoe node
Brian Warner [Mon, 18 Feb 2008 07:31:28 +0000 (00:31 -0700)]
'tahoe start': only create logs/ if we're starting a tahoe node

16 years agotest_runner.py: test launching an introducer too
Brian Warner [Mon, 18 Feb 2008 07:28:56 +0000 (00:28 -0700)]
test_runner.py: test launching an introducer too

16 years ago'tahoe start': allow this to start arbitrary .tac file -bearing directories (like...
Brian Warner [Mon, 18 Feb 2008 07:28:17 +0000 (00:28 -0700)]
'tahoe start': allow this to start arbitrary .tac file -bearing directories (like the log gatherer)

16 years agodocs: update relnotes.txt
Zooko O'Whielacronx [Sat, 16 Feb 2008 00:35:33 +0000 (17:35 -0700)]
docs: update relnotes.txt

16 years agoMerge patch which switches to SHA-256d with patch that adds punctuation and capitaliz...
Zooko O'Whielacronx [Fri, 15 Feb 2008 20:16:43 +0000 (13:16 -0700)]
Merge patch which switches to SHA-256d with patch that adds punctuation and capitalization to the comment about the hash value.

16 years agocommenting out open_welcome_page argument that doesn't seem to work with real installer
Peter Secor [Fri, 15 Feb 2008 19:50:10 +0000 (12:50 -0700)]
commenting out open_welcome_page argument that doesn't seem to work with real installer

16 years agotest_system.py: improve coverage of webish.py
Brian Warner [Fri, 15 Feb 2008 11:02:50 +0000 (04:02 -0700)]
test_system.py: improve coverage of webish.py

16 years agowebish.py: remove some dead code
Brian Warner [Fri, 15 Feb 2008 11:02:38 +0000 (04:02 -0700)]
webish.py: remove some dead code

16 years agoconfwiz: make opening the welcome page options, off by default on windows, on on mac
robk-tahoe [Fri, 15 Feb 2008 07:11:23 +0000 (00:11 -0700)]
confwiz: make opening the welcome page options, off by default on windows, on on mac

16 years agoconfwiz: fix mac confwiz w.r.t. recent confwiz changes
robk-tahoe [Fri, 15 Feb 2008 03:14:46 +0000 (20:14 -0700)]
confwiz: fix mac confwiz w.r.t. recent confwiz changes

16 years agoconfwiz: update the config wiz to open the welcome page
robk-tahoe [Fri, 15 Feb 2008 03:12:58 +0000 (20:12 -0700)]
confwiz: update the config wiz to open the welcome page

regardless of platform, the confwiz now opens the welcoe page upon
writing a config.  it also provides a 'plat' argument (from python's
sys.platform) to help disambiguate our instructions by platform.

16 years agoconfwiz: add command line options
robk-tahoe [Fri, 15 Feb 2008 02:44:29 +0000 (19:44 -0700)]
confwiz: add command line options

adds command line option parsing to the confwiz.

the previous --uninstall option behaves as before, but it parsed
more explicitly with the twisted usage library.

added is a --server option, which controls which web site the
backend script for configuration is to be found on. (it is looked
for at /native_client.php on the given server) this option can be
used on conjunction with --uninstall to control where the uninstall
is recorded

Options:
  -u, --uninstall  record uninstall
  -s, --server=    url of server to contact
                   [default: https://beta.allmydata.com/]

e.g. confwiz.py -s https://www-test.allmydata.com/

16 years agoBIG COMPATIBILITY BREAK: update hash tags, switch to SHA-256d everywhere
Brian Warner [Fri, 15 Feb 2008 02:58:01 +0000 (19:58 -0700)]
BIG COMPATIBILITY BREAK: update hash tags, switch to SHA-256d everywhere

16 years agouri.py: hush pyflakes warning
Brian Warner [Fri, 15 Feb 2008 02:45:12 +0000 (19:45 -0700)]
uri.py: hush pyflakes warning

16 years agodocs: update install and usage docs, improve cli "usage" output, make new example...
Zooko O'Whielacronx [Fri, 15 Feb 2008 20:11:02 +0000 (13:11 -0700)]
docs: update install and usage docs, improve cli "usage" output, make new example directories, add unit test that fails code which prints out sentences that don't end with punctuation marks

16 years agodocs: edit running.html
Zooko O'Whielacronx [Fri, 15 Feb 2008 18:02:19 +0000 (11:02 -0700)]
docs: edit running.html

16 years agoadd unit test asserting that allmydata.util.base32 matches rfc 3548
Zooko O'Whielacronx [Fri, 15 Feb 2008 03:20:19 +0000 (20:20 -0700)]
add unit test asserting that allmydata.util.base32 matches rfc 3548