Brian Warner
8a39ee9034
storage.py: turn some assertions into preconditions
2007-07-13 19:30:48 -07:00
Brian Warner
9fc687cdfc
storage.py: handle num_segments != power-of-two without an assertion
2007-07-13 19:30:21 -07:00
Brian Warner
5c08be170e
interfaces: increase ShareSize now that our default k is smaller (hence blocks are bigger)
2007-07-13 19:29:31 -07:00
Brian Warner
c6f52e379a
rename storageserver.py to just storage.py, since it has both server and client sides now
2007-07-13 17:25:45 -07:00
Brian Warner
0468448b85
welcome.xhtml: add a link to allmydata.org
2007-07-13 17:15:44 -07:00
Brian Warner
d206843625
encode.py: minor typo
2007-07-13 17:00:06 -07:00
Brian Warner
4d868e6649
fix dump-uri-extension
2007-07-13 16:58:08 -07:00
Brian Warner
35117d77a0
storageserver.ReadBucketProxy: break out _parse_offsets, for debug tools
2007-07-13 16:52:17 -07:00
Brian Warner
7589a8ee82
storage: we must truncate short segments. Now most tests pass (except uri_extension)
2007-07-13 16:38:25 -07:00
Brian Warner
1f8e407d9c
more #85 work, system test still fails
2007-07-13 15:09:01 -07:00
Brian Warner
cd8648d39b
storage: use one file per share instead of 7 ( #85 ). work-in-progress, tests still fail
2007-07-13 14:04:49 -07:00
Brian Warner
6ff94541a8
control.py: make get_memory_usage() callable from elsewhere
2007-07-08 19:07:54 -07:00
robk-org
d65d02fa58
add a 'rename' button to the webish dir view
...
alongside the 'del' button is now presented a 'rename' button, which takes
the user to a new page, the 't=rename-form' page, which asks ther user for
the new name of the child and ultimately submits a POST request to the dir
for 't=rename' to perform the actual rename i.e. an attach followed by a
delete of children.
2007-07-12 16:53:54 -07:00
robk-org
15c3055176
fix bug in arg handling around 'delete' button in directory view
...
the code composing the form providing the 'delete' button in a dir
view was broken in that it tried to put some of the arguments into
the url query, rather than as the form's post args. worse, nevow
was kind enough to escape the querystring making it invalid.
2007-07-12 16:46:54 -07:00
robk-org
908cc0e481
fix a typo in webapi.txt
2007-07-12 16:45:51 -07:00
robk-org
cacc9ac7b1
include the filename on URI-link urls for files
...
this is likely to induce browsers to do more useful things with the result
than they would when given neither content-type nor filename. (i.e. they
can guess that a .jpg file is an image, even with a bogus content type)
2007-07-11 15:26:47 -07:00
robk-org
8b2c5dcd15
added notes on pywin32 version support to README
2007-06-13 13:09:36 -07:00
Brian Warner
798b714bef
webish.DirnodeWalkerMixin: comment out the code that demonstrates what we
...
would do if we could just use generators, since we don't use it.
2007-07-12 23:28:09 -07:00
Brian Warner
032dfc5e58
misc/figleaf.excludes: exclude simplejson too, since we don't run their tests
2007-07-12 16:26:25 -07:00
Brian Warner
b0c65ed232
note that setting k=1 is equivalent to replication
2007-07-12 16:22:12 -07:00
Brian Warner
ba7e14a870
fix several methods to handle LIT URIs correctly, rather than assuming that all filenodes are CHK URIs
2007-07-12 16:17:49 -07:00
Brian Warner
53cf757be3
make it possible to download LIT uris. oops.
2007-07-12 16:16:59 -07:00
Brian Warner
5399395c27
allow the introducer to set default encoding parameters. Closes #84 .
...
By writing something like "25 75 100" into a file named 'encoding_parameters'
in the central Introducer's base directory, all clients which use that
introducer will be advised to use 25-out-of-100 encoding for files (i.e.
100 shares will be produced, 25 are required to reconstruct, and the upload
process will be happy if it can find homes for at least 75 shares). The
default values are "3 7 10". For small meshes, the defaults are probably
good, but for larger ones it may be appropriate to increase the number of
shares.
2007-07-12 15:33:30 -07:00
Brian Warner
def63d193e
implement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81 .
2007-07-12 13:22:36 -07:00
Brian Warner
b62252183d
interfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to 1000, for now
2007-07-12 13:23:52 -07:00
Brian Warner
b2f13d2635
cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source.
2007-07-11 14:31:04 -07:00
Brian Warner
4a081cec26
debian: make all .debs dependent upon python-simplejson. We must create the dapper package, the others are available upstream
2007-07-11 14:01:56 -07:00
Brian Warner
92b4ee1ab5
Makefile: factor out deb-foolscap-ARCH to a separate target
2007-07-11 14:00:47 -07:00
Brian Warner
db75139340
Makefile: make it clear that it requires GNU Make
2007-07-11 13:39:55 -07:00
Brian Warner
25e952cd14
rename GNUmakefile to Makefile: I've mis-typed the name one too many times
2007-07-11 13:34:16 -07:00
Brian Warner
86727bf8e0
boringfile: exclude some foolscap.deb-generated files
2007-07-11 13:28:42 -07:00
Brian Warner
ac149c3d2a
makefile: fix deb-edgy-head and deb-etch-head targets
2007-07-11 13:26:23 -07:00
Brian Warner
d2c10f7947
makefile: refactor .deb-producing rules
2007-07-11 12:45:00 -07:00
Brian Warner
9238c61224
cli: implement 'get'
2007-07-11 10:26:19 -07:00
Zooko O'Whielacronx
32166c360a
tahoe_ls: remove a couple of vestigial or debugging bits
2007-07-10 19:46:40 -07:00
Brian Warner
b419b853ea
cli: implement 'allmydata-tahoe ls'
2007-07-10 19:37:37 -07:00
Brian Warner
c98c7ebfd7
makefile: use --single-version-externally-managed for simplejson
2007-07-10 19:37:10 -07:00
Brian Warner
d8a878da86
startstop_node.py: refactor find_twistd() out so it is only run when you need to start a node
2007-07-10 19:13:55 -07:00
Brian Warner
f22801aa33
runner.py: further refactoring
2007-07-10 19:05:18 -07:00
Brian Warner
4a16d20d85
runner.py: start to refactor into separate files
2007-07-10 18:41:52 -07:00
Brian Warner
944583a599
tahoe-ls.py: hush a pyflakes warning
2007-07-10 16:26:05 -07:00
Brian Warner
38ef49aea9
patch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to allow installs on edgy machines with setuptools-0.6c3
2007-07-10 16:11:11 -07:00
Brian Warner
52b8846b55
finish removing simplejson.egg-info from the repo
2007-07-10 15:52:26 -07:00
Brian Warner
cf57359b0b
remove simplejson.egg-info from the repo (and boringfile it), it should never have been in the original tarball
2007-07-10 15:51:58 -07:00
Brian Warner
ea3c3e6780
import simplejson directly, and remove our local copies of the component .py files from util/json*
2007-07-10 15:49:32 -07:00
Brian Warner
dec729028f
tahoe-ls.py: initial version of an 'ls' CLI utility
2007-07-10 15:34:55 -07:00
Brian Warner
447eae621b
boringfile: add simplejson generated files
2007-07-10 15:34:36 -07:00
Brian Warner
302070798c
makefile: build simplejson along with zfec/foolscap/etc
2007-07-10 15:28:38 -07:00
Brian Warner
0d80d569fa
import simplejson-1.7.1 into src/simplejson
2007-07-10 15:22:53 -07:00
Brian Warner
13e84526a1
webapi: normalized API: use t=upload or t=download when providing localdir= or localfile=
2007-07-10 13:24:10 -07:00