Merge lp:~cjwatson/launchpad/zope.pagetemplate-4.3.0 into lp:launchpad
- zope.pagetemplate-4.3.0
- Merge into devel
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 18563 |
Proposed branch: | lp:~cjwatson/launchpad/zope.pagetemplate-4.3.0 |
Merge into: | lp:launchpad |
Prerequisite: | lp:~cjwatson/launchpad/twisted-16.5.0 |
Diff against target: |
477 lines (+91/-88) 12 files modified
constraints.txt (+8/-16) lib/lp/answers/browser/tests/faq-views.txt (+1/-1) lib/lp/app/browser/tests/menu.txt (+8/-7) lib/lp/app/doc/lazr-js-widgets.txt (+8/-8) lib/lp/app/doc/menus.txt (+14/-14) lib/lp/app/doc/tales.txt (+20/-16) lib/lp/blueprints/stories/blueprints/xx-creation.txt (+18/-12) lib/lp/registry/browser/tests/person-views.txt (+2/-2) lib/lp/registry/browser/tests/pillar-views.txt (+6/-6) lib/lp/services/webapp/doc/menus.txt (+2/-2) lib/lp/translations/stories/standalone/xx-pofile-translate-lang-direction.txt (+3/-3) lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt (+1/-1) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/zope.pagetemplate-4.3.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+335582@code.launchpad.net |
Commit message
Upgrade to zope.pagetemplate 4.3.0, dropping the untrustedpython extra in the process.
Description of the change
This squashes a local fork. The results of tal:attributes are now emitted in sorted order, which required some minor doctest adjustments.
The untrustedpython extra would have been handled slightly differently with the upgrade, but after some consideration I decided to simply drop it, since all our page template files are in trusted code anyway so there's no point going to particular lengths to sandbox their "python:" expressions any more than we would if they were just in normal Python code.
To post a comment you must log in.
Revision history for this message
William Grant (wgrant) : | # |
review:
Approve
(code)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'constraints.txt' | |||
2 | --- constraints.txt 2018-02-26 12:22:07 +0000 | |||
3 | +++ constraints.txt 2018-02-26 14:19:56 +0000 | |||
4 | @@ -35,7 +35,8 @@ | |||
5 | 35 | zope.filerepresentation==3.6.1 | 35 | zope.filerepresentation==3.6.1 |
6 | 36 | zope.formlib==4.0.6 | 36 | zope.formlib==4.0.6 |
7 | 37 | zope.hookable==3.4.1 | 37 | zope.hookable==3.4.1 |
9 | 38 | zope.i18n==3.7.4 | 38 | #zope.i18n==3.7.4 |
10 | 39 | zope.i18n==4.3.1 | ||
11 | 39 | zope.i18nmessageid==3.5.3 | 40 | zope.i18nmessageid==3.5.3 |
12 | 40 | zope.index==3.6.4 | 41 | zope.index==3.6.4 |
13 | 41 | #zope.interface==3.7.0 | 42 | #zope.interface==3.7.0 |
14 | @@ -49,14 +50,7 @@ | |||
15 | 49 | zope.mimetype==1.3.1 | 50 | zope.mimetype==1.3.1 |
16 | 50 | zope.minmax==1.1.2 | 51 | zope.minmax==1.1.2 |
17 | 51 | #zope.pagetemplate==3.5.2 | 52 | #zope.pagetemplate==3.5.2 |
26 | 52 | # Build of lp:~wallyworld/zope.pagetemplate/fix-isinstance | 53 | zope.pagetemplate==4.3.0 |
19 | 53 | # p1 This version adds a small change to the traversal logic so that the | ||
20 | 54 | # optimisation which applies if the object is a dict also works for | ||
21 | 55 | # subclasses of dict. This patch has been merged in 4.2.0, so we can | ||
22 | 56 | # drop it when we upgrade. | ||
23 | 57 | # post2 Cherry-pick zope.security [untrustedpython] dependency from 3.5.1. | ||
24 | 58 | # Use PEP 440-compliant version. | ||
25 | 59 | zope.pagetemplate==3.5.0.post2 | ||
27 | 60 | zope.password==3.6.1 | 54 | zope.password==3.6.1 |
28 | 61 | zope.pluggableauth==1.2 | 55 | zope.pluggableauth==1.2 |
29 | 62 | zope.principalannotation==3.6.1 | 56 | zope.principalannotation==3.6.1 |
30 | @@ -67,11 +61,7 @@ | |||
31 | 67 | zope.publisher==3.12.6 | 61 | zope.publisher==3.12.6 |
32 | 68 | zope.ramcache==1.0 | 62 | zope.ramcache==1.0 |
33 | 69 | zope.schema==3.7.1 | 63 | zope.schema==3.7.1 |
39 | 70 | #zope.security==3.8.3 | 64 | zope.security==3.8.3 |
35 | 71 | # Tell pip about extras to work around https://github.com/pypa/pip/issues/3046 | ||
36 | 72 | # XXX cjwatson 2017-09-03: This should be fixed in pip 9.0.0, but apparently | ||
37 | 73 | # isn't. | ||
38 | 74 | zope.security[untrustedpython]==3.8.3 | ||
40 | 75 | zope.securitypolicy==3.7.0 | 65 | zope.securitypolicy==3.7.0 |
41 | 76 | zope.sendmail==3.7.5 | 66 | zope.sendmail==3.7.5 |
42 | 77 | zope.sequencesort==3.4.0 | 67 | zope.sequencesort==3.4.0 |
43 | @@ -82,7 +72,8 @@ | |||
44 | 82 | zope.site==3.9.2 | 72 | zope.site==3.9.2 |
45 | 83 | zope.size==3.4.1 | 73 | zope.size==3.4.1 |
46 | 84 | zope.structuredtext==3.5.1 | 74 | zope.structuredtext==3.5.1 |
48 | 85 | zope.tal==3.5.2 | 75 | #zope.tal==3.5.2 |
49 | 76 | zope.tal==4.3.0 | ||
50 | 86 | zope.tales==3.5.3 | 77 | zope.tales==3.5.3 |
51 | 87 | #zope.testing==3.10.3 | 78 | #zope.testing==3.10.3 |
52 | 88 | # p1 Build of lp:~mars/zope.testing/3.9.4-p1. Fixes bugs 570380 and 587886. | 79 | # p1 Build of lp:~mars/zope.testing/3.9.4-p1. Fixes bugs 570380 and 587886. |
53 | @@ -131,7 +122,8 @@ | |||
54 | 131 | py==1.4.8 | 122 | py==1.4.8 |
55 | 132 | #Pygments==1.4 | 123 | #Pygments==1.4 |
56 | 133 | Pygments==2.2.0 | 124 | Pygments==2.2.0 |
58 | 134 | python-gettext==1.0 | 125 | #python-gettext==1.0 |
59 | 126 | python-gettext==3.0 | ||
60 | 135 | #python-subunit==0.0.7 | 127 | #python-subunit==0.0.7 |
61 | 136 | python-subunit==0.0.8beta | 128 | python-subunit==0.0.8beta |
62 | 137 | #pytz==2014.10 | 129 | #pytz==2014.10 |
63 | 138 | 130 | ||
64 | === modified file 'lib/lp/answers/browser/tests/faq-views.txt' | |||
65 | --- lib/lp/answers/browser/tests/faq-views.txt 2012-07-09 03:31:31 +0000 | |||
66 | +++ lib/lp/answers/browser/tests/faq-views.txt 2018-02-26 14:19:56 +0000 | |||
67 | @@ -54,7 +54,7 @@ | |||
68 | 54 | permission, such as the project owner. | 54 | permission, such as the project owner. |
69 | 55 | 55 | ||
70 | 56 | >>> print content.find('a', {'class': 'menu-link-create_faq sprite add'}) | 56 | >>> print content.find('a', {'class': 'menu-link-create_faq sprite add'}) |
72 | 57 | <a href=".../firefox/+createfaq" class="...">Create a new FAQ</a> | 57 | <a class="..." href=".../firefox/+createfaq">Create a new FAQ</a> |
73 | 58 | 58 | ||
74 | 59 | Other users do not see the link. | 59 | Other users do not see the link. |
75 | 60 | 60 | ||
76 | 61 | 61 | ||
77 | === modified file 'lib/lp/app/browser/tests/menu.txt' | |||
78 | --- lib/lp/app/browser/tests/menu.txt 2015-07-08 16:05:11 +0000 | |||
79 | +++ lib/lp/app/browser/tests/menu.txt 2018-02-26 14:19:56 +0000 | |||
80 | @@ -80,15 +80,15 @@ | |||
81 | 80 | <ul> | 80 | <ul> |
82 | 81 | <BLANKLINE> | 81 | <BLANKLINE> |
83 | 82 | <li> | 82 | <li> |
87 | 83 | <a href="http://launchpad.dev/~beaker/+edit" | 83 | <a class="menu-link-edit_thing sprite modify edit" |
88 | 84 | class="menu-link-edit_thing | 84 | href="http://launchpad.dev/~beaker/+edit">Edit thing</a> |
86 | 85 | sprite modify edit">Edit thing</a> | ||
89 | 86 | </li> | 85 | </li> |
90 | 87 | <BLANKLINE> | 86 | <BLANKLINE> |
91 | 88 | <BLANKLINE> | 87 | <BLANKLINE> |
92 | 89 | <li> | 88 | <li> |
95 | 90 | <a href="http://launchpad.dev/~beaker/+edit-people" | 89 | <a class="menu-link-edit_people" |
96 | 91 | class="menu-link-edit_people">Edit people related to thing</a> | 90 | href="http://launchpad.dev/~beaker/+edit-people">Edit |
97 | 91 | people related to thing</a> | ||
98 | 92 | </li> | 92 | </li> |
99 | 93 | ... | 93 | ... |
100 | 94 | </div> | 94 | </div> |
101 | @@ -147,8 +147,9 @@ | |||
102 | 147 | sprite modify edit">Edit thing</span> | 147 | sprite modify edit">Edit thing</span> |
103 | 148 | </li> | 148 | </li> |
104 | 149 | <li> | 149 | <li> |
107 | 150 | <a href="http://launchpad.dev/~beaker/+edit-people" | 150 | <a class="menu-link-edit_people" |
108 | 151 | class="menu-link-edit_people">Edit people related to thing</a> | 151 | href="http://launchpad.dev/~beaker/+edit-people">Edit |
109 | 152 | people related to thing</a> | ||
110 | 152 | </li> | 153 | </li> |
111 | 153 | </ul> | 154 | </ul> |
112 | 154 | </div> | 155 | </div> |
113 | 155 | 156 | ||
114 | === modified file 'lib/lp/app/doc/lazr-js-widgets.txt' | |||
115 | --- lib/lp/app/doc/lazr-js-widgets.txt 2015-10-01 17:32:41 +0000 | |||
116 | +++ lib/lp/app/doc/lazr-js-widgets.txt 2018-02-26 14:19:56 +0000 | |||
117 | @@ -37,8 +37,8 @@ | |||
118 | 37 | 37 | ||
119 | 38 | >>> print widget() | 38 | >>> print widget() |
120 | 39 | <h1 id="edit-display_name"> | 39 | <h1 id="edit-display_name"> |
123 | 40 | <span style="max-width: 90%;" | 40 | <span class="yui3-editable_text-text ellipsis" |
124 | 41 | class="yui3-editable_text-text ellipsis"> | 41 | style="max-width: 90%;"> |
125 | 42 | Widgets > important | 42 | Widgets > important |
126 | 43 | </span> | 43 | </span> |
127 | 44 | </h1> | 44 | </h1> |
128 | @@ -50,8 +50,8 @@ | |||
129 | 50 | >>> ignored = login_person(product.owner) | 50 | >>> ignored = login_person(product.owner) |
130 | 51 | >>> print widget() | 51 | >>> print widget() |
131 | 52 | <h1 id="edit-display_name"> | 52 | <h1 id="edit-display_name"> |
134 | 53 | <span style="max-width: 90%;" | 53 | <span class="yui3-editable_text-text ellipsis" |
135 | 54 | class="yui3-editable_text-text ellipsis"> | 54 | style="max-width: 90%;"> |
136 | 55 | Widgets > important | 55 | Widgets > important |
137 | 56 | </span> | 56 | </span> |
138 | 57 | <a class="yui3-editable_text-trigger sprite edit action-icon" | 57 | <a class="yui3-editable_text-trigger sprite edit action-icon" |
139 | @@ -151,7 +151,7 @@ | |||
140 | 151 | >>> login(ANONYMOUS) | 151 | >>> login(ANONYMOUS) |
141 | 152 | >>> print widget() | 152 | >>> print widget() |
142 | 153 | <div> | 153 | <div> |
144 | 154 | <div id="edit-description" class="lazr-multiline-edit"> | 154 | <div class="lazr-multiline-edit" id="edit-description"> |
145 | 155 | <div class="clearfix"> | 155 | <div class="clearfix"> |
146 | 156 | <h3>A title</h3> | 156 | <h3>A title</h3> |
147 | 157 | </div> | 157 | </div> |
148 | @@ -170,7 +170,7 @@ | |||
149 | 170 | >>> ignored = login_person(eric) | 170 | >>> ignored = login_person(eric) |
150 | 171 | >>> print widget() | 171 | >>> print widget() |
151 | 172 | <div> | 172 | <div> |
153 | 173 | <div id="edit-description" class="lazr-multiline-edit"> | 173 | <div class="lazr-multiline-edit" id="edit-description"> |
154 | 174 | <div class="clearfix"> | 174 | <div class="clearfix"> |
155 | 175 | <div class="edit-controls"> | 175 | <div class="edit-controls"> |
156 | 176 | <a class="yui3-editable_text-trigger sprite edit action-icon" | 176 | <a class="yui3-editable_text-trigger sprite edit action-icon" |
157 | @@ -209,7 +209,7 @@ | |||
158 | 209 | >>> clear_property_cache(widget) | 209 | >>> clear_property_cache(widget) |
159 | 210 | >>> print widget() | 210 | >>> print widget() |
160 | 211 | <div> | 211 | <div> |
162 | 212 | <div id="edit-description" class="lazr-multiline-edit hidden"> | 212 | <div class="lazr-multiline-edit hidden" id="edit-description"> |
163 | 213 | ... | 213 | ... |
164 | 214 | 214 | ||
165 | 215 | This behaviour can be overridden by setting the "hide_empty" parameter to | 215 | This behaviour can be overridden by setting the "hide_empty" parameter to |
166 | @@ -219,7 +219,7 @@ | |||
167 | 219 | ... archive, description, 'A title', hide_empty=False) | 219 | ... archive, description, 'A title', hide_empty=False) |
168 | 220 | >>> print widget() | 220 | >>> print widget() |
169 | 221 | <div> | 221 | <div> |
171 | 222 | <div id="edit-description" class="lazr-multiline-edit"> | 222 | <div class="lazr-multiline-edit" id="edit-description"> |
172 | 223 | ... | 223 | ... |
173 | 224 | 224 | ||
174 | 225 | 225 | ||
175 | 226 | 226 | ||
176 | === modified file 'lib/lp/app/doc/menus.txt' | |||
177 | --- lib/lp/app/doc/menus.txt 2016-01-26 15:47:37 +0000 | |||
178 | +++ lib/lp/app/doc/menus.txt 2018-02-26 14:19:56 +0000 | |||
179 | @@ -1152,16 +1152,16 @@ | |||
180 | 1152 | <div> | 1152 | <div> |
181 | 1153 | <ul> | 1153 | <ul> |
182 | 1154 | <li> | 1154 | <li> |
193 | 1155 | <a href=".../joy-of-cooking/fried-spam" | 1155 | <a class="selected-True" |
194 | 1156 | class="selected-True">Summary</a> | 1156 | href=".../joy-of-cooking/fried-spam">Summary</a> |
195 | 1157 | </li> | 1157 | </li> |
196 | 1158 | <li> | 1158 | <li> |
197 | 1159 | <a href=".../joy-of-cooking/fried-spam/+questions" | 1159 | <a class="selected-False" |
198 | 1160 | class="selected-False">Questions</a> | 1160 | href=".../joy-of-cooking/fried-spam/+questions">Questions</a> |
199 | 1161 | </li> | 1161 | </li> |
200 | 1162 | <li> | 1162 | <li> |
201 | 1163 | <a href=".../joy-of-cooking/fried-spam/+variations" | 1163 | <a class="selected-False" |
202 | 1164 | class="selected-False">Variations</a> | 1164 | href=".../joy-of-cooking/fried-spam/+variations">Variations</a> |
203 | 1165 | </li> | 1165 | </li> |
204 | 1166 | </ul> | 1166 | </ul> |
205 | 1167 | </div> | 1167 | </div> |
206 | @@ -1175,8 +1175,8 @@ | |||
207 | 1175 | <div> | 1175 | <div> |
208 | 1176 | <ul> | 1176 | <ul> |
209 | 1177 | <li> | 1177 | <li> |
212 | 1178 | <a href=".../joy-of-cooking/fried-spam" | 1178 | <a class="selected-None" |
213 | 1179 | class="selected-None">Summary</a> | 1179 | href=".../joy-of-cooking/fried-spam">Summary</a> |
214 | 1180 | </li> | 1180 | </li> |
215 | 1181 | <li> | 1181 | <li> |
216 | 1182 | <strong>Journal</strong> | 1182 | <strong>Journal</strong> |
217 | @@ -1201,8 +1201,8 @@ | |||
218 | 1201 | <strong>Read Journal entries</strong> | 1201 | <strong>Read Journal entries</strong> |
219 | 1202 | </li> | 1202 | </li> |
220 | 1203 | <li> | 1203 | <li> |
223 | 1204 | <a href=".../joy-of-cooking/fried-spam/+write-entry" | 1204 | <a class="selected-None" |
224 | 1205 | class="selected-None">Write | 1205 | href=".../joy-of-cooking/fried-spam/+write-entry">Write |
225 | 1206 | a journal entry</a> | 1206 | a journal entry</a> |
226 | 1207 | </li> | 1207 | </li> |
227 | 1208 | </ul> | 1208 | </ul> |
228 | 1209 | 1209 | ||
229 | === modified file 'lib/lp/app/doc/tales.txt' | |||
230 | --- lib/lp/app/doc/tales.txt 2017-10-21 18:14:14 +0000 | |||
231 | +++ lib/lp/app/doc/tales.txt 2018-02-26 14:19:56 +0000 | |||
232 | @@ -1501,36 +1501,38 @@ | |||
233 | 1501 | The link can be rendered as an anchored icon. | 1501 | The link can be rendered as an anchored icon. |
234 | 1502 | 1502 | ||
235 | 1503 | >>> print test_tales('menu_link/fmt:icon', menu_link=menu_link) | 1503 | >>> print test_tales('menu_link/fmt:icon', menu_link=menu_link) |
238 | 1504 | <a href="http://launchpad.dev/+place" | 1504 | <a class="menu-link-test_link sprite icon action-icon" |
239 | 1505 | class="menu-link-test_link sprite icon action-icon" | 1505 | href="http://launchpad.dev/+place" |
240 | 1506 | title="summary">text</a> | 1506 | title="summary">text</a> |
241 | 1507 | 1507 | ||
242 | 1508 | The default rendering can be explicitly called too, text with an icon to | 1508 | The default rendering can be explicitly called too, text with an icon to |
243 | 1509 | the left. | 1509 | the left. |
244 | 1510 | 1510 | ||
245 | 1511 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) | 1511 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) |
248 | 1512 | <a href="http://launchpad.dev/+place" | 1512 | <a class="menu-link-test_link sprite icon" |
249 | 1513 | class="menu-link-test_link sprite icon" title="summary">text</a> | 1513 | href="http://launchpad.dev/+place" |
250 | 1514 | title="summary">text</a> | ||
251 | 1514 | 1515 | ||
252 | 1515 | The 'edit', 'remove' and 'trash-icon' links are rendered icons followed | 1516 | The 'edit', 'remove' and 'trash-icon' links are rendered icons followed |
253 | 1516 | by text. They have both the sprite and modify CSS classes. | 1517 | by text. They have both the sprite and modify CSS classes. |
254 | 1517 | 1518 | ||
255 | 1518 | >>> menu_link.icon = 'edit' | 1519 | >>> menu_link.icon = 'edit' |
256 | 1519 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) | 1520 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) |
259 | 1520 | <a href="http://launchpad.dev/+place" | 1521 | <a class="menu-link-test_link sprite modify edit" |
260 | 1521 | class="menu-link-test_link sprite modify edit" title="summary">text</a> | 1522 | href="http://launchpad.dev/+place" |
261 | 1523 | title="summary">text</a> | ||
262 | 1522 | 1524 | ||
263 | 1523 | >>> menu_link.icon = 'remove' | 1525 | >>> menu_link.icon = 'remove' |
264 | 1524 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) | 1526 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) |
268 | 1525 | <a href="http://launchpad.dev/+place" | 1527 | <a class="menu-link-test_link sprite modify remove" |
269 | 1526 | class="menu-link-test_link sprite modify remove" | 1528 | href="http://launchpad.dev/+place" |
270 | 1527 | title="summary">text</a> | 1529 | title="summary">text</a> |
271 | 1528 | 1530 | ||
272 | 1529 | >>> menu_link.icon = 'trash-icon' | 1531 | >>> menu_link.icon = 'trash-icon' |
273 | 1530 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) | 1532 | >>> print test_tales('menu_link/fmt:link', menu_link=menu_link) |
277 | 1531 | <a href="http://launchpad.dev/+place" | 1533 | <a class="menu-link-test_link sprite modify trash-icon" |
278 | 1532 | class="menu-link-test_link sprite modify trash-icon" | 1534 | href="http://launchpad.dev/+place" |
279 | 1533 | title="summary">text</a> | 1535 | title="summary">text</a> |
280 | 1534 | 1536 | ||
281 | 1535 | fmt:icon-link and fmt:link-icon are deprecated. They are an alias for | 1537 | fmt:icon-link and fmt:link-icon are deprecated. They are an alias for |
282 | 1536 | fmt:link. They do not control formatting as they once did; fmt:link | 1538 | fmt:link. They do not control formatting as they once did; fmt:link |
283 | @@ -1538,12 +1540,14 @@ | |||
284 | 1538 | 1540 | ||
285 | 1539 | >>> menu_link.icon = 'icon' | 1541 | >>> menu_link.icon = 'icon' |
286 | 1540 | >>> print test_tales('menu_link/fmt:icon-link', menu_link=menu_link) | 1542 | >>> print test_tales('menu_link/fmt:icon-link', menu_link=menu_link) |
289 | 1541 | <a href="http://launchpad.dev/+place" | 1543 | <a class="menu-link-test_link sprite icon" |
290 | 1542 | class="menu-link-test_link sprite icon" title="summary">text</a> | 1544 | href="http://launchpad.dev/+place" |
291 | 1545 | title="summary">text</a> | ||
292 | 1543 | 1546 | ||
293 | 1544 | >>> print test_tales('menu_link/fmt:link-icon', menu_link=menu_link) | 1547 | >>> print test_tales('menu_link/fmt:link-icon', menu_link=menu_link) |
296 | 1545 | <a href="http://launchpad.dev/+place" | 1548 | <a class="menu-link-test_link sprite icon" |
297 | 1546 | class="menu-link-test_link sprite icon" title="summary">text</a> | 1549 | href="http://launchpad.dev/+place" |
298 | 1550 | title="summary">text</a> | ||
299 | 1547 | 1551 | ||
300 | 1548 | And the url format is also available. | 1552 | And the url format is also available. |
301 | 1549 | 1553 | ||
302 | 1550 | 1554 | ||
303 | === modified file 'lib/lp/blueprints/stories/blueprints/xx-creation.txt' | |||
304 | --- lib/lp/blueprints/stories/blueprints/xx-creation.txt 2017-04-10 10:49:19 +0000 | |||
305 | +++ lib/lp/blueprints/stories/blueprints/xx-creation.txt 2018-02-26 14:19:56 +0000 | |||
306 | @@ -88,8 +88,9 @@ | |||
307 | 88 | >>> for tag in find_tags_by_class( | 88 | >>> for tag in find_tags_by_class( |
308 | 89 | ... user_browser.contents, 'menu-link-new'): | 89 | ... user_browser.contents, 'menu-link-new'): |
309 | 90 | ... print tag | 90 | ... print tag |
312 | 91 | <a href="http://blueprints.launchpad.dev/ubuntu/+addspec" | 91 | <a class="menu-link-new..." |
313 | 92 | class="menu-link-new...>Register a blueprint</a> | 92 | href="http://blueprints.launchpad.dev/ubuntu/+addspec">Register |
314 | 93 | a blueprint</a> | ||
315 | 93 | 94 | ||
316 | 94 | 95 | ||
317 | 95 | From a distribution series | 96 | From a distribution series |
318 | @@ -104,8 +105,9 @@ | |||
319 | 104 | >>> for tag in find_tags_by_class( | 105 | >>> for tag in find_tags_by_class( |
320 | 105 | ... user_browser.contents, 'menu-link-new'): | 106 | ... user_browser.contents, 'menu-link-new'): |
321 | 106 | ... print tag | 107 | ... print tag |
324 | 107 | <a href="http://blueprints.launchpad.dev/ubuntu/hoary/+addspec" | 108 | <a class="menu-link-new..." |
325 | 108 | class="menu-link-new...>Register a blueprint</a> | 109 | href="http://blueprints.launchpad.dev/ubuntu/hoary/+addspec">Register |
326 | 110 | a blueprint</a> | ||
327 | 109 | 111 | ||
328 | 110 | 112 | ||
329 | 111 | From a product | 113 | From a product |
330 | @@ -121,8 +123,9 @@ | |||
331 | 121 | >>> for tag in find_tags_by_class( | 123 | >>> for tag in find_tags_by_class( |
332 | 122 | ... user_browser.contents, 'menu-link-new'): | 124 | ... user_browser.contents, 'menu-link-new'): |
333 | 123 | ... print tag | 125 | ... print tag |
336 | 124 | <a href="http://blueprints.launchpad.dev/bzr/+addspec" | 126 | <a class="menu-link-new..." |
337 | 125 | class="menu-link-new...>Register a blueprint</a> | 127 | href="http://blueprints.launchpad.dev/bzr/+addspec">Register |
338 | 128 | a blueprint</a> | ||
339 | 126 | 129 | ||
340 | 127 | For products without any blueprints, users can follow the special "register | 130 | For products without any blueprints, users can follow the special "register |
341 | 128 | it here as a blueprint" link: | 131 | it here as a blueprint" link: |
342 | @@ -148,8 +151,9 @@ | |||
343 | 148 | >>> for tag in find_tags_by_class( | 151 | >>> for tag in find_tags_by_class( |
344 | 149 | ... user_browser.contents, 'menu-link-new'): | 152 | ... user_browser.contents, 'menu-link-new'): |
345 | 150 | ... print tag | 153 | ... print tag |
348 | 151 | <a href="http://blueprints.launchpad.dev/firefox/1.0/+addspec" | 154 | <a class="menu-link-new..." |
349 | 152 | class="menu-link-new...>Register a blueprint</a> | 155 | href="http://blueprints.launchpad.dev/firefox/1.0/+addspec">Register |
350 | 156 | a blueprint</a> | ||
351 | 153 | 157 | ||
352 | 154 | 158 | ||
353 | 155 | From a project | 159 | From a project |
354 | @@ -164,8 +168,9 @@ | |||
355 | 164 | >>> for tag in find_tags_by_class( | 168 | >>> for tag in find_tags_by_class( |
356 | 165 | ... user_browser.contents, 'menu-link-new'): | 169 | ... user_browser.contents, 'menu-link-new'): |
357 | 166 | ... print tag | 170 | ... print tag |
360 | 167 | <a href="http://blueprints.launchpad.dev/mozilla/+addspec" | 171 | <a class="menu-link-new..." |
361 | 168 | class="menu-link-new...>Register a blueprint</a> | 172 | href="http://blueprints.launchpad.dev/mozilla/+addspec">Register |
362 | 173 | a blueprint</a> | ||
363 | 169 | 174 | ||
364 | 170 | 175 | ||
365 | 171 | From a sprint | 176 | From a sprint |
366 | @@ -180,8 +185,9 @@ | |||
367 | 180 | >>> for tag in find_tags_by_class( | 185 | >>> for tag in find_tags_by_class( |
368 | 181 | ... user_browser.contents, 'menu-link-new'): | 186 | ... user_browser.contents, 'menu-link-new'): |
369 | 182 | ... print tag | 187 | ... print tag |
372 | 183 | <a href="http://blueprints.launchpad.dev/sprints/futurista/+addspec" | 188 | <a class="menu-link-new..." |
373 | 184 | class="menu-link-new...>Register a blueprint</a> | 189 | href="http://blueprints.launchpad.dev/sprints/futurista/+addspec">Register |
374 | 190 | a blueprint</a> | ||
375 | 185 | 191 | ||
376 | 186 | 192 | ||
377 | 187 | Registering a blueprint | 193 | Registering a blueprint |
378 | 188 | 194 | ||
379 | === modified file 'lib/lp/registry/browser/tests/person-views.txt' | |||
380 | --- lib/lp/registry/browser/tests/person-views.txt 2016-01-26 15:47:37 +0000 | |||
381 | +++ lib/lp/registry/browser/tests/person-views.txt 2018-02-26 14:19:56 +0000 | |||
382 | @@ -287,7 +287,7 @@ | |||
383 | 287 | >>> print view.render() | 287 | >>> print view.render() |
384 | 288 | <div id="working-on"... | 288 | <div id="working-on"... |
385 | 289 | <a href="/~ken/+specs?role=assignee"> All assigned blueprints </a>... | 289 | <a href="/~ken/+specs?role=assignee"> All assigned blueprints </a>... |
387 | 290 | ...<a href="http://blueprints.launchpad.dev/tool/+spec/..."...>Specs | 290 | ...<a ...href="http://blueprints.launchpad.dev/tool/+spec/..."...>Specs |
388 | 291 | need stories</a>... | 291 | need stories</a>... |
389 | 292 | </div>... | 292 | </div>... |
390 | 293 | 293 | ||
391 | @@ -331,7 +331,7 @@ | |||
392 | 331 | does not work</a>... | 331 | does not work</a>... |
393 | 332 | <a href="/~ken/+specs?role=assignee"> | 332 | <a href="/~ken/+specs?role=assignee"> |
394 | 333 | All assigned blueprints </a>... | 333 | All assigned blueprints </a>... |
396 | 334 | ...<a href="http://blueprints.launchpad.dev/tool/+spec/..."...>Specs | 334 | ...<a ...href="http://blueprints.launchpad.dev/tool/+spec/..."...>Specs |
397 | 335 | need stories</a>... | 335 | need stories</a>... |
398 | 336 | </div>... | 336 | </div>... |
399 | 337 | 337 | ||
400 | 338 | 338 | ||
401 | === modified file 'lib/lp/registry/browser/tests/pillar-views.txt' | |||
402 | --- lib/lp/registry/browser/tests/pillar-views.txt 2015-12-11 04:40:07 +0000 | |||
403 | +++ lib/lp/registry/browser/tests/pillar-views.txt 2018-02-26 14:19:56 +0000 | |||
404 | @@ -54,10 +54,10 @@ | |||
405 | 54 | <h2>Get Involved</h2> | 54 | <h2>Get Involved</h2> |
406 | 55 | <ul class="involvement"> | 55 | <ul class="involvement"> |
407 | 56 | <li> | 56 | <li> |
409 | 57 | <a href=... class="...bugs">Report a bug</a>... | 57 | <a class="...bugs" href=...>Report a bug</a>... |
410 | 58 | </li> | 58 | </li> |
411 | 59 | <li> | 59 | <li> |
413 | 60 | <a href=... class="...answers">Ask a question</a>... | 60 | <a class="...answers" href=...>Ask a question</a>... |
414 | 61 | </li> | 61 | </li> |
415 | 62 | </ul> | 62 | </ul> |
416 | 63 | ... | 63 | ... |
417 | @@ -141,13 +141,13 @@ | |||
418 | 141 | 141 | ||
419 | 142 | >>> print find_tag_by_id(rendered, 'configuration_links') | 142 | >>> print find_tag_by_id(rendered, 'configuration_links') |
420 | 143 | <table... | 143 | <table... |
422 | 144 | <a href="http://launchpad.dev/bread/+configure-code"... | 144 | <a ...href="http://launchpad.dev/bread/+configure-code"... |
423 | 145 | <span class="sprite no action-icon">... | 145 | <span class="sprite no action-icon">... |
425 | 146 | <a href="http://launchpad.dev/bread/+configure-bugtracker"... | 146 | <a ...href="http://launchpad.dev/bread/+configure-bugtracker"... |
426 | 147 | <span class="sprite no action-icon">... | 147 | <span class="sprite no action-icon">... |
428 | 148 | <a href="http://launchpad.dev/bread/+configure-translations"... | 148 | <a ...href="http://launchpad.dev/bread/+configure-translations"... |
429 | 149 | <span class="sprite yes action-icon">... | 149 | <span class="sprite yes action-icon">... |
431 | 150 | <a href="http://launchpad.dev/bread/+configure-answers"... | 150 | <a ...href="http://launchpad.dev/bread/+configure-answers"... |
432 | 151 | <span class="sprite no action-icon">... | 151 | <span class="sprite no action-icon">... |
433 | 152 | </table> | 152 | </table> |
434 | 153 | 153 | ||
435 | 154 | 154 | ||
436 | === modified file 'lib/lp/services/webapp/doc/menus.txt' | |||
437 | --- lib/lp/services/webapp/doc/menus.txt 2015-07-08 16:05:11 +0000 | |||
438 | +++ lib/lp/services/webapp/doc/menus.txt 2018-02-26 14:19:56 +0000 | |||
439 | @@ -868,8 +868,8 @@ | |||
440 | 868 | >>> html = test_tales('context/menu:foo/first/render', | 868 | >>> html = test_tales('context/menu:foo/first/render', |
441 | 869 | ... context=house, view=view, request=request) | 869 | ... context=house, view=view, request=request) |
442 | 870 | >>> print html #doctest: +NORMALIZE_WHITESPACE | 870 | >>> print html #doctest: +NORMALIZE_WHITESPACE |
445 | 871 | <a...href="http://127.0.0.1/sesamestreet/number73/+first" | 871 | <a...class="menu-link-first" |
446 | 872 | ...class="menu-link-first">First menu</a> | 872 | ...href="http://127.0.0.1/sesamestreet/number73/+first">First menu</a> |
447 | 873 | 873 | ||
448 | 874 | # Clean up our special login. | 874 | # Clean up our special login. |
449 | 875 | 875 | ||
450 | 876 | 876 | ||
451 | === modified file 'lib/lp/translations/stories/standalone/xx-pofile-translate-lang-direction.txt' | |||
452 | --- lib/lp/translations/stories/standalone/xx-pofile-translate-lang-direction.txt 2009-07-01 20:45:39 +0000 | |||
453 | +++ lib/lp/translations/stories/standalone/xx-pofile-translate-lang-direction.txt 2018-02-26 14:19:56 +0000 | |||
454 | @@ -47,7 +47,7 @@ | |||
455 | 47 | direction: | 47 | direction: |
456 | 48 | 48 | ||
457 | 49 | >>> print find_tag_by_id(browser.contents, 'msgset_130_es_suggestion_562_0') | 49 | >>> print find_tag_by_id(browser.contents, 'msgset_130_es_suggestion_562_0') |
461 | 50 | <label style="white-space: normal" lang="es" | 50 | <label style="white-space: normal" dir="ltr" |
462 | 51 | id="msgset_130_es_suggestion_562_0" dir="ltr" | 51 | for="msgset_130_es_suggestion_562_0_radiobutton" |
463 | 52 | for="msgset_130_es_suggestion_562_0_radiobutton">libreta de | 52 | id="msgset_130_es_suggestion_562_0" lang="es">libreta de |
464 | 53 | direcciones de Evolution</label> | 53 | direcciones de Evolution</label> |
465 | 54 | 54 | ||
466 | === modified file 'lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt' | |||
467 | --- lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt 2016-01-26 15:47:37 +0000 | |||
468 | +++ lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt 2018-02-26 14:19:56 +0000 | |||
469 | @@ -220,7 +220,7 @@ | |||
470 | 220 | >>> user_browser.getLink('Previous').click() | 220 | >>> user_browser.getLink('Previous').click() |
471 | 221 | >>> contents = find_main_content(user_browser.contents) | 221 | >>> contents = find_main_content(user_browser.contents) |
472 | 222 | >>> contents.find(text='fnord').parent | 222 | >>> contents.find(text='fnord').parent |
474 | 223 | <div lang="en-AU"...id="msgset_1_en_AU_suggestion_..._0"...>fnord</div> | 223 | <div ... id="msgset_1_en_AU_suggestion_..._0" lang="en-AU">fnord</div> |
475 | 224 | 224 | ||
476 | 225 | 225 | ||
477 | 226 | Messages changed in Ubuntu | 226 | Messages changed in Ubuntu |