diff options
| author | bwarsaw | 2001-07-19 01:33:38 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-07-19 01:33:38 +0000 |
| commit | 5e4dcec7406cd091fdd94e0d2d105c6be76a8b6b (patch) | |
| tree | 4920df5a7739f6df86960843ce84b681f9bd6b19 /Mailman/Cgi/options.py | |
| parent | 81e4d9dc47929c1684f67412b085e8f8a9685a83 (diff) | |
| download | mailman-5e4dcec7406cd091fdd94e0d2d105c6be76a8b6b.tar.gz mailman-5e4dcec7406cd091fdd94e0d2d105c6be76a8b6b.tar.zst mailman-5e4dcec7406cd091fdd94e0d2d105c6be76a8b6b.zip | |
A revamp to use the new category components, the new membership API,
and to be able to set/get member's real names. Specifically,
CATEGORIES: Don't hardwire these here. Instead they are extracted via
mlist.GetConfigCategories().
main(): GetMembers() -> getRegularMemberKeys()
get_config_options(): Removed. Use mlist.GetConfigInfo() instead.
show_results(): Don't hardwire sub-categories. Instead get them from
mlist.GetConfigSubCategories().
get_item_gui_value(): Added a new kind of gui widget, the `Topics'
widget which includes at least three boxes (for topic name,
regexp, and description), along with possibly a Delete button, an
Add button, and an "add where" pull down menu.
membership_options(): Instead of using GetMembers() and
GetDigestMembers(), use the new membership API methods
getMembers(), getMemberName(). Also use getMemberOption() instead
of GetUserOption(). In the membership list, add a text box for
the member's real name.
change_option(): We now allow gui components to optionally handle the
form data themselves. If the component has a HandleForm() method,
it is called, passing the MailList object, the cgi form data
structure, and the Document object.
DeleteMember() -> ApprovedDeleteMember()
SetUserDigest() -> setMemberOption(... mm_cfg.Digests, ...)
SetPreferredLanguage() -> setMemberLanguage()
SetUserOption() -> setMemberOption()
Added setMemberName() to set the member's full name.
get_config_options(): Removed.
Diffstat (limited to 'Mailman/Cgi/options.py')
0 files changed, 0 insertions, 0 deletions
