Straightforward implementation, clear comments, good code. ;)
> === modified file 'lib/lp/registry/browser/tests/person-views.txt'
> --- lib/lp/registry/browser/tests/person-views.txt 2009-11-20 18:44:57 +0000
> +++ lib/lp/registry/browser/tests/person-views.txt 2009-12-14 23:00:33 +0000
> @@ -4,7 +4,127 @@
> person's information.
>
>
> -== Email address disclosure ==
> +Probationary and invalid users
> +------------------------------
> +
> +The person +index view provides the is_probationary_or_invalid_user so that
> +page features can be disabled because the user may abuse them. Active
> +users with karma are not on probation. The user's homepage_content formatted
> +as HTML
Add an "is" and a ".", please. ;)
[...]
> === modified file 'lib/lp/registry/templates/person-index.pt'
As expected.
> === modified file 'lib/lp/testing/views.py'
Thanks for the drive-by fix.
Cheers,
Henning
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 15.12.2009 00:00, Curtis Hovey schrieb:
> Curtis Hovey has proposed merging lp:~sinzui/launchpad/spam-eggs-bug-495250 into lp:launchpad/devel.
> This is my branch to discourage spammers.
Yeah! Cool stuff! Thanks for the quick and smart fix.
review approve
All I found was a little glitch in a comment...
> === modified file 'lib/lp/ registry/ browser/ person. py'
Straightforward implementation, clear comments, good code. ;)
> === modified file 'lib/lp/ registry/ browser/ tests/person- views.txt' registry/ browser/ tests/person- views.txt 2009-11-20 18:44:57 +0000 registry/ browser/ tests/person- views.txt 2009-12-14 23:00:33 +0000 ------- ------- ------- --- _or_invalid_ user so that
> --- lib/lp/
> +++ lib/lp/
> @@ -4,7 +4,127 @@
> person's information.
>
>
> -== Email address disclosure ==
> +Probationary and invalid users
> +------
> +
> +The person +index view provides the is_probationary
> +page features can be disabled because the user may abuse them. Active
> +users with karma are not on probation. The user's homepage_content formatted
> +as HTML
Add an "is" and a ".", please. ;)
[...]
> === modified file 'lib/lp/ registry/ templates/ person- index.pt'
As expected.
> === modified file 'lib/lp/ testing/ views.py'
Thanks for the drive-by fix.
Cheers,
Henning
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org
nW2cACgkQBT3oW1 L17iigywCcDytaS GCqRg0vliB5hMTq AOT0 6N0J+kAeoBbYvvl tNGPfxnV
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAks
x7IAn2Pb+
=qBEM
-----END PGP SIGNATURE-----