Ticket #705: webapi.txt

File webapi.txt, 31.1 KB (added by kevan, at 2009-07-20T04:11:36Z)
Line 
1Sun Jul 19 20:44:47 PDT 2009  kevan@isnotajoke.com
2  * Update webapi docs to reference new PUT behavior.
3
4Sun Jul 19 20:47:23 PDT 2009  kevan@isnotajoke.com
5  * Add a function to parse arguments for the replace parameter
6
7Sun Jul 19 20:47:46 PDT 2009  kevan@isnotajoke.com
8  * Alter directory.py to use parse_replace_arg()
9
10Sun Jul 19 20:48:31 PDT 2009  kevan@isnotajoke.com
11  * Alter filenode.py to use parse_replace_arg
12
13New patches:
14
15[Update webapi docs to reference new PUT behavior.
16kevan@isnotajoke.com**20090720034447
17 Ignore-this: 981c43767ee4d7d3e7711dfbea89b590
18] hunk ./docs/frontends/webapi.txt 575
19   there is already an object at the given location, rather than overwriting the
20   existing object. Note that "true", "t", and "1" are all synonyms for "True",
21   and "false", "f", and "0" are synonyms for "False". the parameter is
22-  case-insensitive.
23+  case-insensitive. If you want this behavior only if there is an existing
24+  directory at the same location (that is, you want the operation to return an
25+  error if there is a directory at the same name, but to succeed if there is a
26+  file), add a "replace=only-files" argument, as "?t=uri&replace=only-files".
27 
28 === Deleting a File or Directory ===
29 
30[Add a function to parse arguments for the replace parameter
31kevan@isnotajoke.com**20090720034723
32 Ignore-this: f27aae3befa76b7bec1b697b5588332
33] hunk ./src/allmydata/web/common.py 24
34     assert arg.lower() in ("true", "t", "1", "false", "f", "0", "on", "off")
35     return arg.lower() in ("true", "t", "1", "on")
36 
37+def parse_replace_arg(replace):
38+    if replace == "only-files":
39+        return replace
40+    else:
41+        return boolean_of_arg(replace)
42+
43 def get_root(ctx_or_req):
44     req = IRequest(ctx_or_req)
45     # the addSlash=True gives us one extra (empty) segment
46[Alter directory.py to use parse_replace_arg()
47kevan@isnotajoke.com**20090720034746
48 Ignore-this: 4f9496bc9dcfe0d6ec78923883ab2351
49] {
50hunk ./src/allmydata/web/directory.py 23
51 from allmydata import dirnode
52 from allmydata.web.common import text_plain, WebError, \
53      IOpHandleTable, NeedOperationHandleError, \
54-     boolean_of_arg, get_arg, get_root, \
55+     boolean_of_arg, get_arg, get_root, parse_replace_arg, \
56      should_create_intermediate_directories, \
57      getxmlfile, RenderMixin, humanize_failure
58 from allmydata.web.filenode import ReplaceMeMixin, \
59hunk ./src/allmydata/web/directory.py 158
60     def render_PUT(self, ctx):
61         req = IRequest(ctx)
62         t = get_arg(req, "t", "").strip()
63-        replace = boolean_of_arg(get_arg(req, "replace", "true"))
64+        replace = parse_replace_arg(get_arg(req, "replace", "true"))
65+
66         if t == "mkdir":
67             # our job was done by the traversal/create-intermediate-directory
68             # process that got us here.
69}
70[Alter filenode.py to use parse_replace_arg
71kevan@isnotajoke.com**20090720034831
72 Ignore-this: b7c5b3f668ac4ae45653b882cd6e4fc8
73] {
74hunk ./src/allmydata/web/filenode.py 18
75 
76 from allmydata.web.common import text_plain, WebError, RenderMixin, \
77      boolean_of_arg, get_arg, should_create_intermediate_directories, \
78-     MyExceptionHandler
79+     MyExceptionHandler, parse_replace_arg
80 from allmydata.web.check_results import CheckResults, \
81      CheckAndRepairResults, LiteralCheckResults
82 from allmydata.web.info import MoreInfo
83hunk ./src/allmydata/web/filenode.py 112
84     def render_PUT(self, ctx):
85         req = IRequest(ctx)
86         t = get_arg(req, "t", "").strip()
87-        replace = boolean_of_arg(get_arg(req, "replace", "true"))
88+        replace = parse_replace_arg(get_arg(req, "replace", "true"))
89+
90         assert self.parentnode and self.name
91         if req.getHeader("content-range"):
92             raise WebError("Content-Range in PUT not yet supported",
93hunk ./src/allmydata/web/filenode.py 216
94     def render_PUT(self, ctx):
95         req = IRequest(ctx)
96         t = get_arg(req, "t", "").strip()
97-        replace = boolean_of_arg(get_arg(req, "replace", "true"))
98+        replace = parse_replace_arg(get_arg(req, "replace", "true"))
99+
100         if not t:
101             if self.node.is_mutable():
102                 return self.replace_my_contents(req)
103}
104
105Context:
106
107[directories: minor change: fix warning message from the benchmarking script
108zooko@zooko.com**20090720002114
109 Ignore-this: 89498e477a70fe9f7d204b592c81785e
110]
111[Add unit tests for the Adder in dirnode.py
112kevan@isnotajoke.com**20090718195049
113 Ignore-this: 93434af3656249962cf9bc6d7ac5bc01
114]
115[Add 'only_files' option to the overwrite field in Adder
116kevan@isnotajoke.com**20090718030010
117 Ignore-this: 56605f6740f692549acdd9b236ce6443
118]
119[rename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI
120Brian Warner <warner@lothar.com>**20090717221549
121 Ignore-this: 5e6226e8d9fba824bf45f67ea5821e0e
122]
123[interfaces: remove dead code, FileNode_ and EncryptedThing constraints
124Brian Warner <warner@lothar.com>**20090717221139
125 Ignore-this: d4faaa37a6d9fbc70e40c43067385582
126]
127[introduction/storage-broker: add assertions of serverids being the right type and of internal consistency between the number of storage servers known and the number of storage servers
128zooko@zooko.com**20090717135221
129 Ignore-this: a315123bcea8eb0eb13172b0919d8753
130]
131[upload: fix #758 recursion-loop in peer-selection when servers report errors.
132Brian Warner <warner@lothar.com>**20090717050709
133 Ignore-this: 9c28ef13649c4475ede23815b69e51fd
134 The bug was in the code that handles a third-or-later pass, and was
135 previously untested.
136]
137[setup: clarify the way that we host two directories of dependencies: one is source distributions and the other is binary distributions
138zooko@zooko.com**20090716160657
139 Ignore-this: 500ef010bc7163ecff86b36461057835
140]
141['tahoe stats': tolerate empty directories. Closes #693.
142Brian Warner <warner@lothar.com>**20090715075109
143 Ignore-this: a713325132e05d5d122111f978fe5e14
144]
145[node.py: record pid in twisted log at startup. Closes #476.
146Brian Warner <warner@lothar.com>**20090715072929
147 Ignore-this: c9054bbf0e114659ac49419e7c658ab6
148]
149[Allow tests to pass with -OO by turning some AssertionErrors (the ones that
150Brian Warner <warner@lothar.com>**20090715064510
151 Ignore-this: db08d38b720a5260b5d1dc6d6a9878c1
152 we actually exercise during tests) into more specific exceptions, so they
153 don't get optimized away. The best rule to follow is probably this: if an
154 exception is worth testing, then it's part of the API, and AssertionError
155 should never be part of the API. Closes #749.
156]
157[setup: tell build to search a directory (hosted on allmydata.org) which contains eggs
158zooko@zooko.com**20090715025246
159 Ignore-this: 1fb41208f777862cc387c3995b01acc
160]
161[wui: fix test for welcome page
162zooko@zooko.com**20090715033429
163 Ignore-this: b36d18be67d873b6d59cd11a849ae627
164]
165[wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691
166zooko@zooko.com**20090715025814
167 Ignore-this: b7ab31947bdadc8c7c56f5037275de71
168 Also name it as "TahoeLAFS" in this text.
169]
170[mac: emit the stdout and stderr from a failed call to Allmydata (this is very useful diagnostic info)
171zooko@zooko.com**20090715014338
172 Ignore-this: f34de1aabfc94026fc6ecdaf92748342
173]
174[mac: improve shutdown and clean-up after the test of the macintosh packaging
175zooko@zooko.com**20090714122655
176 Ignore-this: f2ba2ca7d16173c8c45a9a1411d419c
177]
178[setup: add "test_mac_diskimage" command which attempts to mount and use a .dmg to make sure it has a good Tahoe distribution in it
179zooko@zooko.com**20090712230940
180 Ignore-this: e889aaf49699429afeb211f7403fec74
181]
182[dirnode: finish renaming "iv" to "salt" in the code and the hash tag
183zooko@zooko.com**20090713001320
184 Ignore-this: 10e41a10934f9748fd55b68f54779824
185]
186[dirnode.py/_encrypt_rwcap: rename IV to "salt", which is more accurate
187Brian Warner <warner@lothar.com>**20090712235025
188 Ignore-this: 1b8d6a4e8667655f52abe2b3be46a0ed
189]
190[dirnode.py: security bug: also use child writecap to derive child enc key,
191Brian Warner <warner@lothar.com>**20090712234750
192 Ignore-this: 13867ebc123b521df60e4013b75716e
193 not just the dirnode writecap. The previous code (which only hashed the
194 dirnode writecap) would use the same key for all children, which is very bad.
195 This is the correct implementation of #750.
196]
197[NEWS: update with all recent changes
198Brian Warner <warner@lothar.com>**20090711234703
199 Ignore-this: 8d96344b0e4634186a63b4a8941254a1
200]
201[proposed/mutable-DSA.txt: add some new design criteria
202Brian Warner <warner@lothar.com>**20090711132500
203 Ignore-this: d7519fd9bbcadc331f9843c33dce0d44
204]
205[Use CachingDict instead of dict in dirnode.py
206kevan@isnotajoke.com**20090704034301
207 Ignore-this: 53f12260176a5170b3599eda54f38e98
208]
209[directories: fix semantic conflict between my "keep track of position" optimization patch and Kevan's "cache serialized entries" optimization patch
210zooko@zooko.com**20090710032028
211 Ignore-this: 46f8b00fd3eca4adf89dec437e65d696
212]
213[Modify bench_dirnode.py to use CachingDict.
214kevan@isnotajoke.com**20090705223142
215 Ignore-this: 9ba62a16fd37ef281368715a887fd9f8
216]
217[Add tests for CachingDict, _pack_contents, _unpack_contents
218kevan@isnotajoke.com**20090704034328
219 Ignore-this: 12f3e989244288c211ba393d3a205111
220]
221[trivial: removed unused import noticed by pyflakes
222zooko@zooko.com**20090709130513
223 Ignore-this: 63257c9e8481fdcf617f04cc48d95d03
224]
225[directories: make the IV for the writecaps in directory entries be computed from the secure hash of the writecap itself
226zooko@zooko.com**20090705024815
227 Ignore-this: cb9cc29f8f0687f2545e95d5b7b42d44
228 This makes encoding of directory entries deterministic, and it is also a tad faster on Macbook Pro than getting a random IV with os.urandom(16).
229]
230[tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may have triggered too eagerly on Zandr's 266 MHz armel
231zooko@zooko.com**20090709044729
232 Ignore-this: 838b870798dc0f793979398ed4a18c2e
233]
234[setup: add sys.maxunicode to the show-tool-versions output in order to investigate http://bugs.python.org/setuptools/issue78
235zooko@zooko.com**20090709004533
236 Ignore-this: dce4420d5c626258e1033d924e506de2
237]
238[immutable: base32-encode the keys to generate cache filenames that will work on all platforms
239zooko@zooko.com**20090708152633
240 Ignore-this: 782b615c4c35629fee618b39a7175321
241]
242[directories: make initialization of the download cache lazy
243zooko@zooko.com**20090708004040
244 Ignore-this: 3c3714ccc09ae1de811664d52211e143
245 If you open up a directory containing thousands of files, it currently computes the cache filename and checks for the cache file on disk immediately for each immutble file in that directory.  With this patch, it delays those steps until you try to do something with an immutable file that could use the cache.
246]
247[Add CachingDict dict subclass to dirnode.py
248kevan@isnotajoke.com**20090705212345
249 Ignore-this: 484bdcecbc1ae25e04bf659abcfcf834
250]
251[directories: rename internal data member download_cache to download_cache_dirman (benchmarks set this internal member and use the new name, so changing this makes the bench_dirnode.py work again)
252zooko@zooko.com**20090707143404
253 Ignore-this: c77f189a864d517c28a54a4cfce8c0a2
254]
255[directories: keep track of your position as you decode netstring after netstring from an input buffer instead of copying the trailing part
256zooko@zooko.com**20090705025109
257 Ignore-this: bee1ae76060fbc920bddb6e839b7dd1a
258 This makes decoding linear in the number of netstrings instead of O(N^2).
259]
260[directories: in bench_dirnode.py, use a real CacheDirectoryManager instead of a fake one (because CacheDirectoryManager is a significant user of CPU and/or time)
261zooko@zooko.com**20090707034119
262 Ignore-this: 207a2dc346ca2c01dc7b341e88a0ca0a
263]
264[directories: make the profiling behavior of bench_dirnode.py accessible by adding '--profile' to the cmdline
265zooko@zooko.com**20090707033035
266 Ignore-this: 159c36ac1cafaa4e9a6239025ef9d57b
267]
268[setup: increase requirement on pycryptopp to >= 0.5.15
269zooko@zooko.com**20090706140815
270 Ignore-this: f3839c7c1f9ebff1fcf2eea47ed3c48b
271]
272[directories: update the directory benchmarks to exercise the unpack-and-repack functionality, and add optional profiling
273zooko@zooko.com**20090705162953
274 Ignore-this: 4a1b11c9b1880772c923b3c03e10770b
275]
276[test/benchmark: benchmark the time to pack and unpack dirnodes
277zooko@zooko.com**20090704224300
278 Ignore-this: cd8f6a6ded44a3f6f102f9cd0b60ca62
279 See also the prof_benchmarks() function in this file which will run the benchmarks under profiling.
280]
281[setup: the mac-exe build (using py2app) requires macholib>=1.2.
282zooko@zooko.com**20090703175702
283 Ignore-this: ea489a5076f2c9f20f6bfd2807cc5680
284 Here is someone else's description of this problem:
285 http://rtmpy.org/ticket/7
286]
287[clean up debian packaging: we have control files for etch/lenny/sid, and
288"Brian Warner <warner@lothar.com>"**20090703072804
289 everything else uses one of those. Add dependency on python-pysqlite2 for
290 platforms that use py2.4 by default. Update foolscap dependency to 0.4.1.
291]
292[update NEWS to cover all recent changes, sort by end-user importance
293Brian Warner <warner@lothar.com>**20090703014303
294 Ignore-this: 6ddac78075d7547a19712d505818949c
295]
296[Tolerate unknown URI types in directory structures. Part of #683.
297Brian Warner <warner@lothar.com>**20090703010749
298 Ignore-this: afd0e15e2e39d3b87743ec7ccd87054d
299 
300 The idea is that future versions of Tahoe will add new URI types that this
301 version won't recognize, but might store them in directories that we *can*
302 read. We should handle these "objects from the future" as best we can.
303 Previous releases of Tahoe would just explode. With this change, we'll
304 continue to be able to work with everything else in the directory.
305 
306 The code change is to wrap anything we don't recognize as an UnknownNode
307 instance (as opposed to a FileNode or DirectoryNode). Then webapi knows how
308 to render these (mostly by leaving fields blank), deep-check knows to skip
309 over them, deep-stats counts them in "count-unknown". You can rename and
310 delete these things, but you can't add new ones (because we wouldn't know how
311 to generate a readcap to put into the dirnode's rocap slot, and because this
312 lets us catch typos better).
313]
314[test_client.py: minor refactoring of BASECONFIG usage
315Brian Warner <warner@lothar.com>**20090703005450
316 Ignore-this: bf19b9ae7edeab293068cce2368f9364
317]
318[create_node_from_uri: take both writecap+readcap, move logic out of dirnode.py
319Brian Warner <warner@lothar.com>**20090702222537
320 Ignore-this: 93051498076e90d3f1dc85161ce8247a
321]
322[dirnode.py: prepare to preserve both rwcap+rocap when copying
323Brian Warner <warner@lothar.com>**20090702211254
324 Ignore-this: f128c02da32f86d7e39527a35dfc2e02
325 
326 This will make it easier to tolerate unknown nodes safely.
327]
328[interfaces.py: wrap some lines to 80cols
329Brian Warner <warner@lothar.com>**20090702015728
330 Ignore-this: e2c777c1e89a684b43ceabeb0042456c
331]
332[cli: webopen: when called with no arguments, open the Welcome page
333Brian Warner <warner@lothar.com>**20090701200548
334 Ignore-this: ae7d6cb42165d0c751926065378343dd
335]
336[mutable repairer: skip repair of readcaps instead of throwing an exception.
337Brian Warner <warner@lothar.com>**20090701011343
338 Ignore-this: 2c24493426cdc1db8f0e3815ee2c5f87
339 This should improve the behavior of #625 a bit: at least all the files will
340 get repaired.
341]
342[interfaces.py: improve ICheckAndRepairResults docs a bit
343Brian Warner <warner@lothar.com>**20090701001925
344 Ignore-this: 3a57acfee3487c1e071e135743e42c2a
345]
346[repairer.py: wrap to 80cols. No code changes.
347Brian Warner <warner@lothar.com>**20090701000047
348 Ignore-this: 4a84ac95a849be0656d362882876082a
349]
350[setup: require pycryptopp>=0.5.14 if on Windows and with Python>=2.6
351zooko@zooko.com**20090630184807
352 Ignore-this: f7e9beeb5d5613a7c0ffed14d1dda3c6
353]
354[edit NEWS
355Brian Warner <warner@lothar.com>**20090630174115
356 Ignore-this: c4461a2304fcd45bee95e11418693a18
357]
358[NEWS: list all user-visible changes since 1.4.1 . Needs lots of editing.
359Brian Warner <warner@lothar.com>**20090630170734
360 Ignore-this: f606a5d678d0db8065b9f84e796d59b0
361]
362[* find-trailing-spaces.py: exit rc=1 if whitespace found, to be a pre-commit hook
363Brian Warner <warner@lothar.com>**20090629224658
364 Ignore-this: 1465becc923ee04d170e5ee791cf605e
365]
366[use 522-bit RSA keys in all unit tests (except one)
367Brian Warner <warner@lothar.com>**20090629223124
368 Ignore-this: 7a4c3685683ff9da5ceb2d8cb7b19b7
369 
370 This reduces the total test time on my laptop from 400s to 283s.
371 * src/allmydata/test/test_system.py (SystemTest.test_mutable._test_debug):
372   Remove assertion about container_size/data_size, this changes with keysize
373   and was too variable anyways.
374 * src/allmydata/mutable/filenode.py (MutableFileNode.create): add keysize=
375 * src/allmydata/dirnode.py (NewDirectoryNode.create): same
376 * src/allmydata/client.py (Client.DEFAULT_MUTABLE_KEYSIZE): add default,
377   this overrides the one in MutableFileNode
378]
379[remove trailing whitespace
380Brian Warner <warner@lothar.com>**20090629200358
381 Ignore-this: 7a3756618dcfca0a40acb4c3d15f6440
382]
383[remove trailing whitespace from some util classes
384Brian Warner <warner@lothar.com>**20090629200341
385 Ignore-this: ded84c38885d6aabf2691957dde82bf3
386]
387[repairer: raise a better exception when faced with a readonly filenode. Still
388Brian Warner <warner@lothar.com>**20090626063230
389 Ignore-this: a100005b973a6a57566b943073352828
390 produces an error, though.
391]
392[mutable/filenode.py: set _writekey to None, rather than leaving it missing
393Brian Warner <warner@lothar.com>**20090626062022
394 Ignore-this: be111c37dabd6c7aa47abd7bf160926e
395 
396 This will at least turn the really really weird error when a repair of a
397 readonly mutable file is attempted into a merely really weird assertion that
398 mentions "repair currently requires a writecap".
399]
400[one last tweak
401Brian Warner <warner@lothar.com>**20090626052627
402 Ignore-this: 8d9d045a1ebe774aeed6f7e1cdd36973
403]
404[more 'tahoe cp' docs tweaks
405Brian Warner <warner@lothar.com>**20090626051652
406 Ignore-this: f594c395007af64da3d7302943ef8855
407]
408[cli.py: minor tweaks to test posthooks
409"Brian Warner <warner@lothar.com>"**20090626024557]
410[cli.py: update comments on 'tahoe cp' --help a bit
411Brian Warner <warner@lothar.com>**20090626023837
412 Ignore-this: 4090b06896542fbf260d808e8a991cea
413]
414[cli: add some --help text to 'tahoe cp'
415warner@lothar.com**20090625235751]
416[make it possible to add/renew-lease from the WUI
417Brian Warner <warner@lothar.com>**20090626061824
418 Ignore-this: 6fb6a0e8ecfc630464ac37a779078e5
419 add add/renew-lease checkbox on the "more info" page check/deep-check forms
420]
421[hush pyflakes
422warner@lothar.com**20090625021809]
423[Split out NoSharesError, stop adding attributes to NotEnoughSharesError, change humanize_failure to include the original exception string, update tests, behave better if humanize_failure fails.
424warner@lothar.com**20090625021707]
425[remove introducer/old.py, will create something similar when the RIIntroducer changes
426warner@lothar.com**20090624194038]
427[Basically just a trivial platform detection patch for NetBSD.
428midnightmagic@example.com**20090617233647]
429[check_grid.py: print stderr when a subcommand fails
430warner@lothar.com**20090623022833]
431[big rework of introducer client: change local API, split division of responsibilites better, remove old-code testing, improve error logging
432warner@lothar.com**20090623021047]
433[web/welcome.xhtml: remove trailing whitespace
434warner@lothar.com**20090623020909]
435[rrefutil: add trap_deafref utility, to make the callRemote-plus-ignore-DeadReferenceError-plug-log-other-errors pattern easier
436warner@lothar.com**20090623020826]
437[PollMixin: snoop trial's error observer to halt the test early if an error is seen. This turns a lot of timeouts into fast failures.
438warner@lothar.com**20090623020731]
439[clean up storage_broker interface: should fix #732
440warner@lothar.com**20090621235119
441 Ignore-this: fb93cd670e809eed2bc123142dd8d4ff
442]
443[hush pyflakes with recent FileTooLarge removal
444warner@lothar.com**20090621231757
445 Ignore-this: 4231b38c7e9091b0577b07ec99ac2df0
446]
447[add docs/proposed/GridID.txt (cleaning out some of my old branches)
448warner@lothar.com**20090621191204]
449[docs: remove warning about inability to build modules on py2.6 on Windows with mingw, differentiate between clients and servers, reflow to a consistent column width (79), add hint about firewall/NAT docs.
450zooko@zooko.com**20090621175005
451 Ignore-this: 85e7c1ccb258317ca4dd37917afb48f5
452]
453[setup: copy in misc/show-tools-version.py from zfec -- it prints out platform and setuptools versions
454zooko@zooko.com**20090621055846
455 Ignore-this: 4e144886ab02414bbaaf0295ce2b337
456]
457[docs: start updating the NEWS and relnotes.txt files, add Kevan to CREDITS
458zooko@zooko.com**20090621055114
459 Ignore-this: 35e05a5739549ffa693d55df51ffcfd
460]
461[change max filesize limit tests
462kevan@isnotajoke.com**20090620212822
463 Ignore-this: 38e7c62a308c3c93e79df4bf72f4f675
464 
465 Instead of testing to see that the previous SDMF filesize limit was being
466 obeyed, we now test to make sure that we can insert files larger than that
467 limit.
468]
469[remove upper limit on SDMF filesize
470kevan@isnotajoke.com**20090620213130
471 Ignore-this: 5bc48c7421c73827909a17e651799d0c
472]
473[immutable/download: instrument do-you-have-block responses to investigate #732
474warner@lothar.com**20090621041209]
475[Makefile: add jaunty support, rearrange debian sections in order of release
476warner@lothar.com**20090618050502]
477[test_util: add known-answer tests for hashutil tags
478warner@lothar.com**20090618045709]
479[tests: bump up a timeout that expired on Zandr's box
480zooko@zooko.com**20090613195703
481 Ignore-this: 853000f43665396b3734a99f72bd472d
482]
483[util: hooray!  A clean implementation of this simple utility!  Black Dew pointed out that the inverse of time.gmtime() is hidden in the "calendar" module.
484zooko@zooko.com**20090613160112
485 Ignore-this: 8359cc48ca1b8e2793e8b2afe2050cf4
486]
487[util: Brian's horrible hack to figure out how much localtime and utctime differ.  Now we'll see if it works on Windows.
488zooko@zooko.com**20090612204556
489 Ignore-this: 8c36431da4707da76472956c7750ecbd
490]
491[util: oops, time.tzset() doesn't work on Windows -- hopefully the new "London" unit test passes on Windows when we skip tzset() on platforms that don't have it
492zooko@zooko.com**20090612000920
493 Ignore-this: 7d314b8334cfa3f65f9635e3d3eb727e
494]
495[setup: edit install.html to warn Windows users away from Python v2.6
496zooko@zooko.com**20090611225506
497 Ignore-this: 89ad63eab49ede883ef92f2de5b5fc54
498]
499[util: fix time_format.iso_utc_time_to_seconds() so that it works even in London
500zooko@zooko.com**20090611221129
501 Ignore-this: 14dbb9840587797f848226fdb3645c08
502]
503[setup: run the same "make quicktest" on Windows as on non-Windows
504zooko@zooko.com**20090611193214
505 Ignore-this: d0c78377d3892373ec3d91e9e98bd8bd
506 I checked and it behaves about as well on Windows as the previous version did.
507]
508[tests: significantly increase timeouts that triggered on Zandr's ARM box
509zooko@zooko.com**20090610161043
510 Ignore-this: 2b3c556c5166a8267b4b15664d3aadfb
511]
512[test: multiple by 10 or so all timeouts that Zandr's ARM box just overran
513zooko@zooko.com**20090610125639
514 Ignore-this: bf62f063ab46814fd78de55a5fbc9d84
515]
516[tests: bump up timeout on a test that timed out on draco
517zooko@zooko.com**20090610044628
518 Ignore-this: f598b98cbae44dc947937c6ca54c10cb
519]
520[tests: raise the timeout for test_cli since Zandr's ARM machine totally burst through the old one
521zooko@zooko.com**20090609210509]
522[test_cli.Backup: increase timeout massively, it takes 1200s on zandr's ARM linkstation
523warner@lothar.com**20090609052801]
524[tests: double the timeouts on some tests which time-out on Francois's box
525zooko@zooko.com**20090609021753
526 Ignore-this: b2727b04402f24a9b9123d2f84068106
527]
528[tests: bump up timeouts so that the tests can finish before timeout on Francois's little arm box
529zooko@zooko.com**20090608225557
530 Ignore-this: fb83698338b2f12546cd3e1dcb896d34
531]
532[tests: increase timeouts on some other tests that timed-out on Francois's arm box
533zooko@zooko.com**20090605143437
534 Ignore-this: 2903cc20d914fc074c8d7a6c47740ba6
535]
536[tests: bump up the timeout on a bunch of tests that took longer than the default timeout (120s) on François Lenny-armv5tel
537zooko@zooko.com**20090605031444
538 Ignore-this: 84d67849b1f8edc88bf7001e31b5f7f3
539]
540[backup: remove the --no-backupdb command, the handling of "can't import sqlite", and the related tests, and change an error message to more correctly indicate failure to load the database from disk rather than failure to import sqlite module
541zooko@zooko.com**20090604173131
542 Ignore-this: 8200a9fdfc49243c280ecd1d0c44fa19
543 Fixes #728.
544]
545[setup: require pysqlite >= v2.0.5. if we are running on Python < 2.5
546zooko@zooko.com**20090604154548
547 Ignore-this: cf04f46079821df209d01dad2e24b40b
548]
549[setup: add pysqlite and sqlite to get_package_versions()
550zooko@zooko.com**20090604153728
551 Ignore-this: a1dea7fabeab2b08fb0d8d462facdb4d
552]
553[more refactoring: move get_all_serverids() and get_nickname_for_serverid() from Client to storage_broker
554warner@lothar.com**20090602030750]
555[more storage_broker refactoring: downloader gets a broker instead of a client,
556warner@lothar.com**20090602022511
557 use Client.get_storage_broker() accessor instead of direct attribute access.
558]
559[test_runner.py: remove test_client_no_noise: the issue in question is
560warner@lothar.com**20090601225007
561 ticketed in http://divmod.org/trac/ticket/2830 and doesn't need a Tahoe-side
562 change, plus this test fails on win32 for unrelated reasons (and test_client
563 is the place to think about the win32 issue).
564]
565[remove plaintext-hashing code from the helper interface, to close #722
566warner@lothar.com**20090601224916
567 and deny the Helper the ability to mount a partial-information-guessing
568 attack. This will probably break compatibility between new clients and very
569 old (pre-1.0) helpers.
570]
571[start to factor server-connection-management into a distinct 'StorageServerFarmBroker' object, separate from the client and the introducer. This is the starting point for #467: static server selection
572warner@lothar.com**20090601210604]
573[mutable: catch and display first error, so code bugs which break all servers get displayed better
574warner@lothar.com**20090601210407]
575[misc/run-with-pythonpath.py: exec() the child (on unix), to remove the intermediate process
576warner@lothar.com**20090601210137]
577[docs: small edit to about.html
578zooko@zooko.com**20090528233422
579 Ignore-this: 1cfbb1f8426ed6d63b2d3952e4464ddc
580]
581[docs: add links to Tahoe-LAFS for Paranoids and Tahoe-LAFS for Corporates in about.html
582zooko@zooko.com**20090528232717
583 Ignore-this: 7b70baa700d6b6f6e9ceec4132efe5
584]
585[docs: edit about.html and include network-and-reliance-topology.png (loaded from http://allmydata.org )
586zooko@zooko.com**20090527150916
587 Ignore-this: 44adc61cde8ced8be2f0a7dfc7d95dad
588]
589[docs: a few more edits to network-and-reliance-topology.svg
590zooko@zooko.com**20090527150458
591 Ignore-this: 2eac8c33fe71be25ff809b399c6193c1
592]
593[docs: update network-and-reliance-topology.svg for beauty and clarity
594zooko@zooko.com**20090527031123
595 Ignore-this: 5510914849771900ac29b4312470d84
596]
597[docs: update NEWS, relnotes.txt, CREDITS to mention WUI Style
598zooko@zooko.com**20090526233654
599 Ignore-this: 72d16ec833bc4a22af23d29ea1d5ff8b
600]
601[Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording.
602Kevin Reid <kpreid@mac.com>**20090526232545
603 Ignore-this: 8845937f0df6c7ddc07abe3211428a6f
604]
605[Tweak wording in directory page: not-read-only is "modifiable", mention creating a directory _in this directory_.
606Kevin Reid <kpreid@mac.com>**20090526232414
607 Ignore-this: f006ec52ba2051802e025a60bcface56
608]
609[Comment on duplication of code/markup found during styling project.
610Kevin Reid <kpreid@mac.com>**20090503203442
611 Ignore-this: a4b7f9f0ab57d2c03be9ba761be8d854
612]
613[Add CSS styles to spiff up the Tahoe WUI's appearance, particularly the welcome page and directories.
614Kevin Reid <kpreid@mac.com>**20090503203142
615 Ignore-this: 5c50af241c1a958b5180ef2b6a49f626
616]
617[Link all Tahoe web pages to the /tahoe_css stylesheet which already exists.
618Kevin Reid <kpreid@mac.com>**20090503202533
619 Ignore-this: 2ea8d14d3168b9502cf39d5ea3f2f2a8
620]
621[Fix broken link from Provisioning to Reliability page.
622Kevin Reid <kpreid@mac.com>**20090501191050
623 Ignore-this: 56dc1a5e659b70cc02dc4df7b5d518cd
624]
625[docs: network-and-reliance-topology.svg: nicer server icons, mv out of the "specifications" subdir
626zooko@zooko.com**20090526165842
627 Ignore-this: 8f47ab3a0ab782c1f0d46e10bcaebe5b
628]
629[docs: update network-and-reliance-topology.svg
630zooko@zooko.com**20090526163105
631 Ignore-this: 2b864b4ed8743d4a15dfbb7eff3fa561
632]
633[accounting-overview.txt: more edits
634warner@lothar.com**20090523190359]
635[accounting-overview.txt: small edits
636warner@lothar.com**20090523184011]
637[_auto_deps.py: require foolscap-0.4.1, which adds an important fix for py2.4
638warner@lothar.com**20090523011103]
639[immutable/encode.py: tolerate immediate _remove_shareholder by copying the
640warner@lothar.com**20090522184424
641 landlord list before iterating over it. This can probably only happen in unit
642 tests, but cleaning it up makes certain test failures easier to analyze.
643]
644[switch to using RemoteException instead of 'wrapped' RemoteReferences. Should fix #653, the rref-EQ problem
645warner@lothar.com**20090522004632]
646[switch all foolscap imports to use foolscap.api or foolscap.logging
647warner@lothar.com**20090522003823]
648[_auto_deps.py: bump our foolscap dependency to 0.4.0, since I'm about to start using its new features
649warner@lothar.com**20090522002100]
650[test_runner.py: fix minor typo
651warner@lothar.com**20090520033620]
652[setup: fix bug (wrong import) in error message, as noticed by pyflakes
653zooko@zooko.com**20090519195642
654 Ignore-this: f1b9f8c00b46c1b5f2f20e5fc424f341
655]
656[setup: fix trivial bug in recent patch to test base64.py at startup
657zooko@zooko.com**20090519195129
658 Ignore-this: f6be038f74b53ca69e7109fe34adfbc
659]
660[setup: make Tahoe exit at startup with a useful error message if the base64.py module is buggy (fixes part of #710)
661zooko@zooko.com**20090519194555
662 Ignore-this: aa4d398235ddca8d417d61c9688e154
663]
664[test_introducer.py: add a test for the python2.4.0/2.4.1 bug in base64.b32decode
665warner@lothar.com**20090519034101]
666[immutable WriteBucketProxy: use pipeline to speed up uploads by overlapping roundtrips, for #392
667warner@lothar.com**20090518234422]
668[util/pipeline.py: new utility class to manage size-limited work pipelines, for #392
669warner@lothar.com**20090518234326]
670[docs: add a diagram that I'm about to show to the Boulder Linux Users Group: network-and-reliance-topology.svg
671zooko@zooko.com**20090514232059
672 Ignore-this: 2420c0a7c254c9f0f2349d9130490d33
673]
674[tests: mark test_runner as coded in utf-8 instead of ascii
675zooko@zooko.com**20090507223151
676 Ignore-this: ccf1ba9e5a9b53602701a36f9fdb545e
677]
678[tests: raise timeout on test_runner.RunNode.test_introducer from 120s to 240s, since it hit the 120s time-out on François Lenny-armv5tel
679zooko@zooko.com**20090507215012
680 Ignore-this: ba18fe6832ba255d4971e8f623ed7da5
681]
682[setup: fix comment in setup.py
683zooko@zooko.com**20090507215003
684 Ignore-this: c46ef664630d52733138ef7fbc551c1c
685]
686[docs: how_to_make_a_tahoe_release.txt: a couple of small edits
687zooko@zooko.com**20090507214932
688 Ignore-this: ae92aa835ad369f4b9e6e49d681957a3
689]
690[.darcs-boringfile: also ignore .gitignore
691warner@allmydata.com**20090415210550
692 Ignore-this: d29db314a1e506f6240859559436b4c3
693]
694[.darcs-boringfile: ignore .git, I'm starting to play around with it
695warner@allmydata.com**20090415205929
696 Ignore-this: 89234453516483c9586cd6e1351e88b5
697]
698[fix quicktest: stop using setuptools, add misc/run-with-pythonpath.py, to make it run faster
699warner@lothar.com**20090414201400]
700[TAG allmydata-tahoe-1.4.1
701zooko@zooko.com**20090414025636
702 Ignore-this: de78fc32364c83e9f4e26b5abcfdea4a
703]
704Patch bundle hash:
7059274a8814128ed37facf59acb5eca4ca1e89898f