Part of lp.registry.browser.person View In Hierarchy
Known subclasses: lp.registry.browser.person.PersonIndexView, lp.registry.browser.poll.TeamPollsView
Method | should_show_ubuntu_coc_section | Should the 'Code of Conduct' section be shown? |
Method | should_show_ircnicknames_section | Should the 'IRC nicknames' section be shown? |
Method | should_show_jabberids_section | Should the 'Jabber IDs' section be shown? |
Method | should_show_sshkeys_section | Should the 'SSH keys' section be shown? |
Method | should_show_gpgkeys_section | Should the 'OpenPGP keys' section be shown? |
Method | gpg_keys | A cached version of the users OpenPGP keys. |
Method | is_probationary_or_invalid_user | True when the user is not active or does not have karma. |
Method | recently_approved_members | Undocumented |
Method | recently_proposed_members | Undocumented |
Method | recently_invited_members | Undocumented |
Method | recently_approved_hidden | Optionally hide the div. |
Method | recently_proposed_hidden | Optionally hide the div. |
Method | recently_invited_hidden | Optionally hide the div. |
Method | openpolls | Undocumented |
Method | closedpolls | Undocumented |
Method | notyetopenedpolls | Undocumented |
Method | contributions | Cache the results of getProjectsAndCategoriesContributedTo(). |
Method | contributed_categories | Return all karma categories in which this person has some karma. |
Method | context_is_probably_a_team | Return True if we have any indication that context is a team. |
Method | is_delegated_identity | Should the page delegate identity to the OpenId identitier. |
Method | openid_identity_url | The public OpenID identity URL. That's the profile page. |
Method | getURLToAssignedBugsInProgress | Return an URL to a page which lists all bugs assigned to this |
Method | assigned_bugs_in_progress | Return up to 5 assigned bugs that are In Progress. |
Method | assigned_specs_in_progress | Return up to 5 assigned specs that are being worked on. |
Method | has_assigned_bugs_or_specs_in_progress | Does the user have any bugs or specs that are being worked on? |
Method | viewing_own_page | Undocumented |
Method | can_contact | Can the user contact this context (this person or team)? |
Method | should_show_polls_portlet | Undocumented |
Method | has_current_polls | Return True if this team has any non-closed polls. |
Method | userIsOwner | Return True if the user is the owner of this Team. |
Method | findUserPathToTeam | Undocumented |
Method | userIsParticipant | Return true if the user is a participant of this team. |
Method | email_address_visibility | The EmailAddressVisibleState of this person or team. |
Method | visible_email_addresses | The list of email address that can be shown. |
Method | visible_email_address_description | A description of who can see a user's email addresses. |
Method | showSSHKeys | Return a data structure used for display of raw SSH keys |
Method | archive_url | Return a url to a mailing list archive for the team's list. |
Method | languages | The user's preferred languages, or English if none are set. |
Method | should_show_ppa_section | Return True if "Personal package archives" is to be shown. |
Method | visible_ppas | Undocumented |
Method | time_zone_offset | Return a string with offset from UTC |
Inherited from FeedsMixin:
Method | feed_links | Undocumented |
Inherited from ContactViaWebLinksMixin:
Method | group_to_contact | Contacting a team may contact different email addresses. |
Method | contact_link_title | Return the appropriate +contactuser link title for the tooltip. |
Method | specific_contact_text | Return the appropriate link text. |
It's shown when the person has signed the code of conduct or has rights to sign it.
It's shown when the person has IRC nicknames registered or has rights to register new ones.
It's shown when the person has Jabber IDs registered or has rights to register new ones.
It's shown when the person has SSH keys registered or has rights to register new ones.
It's shown when the person has OpenPGP keys registered or has rights to register new ones.
Some content should not be rendered when the context is not a an established user. For example, probationary and invalid user pages must not be indexed by search engines and their narrative linkified.
The AJAX on the page needs the elements to be present but hidden in case it adds a member to the list.
The AJAX on the page needs the elements to be present but hidden in case it adds a member to the list.
The AJAX on the page needs the elements to be present but hidden in case it adds a member to the list.
For now, all we do is check whether or not any email associated with our context contains the '@lists.' string as that's a very good indication this is a team which was automatically created.
This can only be used when the context is an automatically created profile (account_status == NOACCOUNT).
We only do this if it's enabled for the vhost.
Users can contact other valid users and teams. Anonymous users cannot contact persons or teams, and no one can contact an invalid person (inactive or without a preferred email address).
A person is said to be a team participant when they're a member of that team, either directly or indirectly via another team membership.
Returns | The state of what a logged in user may know of a
person or team's email addresses. (type: EmailAddressVisibleState ) |
The list contains email addresses when the EmailAddressVisibleState's PUBLIC or ALLOWED attributes are True. The preferred email address is the first in the list, the other validated email addresses are not ordered. When the team is the context, only the preferred email address is in the list.
Returns | A list of email address strings that can be seen. |
Returns | A string, or None if the email addresses cannot be viewed by any user. |
If the person is not a team, does not have a mailing list, that mailing list has never been activated, or the team is private and the logged in user is not a team member, return None instead. The url is also returned if the user is a Launchpad admin.