summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/nntplib.py
diff options
context:
space:
mode:
authorbwarsaw2001-07-19 01:59:40 +0000
committerbwarsaw2001-07-19 01:59:40 +0000
commit02eb416f1a0d4290198c2a4e819b8c962f50a2bf (patch)
tree08c47ae23ed6a2f710ce108d9a3e540524e6970c /Mailman/pythonlib/nntplib.py
parent429107ec0b6c5f3d7f379de3dfeeba1031652fc5 (diff)
downloadmailman-02eb416f1a0d4290198c2a4e819b8c962f50a2bf.tar.gz
mailman-02eb416f1a0d4290198c2a4e819b8c962f50a2bf.tar.zst
mailman-02eb416f1a0d4290198c2a4e819b8c962f50a2bf.zip
A revamp to use the new membership API, and to be able to set/get
member's real names. Specifically, main(): IsMember() -> isMember(); FindUser()/GetUserSubscribedAddress() -> getMemberCPAddress() GetPreferredLanguage() -> getMemberLanguage() Support the printing of topic details when they click on the "Details" link after the topic name (works like admin interface's VARHELP). In the change-of-address stanza, add a check for the fullname field, which contains the member's real name. After extracting the fullname, new-address, and confirm-address fields, be more careful about including error messages, so that if the real name field is set or cleared, we ignore the address fields if they are both blank. Handle setting the member's name globally, just like a global change of address. DeleteMember() -> ApprovedDeleteMember() Add recognition of the ReceiveNonmatchingTopics flag to determine what the user wants for messages that match no topics (they can either receive them or ignore them). GetUserOption() -> getMemberOption() Add processing of user topic selections. SetUserOption() -> setMemberOption() and don't special case when setting digest deliver; setMemberOption() handles that properly. options_page(): Include the user's full name in presentable_user, as in "john.doe@dom.ain, John Doe". If there's no user name then just print the email address as before. "Change My Address" button -> "Change My Address and Name" Add replacements for the fullname box, and the topics option. IsMember() -> isMember() ChangeUserPassword() -> setMemberPassword() SetUserOption() -> setMemberOption() topic_details(): New method to include the topic details in the top information area.
Diffstat (limited to 'Mailman/pythonlib/nntplib.py')
0 files changed, 0 insertions, 0 deletions