1 | Sun Jul 11 20:55:25 GMT Daylight Time 2010 david-sarah@jacaranda.org |
---|
2 | * Allow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable to be Unicode. Also pass the name of each child into nodemaker.create_from_cap for error reporting. |
---|
3 | |
---|
4 | New patches: |
---|
5 | |
---|
6 | [Allow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable to be Unicode. Also pass the name of each child into nodemaker.create_from_cap for error reporting. |
---|
7 | david-sarah@jacaranda.org**20100711195525 |
---|
8 | Ignore-this: deac32d8b91ba26ede18905d3f7d2b93 |
---|
9 | ] { |
---|
10 | hunk ./src/allmydata/web/common.py 14 |
---|
11 | EmptyPathnameComponentError, MustBeDeepImmutableError, \ |
---|
12 | MustBeReadonlyError, MustNotBeUnknownRWError |
---|
13 | from allmydata.mutable.common import UnrecoverableFileError |
---|
14 | -from allmydata.util import abbreviate # TODO: consolidate |
---|
15 | +from allmydata.util import abbreviate |
---|
16 | +from allmydata.util.stringutils import to_str |
---|
17 | |
---|
18 | class IOpHandleTable(Interface): |
---|
19 | pass |
---|
20 | hunk ./src/allmydata/web/common.py 68 |
---|
21 | children = {} |
---|
22 | if children_json: |
---|
23 | data = simplejson.loads(children_json) |
---|
24 | - for (name, (ctype, propdict)) in data.iteritems(): |
---|
25 | - name = unicode(name) |
---|
26 | - writecap = propdict.get("rw_uri") |
---|
27 | - if writecap is not None: |
---|
28 | - writecap = str(writecap) |
---|
29 | - readcap = propdict.get("ro_uri") |
---|
30 | - if readcap is not None: |
---|
31 | - readcap = str(readcap) |
---|
32 | + for (namex, (ctype, propdict)) in data.iteritems(): |
---|
33 | + namex = unicode(namex) |
---|
34 | + writecap = to_str(propdict.get("rw_uri")) |
---|
35 | + readcap = to_str(propdict.get("ro_uri")) |
---|
36 | metadata = propdict.get("metadata", {}) |
---|
37 | hunk ./src/allmydata/web/common.py 73 |
---|
38 | - childnode = nodemaker.create_from_cap(writecap, readcap) |
---|
39 | - children[name] = (childnode, metadata) |
---|
40 | + # name= argument is just for error reporting |
---|
41 | + childnode = nodemaker.create_from_cap(writecap, readcap, name=namex) |
---|
42 | + children[namex] = (childnode, metadata) |
---|
43 | return children |
---|
44 | |
---|
45 | def abbreviate_time(data): |
---|
46 | } |
---|
47 | |
---|
48 | Context: |
---|
49 | |
---|
50 | [upcase_since_on_welcome |
---|
51 | terrellrussell@gmail.com**20100708193903] |
---|
52 | [server_version_on_welcome_page.dpatch.txt |
---|
53 | freestorm77@gmail.com**20100605191721 |
---|
54 | Ignore-this: b450c76dc875f5ac8cca229a666cbd0a |
---|
55 | |
---|
56 | |
---|
57 | - The storage server version is 0 for all storage nodes in the Welcome Page |
---|
58 | |
---|
59 | |
---|
60 | ] |
---|
61 | [NEWS: add NEWS snippets about two recent patches |
---|
62 | zooko@zooko.com**20100708162058 |
---|
63 | Ignore-this: 6c9da6a0ad7351a960bdd60f81532899 |
---|
64 | ] |
---|
65 | [directory_html_top_banner.dpatch |
---|
66 | freestorm77@gmail.com**20100622205301 |
---|
67 | Ignore-this: 1d770d975e0c414c996564774f049bca |
---|
68 | |
---|
69 | The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct |
---|
70 | |
---|
71 | ] |
---|
72 | [tahoe_css_toolbar.dpatch |
---|
73 | freestorm77@gmail.com**20100622210046 |
---|
74 | Ignore-this: 5b3ebb2e0f52bbba718a932f80c246c0 |
---|
75 | |
---|
76 | CSS modification to be correctly diplayed with Internet Explorer 8 |
---|
77 | |
---|
78 | The links on the top of page directory.xhtml are not diplayed in the same line as display with Firefox. |
---|
79 | |
---|
80 | ] |
---|
81 | [runnin_test_tahoe_css.dpatch |
---|
82 | freestorm77@gmail.com**20100622214714 |
---|
83 | Ignore-this: e0db73d68740aad09a7b9ae60a08c05c |
---|
84 | |
---|
85 | Runnin test for changes in tahoe.css file |
---|
86 | |
---|
87 | ] |
---|
88 | [runnin_test_directory_xhtml.dpatch |
---|
89 | freestorm77@gmail.com**20100622201403 |
---|
90 | Ignore-this: f8962463fce50b9466405cb59fe11d43 |
---|
91 | |
---|
92 | Runnin test for diretory.xhtml top banner |
---|
93 | |
---|
94 | ] |
---|
95 | [stringutils.py: tolerate sys.stdout having no 'encoding' attribute. |
---|
96 | david-sarah@jacaranda.org**20100626040817 |
---|
97 | Ignore-this: f42cad81cef645ee38ac1df4660cc850 |
---|
98 | ] |
---|
99 | [quickstart.html: python 2.5 -> 2.6 as recommended version |
---|
100 | david-sarah@jacaranda.org**20100705175858 |
---|
101 | Ignore-this: bc3a14645ea1d5435002966ae903199f |
---|
102 | ] |
---|
103 | [SFTP: don't call .stopProducing on the producer registered with OverwriteableFileConsumer (which breaks with warner's new downloader). |
---|
104 | david-sarah@jacaranda.org**20100628231926 |
---|
105 | Ignore-this: 131b7a5787bc85a9a356b5740d9d996f |
---|
106 | ] |
---|
107 | [docs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should now be quickstart.html. |
---|
108 | david-sarah@jacaranda.org**20100625223929 |
---|
109 | Ignore-this: 99a5459cac51bd867cc11ad06927ff30 |
---|
110 | ] |
---|
111 | [setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk" |
---|
112 | zooko@zooko.com**20100619034928 |
---|
113 | Ignore-this: 276ddf9b6ad7ec79e27474862e0f7d6 |
---|
114 | ] |
---|
115 | [trivial: tiny update to in-line comment |
---|
116 | zooko@zooko.com**20100614045715 |
---|
117 | Ignore-this: 10851b0ed2abfed542c97749e5d280bc |
---|
118 | (I'm actually committing this patch as a test of the new eager-annotation-computation of trac-darcs.) |
---|
119 | ] |
---|
120 | [docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around |
---|
121 | zooko@zooko.com**20100619065318 |
---|
122 | Ignore-this: dc6db03f696e5b6d2848699e754d8053 |
---|
123 | ] |
---|
124 | [docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates" |
---|
125 | zooko@zooko.com**20100619065124 |
---|
126 | Ignore-this: e292c7f51c337a84ebfeb366fbd24d6c |
---|
127 | ] |
---|
128 | [TAG allmydata-tahoe-1.7.0 |
---|
129 | zooko@zooko.com**20100619052631 |
---|
130 | Ignore-this: d21e27afe6d85e2e3ba6a3292ba2be1 |
---|
131 | ] |
---|
132 | Patch bundle hash: |
---|
133 | 8475856bedd28212f5ad77042c320e47d418eb91 |
---|