summaryrefslogtreecommitdiff
path: root/Mailman/Cgi (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* process_form(): When getting the member's full name out of the webbwarsaw2002-09-171-2/+2
| | | | | form, we need to convert it to a unicode string using the charset of the language of the page.
* main(): When getting the member's full name out of the web form, webwarsaw2002-09-171-10/+9
| | | | | | | | need to convert it to a unicode string using the charset of the language of the page. options_page(): When printing the member's full name, be sure to encode it to the charset of the language of the page.
* unsubscription_prompt(), addrchange_prompt(), reenable_prompt(): Whenbwarsaw2002-09-171-1/+12
| | | | | | showing the unsub'ing (or changing, or re-enabling) member's name, use the version converted to the charset of the web page (or with &#XYZ; conversion).
* show_pending_unsubs(): When showing the unsub'ing member's name, usebwarsaw2002-09-171-4/+3
| | | | | the version converted to the charset of the web page (or with &#XYZ; conversion).
* membership_options(): We need to prep the user's full name into a charsetbwarsaw2002-09-171-3/+4
| | | | | | | | | | appropriate for the web page we're spitting out. Take the unicode name string and uncanonstr() it so that it'll either be a string encoded in the charset of the page, or an ascii string containing html &#XYZ; entities. change_options(): Take the full name string received in the web form and canonstr() it so that we get a unicode string.
* show_post_requests(): The default rejection notice wasn't gettingbwarsaw2002-09-131-3/+2
| | | | | translated. Closes SF bug #596361 by Tokio Kikuchi, albeit with a slightly different patch.
* request_creation(): Using GetDirectories() makes Mailman vulnerable tobwarsaw2002-09-131-1/+1
| | | | | | problems where stray directories are added to $prefix/templates. We already know all the acceptable language codes from LC_DESCRIPTIONS so use that instead. Closes SF bug #605557 reported by Emilio Delgado.
* subscription_prompt(): The moderator only approves requests whenbwarsaw2002-09-131-1/+3
| | | | | subscribe_policy is 2 or 3. Fixes bug #605933 reported by Ron Jarrell.
* change_options(): Handle the problem of when an invited user isbwarsaw2002-09-131-1/+4
| | | | already a member. Fixes bug #605933 reported by Ron Jarrell.
* Global.__nonzero__(): Fixed typo, missing return. Closes SF bugbwarsaw2002-09-111-1/+1
| | | | 607469 by John Parise.
* main(): Cute hack by Donn Cave to optimize the option settings when nobwarsaw2002-09-051-2/+5
| | | | | | global opts are requested. This adds a __nonzero__() method to class Global and tests for truth before doing the gmlist loop. Closes SF patch #602084.
* listinfo_overview(): Actually, use wording similar to admin.pybwarsaw2002-08-291-2/+2
|
* listinfo_overview(): Fixed typo reported by Greg Ward.bwarsaw2002-08-291-1/+1
|
* heldmsg_prompt(): Must unpack the data before trying to use the senderbwarsaw2002-08-231-2/+3
| | | | information. Closes SF bug #599112 by Peer Heinlein.
* subscription_prompt(): Some u/i changes suggested by PieterB in SF bugbwarsaw2002-08-221-8/+11
| | | | #597407.
* heldmsg_prompt(): Watch out for situations when the list administratorbwarsaw2002-08-161-7/+16
| | | | | has already disposed of a message that the user is now trying to confirm/cancel. Closes SF bug #594703 reported by Garey Mills.
* membership_options(): Searching for a member should match against thebwarsaw2002-08-151-3/+6
| | | | full name too.
* options_help(): When displaying a variable detail, use the humanbwarsaw2002-08-141-1/+2
| | | | readable category name in the "return to <category> page" text.
* subscription_prompt(): Don't provide the choice of digests orbwarsaw2002-08-091-3/+6
| | | | | non-digests unless the subscriber actually has a choice! Closes SF bug # 563091 (not the u/i part).
* subscription_prompt(): Slightly better alignment of buttons inbwarsaw2002-07-261-2/+1
| | | | response to SF bug #574240.
* main(): When there are no more pending requests, include a reloadbwarsaw2002-07-241-0/+3
| | | | | link so you don't have to go back to the admin page if more helds have shown up.
* main(): Fixes for requesting a change of address where the new addressbwarsaw2002-07-111-5/+27
| | | | | | | | is already a member of the current list. If the change is requested globally, we'll output a warning message but still allow the change to go through (we'll catch already-a-member situations elsewhere). If the request is not global, then we'll refuse to make the change.
* mass_subscribe(), change_options(): Add a text box on the massbwarsaw2002-05-281-2/+12
| | | | | subscribe page so that the admin can add a custom message to be prepended to the welcome/invite notification.
* get_item_gui_value(): Removed an unused local variable.bwarsaw2002-05-251-1/+0
|
* QuoteHyperChars() -> websafe()bwarsaw2002-05-2210-27/+26
| | | | | Also, use Utils.websafe() consistently throughout, instead of the inconsistent calls to cgi.escape().
* loginpage(): In the language form, include a hidden `email' item sobwarsaw2002-05-031-0/+2
| | | | | that any email address previously provided propagates to the form in the new language.
* membership_options(), change_options(): The mapping of short optionsbwarsaw2002-05-021-4/+3
| | | | | names to their flags has been moved into Defaults.py.in via the OPTINFO dictionary.
* main(): When calling addrchange_prompt(), catch NotAMemberErrors thatbwarsaw2002-04-111-1/+9
| | | | | may occur if the address requesting a change has been removed before the change was confirmed. This closes SF bug #445961.
* process_request(): When trying to find the mapping from url-host tobwarsaw2002-04-051-1/+2
| | | | | email host name, if there is no mapping in the VIRTUAL_HOSTS table, use DEFAULT_EMAIL_HOST instead of the url-host. Closes SF bug #530949.
* showresults(), membership_options(): A nicer placement and u/i for thebwarsaw2002-03-291-14/+14
| | | | "search for member" button.
* show_pending_subs(), show_pending_unsubs(): Remove duplicates bothbwarsaw2002-03-271-2/+10
| | | | | | | from the web view of pending actions, and from the database. Arguably, we should do this when we add the subscriptions in the first place, but that's inconvenient because we don't maintain the proper data structures in the request.db database.
* GetAdminEmail() eradication campaign.bwarsaw2002-03-261-1/+1
| | | | | process_form(): Make the notification email appear to come from the -bounces address.
* show_helds_overview(): We can always guarantee that the length of thebwarsaw2002-03-261-5/+1
| | | | record in a message held request is always 6.
* change_options(): A kludge, but don't set the emergency attribute frombwarsaw2002-03-251-2/+4
| | | | | | the form data if we're logging in. Apparently, using a checkbox in this way doesn't get us tri-state (i.e. None for not present, 0 and 1); it just gets us None or 1.
* Feedback from Guido...bwarsaw2002-03-232-13/+21
| | | | | | | | | | | | | | | | | | | | listinfo.py list_listinfo(): If the list only has one language enabled, omit the language choice box. It's a waste of screen real-estate. HTMLFormatter GetStandardReplacements(): ditto options.py loginpage(): ditto. Also omit the paragraph that talks about session cookies. It's probably over the heads of most users. main(): Don't print the "No address given" if we're traveling here from the listinfo page and they left the address field blank, as per the instructions.
* Good suggestion by Fred Drake: the delivery of MIME vs. plain textbwarsaw2002-03-221-18/+41
| | | | | | | | | | | | | | | | | | should be settable globally, since you're probably using the same MUA for all your list traffic. Specifically: main(): Define a Global class as a bag of attributes, and use this instead of the separate global_* variables. Added the extraction of the mime-globally form variable which sets the MIME digest setting globally. Always call global_options(), which now does the "do we need to do anything" test before locking the list. options_page(): Replace <mm-global-mime-button> with a checkbox for setting the MIME/plain text flag. global_options(): Signature changed to take an instance. Make sure that all non _* attributes have a non-None value before locking the list. Also, set the DisableMime member option.
* main(): Fix some of the messages so the end with a period and a space,bwarsaw2002-03-221-2/+2
| | | | | otherwise status for multiple actions may run together. Found by Fred Drake.
* Update copyright years.bwarsaw2002-03-167-7/+7
|
* show_results(): Add support for the emergency hold button. Whenbwarsaw2002-03-151-24/+37
| | | | | | | | | | | | enabled, it lights up a rude solo light, so there's no missing it. UI changes to make this work better: the form now includes the links table to pick up the emergency checkbox, which shows on all admin pages. Get rid of the duplicated links at the bottom of the page -- I didn't like them much anyway. change_options(): Look for the emergency form variable and enable mlist.emergency if found.
* main(): Removed bogus i18n markup around a `whence' argument tobwarsaw2002-03-141-1/+1
| | | | | DeleteMember(). whence is destined for the log files, so it should definitely not be translated!
* main(), subscription_prompt(), subscription_confirm(): Thebwarsaw2002-03-141-6/+12
| | | | | Pending.SUBSCRIPTION key now uses UserDesc instances instead of tuples.
* mass_subscribe(), change_options(): Added a "subscribe or invite"bwarsaw2002-03-141-47/+66
| | | | | | | | | | button which changes the action of this page. When invite is chosen, the addresses in the list are invited to the mailing list instead of immediately subscribed. mass_subscribe(), mass_remove(): Rewrite the questions table to use a RadioButtonArray for consistency and cleanliness. Also the ui is slightly better (I think).
* change_options(): Filter out empty lines before we try to subscribebwarsaw2002-03-121-2/+2
| | | | the un-address that isn't on then <wink>.
* request_creation(): Present a "should we moderate" field on listbwarsaw2002-03-121-0/+24
| | | | | creation, which is used to set the list's default_member_moderation flag.
* subscription_confirm(): Dan Mick noticed that we didn't completelybwarsaw2002-03-121-17/+1
| | | | stamp out passwords. Get rid of all vestiges.
* change_options(): Use splitlines() to find the addressesbwarsaw2002-03-121-5/+2
| | | | | | | (one-per-line) for the mass subscribe or mass unsubscribe. This should make this feature immune to native line endings, as splitlines() handles all the common line endings: CR for Mac, LF for Unix, CRLF for Windows.
* main(): Fix the warnings for "one last digest", "must digest", andbwarsaw2002-03-101-3/+10
| | | | "can't digest". Noticed by Marc MERLIN.
* change_options(): When updating a member's options, take care tobwarsaw2002-03-061-2/+6
| | | | | ignore members that may have been deleted via other means during page hits.
* Add BAW comments so we know that these modules still need to bebwarsaw2002-03-051-1/+2
| | | | converted to the Site module abstractions.
* Patches to support duplicate suppression for explicit recipients,bwarsaw2002-03-051-3/+23
| | | | | | | | | written by Ben Gertzfield, ported to MM2.1 by Marc MERLIN. Specifically, main(), options_page(), global_options(): Added support for the nodupes option, including setting nodupes globally.