Merge lp:~bac/launchpad/bug-432026-person-edit into lp:launchpad
- bug-432026-person-edit
- Merge into devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~bac/launchpad/bug-432026-person-edit | ||||
Merge into: | lp:launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~bac/launchpad/bug-432026-person-edit | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Canonical Launchpad Engineering | Pending | ||
Review via email: mp+11999@code.launchpad.net |
Commit message
Description of the change
Brad Crittenden (bac) wrote : | # |
Curtis Hovey (sinzui) wrote : | # |
Thanks for doing this Brad.
This branch looks fine to land. I have a few suggestions, but don't let them stop you from landing the code today.
> === renamed file 'lib/lp/
I like the rename.
> --- lib/lp/
> +++ lib/lp/
> @@ -7,15 +7,13 @@
>
> Sample Person will now add a couple email addresses to his account.
>
> - # Workaround while https:/
> - # fixed.
> >>> from lp.services.mail import stub
> - >>> stub.test_emails[:] = []
> + >>> assert not stub.test_emails, (
> + ... "stub.test_emails should be empty at the start of the test.")
You can remove the assert. The problem was fixed a long time ago and lots
of tests use the stub without clearing it.
> >>> browser = setupBrowser(
> >>> browser.open('http://
> - >>> browser.
> - >>> browser.
> + >>> browser.
This is fine as it is, but I usually use the alt text of an image to get the
link.
>>> browser.
^ Did that not work?
Brad Crittenden (bac) wrote : | # |
On Sep 17, 2009, at 15:53 , Curtis Hovey wrote:
> Review: Approve code
> Thanks for doing this Brad.
>
> This branch looks fine to land. I have a few suggestions, but don't
> let them stop you from landing the code today.
>
>> === renamed file 'lib/lp/
>> 'lib/lp/
>
> I like the rename.
>
>> --- lib/lp/
>> 01:39:29 +0000
>> +++ lib/lp/
>> 16:18:19 +0000
>> @@ -7,15 +7,13 @@
>>
>> Sample Person will now add a couple email addresses to his account.
>>
>> - # Workaround while https:/
>> is not
>> - # fixed.
>>>>> from lp.services.mail import stub
>> - >>> stub.test_emails[:] = []
>> + >>> assert not stub.test_emails, (
>> + ... "stub.test_emails should be empty at the start of the
>> test.")
>
> You can remove the assert. The problem was fixed a long time ago and
> lots
> of tests use the stub without clearing it.
Great. We're not so good about cleaning up old XXX work-arounds and
comments.
>
>>>>> browser = setupBrowser(
>>>>> browser.open('http://
>> - >>> browser.
>> - >>> browser.
>> + >>> browser.
>
> This is fine as it is, but I usually use the alt text of an image to
> get the
> link.
I'll leave this test as is but keep that in mind.
>
>>>> browser.
>
> ^ Did that not work?
Didn't try it. I'll have a go next time around.
Preview Diff
1 | === modified file 'lib/canonical/launchpad/pagetitles.py' | |||
2 | --- lib/canonical/launchpad/pagetitles.py 2009-09-17 16:32:56 +0000 | |||
3 | +++ lib/canonical/launchpad/pagetitles.py 2009-09-17 18:27:21 +0000 | |||
4 | @@ -657,8 +657,6 @@ | |||
5 | 657 | person_answer_contact_for = ContextDisplayName( | 657 | person_answer_contact_for = ContextDisplayName( |
6 | 658 | 'Projects for which %s is an answer contact') | 658 | 'Projects for which %s is an answer contact') |
7 | 659 | 659 | ||
8 | 660 | person_edit = ContextDisplayName(smartquote("%s's details")) | ||
9 | 661 | |||
10 | 662 | # person_foaf is an rdf file | 660 | # person_foaf is an rdf file |
11 | 663 | 661 | ||
12 | 664 | person_hwdb_submissions = ContextDisplayName( | 662 | person_hwdb_submissions = ContextDisplayName( |
13 | 665 | 663 | ||
14 | === modified file 'lib/lp/registry/browser/person.py' | |||
15 | --- lib/lp/registry/browser/person.py 2009-09-17 16:12:20 +0000 | |||
16 | +++ lib/lp/registry/browser/person.py 2009-09-17 18:48:15 +0000 | |||
17 | @@ -3796,6 +3796,8 @@ | |||
18 | 3796 | 3796 | ||
19 | 3797 | implements(IPersonEditMenu) | 3797 | implements(IPersonEditMenu) |
20 | 3798 | 3798 | ||
21 | 3799 | label = 'Change your personal details' | ||
22 | 3800 | |||
23 | 3799 | # Will contain an hidden input when the user is renaming his | 3801 | # Will contain an hidden input when the user is renaming his |
24 | 3800 | # account with full knowledge of the consequences. | 3802 | # account with full knowledge of the consequences. |
25 | 3801 | i_know_this_is_an_openid_security_issue_input = None | 3803 | i_know_this_is_an_openid_security_issue_input = None |
26 | 3802 | 3804 | ||
27 | === renamed file 'lib/lp/registry/stories/foaf/xx-addemail.txt' => 'lib/lp/registry/stories/foaf/xx-add-email.txt' | |||
28 | --- lib/lp/registry/stories/foaf/xx-addemail.txt 2009-05-12 01:39:29 +0000 | |||
29 | +++ lib/lp/registry/stories/foaf/xx-add-email.txt 2009-09-17 16:18:19 +0000 | |||
30 | @@ -7,15 +7,13 @@ | |||
31 | 7 | 7 | ||
32 | 8 | Sample Person will now add a couple email addresses to his account. | 8 | Sample Person will now add a couple email addresses to his account. |
33 | 9 | 9 | ||
34 | 10 | # Workaround while https://launchpad.net/launchpad/+bug/39016 is not | ||
35 | 11 | # fixed. | ||
36 | 12 | >>> from lp.services.mail import stub | 10 | >>> from lp.services.mail import stub |
38 | 13 | >>> stub.test_emails[:] = [] | 11 | >>> assert not stub.test_emails, ( |
39 | 12 | ... "stub.test_emails should be empty at the start of the test.") | ||
40 | 14 | 13 | ||
41 | 15 | >>> browser = setupBrowser(auth='Basic test@canonical.com:test') | 14 | >>> browser = setupBrowser(auth='Basic test@canonical.com:test') |
42 | 16 | >>> browser.open('http://launchpad.dev/~name12') | 15 | >>> browser.open('http://launchpad.dev/~name12') |
45 | 17 | >>> browser.getLink('Change details').click() | 16 | >>> browser.getLink(url='+editemails').click() |
44 | 18 | >>> browser.getLink('E-mail Settings').click() | ||
46 | 19 | >>> browser.url | 17 | >>> browser.url |
47 | 20 | 'http://launchpad.dev/~name12/+editemails' | 18 | 'http://launchpad.dev/~name12/+editemails' |
48 | 21 | 19 | ||
49 | @@ -72,11 +70,10 @@ | |||
50 | 72 | 70 | ||
51 | 73 | Now that the address is confirmed he sees it in the list of his confirmed | 71 | Now that the address is confirmed he sees it in the list of his confirmed |
52 | 74 | addresses. | 72 | addresses. |
54 | 75 | 73 | ||
55 | 76 | >>> from canonical.launchpad.testing.pages import strip_label | 74 | >>> from canonical.launchpad.testing.pages import strip_label |
56 | 77 | 75 | ||
59 | 78 | >>> browser.getLink('Change details').click() | 76 | >>> browser.getLink(url='+editemails').click() |
58 | 79 | >>> browser.getLink('E-mail Settings').click() | ||
60 | 80 | >>> confirmed = browser.getControl(name="field.VALIDATED_SELECTED") | 77 | >>> confirmed = browser.getControl(name="field.VALIDATED_SELECTED") |
61 | 81 | >>> [strip_label(option) for option in confirmed.displayOptions] | 78 | >>> [strip_label(option) for option in confirmed.displayOptions] |
62 | 82 | ['test@canonical.com', 'test2@canonical.com', 'testing@canonical.com'] | 79 | ['test@canonical.com', 'test2@canonical.com', 'testing@canonical.com'] |
63 | 83 | 80 | ||
64 | === modified file 'lib/lp/registry/stories/foaf/xx-add-sshkey.txt' | |||
65 | --- lib/lp/registry/stories/foaf/xx-add-sshkey.txt 2009-09-16 17:56:17 +0000 | |||
66 | +++ lib/lp/registry/stories/foaf/xx-add-sshkey.txt 2009-09-17 16:18:19 +0000 | |||
67 | @@ -102,17 +102,6 @@ | |||
68 | 102 | ... | 102 | ... |
69 | 103 | Unauthorized: ... | 103 | Unauthorized: ... |
70 | 104 | 104 | ||
71 | 105 | Nor is the option to edit the user's SSH keys displayed in the navigation | ||
72 | 106 | menu: | ||
73 | 107 | |||
74 | 108 | >>> admin_browser.open('http://launchpad.dev/~salgado') | ||
75 | 109 | >>> admin_browser.getLink('Change details').click() | ||
76 | 110 | >>> print_navigation_links(admin_browser.contents) | ||
77 | 111 | Personal | ||
78 | 112 | E-mail Settings: .../~salgado/+editemails | ||
79 | 113 | OpenPGP Keys: .../~salgado/+editpgpkeys | ||
80 | 114 | Passwords: .../~salgado/+changepassword | ||
81 | 115 | |||
82 | 116 | Salgado chooses to remove one of his ssh keys from Launchpad. The link | 105 | Salgado chooses to remove one of his ssh keys from Launchpad. The link |
83 | 117 | to edit his keys is on the page. | 106 | to edit his keys is on the page. |
84 | 118 | 107 | ||
85 | 119 | 108 | ||
86 | === renamed file 'lib/lp/registry/stories/foaf/xx-setpreferredemail.txt' => 'lib/lp/registry/stories/foaf/xx-set-preferredemail.txt' | |||
87 | --- lib/lp/registry/stories/foaf/xx-setpreferredemail.txt 2009-09-16 21:00:11 +0000 | |||
88 | +++ lib/lp/registry/stories/foaf/xx-set-preferredemail.txt 2009-09-17 16:18:19 +0000 | |||
89 | @@ -15,8 +15,7 @@ | |||
90 | 15 | 15 | ||
91 | 16 | >>> browser = setupBrowser(auth='Basic testing@canonical.com:test') | 16 | >>> browser = setupBrowser(auth='Basic testing@canonical.com:test') |
92 | 17 | >>> browser.open('http://launchpad.dev/~name12') | 17 | >>> browser.open('http://launchpad.dev/~name12') |
95 | 18 | >>> browser.getLink('Change details').click() | 18 | >>> browser.getLink(url='+editemails').click() |
94 | 19 | >>> browser.getLink('E-mail Settings').click() | ||
96 | 20 | >>> print browser.url | 19 | >>> print browser.url |
97 | 21 | http://launchpad.dev/~name12/+editemails | 20 | http://launchpad.dev/~name12/+editemails |
98 | 22 | >>> print browser.title | 21 | >>> print browser.title |
99 | 23 | 22 | ||
100 | === modified file 'lib/lp/registry/stories/foaf/xx-validate-email.txt' | |||
101 | --- lib/lp/registry/stories/foaf/xx-validate-email.txt 2009-09-16 21:00:11 +0000 | |||
102 | +++ lib/lp/registry/stories/foaf/xx-validate-email.txt 2009-09-17 16:18:19 +0000 | |||
103 | @@ -52,8 +52,7 @@ | |||
104 | 52 | 52 | ||
105 | 53 | Check that the email address now shows up as validated. | 53 | Check that the email address now shows up as validated. |
106 | 54 | 54 | ||
109 | 55 | >>> browser.getLink('Change details').click() | 55 | >>> browser.getLink(url='+editemails').click() |
108 | 56 | >>> browser.getLink('E-mail Settings').click() | ||
110 | 57 | >>> browser.getControl(name="field.VALIDATED_SELECTED").getControl( | 56 | >>> browser.getControl(name="field.VALIDATED_SELECTED").getControl( |
111 | 58 | ... value='salgado@ubuntu.com') | 57 | ... value='salgado@ubuntu.com') |
112 | 59 | <ItemControl...optionValue='salgado@ubuntu.com'...> | 58 | <ItemControl...optionValue='salgado@ubuntu.com'...> |
113 | 60 | 59 | ||
114 | === modified file 'lib/lp/registry/stories/gpg-coc/01-claimgpg.txt' | |||
115 | --- lib/lp/registry/stories/gpg-coc/01-claimgpg.txt 2009-09-10 20:12:12 +0000 | |||
116 | +++ lib/lp/registry/stories/gpg-coc/01-claimgpg.txt 2009-09-17 16:18:19 +0000 | |||
117 | @@ -20,8 +20,8 @@ | |||
118 | 20 | Start out with a clean page containing no imported keys: | 20 | Start out with a clean page containing no imported keys: |
119 | 21 | 21 | ||
120 | 22 | >>> browser = setupBrowser(auth='Basic test@canonical.com:test') | 22 | >>> browser = setupBrowser(auth='Basic test@canonical.com:test') |
123 | 23 | >>> browser.open("http://launchpad.dev/~name12/+edit") | 23 | >>> browser.open("http://launchpad.dev/~name12") |
124 | 24 | >>> browser.getLink('OpenPGP Keys').click() | 24 | >>> browser.getLink(url='+editpgpkeys').click() |
125 | 25 | >>> print browser.title | 25 | >>> print browser.title |
126 | 26 | +editpgpkeys : Sample Person | 26 | +editpgpkeys : Sample Person |
127 | 27 | 27 | ||
128 | 28 | 28 | ||
129 | === modified file 'lib/lp/registry/stories/mailinglists/subscriptions.txt' | |||
130 | --- lib/lp/registry/stories/mailinglists/subscriptions.txt 2009-09-16 21:00:11 +0000 | |||
131 | +++ lib/lp/registry/stories/mailinglists/subscriptions.txt 2009-09-17 18:12:42 +0000 | |||
132 | @@ -83,8 +83,7 @@ | |||
133 | 83 | it's currently the team contact method. | 83 | it's currently the team contact method. |
134 | 84 | 84 | ||
135 | 85 | >>> browser.open('http://launchpad.dev/~carlos') | 85 | >>> browser.open('http://launchpad.dev/~carlos') |
138 | 86 | >>> browser.getLink("Change details").click() | 86 | >>> browser.getLink(url="+editemails").click() |
137 | 87 | >>> browser.getLink("E-mail Settings").click() | ||
139 | 88 | 87 | ||
140 | 89 | >>> from canonical.launchpad.helpers import backslashreplace | 88 | >>> from canonical.launchpad.helpers import backslashreplace |
141 | 90 | >>> print backslashreplace(browser.title) | 89 | >>> print backslashreplace(browser.title) |
142 | @@ -211,8 +210,7 @@ | |||
143 | 211 | Admins team, and he should know if the list is available. | 210 | Admins team, and he should know if the list is available. |
144 | 212 | 211 | ||
145 | 213 | >>> browser.open('http://launchpad.dev/~carlos') | 212 | >>> browser.open('http://launchpad.dev/~carlos') |
148 | 214 | >>> browser.getLink("Change details").click() | 213 | >>> browser.getLink(url="+editemails").click() |
147 | 215 | >>> browser.getLink("E-mail Settings").click() | ||
149 | 216 | >>> print backslashreplace(browser.title) | 214 | >>> print backslashreplace(browser.title) |
150 | 217 | +editemails : Carlos Perell\xf3 Mar\xedn | 215 | +editemails : Carlos Perell\xf3 Mar\xedn |
151 | 218 | 216 | ||
152 | @@ -245,8 +243,7 @@ | |||
153 | 245 | screen. | 243 | screen. |
154 | 246 | 244 | ||
155 | 247 | >>> browser.open('http://launchpad.dev/~jdub') | 245 | >>> browser.open('http://launchpad.dev/~jdub') |
158 | 248 | >>> browser.getLink("Change details").click() | 246 | >>> browser.getLink(url="+editemails").click() |
157 | 249 | >>> browser.getLink("E-mail Settings").click() | ||
159 | 250 | >>> print browser.title | 247 | >>> print browser.title |
160 | 251 | +editemails : Jeff Waugh | 248 | +editemails : Jeff Waugh |
161 | 252 | 249 | ||
162 | @@ -270,8 +267,7 @@ | |||
163 | 270 | His mailing list subscription is now available to be managed. | 267 | His mailing list subscription is now available to be managed. |
164 | 271 | 268 | ||
165 | 272 | >>> browser.open('http://launchpad.dev/~jdub') | 269 | >>> browser.open('http://launchpad.dev/~jdub') |
168 | 273 | >>> browser.getLink("Change details").click() | 270 | >>> browser.getLink(url="+editemails").click() |
167 | 274 | >>> browser.getLink("E-mail Settings").click() | ||
169 | 275 | >>> print browser.title | 271 | >>> print browser.title |
170 | 276 | +editemails : Jeff Waugh | 272 | +editemails : Jeff Waugh |
171 | 277 | 273 | ||
172 | @@ -346,8 +342,7 @@ | |||
173 | 346 | 342 | ||
174 | 347 | # Subscribe to the list using the normal technique. | 343 | # Subscribe to the list using the normal technique. |
175 | 348 | >>> browser.open('http://launchpad.dev/~carlos') | 344 | >>> browser.open('http://launchpad.dev/~carlos') |
178 | 349 | >>> browser.getLink("Change details").click() | 345 | >>> browser.getLink(url="+editemails").click() |
177 | 350 | >>> browser.getLink("E-mail Settings").click() | ||
179 | 351 | >>> rosetta_admins = browser.getControl( | 346 | >>> rosetta_admins = browser.getControl( |
180 | 352 | ... name='field.subscription.rosetta-admins') | 347 | ... name='field.subscription.rosetta-admins') |
181 | 353 | >>> rosetta_admins.value = ['Preferred address'] | 348 | >>> rosetta_admins.value = ['Preferred address'] |
182 | @@ -472,8 +467,7 @@ | |||
183 | 472 | 467 | ||
184 | 473 | >>> browser = setupBrowser(auth='Basic carlos@canonical.com:test') | 468 | >>> browser = setupBrowser(auth='Basic carlos@canonical.com:test') |
185 | 474 | >>> browser.open('http://launchpad.dev/~carlos') | 469 | >>> browser.open('http://launchpad.dev/~carlos') |
188 | 475 | >>> browser.getLink("Change details").click() | 470 | >>> browser.getLink(url="+editemails").click() |
187 | 476 | >>> browser.getLink("E-mail Settings").click() | ||
189 | 477 | >>> print backslashreplace(browser.title) | 471 | >>> print backslashreplace(browser.title) |
190 | 478 | +editemails : Carlos Perell\xf3 Mar\xedn | 472 | +editemails : Carlos Perell\xf3 Mar\xedn |
191 | 479 | 473 | ||
192 | @@ -551,8 +545,7 @@ | |||
193 | 551 | ... auth='Basic james.blackwell@ubuntulinux.com:jblack') | 545 | ... auth='Basic james.blackwell@ubuntulinux.com:jblack') |
194 | 552 | 546 | ||
195 | 553 | >>> browser.open('http://launchpad.dev/~jblack') | 547 | >>> browser.open('http://launchpad.dev/~jblack') |
198 | 554 | >>> browser.getLink("Change details").click() | 548 | >>> browser.getLink(url="+editemails").click() |
197 | 555 | >>> browser.getLink("E-mail Settings").click() | ||
199 | 556 | >>> print_radio_button_field(browser.contents, | 549 | >>> print_radio_button_field(browser.contents, |
200 | 557 | ... 'mailing_list_auto_subscribe_policy') | 550 | ... 'mailing_list_auto_subscribe_policy') |
201 | 558 | ( ) Never subscribe to mailing lists | 551 | ( ) Never subscribe to mailing lists |
202 | @@ -569,8 +562,7 @@ | |||
203 | 569 | 562 | ||
204 | 570 | # Change James' setting | 563 | # Change James' setting |
205 | 571 | >>> browser.open('http://launchpad.dev/~jblack') | 564 | >>> browser.open('http://launchpad.dev/~jblack') |
208 | 572 | >>> browser.getLink("Change details").click() | 565 | >>> browser.getLink(url="+editemails").click() |
207 | 573 | >>> browser.getLink("E-mail Settings").click() | ||
209 | 574 | >>> set_autosubscribe_policy_and_submit('ALWAYS') | 566 | >>> set_autosubscribe_policy_and_submit('ALWAYS') |
210 | 575 | ( ) Never subscribe to mailing lists | 567 | ( ) Never subscribe to mailing lists |
211 | 576 | ( ) Ask me when I join a team | 568 | ( ) Ask me when I join a team |
212 | @@ -586,8 +578,7 @@ | |||
213 | 586 | 578 | ||
214 | 587 | # Change James' setting | 579 | # Change James' setting |
215 | 588 | >>> browser.open('http://launchpad.dev/~jblack') | 580 | >>> browser.open('http://launchpad.dev/~jblack') |
218 | 589 | >>> browser.getLink("Change details").click() | 581 | >>> browser.getLink(url="+editemails").click() |
217 | 590 | >>> browser.getLink("E-mail Settings").click() | ||
219 | 591 | >>> set_autosubscribe_policy_and_submit('NEVER') | 582 | >>> set_autosubscribe_policy_and_submit('NEVER') |
220 | 592 | (*) Never subscribe to mailing lists | 583 | (*) Never subscribe to mailing lists |
221 | 593 | ( ) Ask me when I join a team | 584 | ( ) Ask me when I join a team |
222 | @@ -600,8 +591,7 @@ | |||
223 | 600 | 591 | ||
224 | 601 | # Restore James' setting. | 592 | # Restore James' setting. |
225 | 602 | >>> browser.open('http://launchpad.dev/~jblack') | 593 | >>> browser.open('http://launchpad.dev/~jblack') |
228 | 603 | >>> browser.getLink("Change details").click() | 594 | >>> browser.getLink(url="+editemails").click() |
227 | 604 | >>> browser.getLink("E-mail Settings").click() | ||
229 | 605 | >>> set_autosubscribe_policy_and_submit('ON_REGISTRATION') | 595 | >>> set_autosubscribe_policy_and_submit('ON_REGISTRATION') |
230 | 606 | ( ) Never subscribe to mailing lists | 596 | ( ) Never subscribe to mailing lists |
231 | 607 | (*) Ask me when I join a team | 597 | (*) Ask me when I join a team |
232 | 608 | 598 | ||
233 | === modified file 'lib/lp/registry/templates/person-edit.pt' | |||
234 | --- lib/lp/registry/templates/person-edit.pt 2009-07-17 17:59:07 +0000 | |||
235 | +++ lib/lp/registry/templates/person-edit.pt 2009-09-17 18:48:15 +0000 | |||
236 | @@ -3,16 +3,12 @@ | |||
237 | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
238 | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
239 | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
244 | 6 | xml:lang="en" | 6 | metal:use-macro="view/macro:page/main_only" |
241 | 7 | lang="en" | ||
242 | 8 | dir="ltr" | ||
243 | 9 | metal:use-macro="view/macro:page/onecolumn" | ||
245 | 10 | i18n:domain="launchpad" | 7 | i18n:domain="launchpad" |
246 | 11 | > | 8 | > |
247 | 12 | <body> | 9 | <body> |
248 | 13 | <div metal:fill-slot="main" | 10 | <div metal:fill-slot="main" |
249 | 14 | tal:define="overview_menu context/menu:overview"> | 11 | tal:define="overview_menu context/menu:overview"> |
250 | 15 | <h1>Change your personal details</h1> | ||
251 | 16 | 12 | ||
252 | 17 | <div metal:use-macro="context/@@launchpad_form/form"> | 13 | <div metal:use-macro="context/@@launchpad_form/form"> |
253 | 18 | 14 |
= Summary =
The person-edit.pt template needs to be converted, as stated in bug 432026.
== Proposed fix ==
Simple conversion of the template and then fixing failed tests.
== Pre-implementation notes ==
Brief chat with Curtis.
== Implementation details ==
In the old page there were navigation lozenges that linked to lower edit pages, e.g.
for editing emails, wikiname, etc. A lot of the pagetest tested going to the 'Change
details' page and then navigating to correct page. The links to the individual edit
pages are now available off the person index page. The tests were changed to go
directly to the lower edit page, which saves a page load, which will make Julian happy.
A few tests were renamed for consistency.
== Tests ==
Run all of the registry tests:
bin/test -vvm lp.registry
== Demo and Q/A ==
https:/ /launchpad. dev/~mark and click on 'Change details'.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ stories/ mailinglists/ subscriptions. txt /launchpad/ pagetitles. py registry/ stories/ foaf/xx- validate- email.txt registry/ stories/ foaf/xx- add-sshkey. txt registry/ stories/ foaf/xx- set-preferredem ail.txt registry/ stories/ foaf/xx- add-email. txt registry/ stories/ gpg-coc/ 01-claimgpg. txt registry/ browser/ person. py registry/ templates/ person- edit.pt
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ registry/ browser/ person. py interface' (No module named restful)
117: [F0401] Unable to import 'lazr.delegates' (No module named delegates)
118: [F0401] Unable to import 'lazr.config' (No module named config)
119: [F0401] Unable to import 'lazr.restful.
--
Brad Crittenden
<email address hidden>