Brian Warner
45a1e655c7
introducer: record a timestamp with each announcement, and display it on the introducer's web page
2008-03-11 19:33:19 -07:00
Brian Warner
29e23626ad
introducer: record a timestamp with each subscriber, and display it on the introducer's web page
2008-03-11 19:28:37 -07:00
Brian Warner
89be2e1bea
introweb: combine announcement and subscriber information to show version+nickname for each client
2008-03-11 19:21:29 -07:00
Brian Warner
c21d30c320
client: publish a 'stub client' announcement to the introducer, to provide version/nickname information for each client
2008-03-11 19:20:10 -07:00
Brian Warner
0c40513e75
webish: put a trailing slash in the node.url file, since our unit tests use it, and some versions of twisted or nevow don't automatically add one
2008-03-11 19:01:18 -07:00
Brian Warner
fd5a922cad
introweb.py: tolerate non-setLocationed client tubs
2008-03-11 18:09:13 -07:00
Brian Warner
3f5abe5cba
oops, add introducer.xhtml
2008-03-11 17:41:03 -07:00
Brian Warner
810ba68343
add a webserver for the Introducer, showing service announcements and subscriber lists
2008-03-11 17:36:25 -07:00
Brian Warner
10d3ea5045
increase remote-interface size limits to 16EiB by not casually using 'int' as a constraint
2008-03-11 10:50:31 -07:00
Brian Warner
c727348d85
mutable: tolerate multiple encodings, using whichever version is recoverable first. Closes #312
2008-03-11 00:26:00 -07:00
Brian Warner
791482cf8d
test_mutable: improve multiple-encodings test coverage
2008-03-10 23:47:35 -07:00
Brian Warner
9ca55b8b79
test_mutable: make test-multiple-encodings work
2008-03-10 23:16:28 -07:00
Brian Warner
57bd23f35f
test_mutable: more test coverage, building up a framework to cause reads to occur in a specific order
2008-03-10 22:15:43 -07:00
Brian Warner
2464899f9a
mutable: increase max segsize to 3.5MB, to allow dirnodes with about 10k entries
2008-03-10 20:39:55 -07:00
Zooko O'Whielacronx
a8a85da326
make the nodeurl start with '127.0.0.1' instead of with 'localhost'
...
This is because there exist in the wild computers that are misconfigured so that 'localhost' doesn't resolve to 127.0.0.1. On those computers, using 'localhost' for the nodeurl is a security problem, because the user commonly sends valuable caps to the nodeurl.
2008-03-11 06:18:03 -07:00
Brian Warner
11445b5109
test_mutable: exercise short reads too
2008-03-10 18:08:23 -07:00
robk-tahoe
a1f2c9d624
confwiz: write accountname to a file
...
motivated simply by a desire to be able to identify 'noderoot' directories for
debugging and testing, the confwiz now writes an 'accountname' files based on
what account was used when the node was configured. this is not currently read
by or used by any code in the system, but helps identify directories from testing.
2008-03-10 17:50:44 -07:00
Brian Warner
be5a6147b4
test_mutable: test all hash-failure cases except a corrupted encrypted private key
2008-03-10 17:46:52 -07:00
Brian Warner
647734cd3b
test_mutable: add Roundtrip test, suitable for new share-mangling tests
2008-03-10 16:14:08 -07:00
Brian Warner
9e460cd22e
mutable: cosmetic changes
2008-03-10 15:44:05 -07:00
Brian Warner
d6cde55c63
mutable: minor refactoring of _do_read, to make other tests easier
2008-03-10 15:42:56 -07:00
Zooko O'Whielacronx
cad26e000d
fix pyflakes warning
2008-03-10 16:14:03 -07:00
Brian Warner
567979ba85
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.
2008-03-07 19:24:51 -07:00
robk-tahoe
bd58f6f799
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)
2008-03-07 18:48:28 -07:00
Brian Warner
8815b30b9b
webish: show storage sizelimit, abbreviate current usage
2008-03-06 21:16:38 -07:00
robk-tahoe
6177a958d0
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.
2008-03-06 15:09:04 -07:00
robk-tahoe
ee67d788cd
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.
2008-03-06 13:53:21 -07:00
Brian Warner
3a8bd1b772
webish: add more share information to upload status, including assisted uploads
2008-03-05 19:51:51 -07:00
Brian Warner
dd4a951770
webish: add publish status
2008-03-05 18:41:10 -07:00
robk-tahoe
2c81988ed3
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.
2008-03-05 16:34:18 -07:00
Brian Warner
3a331f6822
webish: split out 'unlinked' operations
2008-03-05 15:12:42 -07:00
Brian Warner
4fa622f9b1
webish: this file is too big, start breaking it into pieces, beginning with status
2008-03-05 14:59:56 -07:00
Brian Warner
f46cb5cd6d
mutable-retrieve: only record server response times for queries that we don't ignore
2008-03-04 21:10:52 -07:00
Brian Warner
8160a4f2f2
mutable: when retrieving, don't try to grab the encprivkey, to save a roundtrip
2008-03-04 21:08:24 -07:00
Brian Warner
ec23da28a6
webish: add more mutable-retrieve timing status
2008-03-04 21:04:36 -07:00
Brian Warner
ca1a1762e2
web: status: add 'started' timestamps to all operations
2008-03-04 18:50:44 -07:00
Zooko O'Whielacronx
cedc653aa5
apply dreid's patch from #335 to fix the provisioning page in zipped distributions
2008-03-09 08:50:46 -07:00
Brian Warner
7d9bfbcabe
mutable: oops, .download *is* in use, by the speedtest. Restore it and add a test.
2008-03-04 15:11:40 -07:00
Brian Warner
4daa817502
test_util.py: get 100% test coverage for hashutil.py
2008-03-04 14:42:25 -07:00
Brian Warner
95a085763f
uri.py: get 100% test coverage, fix a few bugs in the process
2008-03-04 14:27:45 -07:00
Brian Warner
72f139653b
mutable.py: remove unused 'download' method (we only have download_to_data for now)
2008-03-04 14:01:55 -07:00
Brian Warner
e6489b1ef2
test_filenode.py : improve coverage of mutable filenode, fix a bug in __hash__
2008-03-04 14:01:28 -07:00
Brian Warner
f6ca62df31
test_system: improve test coverage of publish/retrieve status
2008-03-04 01:24:35 -07:00
Brian Warner
68fbd89e66
webish: add primitive publish/retrieve status pages
2008-03-04 01:07:44 -07:00
Brian Warner
7e159feb27
stats: make StatsGatherer happy about sharing a process with other services, add one during system test to get some test coverage
2008-03-03 23:55:58 -07:00
Brian Warner
abb51e70f3
test_web: improve upload/download status coverage
2008-03-03 21:56:23 -07:00
Brian Warner
3ecb483e35
test_system: add test coverage for download-status and upload-status
2008-03-03 21:37:17 -07:00
Brian Warner
18eb00d136
webish: download-results: add per-server response times
2008-03-03 20:53:45 -07:00
Brian Warner
886ef22335
webish: download-results: add server_problems
2008-03-03 20:30:35 -07:00
Brian Warner
def910c391
webish download results: add servermap, decrypt time
2008-03-03 20:09:32 -07:00